]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
sysdeps/unix/sysv/linux/bits/socket.h: Correct formatting
[thirdparty/glibc.git] / ChangeLog
CommitLineData
2125f674
MR
12014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2
3 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4 throughout.
5
edea4028
JM
62014-06-29 Joseph Myers <joseph@codesourcery.com>
7
8 [BZ #17097]
9 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
10 result with correct sign in case of exponents that produce
11 overflow except for X very close to 1.
12
dd0ba018
PE
132014-06-28 Paul Eggert <eggert@cs.ucla.edu>
14
15 mktime: merge #if/#ifdef usage from glibc
16 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
17 as that works with both Glibc's and Gnulib's style.
18 See thread starting at Siddhesh Poyarekar's bug report at:
19 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
20
64df73c2
SP
212014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22
23 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
24 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
25 * sysdeps/tile/tilegx/memmove.c: Remove file.
26
f1eafb41
JM
272014-06-27 Joseph Myers <joseph@codesourcery.com>
28
29 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
30 abi-name definition.
31 * scripts/soversions.awk: Do not handle or generate ABI lines.
32 * shlib-versions: Remove ABI entries.
33 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
34 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
35
58eb0862
RM
362014-06-27 Roland McGrath <roland@hack.frob.com>
37
37caf178
RM
38 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
39 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
40 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
41 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
42 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
43 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
44 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
45 Moved ...
46 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
47 ... here.
48 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
49 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
50 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
51 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
52 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
53 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
54 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
55 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
56 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
57 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
58 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
59 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
60 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
61 Moved ...
62 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
63 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
64 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
65 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
66 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
67 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
68 Moved ...
69 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
70 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
71 Moved ...
72 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
73 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
74 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
75 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
76 Moved ...
77 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
78 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
79 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
80 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
81 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
82 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
83 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
84 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
85 Moved ...
86 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
87 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
88 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
89 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
90 Moved ...
91 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
92 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
93 Moved ...
94 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
95 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
96 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
97 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
98 Moved ...
99 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
100 ... here.
101 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
102 Identical file removed.
103 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
104 Moved ...
105 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
106 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
107 Identical file removed.
108 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
109 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
110 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
111 Moved ...
112 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
113 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
114 Identical file removed.
115 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
116 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
117 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
118 Identical file removed.
119 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
120 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
121 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
122 Identical file removed.
123 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
124 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
125 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
126 Identical file removed.
127 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
128 Moved ...
129 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
130 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
131 Identical file removed.
132 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
133 Moved ...
134 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
135 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
136 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
137 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
138 Identical file removed.
139 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
140 Moved ...
141 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
142 ... here.
143 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
144 Identical file removed.
145 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
146 Moved ...
147 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
148 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
149 Identical file removed.
150 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
151 Moved ...
152 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
153 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
154 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
155 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
156 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
157 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
158 Moved ...
159 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
160 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
161 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
162
58eb0862
RM
163 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
164 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
165 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
166 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
167 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
168
6f12d062
AS
1692014-06-27 Arjun Shankar <arjun.is@lostca.se>
170
171 [BZ #17092]
172 * nscd/nscd.c (monitor_child): Return exit status of child
173 instead of return value from wait syscall.
174
be254932
JM
1752014-06-27 Joseph Myers <joseph@codesourcery.com>
176
cb403c34
JM
177 * configure.ac (libc_commonpagesize): Remove variable.
178 (libc_relro_required): Likewise.
179 (libc_cv_z_relro): Remove configure test.
180 * configure: Regenerated.
181 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
182 variable.
183 (libc_relro_required): Likewise.
184 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
185 (libc_relro_required): Likewise.
186 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
187 (libc_relro_required): Likewise.
188 * sysdeps/arm/preconfigure: Regenerated.
189 * sysdeps/ia64/preconfigure: Remove file.
190 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
191 variable.
192 (libc_relro_required): Likewise.
193
be254932
JM
194 [BZ #16561]
195 [BZ #16562]
196 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
197 (__ieee754_yn): Set FE_TONEAREST mode internally and then
198 recompute overflowing results in original rounding mode.
199 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
200 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
201 recompute overflowing results in original rounding mode.
202 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
203 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
204 recompute overflowing results in original rounding mode.
205 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
206 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
207 recompute overflowing results in original rounding mode.
208 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
209 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
210 recompute overflowing results in original rounding mode.
211 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
212 (libc_feholdsetround_ctx): New macro.
213 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
214 * sysdeps/i386/fpu/libm-test-ulps: Update.
215 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
216
b351d85a
JM
2172014-06-26 Joseph Myers <joseph@codesourcery.com>
218
219 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
220 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
221 corresponding .cpsetup call.
222
3cb4de47
RM
2232014-06-26 Roland McGrath <roland@hack.frob.com>
224
225 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
226 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
227 * sysdeps/arm/Makefile [$(subdir) = csu]
228 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
229 (static-only-routines): Add aeabi_read_tp here.
230 (shared-only-routines): Add libc-aeabi_read_tp here.
231 (CFLAGS-libc-start.c): Add -fexceptions here.
232 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
233 (sysdep_routines, static-only-routines, shared-only-routines):
234 Don't add to these here.
235 (CFLAGS-libc-start.c): Likewise.
236
237 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
238 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
239 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
240 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
241 * sysdeps/arm/Makefile [$(subdir) = rt]
242 (librt-sysdep_routines, librt-shared-only-routines):
243 Append rt-aeabi_unwind_cpp_pr1 here.
244 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
245 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
246 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
247 (libpthread-sysdep_routines, libpthread-shared-only-routines):
248 Append nptl-aeabi_unwind_cpp_pr1 here.
249 (tests): Filter out tst-cleanupx4 here.
250 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
251 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
252 Don't do those here.
253
354426bb
JM
2542014-06-26 Joseph Myers <joseph@codesourcery.com>
255
256 * scripts/list-sources.sh: Do not handle ports specially.
257
28b0a8c9
RM
2582014-06-26 Roland McGrath <roland@hack.frob.com>
259
a3dd035d
RM
260 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
261 * sysdeps/arm/feupdateenv.c: Likewise.
262
28b0a8c9
RM
263 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
264
e66a8203
JM
2652014-06-26 Joseph Myers <joseph@codesourcery.com>
266
267 * manual/texinfo.tex: Update to version 2014-05-05.10 with
268 trailing whitespace removed.
269 * scripts/config.guess: Update to version 2014-03-23.
270 * scripts/config.sub: Update to version 2014-05-01
271 * scripts/install-sh: Update to version 2013-12-25.23.
272 * scripts/move-if-change: Update from gnulib.
273
74171115
SP
2742014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
275
b97c9ce5
SP
276 * debug/memmove_chk.c: Remove pagecopy.h include.
277
4000f892
SP
2782014-06-26 Paul Eggert <eggert@cs.ucla.edu>
279
74171115
SP
280 * time/mktime.c (leapyear): Remove inline keyword. The code is now
281 identical to gnulib mktime.
282
a8779c28
JM
2832014-06-26 Joseph Myers <joseph@codesourcery.com>
284
e64708de
JM
285 * configure.ac: Do not test for machine being rs6000. Do not test
286 for powerpc*-*soft.
287 * configure: Regenerated.
288
a8779c28
JM
289 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
290 test.
291 * configure: Regenerated.
292 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
293 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
294 Remove configure test.
295 * sysdeps/arm/configure: Regenerated.
296 * sysdeps/nptl/configure.ac: Do not check
297 libc_cv_asm_cfi_directives.
298 * sysdeps/nptl/configure: Regenerated.
299 * sysdeps/x86_64/nptl/configure.ac: Remove file.
300 * sysdeps/x86_64/nptl/configure: Remove generated file.
301 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
302 unconditional.
303 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
304
2aac0a86
SP
3052014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
306
059bf913
SP
307 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
308 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
309 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
310 it is defined.
311
4cf5b6d0
SP
312 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
313 instead of whether it is defined.
314 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
315 * sysdeps/hppa/dl-machine.h: Likewise.
316 * sysdeps/ia64/dl-machine.h: Likewise.
317 * sysdeps/m68k/dl-machine.h: Likewise.
318 * sysdeps/microblaze/dl-machine.h: Likewise.
319 * sysdeps/mips/dl-machine.: Likewise.
320 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
321 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
322 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
323 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
324 * sysdeps/sh/dl-machine.h: Likewise.
325 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
326 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
327 * sysdeps/tile/dl-machine.h: Likewise.
328 * sysdeps/x86_64/dl-machine.h: Likewise.
329
2aac0a86
SP
330 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
331 code.
332 (verify_persistent_db): Likewise.
333
6ad2df0b
RM
3342014-06-26 Roland McGrath <roland@hack.frob.com>
335
d8a483f3
RM
336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
337 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
339 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
341 Moved ...
342 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
343 ... here.
344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
345 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
347 Identical file removed.
348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
349 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
351 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
353 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
355 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
357 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
359 Moved ...
360 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
362 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
364 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
366 Moved ...
367 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
369 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
371 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
373 Identical file removed.
374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
375 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
377 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
379 Moved ...
380 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
381 ... here.
382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
383 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
385 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
387 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
389 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
391 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
393 Moved ...
394 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
396 Moved ...
397 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
399 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
401 Moved ...
402 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
404 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
405
52ae23b4
RM
406 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
407 folded into ...
408 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
409 * sysdeps/unix/sysv/linux/s390/Versions
410 (libpthread: GLIBC_2.19): New version set.
411 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
412 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
413 (librt: GLIBC_2.3.3): New version set.
414 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
415 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
416 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
417 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
418 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
419 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
420 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
421 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
422 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
423 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
424 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
425 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
426 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
427 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
428 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
429 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
430 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
431 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
432 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
433 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
434 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
435 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
436 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
437 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
438 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
439 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
440 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
441 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
442 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
443 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
444 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
445 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
446 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
447 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
448 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
449 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
450 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
451 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
452 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
453 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
454 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
455 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
456 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
457 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
458 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
459
39507e4a
RM
460 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
461 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
462 (__libc_vfork): Define the function under this name.
463 [!NOT_IN_libc] (__vfork): Make this an alias.
464 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
465 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
466 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
467 (__libc_vfork): Define the function under this name.
468 [!NOT_IN_libc] (__vfork): Make this an alias.
469 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
470 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
471 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
472 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
473 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
474 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
475
e549ee56
RM
476 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
477 code that was previously under [RESET_PID].
478 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
479 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
480 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
481
6ad2df0b
RM
482 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
483 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
484 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
485 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
486 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
487 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
488 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
489 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
490 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
491 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
492 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
493 Moved ...
494 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
495 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
496 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
497 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
498 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
499 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
500 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
501 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
502 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
503 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
504 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
505 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
506 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
507 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
508 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
509 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
510 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
511 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
512 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
513 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
514 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
515 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
516 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
517 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
518 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
519 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
520 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
521 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
522 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
523
7c1c1d8e
RM
5242014-06-25 Roland McGrath <roland@hack.frob.com>
525
526 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
527 that was previously under [RESET_PID].
528 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
529
3e239be6
JM
5302014-06-25 Joseph Myers <joseph@codesourcery.com>
531
74385da5
JM
532 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
533 not undefine and redefine.
534 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
535 [O_CLOEXEC]: Make code unconditional.
536 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
537 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
538 <kernel-features.h>.
539 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
540 conditional variable definition.
541 (shm_open) [O_CLOEXEC]: Make code unconditional.
542 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
543 code.
544
c2570a0b
JM
545 * configure.ac (USE_REGPARMS): Don't define here.
546 * configure: Regenerated.
547 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
548 * sysdeps/i386/configure: Regenerated.
549
11b076bb
JM
550 * nptl/createthread.c: Don't include kernel-features.h.
551 * nptl/pthread_cancel.c: Likewise.
552 * nptl/pthread_condattr_setclock.c: Likewise.
553 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
554 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
555 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
556 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
557 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
558 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
559 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
560 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
561 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
562 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
563 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
564 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
565 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
566 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
567 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
568 * nscd/gai.c: Likewise.
569 * nss/nss_db/db-open.c: Likewise.
570 * sysdeps/generic/ldsodefs.h: Likewise.
571 * sysdeps/sh/nptl/tls.h: Likewise.
572 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
573 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
574 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
575 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
576 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
577 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
578 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
579 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
580 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
581 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
582 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
583 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
584 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
585 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
586 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
587 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
588 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
589 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
590 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
591 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
592 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
593 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
594 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
595 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
596 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
597 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
598 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
599 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
600 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
601 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
602 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
603 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
604 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
605 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
606 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
607 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
608 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
609 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
610 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
611 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
612 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
613 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
614 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
615 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
616 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
617 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
618 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
619 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
620 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
621 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
622 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
623 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
624 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
625 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
626 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
627 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
628 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
629 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
652 * sysdeps/unix/sysv/linux/pread.c: Likewise.
653 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
654 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
655 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
656 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
657 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
658 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
659 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
660 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
661 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
662 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
663 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
664 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
665 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
666 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
667 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
668 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
669 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
670 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
671 * sysdeps/unix/sysv/linux/system.c: Likewise.
672 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
673 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
674 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
675 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
676 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
677 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
678 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
679
92072d57
JM
680 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
681 * configure: Regenerated.
682 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
683
3e239be6
JM
684 * configure.ac (base_machine): Do not set specially for particular
685 machines here.
686 * configure: Regenerated.
687 * sysdeps/powerpc/preconfigure: Move machine and base_machine
688 settings from configure.ac.
689 * sysdeps/i386/preconfigure: New file.
690 * sysdeps/s390/preconfigure: Likewise.
691 * sysdeps/sh/preconfigure: Likewise.
692 * sysdeps/sparc/preconfigure: Likewise.
693
06d50baa
RM
6942014-06-25 Roland McGrath <roland@hack.frob.com>
695
74836003
RM
696 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
697 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
698 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
699 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
700 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
701 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
702 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
703 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
704 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
705 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
706 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
707 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
708 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
709 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
710 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
711 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
712 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
713 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
714 * sysdeps/sparc/sparc64/Makefile: ... appended here.
715
716 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
717 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
718 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
719 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
720 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
721 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
722 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
723 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
724 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
725 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
726 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
727 * sysdeps/sparc/sparc32/sem_post.c: ... here.
728 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
729 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
730 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
731 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
732 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
733 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
734 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
735 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
736 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
737 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
738 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
739 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
740 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
741 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
742 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
743 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
744 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
745 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
746 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
747 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
748 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
749 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
750 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
751 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
752 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
753 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
754
06d50baa
RM
755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
756 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
758 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
760 Moved ...
761 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
762 ... here.
763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
764 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
766 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
768 Moved ...
769 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
771 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
773 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
775 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
777 Moved ...
778 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
780 Moved ...
781 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
783 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
785 Moved ...
786 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
788 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
790 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
792 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
794 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
796 Moved ...
797 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
798 ... here.
799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
800 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
802 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
804 Moved ...
805 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
807 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
809 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
811 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
813 Moved ...
814 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
816 Moved ...
817 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
819 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
821 Moved ...
822 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
824 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
826 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
827
a4ccbc9b
JM
8282014-06-25 Joseph Myers <joseph@codesourcery.com>
829
0828edbf
JM
830 * timezone/checktab.awk: Update from tzcode 2014e.
831 * timezone/private.h: Likewise.
832 * timezone/tzfile.h: Likewise.
833 * timezone/zdump.c: Likewise.
834 * timezone/zic.c: Likewise.
835
a4ccbc9b
JM
836 * sysdeps/unix/sysv/linux/kernel-features.h
837 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
838 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
839 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
840 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
841 Remove conditional code.
842
9aea0cb8
WN
8432014-06-25 Will Newton <will.newton@linaro.org>
844
845 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
846 (_dl_arm_cap_flags): Add HWCAP2 values.
847 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
848 (_DL_HWCAP_COUNT): Increase to 37.
849 (_DL_HWCAP_LAST): New define.
850 (_DL_HWCAP2_LAST): New define.
851 (_dl_procinfo): Add support for printing
852 AT_HWCAP2 entries.
853 (_dl_string_hwcap): Use _dl_hwcap_string.
854
6eaa65ce
AZ
8552014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
856
857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
858
0f5b7185
JM
8592014-06-25 Joseph Myers <joseph@codesourcery.com>
860
cfd2ea50
JM
861 * README: Do not mention ports directory.
862
cecf2ed4
JM
863 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
864 Remove macro.
865 * sysdeps/unix/sysv/linux/futimes.c: Do not include
866 <kernel-features.h>.
867 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
868 conditional variable definition.
869 (__futimes): Update comment.
870 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
871 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
872
a638de82
JM
873 [BZ #16560]
874 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
875 arguments close to 0.
876 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
877 Likewise.
878 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
879 Likewise.
880 * math/auto-libm-test-in: Add more tests of exp10.
881 * math/auto-libm-test-out: Regenerated.
882 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
883
0f5b7185
JM
884 * sysdeps/unix/sysv/linux/kernel-features.h
885 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
886 * sysdeps/unix/sysv/linux/readv.c: Do not include
887 <kernel-features.h>.
888 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
889 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
890 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
891 unconditional.
892 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
893 conditional code.
894 * sysdeps/unix/sysv/linux/writev.c: Do not include
895 <kernel-features.h>.
896 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
897 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
898 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
899 unconditional.
900 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
901 conditional code.
902
c7aec4be
WN
9032014-06-25 Will Newton <will.newton@linaro.org>
904
905 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
906 comment changes throughout the file. Remove checks
907 for HAVE_*_H definitions that are not required.
908 (__gen_tempname): Call abort if an unknown kind value is
909 passed.
910
c5241f95
AS
9112014-06-25 Andreas Schwab <schwab@suse.de>
912
913 [BZ #17086]
914 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
915 scalbln, scalblnf, scalblnl in libc.
916
911422da
SP
9172014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
918
919 [BZ #17086]
920 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
921 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
922 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
923
0d749bbe
RM
9242014-06-24 Roland McGrath <roland@hack.frob.com>
925
926 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
927 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
928 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
929 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
930 Update #include.
931 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
932 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
933 Update #include.
934 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
935 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
936 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
937 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
938 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
939 * sysdeps/x86/bits/pthreadtypes.h: ... here.
940 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
941 * sysdeps/x86/bits/semaphore.h: ... here.
942 * sysdeps/x86/nptl/elide.h: Moved ...
943 * sysdeps/x86/elide.h: ... here.
944 * sysdeps/x86_64/nptl/Implies: File removed.
945 * sysdeps/i386/nptl/Implies: File removed.
946
0ea5d373
JM
9472014-06-24 Joseph Myers <joseph@codesourcery.com>
948
4060283d
JM
949 [BZ #16539]
950 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
951 return the argument for normal arguments with exponent below -64.
952 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
953 Likewise.
954 * math/auto-libm-test-in: Add another test of expm1.
955 * math/auto-libm-test-out: Regenerated.
956
e7dd3c8c
JM
957 [BZ #16287]
958 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
959 calling __erfcl for arguments at least 16.
960 * math/auto-libm-test-in: Add more tests of erf.
961 * math/auto-libm-test-out: Regenerated.
962
0ea5d373
JM
963 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
964 individual architectures.
965 * sysdeps/unix/sysv/linux/configure: Regenerated.
966 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
967 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
968 * sysdeps/unix/sysv/linux/powerpc/configure.ac
969 (ldd_rewrite_script): Define variable.
970 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
972 file.
973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
974 generated file.
975 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
976 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
977 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
978 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
979 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
980 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
981 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
982 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
983
2307e126
SP
9842014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
985
986 [BZ #17084]
987 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
988 Rename member __data.d to __data.__elision_data.
989
c0a4ed77
W
9902014-06-24 Wilco <wdijkstr@arm.com>
991
992 * NEWS: Add 16918 to fixed bug list.
993
b8c00573
W
9942014-06-24 Wilco <wdijkstr@arm.com>
995
996 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
997
b5570d92
W
9982014-06-24 Wilco <wdijkstr@arm.com>
999
1000 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1001 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1002 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1003 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1004 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1005 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1006 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1007 Use _FPU_MASK_RM.
1008
947bdca2
W
10092014-06-24 Wilco <wdijkstr@arm.com>
1010
1011 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1012
00f669ed
W
10132014-06-24 Wilco <wdijkstr@arm.com>
1014
1015 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1016 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1017 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1018 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1019
db59bad3
W
10202014-06-24 Wilco <wdijkstr@arm.com>
1021
1022 [BZ #16918]
1023 * sysdeps/arm/feupdateenv.c (feupdateenv):
1024 Rewrite to reduce FPSCR accesses and fix return value.
1025
001f7b77
W
10262014-06-24 Wilco <wdijkstr@arm.com>
1027
1028 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1029 Optimize to avoid unnecessary FPSCR writes.
1030 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1031 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1032 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1033 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1034
4841e6a6
W
10352014-06-24 Wilco <wdijkstr@arm.com>
1036
1037 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1038 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1039 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1040 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1041 Call libc_fetestexcept_vfp.
1042 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1043 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1044 __SOFTFP__ ifdef so that they can be built for softfp.
1045
0813022c
SP
10462014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1047
08e5862f
SP
1048 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1049 argument type signed char.
1050
0813022c
SP
1051 * Makerules (check-abi): Dump diff of symlist if the test
1052 fails.
1053
3fc7236a
RM
10542014-06-23 Roland McGrath <roland@hack.frob.com>
1055
aba8ef95
RM
1056 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1057 using abort.
1058
3fc7236a
RM
1059 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1060 Remove unused variable ST.
1061
4da6db51
JM
10622014-06-23 Joseph Myers <joseph@codesourcery.com>
1063
4648909d
JM
1064 [BZ #16354]
1065 [BZ #17061]
1066 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1067 small arguments before calling __expm1.
1068 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1069 small arguments before calling __expm1f.
1070 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1071 small arguments before calling __expm1l.
1072 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1073 Likewise.
1074 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1075 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1076 spurious underflow for some cosh tests.
1077 * math/auto-libm-test-out: Regenerated.
1078 * sysdeps/i386/fpu/libm-test-ulps: Update.
1079
46a3d3c7
JM
1080 [BZ #17050]
1081 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1082 (__ieee754_y1): Set errno if return value overflows.
1083 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1084 (__ieee754_y1f): Set errno if return value overflows.
1085 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1086 (__ieee754_y1l): Set errno if return value overflows.
1087 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1088 (__ieee754_y1l): Set errno if return value overflows.
1089 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1090 * math/auto-libm-test-out: Regenerated.
1091
863893ec
JM
1092 * math/gen-auto-libm-tests.c: Document use of
1093 ignore-zero-inf-sign.
1094 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1095 (input_flags): Add ignore-zero-inf-sign.
1096 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1097 * math/gen-libm-test.pl (generate_testfile): Handle
1098 ignore-zero-inf-sign.
1099 * math/auto-libm-test-in: Mark some cpow tests with
1100 ignore-zero-inf-sign and some with xfail-rounding.
1101 * math/auto-libm-test-out: Regenerated.
1102 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1103 * sysdeps/i386/fpu/libm-test-ulps: Update.
1104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1105
4da6db51
JM
1106 [BZ #16315]
1107 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1108 overflowing or underflowing operations take place with sign of
1109 result.
1110 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1111 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1112 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1113 (__ieee754_pow): Recompute overflowing and underflowing results in
1114 original rounding mode.
1115 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1116 (__powl_helper): Allow negative argument X and scale negated value
1117 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1118 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1119 overflowing or underflowing operations take place with sign of
1120 result.
1121 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1122 Include <math.h>.
1123 * math/auto-libm-test-in: Add more tests of pow.
1124 * math/auto-libm-test-out: Regenerated.
1125 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1126 (pow_tonearest_test_data): Remove.
1127 (pow_test_tonearest): Likewise.
1128 (pow_towardzero_test_data): Likewise.
1129 (pow_test_towardzero): Likewise.
1130 (pow_downward_test_data): Likewise.
1131 (pow_test_downward): Likewise.
1132 (pow_upward_test_data): Likewise.
1133 (pow_test_upward): Likewise.
1134 (main): Don't call removed functions.
1135 * sysdeps/i386/fpu/libm-test-ulps: Update.
1136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1137
5686b236
RM
11382014-06-23 Roland McGrath <roland@hack.frob.com>
1139
1140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1141 Moved ...
1142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1144 Moved ...
1145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1147 Moved ...
1148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1150 Moved ...
1151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1153 File removed.
1154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1155 File removed.
1156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1157 File removed.
1158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1159 File removed.
1160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1161 File removed.
1162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1163 File removed.
1164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1165 File removed.
1166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1167 File removed.
1168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1169 File removed.
1170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1171 File removed.
1172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1173 File removed.
1174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1175 File removed.
1176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1177 Moved ...
1178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1180 Moved ...
1181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1182 ... here.
1183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1184 Moved ...
1185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1187 Moved ...
1188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1190 Moved ...
1191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1193 Moved ...
1194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1196 Moved ...
1197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1199 Moved ...
1200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1202 Moved ...
1203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1206 ... here.
1207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1208 Moved ...
1209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1211 Moved ...
1212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1213 ... here.
1214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1215 Moved ...
1216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1217 ... here.
1218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1219 Moved ...
1220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1221 ... here.
1222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1223 Moved ...
1224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1226 Moved ...
1227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1231 Moved ...
1232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1233 ... here.
1234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1235 Moved ...
1236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1237 ... here.
1238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1239 Moved ...
1240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1242 Moved ...
1243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1245 Moved ...
1246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1248 Moved ...
1249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1251 Moved ...
1252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1253 ... here.
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1255 Moved ...
1256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1258 Moved ...
1259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1261 Moved ...
1262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1264 Moved ...
1265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1269 Moved ...
1270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1272 Moved ...
1273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1275 Moved ...
1276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1277 ... here.
1278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1279 Moved ...
1280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1281 ... here.
1282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1283 Moved ...
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1285 ... here.
1286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1287 Moved ...
1288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1290 Moved ...
1291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1293 Moved ...
1294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1296 Moved ...
1297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1298 ... here.
1299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1300 Moved ...
1301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1302 ... here.
1303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1304 Moved ...
1305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1306 ... here.
1307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1308 Moved ...
1309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1311 Moved ...
1312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1313
e6d90d67
WD
13142014-06-23 Will Newton <will.newton@linaro.org>
1315 Wilco <wdijkstr@arm.com>
1316
1317 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1318 implementation. Include get-rounding-mode.h.
1319 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1320 [!libc_feholdsetround_noex_ctx]: Define
1321 libc_feholdsetround_noex_ctx.
1322 [!libc_feholdsetround_noexf_ctx]: Define
1323 libc_feholdsetround_noexf_ctx.
1324 [!libc_feholdsetround_noexl_ctx]: Define
1325 libc_feholdsetround_noexl_ctx.
1326 (libc_feholdsetround_ctx): New function.
1327 (libc_feresetround_ctx): New function.
1328 (libc_feholdsetround_noex_ctx): New function.
1329 (libc_feresetround_noex_ctx): New function.
1330
d42df555
RM
13312014-06-23 Roland McGrath <roland@hack.frob.com>
1332
88a46474
RM
1333 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1334 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1335 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1336 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1337 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1338 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1339
15bed472
RM
1340 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1341 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1342 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1343 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1344 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1345 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1346 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1347 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1348 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1349 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1350 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1351 Moved ...
1352 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1353 ... here.
1354 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1355 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1356 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1357 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1358 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1359 Moved ...
1360 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1361 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1362 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1363 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1364 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1365 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1366 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1367 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1368 Moved ...
1369 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1370 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1371 Moved ...
1372 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1373 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1374 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1375 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1376 Moved ...
1377 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1378 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1379 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1380 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1381 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1382 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1383 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1384 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1385 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1386 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1387 Moved ...
1388 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1389 ... here.
1390 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1391 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1392 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1393 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1394 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1395 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1396 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1397 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1398 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1399 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1400 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1401 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1402 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1403 Moved ...
1404 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1405 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1406 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1407 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1408 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1409 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1410 Moved ...
1411 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1412 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1413 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1414 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1415 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1416
d42df555
RM
1417 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1418 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1419 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1420 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1421 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1422 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1423 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1424 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1425 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1426 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1427 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1428 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1429 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1430 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1431 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1432 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1433 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1434 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1435 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1436 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1437 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1438 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1439 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1440 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1441 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1442 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1443 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1444 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1445
76e5216e
JM
14462014-06-23 Joseph Myers <joseph@codesourcery.com>
1447
1448 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1449 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1450 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1451 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1452 (IPV6_PMTUDISC_INTERFACE): Likewise.
1453 (IPV6_PMTUDISC_OMIT): Likewise.
1454
7a81cbcc
AS
14552014-06-23 Andreas Schwab <schwab@suse.de>
1456
1457 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1458 Remove unused errout label.
1459
db224009
AZ
14602014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1461
1462 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1463 macro: hardware supports Vector Crypto instructions.
1464
f393b4aa
WN
14652014-06-23 Will Newton <will.newton@linaro.org>
1466
cc7d0447
WN
1467 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1468 rather than __builtin_expect.
1469
d6d06225
WN
1470 * elf/dl-lookup.c (undefined_msg): Remove variable.
1471 (_dl_lookup_symbol_x): Replace undefined_msg with string
1472 literal.
1473
f393b4aa
WN
1474 * elf/dl-lookup.c (do_lookup_unique): New function.
1475 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1476 to a separate function.
1477
ac60763e
AS
14782014-06-23 Andreas Schwab <schwab@suse.de>
1479
1480 [BZ #17079]
1481 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1482 before reading the next line.
1483
c5c13355
WN
14842014-06-23 Will Newton <will.newton@linaro.org>
1485
1486 * test-skeleton.c (signal_handler): Use printf and %m
1487 rather than perror. Use printf rather than fprintf to
1488 stderr. Use puts rather than fputs to stderr.
1489 (main): Likewise.
1490
bd3675f9
LC
14912014-06-22 Ludovic Courtès <ludo@gnu.org>
1492
1493 * nscd/nscd.c (thread_info_t): Remove typedef.
1494 (thread_info): Remove variable.
1495
d03efb2f
AM
14962014-06-21 Allan McRae <allan@archlinux.org>
1497
1498 * NEWS: Mention CVE-2014-4043.
1499
bc4a86fa
RM
15002014-06-20 Roland McGrath <roland@hack.frob.com>
1501
dc9a54f8
RM
1502 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1503 * nptl/smp.h: ... here.
1504
bd7022c4
RM
1505 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1506
26ffd5e6
RM
1507 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1508 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1509 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1510 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1511
93a6d082
RM
1512 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1513 * nptl/stack-aliasing.h: New file.
1514 * sysdeps/i386/i686/stack-aliasing.h: New file.
1515 * sysdeps/i386/i686/nptl/Makefile: File removed.
1516 * sysdeps/x86_64/stack-aliasing.h: New file.
1517 * sysdeps/x86_64/nptl/Makefile
1518 (CFLAGS-pthread_create.c): Variable removed.
1519
bc4a86fa
RM
1520 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1521 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1522 old file.
1523 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1524 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1525 old file.
1526
2272ffc1
JM
15272014-06-21 Joseph Myers <joseph@codesourcery.com>
1528
1529 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1530 (__ASSUME_SIGFRAME_V2): Remove macro.
1531 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1532 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1533 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1534 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1535 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1536 Declare as function. Remove conditional macro definitions.
1537 (__default_rt_sa_restorer): Likewise.
1538 (__default_sa_restorer_v1): Remove declaration.
1539 (__default_sa_restorer_v2): Likewise.
1540 (__default_rt_sa_restorer_v1): Likewise.
1541 (__default_rt_sa_restorer_v2): Likewise.
1542 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1543 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1544 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1545
4b88139b
RM
15462014-06-20 Roland McGrath <roland@hack.frob.com>
1547
1548 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1549 (libpthread-routines): Add sysdep.
1550 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1551 * sysdeps/unix/sysv/linux/sparc/Versions
1552 (libpthread: GLIBC_2.3.3): New version set.
1553 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1554 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1555 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1556 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1557 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1558 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1559 Moved ...
1560 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1561 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1562 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1563 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1564 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1565 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1566 * sysdeps/sparc/nptl/sem_init.c: ... here.
1567 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1568 * sysdeps/sparc/nptl/sem_post.c: ... here.
1569 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1570 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1571 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1572 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1573 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1574 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1575 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1576 (libpthread-routines): Add cpu_relax.
1577 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1578 File removed.
1579 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1580 (librt: GLIBC_2.3.3): New version set.
1581 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1582 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1583 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1584 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1585 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1586 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1587 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1589 Moved ...
1590 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1591 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1592 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1593 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1594 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1595 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1596 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1597 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1598 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1599 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1600 Moved ...
1601 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1602 Update #include.
1603 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1604 Moved ...
1605 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1606 Update #include.
1607 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1608 Moved ...
1609 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1610 Update #include.
1611 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1612 Moved ...
1613 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1614 Update #include.
1615 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1616 Moved ...
1617 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1618 Update #include.
1619 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1620 Moved ...
1621 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1622 Update #include.
1623 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1624 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1625 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1626 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1627 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1628 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1630 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1632 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1633 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1634 Moved ...
1635 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1636 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1637 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1638 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1639 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1640
d7109027
JM
16412014-06-20 Joseph Myers <joseph@codesourcery.com>
1642
9bc6103d
JM
1643 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1644 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1645 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1646 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1647 * nscd/nscd.c: Likewise.
1648 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1649 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1650 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1651 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1652
d7109027
JM
1653 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1654 <kernel-features.h>.
1655 (init_mq_netlink): Remove conditional have_sock_cloexec
1656 definitions. Remove code conditional on have_sock_cloexec < 0.
1657 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1658 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1659 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1660 <kernel-features.h>.
1661 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1662 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1663
d92d8f8a
L
16642014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1665
1666 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1667 Add tests for memset_chk and memset.
1668
1669 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1670 with AVX2_Usable.
1671
4e6d2347
MR
16722014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1673
257ce712
MR
1674 [BZ #16046]
1675 * elf/tst-dl-iter-static.c: New file.
1676 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1677
4e6d2347
MR
1678 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1679 error.
1680
a2a76afe
JM
16812014-06-20 Joseph Myers <joseph@codesourcery.com>
1682
7fd00f99
JM
1683 * sysdeps/unix/sysv/linux/kernel-features.h
1684 (__ASSUME_F_GETOWN_EX): Remove macro.
1685 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1686 <kernel-features.h>.
1687 (miss_F_GETOWN_EX): Remove variable or macro.
1688 (do_fcntl): Do not check miss_F_GETOWN_EX.
1689 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1690
4a103975
JM
1691 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1692 Remove macro.
1693 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1694 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1695 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1696
a2a76afe
JM
1697 * sysdeps/unix/sysv/linux/kernel-features.h
1698 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1699 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1700 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1701 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1702
90e5dd48
MR
17032014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1704
1705 [BZ #17075]
1706 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1707 Fix calculation of the symbol's value.
1708 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1709 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1710 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1711 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1712 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1713 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1714 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1715 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1716 (modules-names): Add `tst-armtlsdescmod',
1717 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1718 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1719 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1720 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1721 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1722 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1723 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1724 ($(objpfx)tst-armtlsdescloc): New dependency.
1725 ($(objpfx)tst-armtlsdescextnow): Likewise.
1726 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1727 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1728 TLS scheme support.
1729 * sysdeps/arm/configure: Regenerate.
1730
809fdf0d
JM
17312014-06-20 Joseph Myers <joseph@codesourcery.com>
1732
1733 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1734 (__atfct_seterrno_2): Likewise.
1735 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1736 <kernel-features.h>.
1737 (__ASSUME_ATFCTS): Do not undefine and redefine.
1738 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1739 (__have_atfcts): Remove conditional definition.
1740 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1741 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1742 unreachable if [__ASSUME_ATFCTS].
1743 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1744 not undefine and redefine.
1745 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1746 <kernel-features.h>.
1747 (faccessat) [__NR_faccessat]: Make code unconditional.
1748 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1749 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1750 <kernel-features.h>.
1751 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1752 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1753 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1754 <kernel-features.h>.
1755 (fchownat) [__NR_fchownat]: Make code unconditional.
1756 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1757 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1758 <kernel-features.h>.
1759 (futimesat) [__NR_futimesat]: Make code unconditional.
1760 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1761 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1762 <kernel-features.h>.
1763 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1764 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1765 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1766 <kernel-features.h>.
1767 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1768 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1769 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1770 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1771 <kernel-features.h>.
1772 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1773 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1774 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1775 <kernel-features.h>.
1776 (linkat) [__NR_linkat]: Make code unconditional.
1777 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1778 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1779 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1780 <kernel-features.h>.
1781 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1782 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1783 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1784 <kernel-features.h>.
1785 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1786 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1787 * sysdeps/unix/sysv/linux/openat.c: Do not include
1788 <kernel-features.h>.
1789 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1790 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1791 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1792 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1793 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1794 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1795 <kernel-features.h>.
1796 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1797 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1798 result of INLINE_SYSCALL directly, not via int variable.
1799 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1800 <kernel-features.h>.
1801 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1802 (renameat) [__NR_renameat]: Make code unconditional.
1803 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1804 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1805 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1806 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1807 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1808 (__ASSUME_ATFCTS): Do not undefine and redefine.
1809 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1810 <kernel-features.h>.
1811 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1812 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1813 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1814 <kernel-features.h>.
1815 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1816 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1817 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1818 (__ASSUME_ATFCTS): Do not undefine and redefine.
1819 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1820 <kernel-features.h>.
1821 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1822 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1823 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1824 <kernel-features.h>.
1825 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1826 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1827
224c6c51
L
18282014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1829
1830 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1831
aa6ec754
AS
18322014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1833
1834 [BZ #17069]
1835 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1836 constructed tree before returning error.
1837 * posix/bug-regexp36.c: Expand test case.
1838
d8c2869d
SL
18392014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1840
3ef6b850
SL
1841 [BZ #6803]
1842 * math/libm-test.inc (scalbln_test_date):
1843 Add errno expectations.
1844 * math/w_scalblnf.c: New File.
1845 Add wrapper which checks for setting errno to ERANGE.
1846 Add weak_alias for corresponding scalbln function.
1847 * math/w_scalbln.c: Likewise.
1848 * math/w_scalblnl.c: Likewise.
1849 * math/Makefile (libm-calls): Add w_scalbln.
1850 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1851 Remove weak_alias for corresponding scalbln function.
1852 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1853 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1854 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1855 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1856 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1857 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1858 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1859 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1860 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1861 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1862 Remove long_double_symbol for scalblnl function in libm, libc.
1863 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1864 Add wrapper which checks for setting errno to ERANGE.
1865 Add long_double_symbol for scalblnl function in libm, libc.
1866 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1867 Remove long_double_symbol for scalblnl in libm.
1868 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1869 Add wrapper which checks for setting errno to ERANGE.
1870 Add long_double_symbol for scalblnl function in libm.
1871 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1872 Do not use wrapper because of own implementation.
1873
c8daec5c
L
18742014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1875
1876 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1877 3 bytes for __pad1 for x32.
1878 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1879
5c74e47c
LM
18802014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1881 H.J. Lu <hongjiu.lu@intel.com>
1882
1883 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1884 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1885 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1886 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1887 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1888
4d43ef1e
AS
18892014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1890
1891 [BZ #17069]
1892 * posix/regcomp.c (parse_expression): Deallocate partially
1893 constructed tree before returning error.
1894 * posix/Makefile.c (tests): Add bug-regex36.
1895 (generated): Add bug-regex36.mtrace.
1896 (tests-special): Add $(objpfx)bug-regex36-mem.out
1897 (bug-regex36-ENV): New variable.
1898 ($(objpfx)bug-regex36-mem.out): New rule.
1899 * posix/bug-regex36.c: New file.
1900
51a7380b
WN
19012014-06-19 Will Newton <will.newton@linaro.org>
1902
1903 * malloc/malloc.c (systrim): If extra is zero then return
1904 early.
1905
91b84fe5
SP
19062014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1907
1908 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1909
f940b965
RE
19102014-06-19 Richard Earnshaw <rearnsha@arm.com>
1911
1912 * sysdeps/aarch64/strchr.S: New file.
1913
4ba7a00f
JM
19142014-06-18 Joseph Myers <joseph@codesourcery.com>
1915
1916 [BZ #17022]
1917 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1918 from arguments -2 or below.
1919 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1920 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1921
b3a9f56b
AS
19222014-06-18 Andreas Schwab <schwab@suse.de>
1923
1924 [BZ #17062]
1925 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1926 of a bracket expr not to run off the end of the string.
1927 * posix/Makefile (tests): Add tst-fnmatch3.
1928 * posix/tst-fnmatch3.c: New file.
1929
85d89278
JM
19302014-06-18 Joseph Myers <joseph@codesourcery.com>
1931
1932 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1933 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1934 [$(cross-compiling) = no]: Likewise.
1935 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1936 [$(cross-compiling) = no]: Likewise.
1937
754c5a08
RS
19382014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1939
1940 [BZ #17031]
1941 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1942 double, adjusted for any remainder from the high double.
1943 * math/libm-test.inc (nearbyint): Add tests.
1944 (rint): Likewise.
1945
556f529d
AZ
19462014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1947
1948 * nptl/sysdeps/powerpc/Makefile: Moved ...
1949 * sysdeps/powerpc/nptl/Makefile: ... here.
1950 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1951 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1952 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1953 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1954 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1955 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1956 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1957 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1958 * nptl/sysdeps/powerpc/tls.h: Moved ...
1959 * sysdeps/powerpc/nptl/tls.h: ... here.
1960
91c03c53
JM
19612014-06-16 Joseph Myers <joseph@codesourcery.com>
1962
1963 [BZ #16681]
1964 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1965 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1966 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1967 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1968 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1969 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1970 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1971 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1972 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1973
a76e63c5
AS
19742014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1975
1976 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1977
f2f6d82f
AS
19782014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1979
ea8a15f6
AS
1980 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1981 defined operator.
1982
f2f6d82f
AS
1983 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1984 $TIMEOUTFACTOR.
1985
a7291117
FW
19862014-06-16 Florian Weimer <fweimer@redhat.com>
1987
1988 [BZ #17058]
1989 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1990 non-executed part of the test.
1991
3d7c00e3
AS
19922014-06-16 Andreas Schwab <schwab@suse.de>
1993
1994 * string/bits/string2.h (strdup, strndup): Update feature guard.
1995
6957fb31
DM
19962014-06-14 David S. Miller <davem@davemloft.net>
1997
1998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1999
11b9e55b
AS
20002014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2001
1d2a0492
AS
2002 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2003 that was previously under [RESET_PID].
2004 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2005
11b9e55b
AS
2006 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2007 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2008 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2009 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2010 (__libc_vfork): New strong alias.
2011 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2012
0f6901d0
AK
20132014-06-14 Andi Kleen <ak@linux.intel.com>
2014
2015 * sysdeps/generic/elide.h: New file.
2016
38bbbb9f
SL
20172014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2018
2019 * Makefile (installed-headers): Adjust path of pthread.h header.
2020
45193bb8
RM
20212014-06-13 Roland McGrath <roland@hack.frob.com>
2022
9a25fd1e
RM
2023 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2024 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2025 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2026 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2027
4004f7e4
RM
2028 * nptl/sysdeps/s390/Makefile: Moved ...
2029 * sysdeps/s390/nptl/Makefile: ... here.
2030 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2031 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2032 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2033 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2034 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2035 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2036 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2037 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2038 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2039 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2040 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2041 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2042 * nptl/sysdeps/s390/tls.h: Moved ...
2043 * sysdeps/s390/nptl/tls.h: ... here.
2044
45193bb8
RM
2045 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2046 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2047
f6fdf533
DM
20482014-06-13 David S. Miller <davem@davemloft.net>
2049
2050 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2051 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2052 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2053 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2054 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2055 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2056 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2057 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2058 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2059 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2060 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2061 Remove RESET_PID cpp guards.
2062 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2063 Remove RESET_PID cpp guards.
2064 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2065
f5d71e14
AS
20662014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2067
2068 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2069 __sp to uintptr_t.
2070
b7aa8caa
AK
20712014-06-13 Andi Kleen <ak@linux.intel.com>
2072
4b266200
AZ
2073 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2074 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2075 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2076 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2077 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2078 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2079 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2080 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2081 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2082 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2083 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2084 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2085 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2086 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2087 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2088 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2089 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2090 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2091 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2092 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
2093
2094 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
2095 (pthread_rwlock_rdlock): Add elision.
2096 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2097 (pthread_rwlock_wrlock): Add elision.
2098 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2099 (pthread_rwlock_trywrlock): Add elision.
2100 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2101 (pthread_rwlock_tryrdlock): Add elision.
2102 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2103 (pthread_rwlock_tryrdlock): Add elision unlock.
2104 * nptl/sysdeps/pthread/pthread.h:
2105 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2106 (PTHREAD_RWLOCK_INITIALIZER,
2107 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2108 Handle new elision field.
2109 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2110 * sysdeps/arm/nptl/bits/pthreadtypes.h
2111 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2112 * sysdeps/sh/nptl/bits/pthreadtypes.h
2113 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2114 * sysdeps/tile/nptl/bits/pthreadtypes.h
2115 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2116 * sysdeps/a/nptl/bits/pthreadtypes.h
2117 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2118 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2119 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2120 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2121 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2122 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2123 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2124 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2125 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2126 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2127 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2128 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2129 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2130 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2131 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2132 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2133 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2134 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2135 (elision_init): Set try_xbegin to zero when no RTM.
2136 * sysdeps/x86/nptl/bits/pthreadtypes.h
2137 (pthread_rwlock_t): Change __pad1 to __rwelision.
2138 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 2139
a832bdd3
AK
21402014-06-13 Andi Kleen <ak@linux.intel.com>
2141
2142 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2143 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2144 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2145 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2146
995a46bb
MI
21472014-06-13 Meador Inge <meadori@codesourcery.com>
2148
2149 [BZ #16996]
03ed7738 2150 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
2151 that the cached result has been set before returning it.
2152
45262aee
RM
21532014-06-12 Roland McGrath <roland@hack.frob.com>
2154
febf6cc5
RM
2155 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2156 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2157 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2158 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2159 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2160 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2161
e2682246
RM
2162 * nptl/sysdeps/sparc/Makefile: Moved ...
2163 * sysdeps/sparc/nptl/Makefile: ... here.
2164 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2165 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2166 * nptl/sysdeps/sparc/tls.h: Moved ...
2167 * sysdeps/sparc/nptl/tls.h: ... here.
2168 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2169 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2170 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2171 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2172 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2173 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2174 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2175 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2176 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2177 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2178 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2179 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2180 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2181 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2182 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2183 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2184 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2185 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2186 Update #include.
2187 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2188 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2189 Update #include.
2190 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2191 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2192 Update #include.
2193 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2194 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2195 Update #include.
2196
b0725f43
RM
2197 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2198
b14368b8
RM
2199 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2200 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2201
c5620eb3
RM
2202 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2203 (struct list_links): Type removed.
2204 (struct thread_node, struct timer_node): Replace struct list_links
2205 with struct list_head.
2206 (list_unlink_ip): Likewise.
2207 * sysdeps/pthread/timer_routines.c
2208 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2209 (list_append, list_insbefore): Likewise.
2210 (list_init): Function removed.
2211 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
2212 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2213 * sysdeps/pthread/Makefile: ... here, new file.
2214
2215 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2216 * sysdeps/nptl/Implies: ... here.
2217 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2218 * nptl/sysdeps/pthread/list.h: Moved ...
2219 * include/list.h: ... here.
2220 * nptl/sysdeps/pthread/createthread.c: Moved ...
2221 * nptl/createthread.c: ... here.
2222 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2223 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2224 * nptl/pt-longjmp.c: ... here.
2225 * nptl/sysdeps/pthread/Makefile: Moved ...
2226 * sysdeps/nptl/Makefile: ... here.
2227 * nptl/sysdeps/pthread/Subdirs: Moved ...
2228 * sysdeps/nptl/Subdirs: ... here.
2229 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2230 * sysdeps/nptl/aio_misc.h: ... here.
2231 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2232 * sysdeps/nptl/bits/libc-lock.h: ... here.
2233 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2234 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2235 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2236 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2237 * nptl/sysdeps/pthread/configure: Moved ...
2238 * sysdeps/nptl/configure: ... here.
2239 * nptl/sysdeps/pthread/configure.ac: Moved ...
2240 * sysdeps/nptl/configure.ac: ... here.
2241 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2242 * sysdeps/nptl/gai_misc.h: ... here.
2243 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2244 * sysdeps/nptl/librt-cancellation.c: ... here.
2245 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2246 * sysdeps/nptl/malloc-machine.h: ... here.
2247 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2248 * sysdeps/nptl/pthread-functions.h: ... here.
2249 * nptl/sysdeps/pthread/pthread.h: Moved ...
2250 * sysdeps/nptl/pthread.h: ... here.
2251 * nptl/sysdeps/pthread/setxid.h: Moved ...
2252 * sysdeps/nptl/setxid.h: ... here.
2253 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2254 * sysdeps/nptl/sigfillset.c: ... here.
2255 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2256 * sysdeps/nptl/tcb-offsets.h: ... here.
2257 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2258 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2259 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2260 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2261 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2262 * sysdeps/pthread/allocalim.h: ... here.
2263 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2264 * sysdeps/pthread/bits/sigthread.h: ... here.
2265 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2266 * sysdeps/pthread/flockfile.c: ... here.
2267 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2268 * sysdeps/pthread/ftrylockfile.c: ... here.
2269 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2270 * sysdeps/pthread/funlockfile.c: ... here.
2271 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2272 * sysdeps/pthread/posix-timer.h: ... here.
2273 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2274 * sysdeps/pthread/timer_create.c: ... here.
2275 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2276 * sysdeps/pthread/timer_delete.c: ... here.
2277 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2278 * sysdeps/pthread/timer_getoverr.c: ... here.
2279 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2280 * sysdeps/pthread/timer_gettime.c: ... here.
2281 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2282 * sysdeps/pthread/timer_routines.c: ... here.
2283 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2284 * sysdeps/pthread/timer_settime.c: ... here.
2285 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2286 * sysdeps/pthread/tst-timer.c: ... here.
2287 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2288 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2289
e876b090
RM
2290 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2291 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2292
f6b07b3d
RM
2293 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2294 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2295 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2296 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2297 Update #include target.
2298 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2299 * sysdeps/i386/i686/nptl/Makefile: ... here.
2300 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2301 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2302 Update #include target.
2303 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2304 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2305 * nptl/sysdeps/i386/Makefile: Moved ...
2306 * sysdeps/i386/nptl/Makefile: ... here.
2307 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2308 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2309 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2310 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2311 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2312 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2313 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2314 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2315 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2316 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2317 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2318 * nptl/sysdeps/i386/tls.h: Moved ...
2319 * sysdeps/i386/nptl/tls.h: ... here.
2320
45262aee
RM
2321 * sysdeps/sh/Makefile [$(subdir) = csu]
2322 (gen-as-const-headers): Add tcb-offsets.sym.
2323 * nptl/sysdeps/sh/Makefile: File removed.
2324 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2325 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2326 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2327 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2328 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2329 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2330 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2331 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2332 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2333 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2334 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2335 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2336 * nptl/sysdeps/sh/tls.h: Moved ...
2337 * sysdeps/sh/nptl/tls.h: ... here.
2338 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2339 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2340 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2341 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2342 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2343 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2344 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2345 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2346 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2347 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2348 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2349 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2350 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2351 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2352 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2353 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2354 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2355 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2356 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2357 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2358 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2359 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2360 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2361 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2362 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2363 Moved ...
2364 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2365 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2366 Moved ...
2367 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2368 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2369 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2370 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2371 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2372 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2373 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2374 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2375 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2376 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2377 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2378 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2379 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2380 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2381 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2382 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2383 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2384 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2385 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2386
35a5e3e3
SL
23872014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2388
2389 * posix/spawn_faction_addopen.c: Include string.h.
2390
14642b85
RM
23912014-06-11 Roland McGrath <roland@hack.frob.com>
2392
2393 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2394 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2395 * nptl/sysdeps/x86_64/Makefile: Moved ...
2396 * sysdeps/x86_64/nptl/Makefile: ... here.
2397 * nptl/sysdeps/x86_64/configure: Moved ...
2398 * sysdeps/x86_64/nptl/configure: ... here.
2399 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2400 * sysdeps/x86_64/nptl/configure.ac: ... here.
2401 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2402 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2403 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2404 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2405 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2406 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2407 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2408 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2409 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2410 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2411 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2412 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2413 * nptl/sysdeps/x86_64/tls.h: Moved ...
2414 * sysdeps/x86_64/nptl/tls.h: ... here.
2415 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2416 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2417 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2418 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2419
2420 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2421
31c44fea
AZ
24222014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2423
2424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2425
e81a4f9a
JM
24262014-06-11 Joseph Myers <joseph@codesourcery.com>
2427
2428 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2429 type.
2430 [POSIX] (off_t): Likewise.
2431 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2432 [POSIX] (S_ISBLK): Require macro.
2433 [POSIX] (S_ISCHR): Likewise.
2434 [POSIX] (S_ISDIR): Likewise.
2435 [POSIX] (S_ISFIFO): Likewise.
2436 [POSIX] (S_ISREG): Likewise.
2437 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2438 optional-macro.
2439 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2440 type.
2441 [POSIX] (time_t): Likewise.
2442 [POSIX] (timer_t): Likewise.
2443
89e435f3
FW
24442014-06-11 Florian Weimer <fweimer@redhat.com>
2445
2446 [BZ #17048]
2447 * posix/spawn_int.h (struct __spawn_action): Make the path string
2448 non-const to support deallocation.
2449 * posix/spawn_faction_addopen.c
2450 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2451 * posix/spawn_faction_destroy.c
2452 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2453 path in all spawn_do_open actions.
2454 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2455 posix_spawn_file_actions_addopen.
2456
c3a2ebe1
CM
24572014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2458
2459 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2460 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2461 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2462 conditional code always true.
2463 (__libc_vfork): New alias.
2464
9503784a
RM
24652014-06-11 Roland McGrath <roland@hack.frob.com>
2466
c9cab3d2
RM
2467 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2468 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2469
d3996c79
RM
2470 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2471
ba5ec611
RM
2472 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2473 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2474
f12b4814
RM
2475 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2476 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2477
9503784a
RM
2478 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2479 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2480
e23d3d26
VR
24812014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2482
2483 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2484 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2485 multiarch strcmp for PPC64.
2486 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2487 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2488 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2489 multiarch optimizations.
2490 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2491 (__libc_ifunc_impl_list): Likewise.
2492
42b1161e
SP
24932014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2494
2495 * benchtests/scripts/validate_benchout.py: New script.
2496 * benchtests/Makefile (bench-func): Call it.
2497 * benchtests/scripts/benchout.schema.json: New file.
2498
2d0fc4dc
CM
24992014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2500
4a594c34
AZ
2501 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2502 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2503 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2504 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2505 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2506 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2507 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2508 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2509 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2510 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2511 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2512 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2513 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2514 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2515 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2516 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 2518 Moved ...
4a594c34 2519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 2520 ... here.
4a594c34 2521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 2522 Moved ...
4a594c34
AZ
2523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 2525 Moved ...
4a594c34 2526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 2527 ... here.
4a594c34 2528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 2529 Moved ...
4a594c34 2530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 2531 ... here.
4a594c34 2532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 2533 Moved ...
4a594c34
AZ
2534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 2536 Moved ...
4a594c34 2537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 2538 ... here.
4a594c34 2539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 2540 Moved ...
4a594c34 2541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 2542 ... here.
4a594c34 2543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 2544 Moved ...
4a594c34
AZ
2545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 2547 Moved ...
4a594c34 2548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 2549 ... here.
4a594c34 2550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 2551 Moved ...
4a594c34 2552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 2553 ... here.
4a594c34 2554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 2555 Moved ...
4a594c34 2556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 2557 ... here.
4a594c34 2558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 2559 Moved ...
4a594c34
AZ
2560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 2562 Moved ...
4a594c34 2563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 2564 ... here.
4a594c34 2565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 2566 Moved ...
4a594c34 2567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 2568 ... here.
4a594c34 2569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 2570 Moved ...
4a594c34 2571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 2572 ... here.
4a594c34 2573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 2574 Moved ...
4a594c34
AZ
2575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 2577 Moved ...
4a594c34 2578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 2579 ... here.
4a594c34 2580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 2581 Moved ...
4a594c34 2582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 2583 ... here.
4a594c34 2584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 2585 Moved ...
4a594c34
AZ
2586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 2588 Moved ...
4a594c34 2589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 2590 ... here.
4a594c34 2591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 2592 Moved ...
4a594c34
AZ
2593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 2595 Moved ...
4a594c34
AZ
2596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 2598 Moved ...
4a594c34 2599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 2600 ... here.
4a594c34 2601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 2602 Moved ...
4a594c34 2603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 2604 ... here.
4a594c34 2605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 2606 Moved ...
4a594c34 2607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 2608 ... here.
4a594c34 2609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 2610 Moved ...
4a594c34
AZ
2611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 2613 Moved ...
4a594c34 2614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 2615 ... here.
4a594c34 2616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 2617 Moved ...
4a594c34 2618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 2619 ... here.
4a594c34
AZ
2620 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2621 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2622 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2623 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2624 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 2625 Moved ...
4a594c34 2626 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 2627 ... here.
4a594c34
AZ
2628 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2629 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2630 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2631 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2632 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2633 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2634 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2635 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2636 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2637 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2638 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2639 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2640 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 2641 Moved ...
4a594c34
AZ
2642 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2643 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 2644 Moved ...
4a594c34
AZ
2645 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2646 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2647 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2648 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 2649 Moved ...
4a594c34
AZ
2650 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2651 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2652 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2653 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2654 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2655 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2656 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 2657
0570cfed
W
26582014-06-10 Wilco <wdijkstr@arm.com>
2659
2660 * math/test-fenv-return.c: New file.
2661 * math/Makefile: Add new test test-fenv-return.
2662
f8ba1b56
JM
26632014-06-10 Joseph Myers <joseph@codesourcery.com>
2664
2665 [BZ #17042]
2666 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2667 when x - 1 is zero.
2668 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2669 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2670 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2671 0.0L for an argument of 1.0L.
2672 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2673 Likewise.
2674 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2675 value when x - 1 is zero.
2676 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2677 * sysdeps/i386/fpu/libm-test-ulps: Update.
2678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2679
2c3520d9
BO
26802014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2681
2682 [BZ #15119]
2683 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2684
acaa4d24
RM
26852014-06-09 Roland McGrath <roland@hack.frob.com>
2686
2687 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2688 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2689
962b744d
RM
26902014-06-09 Roland McGrath <roland@hack.frob.com>
2691
d752f0cc
RM
2692 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2693 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2694
34eda6d1
RM
2695 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2696 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2697
50f0a637
RM
2698 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2699 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2700
08f41f04
RM
2701 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2702 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2703
962b744d
RM
2704 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2705 if not already defined.
2706 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2707 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2708 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2709 (TLS_INIT_TP): Use it.
2710 (TLS_DEFINE_INIT_TP): New macro.
2711 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2712
09f19b05
JM
27132014-06-09 Joseph Myers <joseph@codesourcery.com>
2714
2715 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2716 constant.
2717 [POSIX] (IXANY): Likewise.
2718 [POSIX] (OLCUC): Likewise.
2719 [POSIX || POSIX2008] (CBAUD): Do not allow.
2720 [POSIX || POSIX2008] (DEFECHO): Likewise.
2721 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2722 [POSIX || POSIX2008] (ECHOKE): Likewise.
2723 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2724 [POSIX || POSIX2008] (EXTA): Likewise.
2725 [POSIX || POSIX2008] (EXTB): Likewise.
2726 [POSIX || POSIX2008] (FLUSHO): Likewise.
2727 [POSIX || POSIX2008] (LOBLK): Likewise.
2728 [POSIX || POSIX2008] (PENDIN): Likewise.
2729 [POSIX || POSIX2008] (SWTCH): Likewise.
2730 [POSIX || POSIX2008] (VDISCARD): Likewise.
2731 [POSIX || POSIX2008] (VDSUSP): Likewise.
2732 [POSIX || POSIX2008] (VLNEXT): Likewise.
2733 [POSIX || POSIX2008] (VREPRINT): Likewise.
2734 [POSIX || POSIX2008] (VSTATUS): Likewise.
2735 [POSIX || POSIX2008] (VWERASE): Likewise.
2736 (B*): Change to B[0123456789]*.
2737 * conform/data/time.h-data [POSIX || UNIX98]
2738 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2739 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2740 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2741 [POSIX] (tm_*): Do not allow.
2742
686554bf
JM
27432014-06-07 Joseph Myers <joseph@codesourcery.com>
2744
2745 * Makefile (install): Don't set LANGUAGE.
2746 * Makefile.in (install): Likewise.
2747 * assert/Makefile (test-assert-ENV): Remove variable.
2748 (test-assert-perr-ENV): Likewise.
2749 * elf/Makefile (neededtest4-ENV): Likewise.
2750 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2751 [$(cross-compiling) = no]: Don't set LANGUAGE.
2752 * io/ftwtest-sh (LANG): Remove variable.
2753 * libio/Makefile (tst-widetext-ENV): Likewise.
2754 * manual/install.texi (Running make install): Don't refer to
2755 environment settings for make install.
2756 * INSTALL: Regenerated.
2757 * nptl/tst-tls6.sh: Don't set LANG.
2758 * posix/globtest.sh (LANG): Remove variable.
2759 * string/Makefile (tester-ENV): Likewise.
2760 (inl-tester-ENV): Likewise.
2761 (noinl-tester-ENV): Likewise.
2762 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2763 [$(cross-compiling) = no]: Don't set LANGUAGE.
2764 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2765 without explicit environment settings.
2766
68e6b6b1
RM
27672014-06-06 Roland McGrath <roland@hack.frob.com>
2768
2769 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2770 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2771 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2772 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2773
4d3ae034
CM
27742014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2775
2776 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2777 other files in the crypt directory.
2778 * crypt/crypt.c: Remove duplicate includes.
2779 * crypt/crypt-entry.c: Likewise.
2780 * crypt/crypt_util.c: Likewise.
2781
8540f6d2
JM
27822014-06-06 Joseph Myers <joseph@codesourcery.com>
2783
2784 * Makeconfig (run-program-env): New variable.
2785 (run-program-prefix-before-env): Likewise.
2786 (run-program-prefix-after-env): Likewise.
2787 (run-program-prefix): Define in terms of new variables.
2788 (built-program-cmd-before-env): New variable.
2789 (built-program-cmd-after-env): Likewise.
2790 (built-program-cmd): Define in terms of new variables.
2791 (test-program-prefix-before-env): New variable.
2792 (test-program-prefix-after-env): Likewise.
2793 (test-program-prefix): Define in terms of new variables.
2794 (test-program-cmd-before-env): New variable.
2795 (test-program-cmd-after-env): Likewise.
2796 (test-program-cmd): Define in terms of new variables.
2797 * Rules (make-test-out): Use $(run-program-env).
2798 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2799 (help): Do not mention environment variables. Mention
2800 --timeoutfactor option.
2801 (timeoutfactor): New variable.
2802 (blacklist_exports): Remove function.
2803 (exports): Remove variable.
2804 (command): Do not include ${exports}.
2805 * manual/install.texi (Configuring and compiling): Do not mention
2806 test wrappers preserving environment variables. Mention that last
2807 assignment to a variable must take precedence.
2808 * INSTALL: Regenerated.
2809 * benchtests/Makefile (run-bench): Use $(run-program-env).
2810 * catgets/Makefile ($(objpfx)test1.cat): Use
2811 $(built-program-cmd-before-env), $(run-program-env) and
2812 $(built-program-cmd-after-env).
2813 ($(objpfx)test2.cat): Do not specify environment variables
2814 explicitly.
2815 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2816 $(run-program-env) and $(built-program-cmd-after-env).
2817 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2818 $(run-program-env) and $(test-program-cmd-after-env).
2819 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2820 explicitly.
2821 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2822 run_program_env and test_program_cmd_after_env arguments.
2823 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2824 * elf/tst-pathopt.sh: Use run_program_env argument.
2825 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2826 $(test-wrapper-env) and $(run-program-env).
2827 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2828 run_program_env arguments.
2829 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2830 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2831 $(test-program-prefix-before-env), $(run-program-env) and
2832 $(test-program-prefix-after-env).
2833 ($(objpfx)tst-gettext2.out): Likewise.
2834 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2835 run_program_env and test_program_prefix_after_env arguments.
2836 * intl/tst-gettext2.sh: Likewise.
2837 * intl/tst-gettext4.sh: Do not set environment variables
2838 explicitly.
2839 * intl/tst-gettext6.sh: Likewise.
2840 * intl/tst-translit.sh: Likewise.
2841 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2842 $(test-program-prefix-before-env), $(run-program-env) and
2843 $(test-program-prefix-after-env).
2844 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2845 run_program_env and test_program_prefix_after_env arguments.
2846 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2847 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2848 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2849 explicitly with each use of ${test_wrapper_env}.
2850 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2851 $(test-program-prefix-before-env), $(run-program-env) and
2852 $(test-program-prefix-after-env).
2853 * posix/tst-getconf.sh: Do not set environment variables
2854 explicitly.
2855 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2856 run_program_env and test_program_prefix_after_env arguments.
2857 * stdio-common/tst-printf.sh: Do not set environment variables
2858 explicitly.
2859 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2860 $(test-program-prefix-before-env), $(run-program-env) and
2861 $(test-program-prefix-after-env).
2862 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2863 run_program_env and test_program_prefix_after_env arguments.
2864 Split $test calls into $test_pre and $test.
2865 * timezone/Makefile (build-testdata): Use
2866 $(built-program-cmd-before-env), $(run-program-env) and
2867 $(built-program-cmd-after-env).
2868
ed36bfa1
AZ
28692014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2870
2871 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2872 strlen for non SHARED builds.
2873
fc75bf46
SP
28742014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2875
2876 * nptl/allocatestack.c (check_list): Inlined function...
2877 (__reclaim_stacks): ... here.
2878
d89b3d80
OB
28792014-06-05 Ondřej Bílka <neleai@seznam.cz>
2880
2881 [BZ #15698]
2882 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2883 memory overrun.
2884
2bf18041
JM
28852014-06-05 Joseph Myers <joseph@codesourcery.com>
2886
2887 * Rules (make-test-out): Include
2888 LOCPATH=$(common-objpfx)localedata in default environment.
2889 * debug/Makefile (tst-chk1-ENV): Remove variable.
2890 (tst-chk2-ENV): Likewise.
2891 (tst-chk3-ENV): Likewise.
2892 (tst-chk4-ENV): Likewise.
2893 (tst-chk5-ENV): Likewise.
2894 (tst-chk6-ENV): Likewise.
2895 (tst-lfschk1-ENV): Likewise.
2896 (tst-lfschk2-ENV): Likewise.
2897 (tst-lfschk3-ENV): Likewise.
2898 (tst-lfschk4-ENV): Likewise.
2899 (tst-lfschk5-ENV): Likewise.
2900 (tst-lfschk6-ENV): Likewise.
2901 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2902 (tst-iconv7-ENV): Likewise.
2903 * intl/Makefile (LOCPATH-ENV): Likewise.
2904 (tst-codeset-ENV): Likewise.
2905 (tst-gettext3-ENV): Likewise.
2906 (tst-gettext5-ENV): Likewise.
2907 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2908 (tst-fopenloc-ENV): Likewise.
2909 (tst-fgetws-ENV): Remove variable.
2910 (tst-ungetwc1-ENV): Likewise.
2911 (tst-ungetwc2-ENV): Likewise.
2912 (bug-ungetwc2-ENV): Likewise.
2913 (tst-swscanf-ENV): Likewise.
2914 (bug-ftell-ENV): Likewise.
2915 (tst-fgetwc-ENV): Likewise.
2916 (tst-fseek-ENV): Likewise.
2917 (tst-ftell-partial-wide-ENV): Likewise.
2918 (tst-ftell-active-handler-ENV): Likewise.
2919 (tst-ftell-append-ENV): Likewise.
2920 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2921 (tst-regexloc-ENV): Likewise.
2922 (bug-regex1-ENV): Likewise.
2923 (tst-regex-ENV): Likewise.
2924 (tst-regex2-ENV): Likewise.
2925 (bug-regex5-ENV): Likewise.
2926 (bug-regex6-ENV): Likewise.
2927 (bug-regex17-ENV): Likewise.
2928 (bug-regex18-ENV): Likewise.
2929 (bug-regex19-ENV): Likewise.
2930 (bug-regex20-ENV): Likewise.
2931 (bug-regex22-ENV): Likewise.
2932 (bug-regex23-ENV): Likewise.
2933 (bug-regex25-ENV): Likewise.
2934 (bug-regex26-ENV): Likewise.
2935 (bug-regex30-ENV): Likewise.
2936 (bug-regex32-ENV): Likewise.
2937 (bug-regex33-ENV): Likewise.
2938 (bug-regex34-ENV): Likewise.
2939 (bug-regex35-ENV): Likewise.
2940 (tst-rxspencer-ENV): Likewise.
2941 (tst-rxspencer-no-utf8-ENV): Likewise.
2942 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2943 (tst-sscanf-ENV): Likewise.
2944 (tst-swprintf-ENV): Likewise.
2945 (tst-swscanf-ENV): Likewise.
2946 (test-vfprintf-ENV): Likewise.
2947 (scanf13-ENV): Likewise.
2948 (bug14-ENV): Likewise.
2949 (tst-grouping-ENV): Likewise.
2950 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2951 (tst-strtod3-ENV): Likewise.
2952 (tst-strtod4-ENV): Likewise.
2953 (tst-strtod5-ENV): Likewise.
2954 (testmb2-ENV): Likewise./
2955 * string/Makefile (tst-strxfrm-ENV): Likewise.
2956 (tst-strxfrm2-ENV): Likewise.
2957 (bug-strcoll1-ENV): Likewise.
2958 (test-strcasecmp-ENV): Likewise.
2959 (test-strncasecmp-ENV): Likewise.
2960 * time/Makefile (tst-strptime-ENV): Likewise.
2961 (tst-ftime_l-ENV): Likewise.
2962 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2963 (tst-mbrtowc-ENV): Likewise.
2964 (tst-wcrtomb-ENV): Likewise.
2965 (tst-mbrtowc2-ENV): Likewise.
2966 (tst-c16c32-1-ENV): Likewise.
2967 (tst-mbsnrtowcs-ENV): Likewise.
2968
cd1fb604
OB
29692014-06-05 Ondřej Bílka <neleai@seznam.cz>
2970
2971 * manual/resource.texi (How to get information about the memory
2972 subsystem?): Fix typo.
2973 Reported by Peon de la Parra Ivan <peon@keba.com>
2974
b42eca7d
GY
29752014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2976
2977 [BZ #16882]
2978 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2979 (pthread_spin_lock): Branch out of spin loop to proper location.
2980 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2981 (pthread_spin_lock): Likewise.
2982
902b71f9
DM
2983 * nptl/tst-spin4.c: New test.
2984 * nptl/Makefile (tests): Add tst-spin4.
2985
f9d2d032
AS
29862014-06-03 Andreas Schwab <schwab@suse.de>
2987
2988 [BZ #15946]
2989 * resolv/res_send.c (send_dg): Reload file descriptor after
2990 calling reopen.
2991
cf7bfd28
SL
29922014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2993
2994 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2995
111cc714
RH
29962014-06-03 Richard Henderson <rth@redhat.com>
2997
89b4bd6b
RH
2998 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2999 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3000 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3001 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3002 in the SAVE_PID block.
3003 (__libc_vfork): New alias.
71840409 3004 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 3005
111cc714
RH
3006 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3007 child in registers, not on the stack. Remove RESET_PID conditionals.
3008 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3009
ccc39911
MS
30102014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3011
3012 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3013
693096cc
W
30142014-06-03 Wilco <wdijkstr@arm.com>
3015
3016 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3017 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3018 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3019 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3020 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3021 Likewise.
3022
0b4366bc
W
30232014-06-03 Wilco <wdijkstr@arm.com>
3024
3025 * sysdeps/aarch64/fpu/math_private.h
3026 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3027 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3028 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3029 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3030 Fix declarations.
3031
8747cd03
KS
30322014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3033
3034 * crypt/crypt-private.h: Include ufc-crypt.h.
3035 (__b64_from_24bit): Declare extern.
3036 * crypt/crypt_util.c(__b64_from_24bit): New function.
3037 (b64t): New static const variable.
3038 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3039 (b64t): Remove variable.
3040 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3041 * crypt/sha256-crypt.c: Include crypt-private.h.
3042 (b64t): Remove variable.
3043 (__sha256_crypt_r): Remove b64_from_24bit and replace
3044 with __b64_from_24bit.
3045 * crypt/sha512-crypt.c: Likewise.
3046
d936d379
RM
30472014-06-02 Roland McGrath <roland@hack.frob.com>
3048
3049 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3050 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3051 Label the code __libc_vfork rather than __vfork.
3052 [!NOT_IN_libc] (vfork): Define as weak alias.
3053 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3054 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3055 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3056
9fa76613
SP
30572014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3058
3059 * malloc/malloc.c (malloc_info): Fix format specifier for
3060 n_mmaps.
3061
a88dadbe
W
30622014-06-02 Wilco <wdijkstr@arm.com>
3063
3064 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3065 FPCR write.
3066
c95b3011
W
30672014-06-02 Wilco <wdijkstr@arm.com>
3068
3069 [BZ #17009]
3070 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3071 Rewrite to reduce FPCR/FPSR accesses.
3072
6b4d7a90
DM
30732014-06-01 David S. Miller <davem@davemloft.net>
3074
3075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3076
30f3d07c
DM
30772014-05-31 David S. Miller <davem@davemloft.net>
3078
3079 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3080 to occur in round to nearest mode when |x| >= 2.0
3081
74f31c18
RH
30822014-05-30 Richard Henderson <rth@twiddle.net>
3083
f0712b54
RH
3084 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3085 (PSEUDO_RET_NOERRNO): Remove.
3086 (ret): Don't redefine.
3087 (ret_NOERRNO): Define in terms of ret.
3088 (ret_ERRVAL): Likewise.
3089
74f31c18
RH
3090 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3091 use of PSEUDO_RET; perform the error check directly.
3092
30477995
MM
30932014-05-30 Marko Myllynen <myllynen@redhat.com>
3094
3095 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3096 with __int128_t.
3097
62a58816
SP
30982014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3099
3100 * malloc/malloc (malloc_info): Fix formatting.
3101
4d653a59
SP
31022014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3103 Roland McGrath <roland@hack.frob.com>
3104
3105 * malloc/malloc (malloc_info): Also print mmapped statistics.
3106
5190c17f
RM
31072014-05-30 Roland McGrath <roland@hack.frob.com>
3108
3109 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3110 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3111
987c0269
OB
31122014-05-30 Ondřej Bílka <neleai@seznam.cz>
3113
3114 * malloc/malloc.c (malloc_info): Inline mi_arena.
3115
af4e8ef9
RH
31162014-05-29 Richard Henderson <rth@twiddle.net>
3117
1670e207
RH
3118 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3119 Remove comma before expanding ASM_ARGS_##nr.
3120 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3121 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3122 of ASM_ARGS_##nr.
3123 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3124 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3125 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3126 (ASM_ARGS_1): Add leading comma.
3127
11a28aee
RH
3128 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3129 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3130 to __errno_location.
3131 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3132 Remove the expected plt for __errno_location.
3133
a17e5ffb 3134 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 3135 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
3136 call to __read_tp.
3137
b5be4597
RH
3138 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3139 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3140 it and break it down.
3141 (DOCARGS_0, DOCARGS_1): Do nothing.
3142 (DOCARGS_2): Update to store into the new stack frame.
3143 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3144 (UNDOCARGS_1): Update to restore from the new stack frame.
3145 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3146 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3147
645d44ab
RH
3148 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3149 (SINGLE_THREAD_P): New parameter for result regno.
3150 (PSEUDO): Update to match; use cbz instead of beq.
3151
a8b4f04a
RH
3152 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3153 Use ENTRY to define the _nocancel entry point. Share the syscall
3154 and syscall error check paths with the cancel path.
3155 (PSEUDO_END): New.
3156
af4e8ef9
RH
3157 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3158 whitespace; tabs before and after asm mnemonics.
3159
26b0d2e1
EW
31602014-05-29 Eric Wong <normalperson@yhbt.net>
3161
3162 [BZ #15132]
3163 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3164 Call fstat64 or stat64 internally, depending on arguments passed.
3165 Replace stat buffer argument with file descriptor argument.
3166 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3167 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3168 Pass fd to __internal_statvfs instead of calling fstat64.
3169 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3170 Pass fd to __internal_statvfs64 instead of calling fstat64.
3171 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3172 Pass -1 to __internal_statvfs instead of calling stat64.
3173 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3174 Pass -1 to __internal_statvfs64 instead of calling stat64.
3175
1efe2bd9
RM
31762014-05-28 Roland McGrath <roland@hack.frob.com>
3177
0d3b7a19
RM
3178 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3179 that was previously under [RESET_PID].
3180 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3181
1efe2bd9
RM
3182 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3183 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3184
a6bea3ca
RM
31852014-05-27 Roland McGrath <roland@hack.frob.com>
3186
30b6629e
RM
3187 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3188
a6bea3ca
RM
3189 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3190 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3191
3dfb9a5c
OB
31922014-05-27 Ondřej Bílka <neleai@seznam.cz>
3193
3194 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3195
774f9285
AS
31962014-05-27 Andreas Schwab <schwab@suse.de>
3197
3198 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3199 TLS_INIT_TP macro.
3200 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3201 * elf/rtld.c (init_tls, dl_main): Likewise.
3202 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3203 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3204 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3205 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3206 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3207 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3208 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3209 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3210 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3211 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3212 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3213 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3214 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3215 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3216 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3217 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3218 * sysdeps/generic/tls.h: Update description.
3219
36ffe739
WN
32202014-05-27 Will Newton <will.newton@linaro.org>
3221
3222 [BZ #16990]
3223 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3224 and restore r2 rather than just restoring.
3225
2482ae43
SP
32262014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3227
3228 [BZ #16724]
3229 * libio/tst-ftell-append.c: New test case.
3230 * libio/Makefile (tests): Add test case.
3231 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3232 append mode.
3233 * libio/wfileops.c (do_ftell_wide): Likewise.
3234
3d1024e8
AZ
32352014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3236
bab90016
AZ
3237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3238
c7a8d667
AZ
3239 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3240 ...
3241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3243 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3244 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3245 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3246 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3247 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3248 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3249 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3250 Moved ...
3251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3252 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3253 Moved ...
3254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3255 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3256 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3257 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3258 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3259 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3260 ...
3261 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3262 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3263 Moved ...
3264 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3265 here.
3266 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3267 ...
3268 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3269 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3270 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3271
daee7851
AZ
3272 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3273 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3274 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3275 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3276
50a40819
AZ
3277 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3278 merge into ...
3279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3280 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3281 ...
3282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3283 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3284 ...
3285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3286 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3287 Moved ...
3288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3289 here.
3290 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3291 Moved ...
3292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3293 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3294 Moved ...
3295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3296
8464c2a1
AZ
3297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3298 conditional [RESET_PID].
3299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3300 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3301 removed.
3302 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3303 removed.
3304
3d1024e8
AZ
3305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3306 <tcb-offsets.h>.
3307 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3308 (__libc_vfork): New strong alias.
3309 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3310 removed.
3311 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3312 Removed.
3313
3314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3315 <tcb-offsets.h>.
3316 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3317 (__libc_vfork): New strong alias.
3318 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3319 removed.
3320 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3321 removed.
3322
fdfd175d
CD
33232014-05-26 Carlos O'Donell <carlos@redhat.com>
3324
3325 * malloc/malloc.c (mi_arena): New function.
3326 (malloc_info): Remove nested function mi_arena. Call non-nosted
3327 function mi_arena.
3328
d298c416
AZ
33292014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3330
3331 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3332 by insrwi.
3333 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3334 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3335 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3336 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3337 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3338 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3339 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3340
b60ea6ff
AS
33412014-05-26 Andreas Schwab <schwab@suse.de>
3342
3343 [BZ #16984]
3344 * locale/programs/repertoire.c (repertoire_read): Add slash
3345 between I18NPATH element and file name.
3346 * locale/programs/locfile.c (locfile_read): Likewise.
3347
67365926
SL
33482014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3349
3350 * nptl/pthread_mutexattr_settype.c
3351 (__pthread_mutexattr_settype):
3352 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3353
f8bdf1f0
SL
33542014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3355
3356 * nptl/tst-mutex5 (do_test):
3357 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3358
15eaf6ff
SP
33592014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3360
3361 * benchtests/README: Document 'init' directive.
3362 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3363 BENCH_INIT.
3364 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3365 (parse_file): Recognize 'init' directive.
3366
75f11331
KM
33672014-05-26 Kyle McMartin <kyle@redhat.com>
3368
3369 [BZ #16796]
3370 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3371 alignment of struct pthread.
3372
c3ec475c
SP
33732014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3374
3375 [BZ #16878]
3376 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3377 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3378 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3379 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3380
82aab97c
RH
33812014-05-25 Richard Henderson <rth@twiddle.net>
3382
aa2f176d
RH
3383 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3384 (SINGLE_THREAD_P_PIC): Remove.
3385 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3386 (SINGLE_THREAD_P_PIC): Remove.
3387
ca3cfa40
RH
3388 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3389 branch to syscall error ...
3390 (PSEUDO): ... here.
3391 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3392 from __local_syscall_error to .Lsyscall_error.
3393 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3394 (SYSCALL_ERROR): Update label name.
3395
6e6c2d01
RH
3396 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3397 Do not use DOARGS/UNDOARGS.
3398 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3399 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3400 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3401 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3402 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3403
c69abcee
RH
3404 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3405 block comment.
3406
82aab97c
RH
3407 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3408 define if !NOT_IN_libc.
3409 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3410 define with non-default symbol versions.
3411
8820e3ac
RH
34122014-05-23 Richard Henderson <rth@twiddle.net>
3413
900e445f
RH
3414 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3415 (vfork, __vfork): Define via compat_symbol.
3416
8820e3ac
RH
3417 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3418 [!HAVE_IFUNC] (vfork_compat): Remove.
3419 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3420
e59252a5
JM
34212014-05-23 Joseph Myers <joseph@codesourcery.com>
3422
3423 [BZ #16978]
3424 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3425 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3426 variable.
3427
132c7f5f
RH
34282014-05-23 Richard Henderson <rth@twiddle.net>
3429
bc89e962
RH
3430 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3431 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3432 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3433 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3434
3435 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3436 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3437 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3438 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3439 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3440 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3441 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3442 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3443 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3444 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3445 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3446 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3447 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3448 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3449 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3450 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3451 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3452 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3453 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3454 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3455 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3456 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3457 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3458 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3459 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3460 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3461 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3462 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3463 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3464 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3465 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3466 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3467 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3468 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3469 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3470 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3471 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3472 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3473 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3474 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3475 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3476 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3477 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3478 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3479 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3480 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3481 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3482 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3483 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3484 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3485 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3486 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3487 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3488 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3489 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3490 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3491
e2fa4bc2
RH
3492 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3493 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3494 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3495 before exiting on error.
3496 (__libc_vfork): New strong alias.
3497 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3498 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3499
279b24e2
RH
3500 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3501 that was previously under [RESET_PID].
3502 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3503
132c7f5f
RH
3504 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3505
b72592e7
JM
35062014-05-23 Joseph Myers <joseph@codesourcery.com>
3507
3508 [BZ #16977]
3509 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3510 value when x - 1 is zero.
3511 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3512 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3513 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3514 0.0L for an argument of 1.0L.
3515 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3516 Likewise.
3517 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3518 value when x - 1 is zero.
3519 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3520 * sysdeps/i386/fpu/libm-test-ulps: Update.
3521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3522
2302d679
RV
35232014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3524
3525 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3526 alphasort and versionsort.
3527
32999d63
AZ
35282014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3529
3530 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3531 macro.
3532 [copysignf]: Likewise.
3533
019324d0
SP
35342014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3535
3536 * crypt/md5-crypt.c: Fix formatting.
3537
34fff5c2
KS
35382014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3539
3540 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3541 (b64_from_24bit): New function.
3542
3d2badac
AZ
35432014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3544
3545 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3546 libc_hidden_builtin_def to ifunc.
3547 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3548 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3549
f7bb179f 35502014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
3551
3552 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3553 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3554
4134b50d
JM
35552014-05-21 Joseph Myers <joseph@codesourcery.com>
3556
bb7d0337
JM
3557 * nscd/Depend (linuxthreads): Remove.
3558 (nptl): Add.
3559 * resolv/Depend (linuxthreads): Remove.
3560 * rt/Depend (linuxthreads): Remove.
3561
4134b50d
JM
3562 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3563 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3564 $(common-objpfx)elf/.
3565 (link-libc-before-gnulib): Likewise.
3566 (elfobjdir): Remove variable.
3567 * Makefile (install): Use $(elf-objpfx) instead of
3568 $(common-objpfx)elf/.
3569 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3570 $(elfobjdir)/.
3571 (link-libc-deps): Likewise.
3572 ($(common-objpfx)libc.so): Likewise.
3573 ($(common-objpfx)linkobj/libc.so): Likewise.
3574 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3575 instead of $(common-objpfx)elf/.
3576 (symbolic-link-list): Likewise.
3577 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3578 [$(cross-compiling) = no]: Likewise.
3579 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3580 $(elfobjdir)/.
3581 (static-gnulib-arch): Likewise.
3582 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3583 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3584 $(common-objpfx)elf/.
3585
3612eb8f
RH
35862014-05-21 Richard Henderson <rth@redhat.com>
3587
a6b3657b
RH
3588 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3589 (SINGLE_THREAD_P): Use the correct width load. Fold
3590 into the ldr offset.
3591
3612eb8f
RH
3592 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3593 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3594
175cef41
JM
35952014-05-20 Joseph Myers <joseph@codesourcery.com>
3596
3597 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3598 (libgcc_s_resume): Use __attribute_used__.
3599 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3600 Likewise.
3601
e13bccd3
AZ
36022014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3603
3604 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3605 optimization when used with float constants.
3606
7c112a38
AZ
3607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3608
ae75a883
AJ
36092014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3610
3611 [BZ #16915]
3612 * locale/nl_langinfo_l.c: Make direct reference to every
3613 _nl_current_CATEGORY symbol.
3614 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3615 (tests-static): Add tst-langinfo-static.
3616 (tests-special): Add tst-langinfo-static.out.
3617 ($(objpfx)tst-langinfo.out): Redirect output.
3618 ($(objpfx)tst-langinfo-static.out): New.
3619 * localedata/tst-langinfo.sh: Send output to stdout.
3620 * localedata/tst-langinfo-static.c: New file.
3621
4406c41c
AJ
3622 [BZ #16965]
3623 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3624 when the shift amount is modulo the limb size.
3625
4c0a1e63
RH
36262014-05-20 Richard Henderson <rth@redhat.com>
3627
de9d8f20
RH
3628 [BZ #16967]
3629 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3630 Change type of sa_flags from unsigned int to int.
3631
4c0a1e63
RH
3632 [BZ #16966]
3633 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
3634
3635 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3636
a60339aa
WN
36372014-05-20 Will Newton <will.newton@linaro.org>
3638
3639 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3640 Test the return value of the system call in the nocancel case.
3641
7d05a816
YR
36422014-05-20 Will Newton <will.newton@linaro.org>
3643 Yvan Roux <yvan.roux@linaro.org>
3644
3645 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3646 #include of asm/ptrace.h.
3647 (PTRACE_GET_THREAD_AREA): Remove #undef.
3648 (PTRACE_GETHBPREGS): Likewise.
3649 (PTRACE_SETHBPREGS): Likewise.
3650 (struct user_regs_struct): New structure.
3651 (struct user_fpsimd_struct): New structure.
3652 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3653 #include of asm/ptrace.h and second #include of sys/user.h.
3654 (PTRACE_GET_THREAD_AREA): Remove #undef.
3655 (PTRACE_GETHBPREGS): Likewise.
3656 (PTRACE_SETHBPREGS): Likewise.
3657 (ELF_NGREG): Use new struct user_regs_struct.
3658 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3659
af121e37
AZ
36602014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3661
3662 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3663 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3664
834caf06
JM
36652014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3666
3667 [BZ #16958]
3668 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3669 membar to avoid block loads/stores to overlap previous stores.
3670
e184a918
RH
36712014-05-17 Richard Henderson <rth@redhat.com>
3672
3673 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3674 Create the __##syscall_name##_nocancel entry point.
3675 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3676 Remove; let the sysdep-cancel.h code create it.
3677
f56c7a6a
DM
36782014-05-17 David S. Miller <davem@davemloft.net>
3679
3680 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3681 Protect with __USE_GNU.
3682 (TIOCSET_TEMPT): Likewise.
3683 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3684 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3685 these are already provided in bits/ioctl-types.h
3686
f75616b2
RM
36872014-05-16 Roland McGrath <roland@hack.frob.com>
3688
3edeca86
RM
3689 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3690 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3691
f75616b2
RM
3692 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3693 Use wait4 regardless of [__NR_waitpid].
3694
deb0f7f6
MR
36952014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3696
3697 PR libgcc/60166
3698 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3699 (_FP_NANSIGN_Q): Set the quiet bit.
3700
79520f4b
JM
37012014-05-16 Joseph Myers <joseph@codesourcery.com>
3702
3703 * benchtests/Makefile
3704 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3705 not $(common-objpfx)math/libm.so.
3706 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3707 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3708 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3709 $(common-objpfx)dlfcn/libdl.so.
3710 ($(objpfx)tst-audit8): Depend on $(libm), not
3711 $(common-objpfx)math/libm.so.
3712 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3713 not $(common-objpfx)dlfcn/libdl.so.
3714 * math/Makefile
3715 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3716 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3717 [$(build-shared) = yes].
3718 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3719 $(common-objpfx)nptl/libpthread.so.
3720 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3721 $(common-objpfx)math/libm.so$(libm.so-version) or
3722 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3723 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3724 $(common-objpfx)dlfcn/libdl.so.
3725 * setjmp/Makefile (link-libm): Remove variable.
3726 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3727 * stdio-common/Makefile (link-libm): Remove variable.
3728 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3729 * stdlib/Makefile (link-libm): Remove variable.
3730 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3731 ($(objpfx)tst-strtod-round): Likewise.
3732 ($(objpfx)tst-tininess): Likewise.
3733 ($(objpfx)tst-strtod-underflow): Likewise.
3734 ($(objpfx)tst-strtod6): Likewise.
3735 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3736 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3737 $(common-objpfx)dlfcn/libdl.so.
3738
026b0fe4
AZ
37392014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3740
3741 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3742 BSD terminal modes definitions.
3743
def4bcb2
RM
37442014-05-16 Roland McGrath <roland@hack.frob.com>
3745
fe39b021
RM
3746 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3747 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3748
1d1fc46e 3749 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
3750 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3751 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3752 Don't do #include_next.
3753 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3754 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3755 Don't do #include_next.
3756 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3757 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3758 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3759 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3760
c72399fb
AM
37612014-05-16 Allan McRae <allan@archlinux.org>
3762
d51d659d
AM
3763 * po/sv.po: Update Swedish translation from translation project.
3764
c72399fb
AM
3765 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3766 in sed expression.
3767
d0583c40
AJ
37682014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3769
3770 [BZ #16917]
3771 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3772 errno if the TIOCGPTN ioctl fails with an error different than
3773 EINVAL.
3774 * login/tst-ptsname.c: New file.
3775 * login/Makefile (tests): Add tst-ptsname.
3776
d16e6ec7
AJ
3777 [BZ #16943]
3778 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3779 and prlimit64.
3780
cf26a0cb
SP
37812014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3782
3783 [BZ #16849]
3784 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3785 herrno to return EAI_AGAIN.
3786
5675da1e
RM
37872014-05-14 Roland McGrath <roland@hack.frob.com>
3788
a5d87b3d
RM
3789 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3790 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3791 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3792 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3793 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3794 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3795 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3796 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3797 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3798 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3799 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3800 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3801 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3802 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3803 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3804 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3805 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3806 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3807 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3808 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3809 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3810 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3811 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3812 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3813 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3814 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3815 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3816 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3817 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3818 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3820 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3822 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3823 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3824 Moved ...
3825 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3827 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3829 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3831 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3833 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3835 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3837 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3839 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3841 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3843 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3845 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3847 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3849 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3851 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3853 Moved ...
3854 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3856 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3858 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3860 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3862 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3864 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3866 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3868 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3870 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3872 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3874 Moved ...
3875 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3877 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3878
039890a6
RM
3879 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3880 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3881 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3882 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3883 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3884 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3885 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3886 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3887 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3888 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3889 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3890 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3891 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3892 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3893 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3894 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3895 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3896 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3897 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3898 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3899 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3900 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3901 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3902 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3903 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3904 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3905 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3906 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3907 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3908 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3909 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3910
65c89320
RM
3911 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3912 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3913
348f8e8c
RM
3914 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3915 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3916 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3917 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3918 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3919 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3920 Moved ...
3921 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3922 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3923 Moved ...
3924 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3925 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3926 Moved ...
3927 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3928 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3929 Moved ...
3930 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3931 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3932 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3933 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3934 Moved ...
3935 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3936 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3937 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3938 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3939 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3940 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3941 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3942 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3943 Moved ...
3944 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3945 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3946 Moved ...
3947 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3948 ... here.
3949 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3950 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3951 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3952 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3953 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3954 Moved ...
3955 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3956 ... here.
3957 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3958 Moved ...
3959 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3960 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3961 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3962 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3963 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3964 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3965 Moved ...
3966 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3967 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3968 Moved ...
3969 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3970 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3971 Moved ...
3972 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3973 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3974 Moved ...
3975 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3976 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3977 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3978 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3979 Moved ...
3980 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3981 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3982 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3983 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3984 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3985 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3986 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3987 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3988 Moved ...
3989 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3990 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3991 Moved ...
3992 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3993 ... here.
3994 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3995 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3996 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3997 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3998 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3999 Moved ...
4000 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4001 ... here.
4002 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4003 Moved ...
4004 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4005 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4006 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4007 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4008 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4009 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4010 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4011 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4012 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4013 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4014 Moved ...
4015 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4016 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4017 Moved ...
4018 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4019 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4020 Moved ...
4021 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4022 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4023 Moved ...
4024 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4025 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4026 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4027 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4028 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4029 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4030 Moved ...
4031 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4032 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4033 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4034 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4035 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4036 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4037 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4038 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4039 Moved ...
4040 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4041 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4042 Moved ...
4043 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4044 ... here.
4045 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4046 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4047 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4048 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4049 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4050 Moved ...
4051 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4052 ... here.
4053 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4054 Moved ...
4055 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4056 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4057 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4058 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4059 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4060 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4061 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4062 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4063 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4064 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4065 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4066
5085af05
RM
4067 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4068 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4069
708f0813
RM
4070 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4071 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4072
c96067bc
RM
4073 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4074 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4075 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4076 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4077 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4078 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4079 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4080 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4081 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4082 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4083 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4084 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4085 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4086 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4087 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4088 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4089 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4090 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4091 Moved ...
4092 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4093 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4094 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4095 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4096 Moved ...
4097 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4098 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4099 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4100 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4101 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4102 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4103 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4104 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4105 Moved ...
4106 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4107 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4108 Moved ...
4109 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4110 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4111 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4112 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4113 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4114 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4115 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4116 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4117 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4118 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4119 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4120 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4121 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4122 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4123 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4124 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4125 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4126
ec136444
RM
4127 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4128 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4129 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4130 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4131 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4132
2fbdf533
RM
4133 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4134 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4135 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4136 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4137 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4138 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4139 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4140 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4141 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4142 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4143
4c68138b
RM
4144 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4145 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4146
4eaae765
RM
4147 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4148 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
4149 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4150 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4151 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4152 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4153 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4154 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4155 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4156 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4157 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4158 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4159 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4160 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4161 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4162 Update #include.
4163 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4164 Likewise.
4165 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4166 Likewise.
4167 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4168 Likewise.
4169 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4170 Likewise.
4171 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4172 Likewise.
4173 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4174 Likewise.
4175 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4176 Likewise.
4177 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4178 Likewise.
4179 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4180 Likewise.
4ef6befa
RM
4181 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4182 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4183 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4184 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4185 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
4186 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4187 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4188 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4189 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4190 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4191 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4192 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4193 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4194 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4195 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 4196
941d7dfd
RM
4197 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4198 that was previously under [RESET_PID].
4199 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4200 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4201 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4202
1b731c35
RM
4203 * sysdeps/i386/nptl/Implies: New file.
4204 * sysdeps/x86_64/nptl/Implies: New file.
4205 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4206 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4207 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4208 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4209
e2787137
RM
4210 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4211 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4212 (__libc_vfork): New strong alias.
4213 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4214 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4215
4216 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4217 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4218 (__libc_vfork): New strong alias.
4219 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4220 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4221
5675da1e
RM
4222 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4223 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4224 (__libc_vfork): New strong alias.
4225 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4226 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4227 * nptl/pt-vfork.c: New file.
4228 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4229 (libpthread: GLIBC_2.20): New version set (empty).
4230
4f02e2b8
WN
42312014-05-14 Will Newton <will.newton@linaro.org>
4232
4233 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4234 rather than #if.
4235
0bf061d3
JM
42362014-05-14 Joseph Myers <joseph@codesourcery.com>
4237
1a84c3d6
JM
4238 [BZ #16564]
4239 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4240 arguments with exponent 65 or above.
4241 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4242 arguments 0x1p113L or above.
4243 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4244 to arguments 0x1p107L or above.
4245 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4246 positive arguments with exponent 65 or above.
4247 * math/auto-libm-test-in: Add more tests of log1p.
4248 * math/auto-libm-test-out: Regenerated.
4249
01dbacd2
JM
4250 [BZ #16928]
4251 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4252 non-finite arguments is +0.
4253 * math/s_cacosf.c (__cacosf): Likewise.
4254 * math/s_cacosl.c (__cacosl): Likewise.
4255 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4256 * sysdeps/i386/fpu/libm-test-ulps: Update.
4257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4258
913d03c8
JM
4259 [BZ #16927]
4260 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4261 value.
4262 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4263 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4264 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4265 for explicit high bit of mantissa when testing for argument equal
4266 to 1.
4267 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4268 * sysdeps/i386/fpu/libm-test-ulps: Update.
4269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4270
0bf061d3
JM
4271 [BZ #16516]
4272 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4273 (__erf): Scale by 16 instead of 8 in potentially underflowing
4274 case. Ensure exception if result actually underflows.
4275 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4276 (__erff): Scale by 16 instead of 8 in potentially underflowing
4277 case. Ensure exception if result actually underflows.
4278 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4279 (efx8): Remove variable.
4280 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4281 case. Ensure exception if result actually underflows.
4282 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4283 (efx8): Remove variable.
4284 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4285 case. Ensure exception if result actually underflows.
4286 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4287 (efx8): Remove variable.
4288 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4289 case. Ensure exception if result actually underflows.
4290 * math/auto-libm-test-in: Add more tests of erf.
4291 * math/auto-libm-test-out: Regenerated.
4292
73ba67cb
AS
42932014-05-14 Andreas Schwab <schwab@suse.de>
4294
3d8c8bff
AS
4295 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4296 Remove code conditionalized on USE___THREAD.
4297
73ba67cb
AS
4298 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4299 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4300 not definedness.
4301
5c521ecd
JM
43022014-05-14 Joseph Myers <joseph@codesourcery.com>
4303
5e7698c6
JM
4304 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4305 Define unconditionally.
4306 (__ASSUME_O_CLOEXEC): Likewise.
4307 (__ASSUME_SOCK_CLOEXEC): Likewise.
4308 (__ASSUME_IN_NONBLOCK): Likewise.
4309 (__ASSUME_PIPE2): Likewise.
4310 (__ASSUME_EVENTFD2): Likewise.
4311 (__ASSUME_SIGNALFD4): Likewise.
4312 (__ASSUME_DUP3): Likewise.
4313 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4314 (__ASSUME_DUP3): Do not define.
4315 (__ASSUME_EVENTFD2): Likewise.
4316 (__ASSUME_IN_NONBLOCK): Likewise.
4317 (__ASSUME_O_CLOEXEC): Likewise.
4318 (__ASSUME_PIPE2): Likewise.
4319 (__ASSUME_SIGNALFD4): Likewise.
4320 (__ASSUME_SOCK_CLOEXEC): Likewise.
4321 (__ASSUME_UTIMES): Undefine.
4322 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4323 (__ASSUME_UTIMES): Do not define.
4324 (__ASSUME_O_CLOEXEC): Likewise.
4325 (__ASSUME_SOCK_CLOEXEC): Likewise.
4326 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4327 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4328 0x020621].
4329 (__ASSUME_PIPE2): Likewise.
4330 (__ASSUME_EVENTFD2): Likewise.
4331 (__ASSUME_SIGNALFD4): Likewise.
4332 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4333 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4334 Do not define.
4335 (__ASSUME_EVENTFD2): Likewise.
4336 (__ASSUME_SIGNALFD4): Likewise.
4337 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4338 (__ASSUME_32BITUIDS): Likewise.
4339 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4340 (__ASSUME_IPC64): Likewise.
4341 (__ASSUME_ST_INO_64_BIT): Likewise.
4342 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4343 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4344 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4345 (__ASSUME_UTIMES): Do not define.
4346 (__ASSUME_PSELECT): Likewise.
4347 (__ASSUME_PPOLL): Likewise.
4348 (__ASSUME_O_CLOEXEC): Likewise.
4349 (__ASSUME_SOCK_CLOEXEC): Likewise.
4350 (__ASSUME_IN_NONBLOCK): Likewise.
4351 (__ASSUME_PIPE2): Likewise.
4352 (__ASSUME_EVENTFD2): Likewise.
4353 (__ASSUME_SIGNALFD4): Likewise.
4354 (__ASSUME_DUP3): Likewise.
4355 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4356 (__ASSUME_UTIMES): Likewise.
4357 (__ASSUME_O_CLOEXEC): Likewise.
4358 (__ASSUME_SOCK_CLOEXEC): Likewise.
4359 (__ASSUME_IN_NONBLOCK): Likewise.
4360 (__ASSUME_PIPE2): Likewise.
4361 (__ASSUME_EVENTFD2): Likewise.
4362 (__ASSUME_SIGNALFD4): Likewise.
4363 (__ASSUME_DUP3): Likewise.
4364 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4365 (__ASSUME_UTIMES): Likewise.
4366 (__ASSUME_O_CLOEXEC): Likewise.
4367 (__ASSUME_SOCK_CLOEXEC): Likewise.
4368 (__ASSUME_IN_NONBLOCK): Likewise.
4369 (__ASSUME_PIPE2): Likewise.
4370 (__ASSUME_EVENTFD2): Likewise.
4371 (__ASSUME_SIGNALFD4): Likewise.
4372 (__ASSUME_DUP3): Likewise.
4373 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4374 Likewise.
4375 (__ASSUME_UTIMES): Likewise.
4376 (__ASSUME_EVENTFD2): Likewise.
4377 (__ASSUME_SIGNALFD4): Likewise.
4378 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4379 (__ASSUME_O_CLOEXEC): Likewise.
4380 (__ASSUME_SOCK_CLOEXEC): Likewise.
4381 (__ASSUME_IN_NONBLOCK): Likewise.
4382 (__ASSUME_PIPE2): Likewise.
4383 (__ASSUME_EVENTFD2): Likewise.
4384 (__ASSUME_SIGNALFD4): Likewise.
4385 (__ASSUME_DUP3): Likewise.
4386 (__ASSUME_UTIMES): Undefine.
4387
5c521ecd
JM
4388 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4389 feclearexcept. Remove symbol versioning code.
4390 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4391 symbol versioning code.
4392 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4393 symbol versioning code.
4394 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4395 feupdateenv. Remove symbol versioning code.
4396 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4397 fegetexceptflag. Remove symbol versioning code.
4398 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4399 fesetexceptflag. Remove symbol versioning code.
4400 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4401 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4402 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4403 (__posix_fadvise64_l32): Remove prototype.
4404 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4405 code.
4406
5da9dfad
RM
44072014-05-13 Roland McGrath <roland@hack.frob.com>
4408
4409 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4410 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4411 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4412 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4413
893b4f37
SK
44142014-05-13 Sami Kerola <kerolasa@iki.fi>
4415
4416 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4417 current working directory
4418
e0db6517
RM
44192014-05-13 Roland McGrath <roland@hack.frob.com>
4420
58aa195d
RM
4421 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4422 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4423 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4424 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4425 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4426 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4427 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4428 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4429 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4430 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4431 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4432 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4433 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4434 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4435 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4436 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4437 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4438 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4439 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4440 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4441 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4442 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4443 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4444 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4445 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4446 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4447 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4448 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4449 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4450 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4451 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4452 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4453 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4454 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4455 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4456 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4457 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4458 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4459 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4460 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4461 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4462 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4463
8c6d01f0
RM
4464 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4465 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4466
4467 * sysdeps/unix/sysv/linux/arm/Makefile
4468 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4469 Add rt-aeabi_unwind_cpp_pr1.
4470 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4471 Add nptl-aeabi_unwind_cpp_pr1.
4472 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4473 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4474 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4475 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4476 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4477 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4478
4479 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4480 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4481 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4482 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4483
bba6da4e
RM
4484 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4485 Deconditionalize the code that was previously under [RESET_PID].
4486 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4487
e0db6517
RM
4488 * sysdeps/generic/exit-thread.h: New file.
4489 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4490 * include/unistd.h (__exit_thread): Remove declaration.
4491 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4492 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4493 * csu/libc-start.c: Include <exit-thread.h>.
4494 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4495 * nptl/pthread_create.c: Include <exit-thread.h>.
4496 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4497 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4498 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4499 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4500 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4501 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4502 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4503 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4504 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4505 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4506 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4507 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4508 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4509 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4510 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4511 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4512 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4513
01eb16fd
AS
45142014-05-13 Andreas Schwab <schwab@suse.de>
4515
4516 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4517
637461d9
JM
45182014-05-12 Joseph Myers <joseph@codesourcery.com>
4519
4520 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4521 (__ASSUME_UTIMES): Do not condition on kernel version.
4522 (__ASSUME_PSELECT): Define unconditionally.
4523 (__ASSUME_PPOLL): Likewise.
4524 (__ASSUME_ATFCTS): Likewise.
4525 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4526 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4527 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4528 (__ASSUME_UTIMENSAT): Define unconditionally.
4529 (__ASSUME_PRIVATE_FUTEX): Likewise.
4530 (__ASSUME_FALLOCATE): Likewise.
4531 (__ASSUME_O_CLOEXEC): Likewise.
4532 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4533 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4534 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4535 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4536 (__ASSUME_IN_NONBLOCK): Likewise.
4537 (__ASSUME_PIPE2): Likewise.
4538 (__ASSUME_EVENTFD2): Likewise.
4539 (__ASSUME_SIGNALFD4): Likewise.
4540 (__ASSUME_DUP3): Likewise.
4541 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4542 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4543 (__ASSUME_AT_RANDOM): Likewise.
4544 (__ASSUME_PREADV): Likewise.
4545 (__ASSUME_PWRITEV): Likewise.
4546 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4547 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4548 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4549 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4550 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4551 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4552 (__ASSUME_O_CLOEXEC): Define unconditionally.
4553 (__ASSUME_PSELECT): Do not undefine conditionally.
4554 (__ASSUME_PPOLL): Likewise.
4555 (__ASSUME_ATFCTS): Likewise.
4556 (__ASSUME_SET_ROBUST_LIST): Likewise.
4557 (__ASSUME_UTIMENSAT): Likewise.
4558 (__ASSUME_FDATASYNC): Define unconditionally.
4559 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4560 (__ASSUME_SIGFRAME_V2): Likewise.
4561 )__ASSUME_EVENTFD2): Likewise.
4562 (__ASSUME_SIGNALFD4): Likewise.
4563 (__ASSUME_PSELECT): Do not undefine conditionally.
4564 (__ASSUME_PPOLL): Likewise.
4565 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4566 (__ASSUME_PSELECT): Define unconditionally.
4567 (__ASSUME_PPOLL): Likewise.
4568 (__ASSUME_O_CLOEXEC): Likewise.
4569 (__ASSUME_SOCK_CLOEXEC): Likewise.
4570 (__ASSUME_IN_NONBLOCK): Likewise.
4571 (__ASSUME_PIPE2): Likewise.
4572 (__ASSUME_EVENTFD2): Likewise.
4573 (__ASSUME_SIGNALFD4): Likewise.
4574 (__ASSUME_DUP3): Likewise.
4575 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4576 (__ASSUME_O_CLOEXEC): Likewise.
4577 (__ASSUME_SOCK_CLOEXEC): Likewise.
4578 (__ASSUME_IN_NONBLOCK): Likewise.
4579 (__ASSUME_PIPE2): Likewise.
4580 (__ASSUME_EVENTFD2): Likewise.
4581 (__ASSUME_SIGNALFD4): Likewise.
4582 (__ASSUME_DUP3): Likewise.
4583 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4584 (__ASSUME_EVENTFD2): Likewise.
4585 (__ASSUME_SIGNALFD4): Likewise.
4586 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4587
315eb1d8
AS
45882014-05-12 Andreas Schwab <schwab@suse.de>
4589
4590 [BZ #16932]
4591 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4592 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4593 than maximum RPC packet size.
4594 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4595 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4596 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4597 (_nss_nis_getservbyport_r): Likewise.
4598
91df99f7
WN
45992014-05-12 Will Newton <will.newton@linaro.org>
4600
4601 * malloc/Makefile (tests): Add tst-mallopt.
4602 * malloc/tst-mallopt.c: New file.
4603
0a982a29
RM
46042014-05-09 Roland McGrath <roland@hack.frob.com>
4605
4606 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4607 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4608
0ded08a5
AZ
46092014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4610
4611 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4612 (tst-tlsmod6.so): Likewise.
4613
55d4d550
RM
46142014-05-09 Roland McGrath <roland@hack.frob.com>
4615
4616 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4617
77d08aca
JM
46182014-05-09 Joseph Myers <joseph@codesourcery.com>
4619
4620 [BZ #16064]
4621 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4622 and <dl-procinfo.h>.
4623 (__fegetenv): Save SSE state in envp->__eip if supported.
4624 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4625 envp->__eip if supported.
4626 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4627 and <dl-procinfo.h>.
4628 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4629 __data_offset and __data_selector in environment to 0. Set SSE
4630 state if supported.
4631 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4632 test-fenv-sse.
4633 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4634 -mfpmath=sse.
4635 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4636
28162f4d
WN
46372014-05-09 Will Newton <will.newton@linaro.org>
4638
4639 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4640 and libc_relro_required for ARM.
4641 * sysdeps/arm/preconfigure: Regenerate.
4642
5a414ff7
DV
46432014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4644 Stefan Liebler <stli@linux.vnet.ibm.com>
4645
4646 * config.make.in (enable-lock-elision): New Makefile variable.
4647 * configure.ac: Likewise.
4648 * configure: Regenerate.
4649 * sysdeps/s390/configure.ac:
4650 Add check for gcc transactions support.
4651 * sysdeps/s390/configure: Regenerate.
4652 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4653 Build elision files if enabled.
4654 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4655 Add lock elision support for s390.
4656 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4657 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4658 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4659 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4660 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4661 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4662 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4663 Likewise.
4664 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4665 Likewise.
4666 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4667 Likewise.
4668 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4669 Likewise.
4670 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4671 (__lll_timedlock_elision, __lll_lock_elision)
4672 (__lll_unlock_elision, __lll_trylock_elision)
4673 (lll_timedlock_elision, lll_lock_elision)
4674 (lll_unlock_elision, lll_trylock_elision): Add.
4675 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4676 (pthread_mutex_t): Add lock elision support for s390.
4677
1a2f40e5
W
46782014-05-14 Wilco <wdijkstr@arm.com>
4679
4680 * sysdeps/arm/fclrexcpt.c: Cleanup.
4681 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4682 * sysdeps/arm/feenablxcpt.c: Cleanup.
4683 * sysdeps/arm/fegetenv.c: Cleanup.
4684 * sysdeps/arm/fegetexcept.c: Cleanup.
4685 * sysdeps/arm/fegetround.c: Cleanup.
4686 * sysdeps/arm/feholdexcpt.c: Cleanup.
4687 * sysdeps/arm/fesetenv.c: Cleanup.
4688 * sysdeps/arm/fesetround.c: Cleanup.
4689 * sysdeps/arm/feupdateenv.c: Cleanup.
4690 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4691 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4692 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4693 * sysdeps/arm/ftestexcept.c: Cleanup.
4694 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4695 * sysdeps/arm/setfpucw.c: Cleanup.
4696
f63c86fe
WN
46972014-05-09 Will Newton <will.newton@linaro.org>
4698
4699 * sysdeps/arm/armv7/strcmp.S: New file.
4700 * NEWS: Mention addition of ARMv7 optimized strcmp.
4701
7a1a51b5
RM
47022014-05-08 Roland McGrath <roland@hack.frob.com>
4703
95afbbe5
RM
4704 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4705 look for %.ac rather than %.in.
4706
4707 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4708 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4709 * sysdeps/mach/hurd/configure: Regenerated.
4710 * sysdeps/unix/sysv/linux/configure: Regenerated.
4711
7a1a51b5
RM
4712 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4713
5057ad3b
SE
47142014-05-07 Steve Ellcey <sellcey@mips.com>
4715
4716 [BZ# 16922]
4717 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4718 (LONG_SUB): Ditto.
4719 (PTR_SUB): Ditto.
4720
8dc97517
AS
47212014-05-07 Andreas Schwab <schwab@suse.de>
4722
4723 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4724 when skipping over non-matching result from nscd.
4725
ce0c5b8f
OB
47262014-05-07 Ondřej Bílka <neleai@seznam.cz>
4727
4728 [BZ #16876]
4729 * nptl/sockperf.c (client): Check socket return value.
8dc97517 4730
a1189263
OB
4731 [BZ #16877]
4732 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4733 nscd security class.
ce0c5b8f 4734
0f58d252
RM
47352014-05-06 Roland McGrath <roland@hack.frob.com>
4736
4737 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4738 * sysdeps/arm/unwind.h: ... here.
4739
83df9ad0
AJ
47402014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4741
ce0c5b8f
OB
4742 [BZ# 16916]
4743 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4744 Define.
83df9ad0 4745
f360f94a
VR
47462014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4747
4748 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4749 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4750 multiarch strncpy for PPC64.
4751 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4752 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4753 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4754 multiarch optimizations.
4755 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4756 (__libc_ifunc_impl_list): Likewise.
4757 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4758 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4759 multiarch stpncpy for PPC64.
4760 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4761 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4762
978a41c3
AS
47632014-05-06 Andreas Schwab <schwab@suse.de>
4764
4765 [BZ #16912]
4766 * gmon/mcount.c (_MCOUNT_DECL): Use
4767 atomic_compare_and_exchange_bool_acq instead of
4768 catomic_compare_and_exchange_bool_acq.
4769
eb1ed03d
RM
47702014-05-05 Roland McGrath <roland@hack.frob.com>
4771
fe658845
RM
4772 * elf/Makefile (others, install-bin): Remove pldd.
4773 (pldd-modules): Variable removed.
4774 ($(objpfx)pldd): Target removed.
4775 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4776 (others, install-bin): Append pldd here.
4777 ($(objpfx)pldd): New target.
4778
eb1ed03d
RM
4779 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4780 to 0, so the first #if test emitted later doesn't see it undefined.
4781 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4782 * sysdeps/gnu/errlist.c: Regenerated.
4783
19c4bec0
AZ
47842014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4785
4786 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4787 [libc_hidden_builtin_def]: Define to empty value.
4788 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4789 [libc_hidden_builtin_def]: Likewise.
4790 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4791 [libc_hidden_builtin_def]: Likewise.
4792 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4793 [libc_hidden_builtin_def]: Likewise.
4794 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4795 __redirect_memcpy and define ifunc as default hidden symbol.
4796 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4797 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4798
7776e669
AC
47992014-05-04 Adam Conrad <adconrad@0c3.net>
4800
4801 * locale/iso-4217.def: Reintroduce XDR currency.
4802
d69aeb12
AM
48032014-05-04 Allan McRae <allan@archlinux.org>
4804
4805 * po/eo.po: Update Esperanto translation from translation project.
4806
8f1df5cf
CD
48072014-05-02 Carlos O'Donell <carlos@redhat.com>
4808
4809 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4810 and FEATURE_INDEX_MAX to 1.
4811 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4812
13e402e7
SE
48132014-05-01 Steve Ellcey <sellcey@mips.com>
4814
4815 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4816 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4817 * iconvdata/big5.c (ONE_DIRECTION): Define.
4818 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4819 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4820 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4821 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4822 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4823 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4824 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4825 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4826 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4827 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4828 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4829 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4830 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4831 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4832 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4833 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4834 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4835 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4836 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4837 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4838 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4839 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4840 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4841 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4842 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4843 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4844 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4845 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4846 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4847 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4848 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4849 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4850 * iconvdata/johab.c (ONE_DIRECTION): Define.
4851 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4852 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4853 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4854 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4855 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4856 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4857 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4858 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4859 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4860 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4861
c727f032
RM
48622014-05-01 Roland McGrath <roland@hack.frob.com>
4863
8f2f08d0
RM
4864 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4865 (_IO_JUMPS_OFFSET): Define to 0.
4866
c727f032
RM
4867 * nptl/sysdeps/pthread/bits/libc-lock.h
4868 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4869 (__libc_lock_define_initialized_recursive): Always define using
4870 initializer. Modern compilers treat uninitialized (implicit zero) and
4871 explicit zero initializers the same (i.e. put the datum in bss).
4872
a849e800
AS
48732014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4874
4875 * nscd/nscd-client.h: Include <string.h>.
4876
5331255b
DM
48772014-05-01 David S. Miller <davem@davemloft.net>
4878
4879 [BZ #16885]
4880 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4881 multiple zero bytes exist at the end of a string.
4882 Reported by Aurelien Jarno <aurelien@aurel32.net>
4883
4884 * string/test-strcmp.c (check): Add explicit test for situations where
4885 there are multiple zero bytes after the first.
4886
4fdfe821
AS
48872014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4888
4889 [BZ #16890]
4890 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4891 when compiling wprintf.
4892 * stdio-common/tstdiomisc.c (t3): New function.
4893 (main): Call it.
4894
0cdddc25
SE
48952014-05-01 Steve Ellcey <sellcey@mips.com>
4896
4897 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4898 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4899 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4900 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4901
6426d77e
SE
49022014-05-01 Steve Ellcey <sellcey@mips.com>
4903
4904 * stdlib/longlong.h: Updated from GCC.
4905
6d96f5e4
WN
49062014-05-01 Will Newton <will.newton@linaro.org>
4907 Bernard Ogden <bernie.ogden@linaro.org>
4908
7470db0c
WN
4909 * NEWS: Update fixed bug list.
4910
6d96f5e4
WN
4911 [BZ #15119]
4912 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4913
211d653c
DM
49142014-04-30 David S. Miller <davem@davemloft.net>
4915
4fa262fa
DM
4916 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4917 (libc_feholdexcept_setround_sparc_ctx): New function.
4918 (libc_fesetenv_sparc_ctx): Likewise.
4919 (libc_feupdateenv_sparc_ctx): Likewise.
4920 (libc_feholdsetround_sparc_ctx): Likewise.
4921 (libc_feholdexcept_setround_ctx): Define.
4922 (libc_feholdexcept_setroundf_ctx): Likewise.
4923 (libc_feholdexcept_setroundl_ctx): Likewise.
4924 (libc_fesetenv_ctx): Likewise.
4925 (libc_fesetenvf_ctx): Likewise.
4926 (libc_fesetenvl_ctx): Likewise.
4927 (libc_feupdateenv_ctx): Likewise.
4928 (libc_feupdateenvf_ctx): Likewise.
4929 (libc_feupdateenvl_ctx): Likewise.
4930 (libc_feresetround_ctx): Likewise.
4931 (libc_feresetroundf_ctx): Likewise.
4932 (libc_feresetroundl_ctx): Likewise.
4933 (libc_feholdsetround_ctx): Likewise.
4934 (libc_feholdsetroundf_ctx): Likewise.
4935 (libc_feholdsetroundl_ctx): Likewise.
4936
1d3d93ef
DM
4937 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4938 with __USE_GNU instead of XOPEN cpp guards.
4939
8aa583c3
DM
4940 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4941 0.
4942
211d653c
DM
4943 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4944 with XOPEN cpp guards.
4945
60c8f1f6
JB
49462014-04-30 Julian Brown <julian@codesourcery.com>
4947
4948 [BZ #16888]
4949 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4950 handling.
4951
9a461d46
JM
49522014-04-30 Joseph Myers <joseph@codesourcery.com>
4953
d0f5b3f8
JM
4954 [BZ #9894]
4955 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4956 Change to 2.6.32.
4957 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4958 * sysdeps/unix/sysv/linux/configure: Regenerated.
4959 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4960 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4961 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4962 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4963 * README: Update reference to required Linux kernel version.
4964 * manual/install.texi (Linux): Update reference to required Linux
4965 kernel headers version.
4966 * INSTALL: Regenerated.
4967
9a461d46
JM
4968 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4969 header inclusion.
4970 [POSIX] (limits.h): Likewise.
4971 [POSIX] (math.h): Likewise.
4972 [POSIX] (sys/wait.h): Likewise.
4973 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4974 function.
4975 [POSIX] (stddef.h): Do not allow header inclusion.
4976
1775babf
AZ
49772014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4978
57f41c40 4979 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 4980
8f630cca
YY
49812014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4982
4983 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4984 Return immediately after lll_futex_wake.
4985
1cdeb237
SP
49862014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4987
bc8f194c
SP
4988 [BZ #16791]
4989 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4990 structure.
4991 (datahead_init_pos): Call datahead_init_common early.
4992 (datahead_init_neg): Likewise.
4993
1cdeb237
SP
4994 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4995 datahead_init_neg): New functions.
4996 * nscd/aicache.c (addhstaiX): Use them.
4997 * nscd/grpcache.c (cache_addgr): Likewise.
4998 * nscd/hstcache.c (cache_addhst): Likewise.
4999 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5000 * nscd/netgroupcache.c (do_notfound): Likewise.
5001 (addgetnetgrentX): Likewise.
5002 (addinnetgrX): Likewise.
5003 * nscd/pwdcache.c (cache_addpw): Likewise.
5004 * nscd/servicescache.c (cache_addserv): Likewise.
5005
16b293a7
SP
50062014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5007 Atsushi Onoe <atsushi@onoe.org>
5008
5009 [BZ #14308]
5010 [BZ #12994]
5011 [BZ #13651]
5012 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5013 one response is valid.
5014 * resolv/res_send.c (send_dg): Check for validity of other
5015 response if the current response is a referral.
5016
a28a9b94
SE
50172014-04-29 Steve Ellcey <sellcey@mips.com>
5018
5019 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5020
2ca180e9
SL
50212014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5022
5023 [BZ #16823]
5024 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5025 Always divide by positive zero when computing -Inf result.
5026 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5027 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5028
18f2945a
AZ
50292014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5030
5031 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5032 FPSCR if value do not change.
5033 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5034 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5035 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5036 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5037 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5038 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5039 function.
5040
5abebba4
CD
50412014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5042
5043 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5044 * sysdeps/unix/sysv/linux/hppa: Move directory from
5045 ports/systeps/unix/sysv/linux/hppa.
5046 * README: Update listing for hppa-*-linux-gnu.
5047
f7ed60c2
OB
50482014-04-28 Ondřej Bílka <neleai@seznam.cz>
5049
fff763a5
OB
5050 [BZ #16754]
5051 * manual/stdio.texi (Hook functions): Fix types of stream hook
5052 functions.
f7ed60c2
OB
5053 [BZ #16854]
5054 * socket/sys/socket.h: Fix typo in comment.
5055
df639d73
WD
50562014-04-28 Wilco <wdijkstr@arm.com>
5057
f7ed60c2 5058 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
5059 * sysdeps/arm/math_private.h: New file.
5060 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5061
48332d82
L
50622014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5063
5064 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5065 with __int128_t.
5066 (La_x86_64_retval): Likewise.
5067
e5e0d9a4
IB
50682014-04-24 Ian Bolton <ian.bolton@arm.com>
5069
5070 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5071 fpsr if value didn't change.
5072 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5073 to fpcr if value didn't change.
5074 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5075 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5076 fpsr or fpcr if value didn't change.
5077 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5078 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5079 fpcr if value didn't change.
5080 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5081 to fpsr if value didn't change.
5082
bacc75f7
SP
50832014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5084
5085 * nptl/tst-sem3.c: Use test-skeleton.c
5086 (main): Rename to do_test. Use return instead of
5087 exit.
5088 * nptl/tst-sem4.c: Use test-skeleton.c
5089 (main): Rename to do_test.
5090
a059d359
DM
50912014-04-22 David S. Miller <davem@davemloft.net>
5092
5093 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5094 (struct sigaction): New struct member __glibc_reserved0, change
5095 type of sa_flags to int.
5096
ea6c92f3
YZ
50972014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5098
5099 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5100 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5101
766c4a36
SP
51022014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5103
5104 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5105 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5106
140cc7ab
VK
51072014-04-22 Will Newton <will.newton@linaro.org>
5108 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5109
5110 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5111 (__longjmp): Add longjmp and longjmp_target SystemTap
5112 probes.
5113 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5114 (__sigsetjmp): Add setjmp SystemTap probe.
5115
c54e5cf7
CD
51162014-04-17 Carlos O'Donell <carlos@redhat.com>
5117
5118 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5119 match manual order.
5120
75ffb047
AZ
51212014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5122
5123 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5124
2cd925f7
AZ
5125 * sysdeps/powerpc/fpu/fenv_private.h
5126 (libc_feholdexcept_setroundl_ctx): Define to
5127 libc_feholdexcept_setround_ppc_ctx.
5128 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5129 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5130 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5131 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5132
39e6cd8d
IB
51332014-04-17 Ian Bolton <ian.bolton@arm.com>
5134
5135 * sysdeps/aarch64/math-tests.h: New file.
5136
f9281df9
SY
51372014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5138
5139 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5140 New.
5141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5142 Check and set bit_AVX2_Usable.
5143 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5144 macro.
5145 (bit_AVX2): Likewise.
5146 (index_AVX2_Usable): Likewise.
5147 (CPUID_AVX2): Likewise.
5148 (HAS_AVX2): Likewise.
5149
37d35007
WN
51502014-04-17 Will Newton <will.newton@linaro.org>
5151
7c677662
WN
5152 * manual/setjmp.texi (System V contexts): Add note that
5153 calling setcontext on a context created by a call to a
5154 signal handler is undefined. Update text to note that
5155 setcontext from a signal handler is possible but not
5156 recommended.
5157
37d35007 5158 [BZ #16629]
e04a4e9d
WN
5159 * stdlib/tst-setcontext.c: Include signal.h.
5160 (main): Check that the signal stack before and
5161 after swapcontext is the same.
5162
37d35007
WN
5163 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5164 Re-implement to restore registers in user code and avoid
5165 rt_sigreturn system call.
5166
423a7160
W
51672014-04-17 Wilco <wdijkstr@arm.com>
5168
5169 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5170 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5171 * math/test-fenv.c: Skip exception trap tests on targets which only
5172 support non-stop mode.
5173
bc93ab29
IB
51742014-04-17 Ian Bolton <ian.bolton@arm.com>
5175 Wilco Dijkstra <wilco.dijkstra@arm.com>
5176
5177 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5178 (libc_feholdsetround_aarch64_ctx)
5179 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5180 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5181 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5182 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5183 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5184 (libc_feresetround_noexl_ctx): Define.
5185
95fc5fa3
RH
51862014-04-16 Richard Henderson <rth@redhat.com>
5187
ddb04724
RH
5188 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5189
d77c0899
RH
5190 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5191 unwind tables.
5192
a3df56fc
RH
5193 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5194 const from the non-libc, non-ldso copy.
5195
95fc5fa3
RH
5196 * sysdeps/alpha/libm-test-ulps: Regenerate.
5197
7e0b6763
IB
51982014-04-16 Ian Bolton <ian.bolton@arm.com>
5199 Wilco Dijkstra <wilco.dijkstra@arm.com>
5200
5201 * sysdeps/aarch64/fpu/math_private.h: New file.
5202
a9ea2e0c
MS
52032014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5204
5205 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5206
ea8ba7cd
IZ
52072014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5208
5209 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5210 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5211 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5212 Intel MPX bound registers before _dl_profile_fixup.
5213 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5214 registers after _dl_profile_fixup. Save and restore bound
5215 registers bnd0/bnd1 when calling _dl_call_pltexit.
5216 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5217 (LR_BND_OFFSET): Likewise.
5218 (LRV_BND0_OFFSET): Likewise.
5219 (LRV_BND1_OFFSET): Likewise.
5220
9f2a4fbc
ST
52212014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5222
5223 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5224 to...
5225 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
5226 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5227 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5228 fields.
9f2a4fbc 5229
fd15a59b
ST
52302014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5231
5232 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5233
f19dfa0a
SL
52342014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5235
5236 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5237
4fa8bc3b
SL
52382014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5239
5240 [BZ #14770]
5241 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5242 * sysdeps/s390/configure: Regenerate.
5243
8ea587db
SL
5244 [BZ #16824]
5245 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5246 Set round-to-nearest internally to reduce error accumulation.
5247
aa5f0ff1
AM
52482014-04-16 Alan Modra <amodra@gmail.com>
5249
5250 [BZ #16740]
5251 [BZ #16619]
5252 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5253 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 5254 * NEWS: Update fixed bug list.
aa5f0ff1 5255
bb9c256f
SP
52562014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5257
5258 * benchtests/Makefile: Depend on libraries in build directory.
5259 (bench-math): Separate out math tests.
5260 (bench-pthread): Separate out pthread tests.
5261 (bench): Include math and pthread tests.
5262
f737dfd0
CD
52632014-04-14 Carlos O'Donell <carlos@redhat.com>
5264
5265 [BZ #16831]
5266 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5267 _dl_debug_initialize.
5268
0699f766
CD
5269 * configure.ac: Remove SELinux header check.
5270 * configure: Regenerate.
5271 * nscd/selinux.c (perms): Array of const char* to permission names.
5272 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5273 default policy. Call string_to_security_class and string_to_av_perm to
5274 translate strings. Enforce default policy and call avs_has_perm with
5275 results of translated strings.
5276
809bd45f
DM
52772014-04-13 David S. Miller <davem@davemloft.net>
5278
5279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5280
89e691f2
AM
52812014-04-12 Allan McRae <allan@archlinux.org>
5282
5283 [BZ #16838]
5284 * manual/string.texi (Collation Functions): Fix qsort argument
5285 order in example.
5286 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5287
9c9daaeb
CM
52882014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5289
5290 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5291 Make the test a no-op if there are no exceptions defined.
5292
95561fb9
PP
52932014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5294
fe8d072c 5295 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
5296 enable-hardcoded-path-in-tests
5297
970c602a
WN
52982014-04-11 Will Newton <will.newton@linaro.org>
5299
5300 * benchtests/Makefile (extra-objs): Add json-lib.o.
5301 (bench-func): Tidy up JSON output.
5302 * benchtests/bench-skeleton.c: Include json-lib.h.
5303 (main): Use JSON library functions to do output of
5304 benchmark results.
5305 * benchtests/bench-timing-type.c (main): Output the
5306 timing type simply, leaving formatting to the user.
5307 * benchtests/json-lib.c: New file.
5308 * benchtests/json-lib.h: Likewise.
5309
36875b06
TR
53102014-04-11 Torvald Riegel <triegel@redhat.com>
5311
5312 [BZ #15215]
5313 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5314 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5315 memory barriers. Add comments.
5316 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5317 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5318 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5319 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5320 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5321 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5322
579db35a
SL
53232014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5324
5325 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5326 * sysdeps/s390/s390-64/configure.ac: ... this ...
5327 * sysdeps/s390/configure.ac: ... to here.
5328 * sysdeps/s390/s390-32/configure: Delete file.
5329 * sysdeps/s390/s390-64/configure: Delete file.
5330 * sysdeps/s390/configure: Regenerate.
5331
c12e9f37
JAPH
53322014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5333
5334 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5335
439bda32
WN
53362014-04-11 Will Newton <will.newton@linaro.org>
5337
5338 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5339 to zero if it is not defined elsewhere. (mtrim): Test
5340 the value of MALLOC_DEBUG with #if rather than #ifdef.
5341
6a5d6ea1
TR
53422014-04-10 Torvald Riegel <triegel@redhat.com>
5343
5344 * benchtests/pthread_once-inputs: New file.
5345 * benchtests/pthread_once-source.c: New file.
5346 * benchtests/README: Update documentation.
5347
a4c75cfd
IZ
53482014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5349 H.J. Lu <hongjiu.lu@intel.com>
5350
5351 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5352 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5353 * sysdeps/x86_64/configure: Regenerated.
5354 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5355 macro.
5356 (REGISTER_SAVE_RAX): Likewise.
5357 (REGISTER_SAVE_RCX): Likewise.
5358 (REGISTER_SAVE_RDX): Likewise.
5359 (REGISTER_SAVE_RSI): Likewise.
5360 (REGISTER_SAVE_RDI): Likewise.
5361 (REGISTER_SAVE_R8): Likewise.
5362 (REGISTER_SAVE_R9): Likewise.
5363 (REGISTER_SAVE_BND0): Likewise.
5364 (REGISTER_SAVE_BND1): Likewise.
5365 (REGISTER_SAVE_BND2): Likewise.
5366 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5367 bound registers when calling _dl_fixup.
5368
27822ce6
AZ
53692014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5370
5371 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
5372 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5373 of its definition.
27822ce6
AZ
5374 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5375 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5376 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5377 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5378 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5379 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5380 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5381
a88ddc90
PTB
53822014-04-09 Peter Brett <peter@peter-b.co.uk>
5383
5384 [BZ #15514]
5385 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5386 pathconf(_PC_NAME_MAX).
5387
01f8eac2
AZ
53882014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5389
5390 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5391 Remove macro usage.
5392 (__PTHREAD_SPINS): Move definition to ...
5393 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5394 (__PTHREAD_SPINS): ... here.
5395 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5396 (__PTHREAD_SPIN): Likewise.
5397 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5398 (__PTHREAD_SPIN): Likewise.
5399 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5400 (__PTHREAD_SPIN): Likewise.
5401 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5402 (__PTHREAD_SPIN): Likewise.
5403 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5404 (__PTHREAD_SPIN): Likewise.
5405 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5406 (__PTHREAD_SPIN): Likewise.
5407 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5408 (__PTHREAD_SPIN): Likewise.
5409 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5410 (__PTHREAD_SPIN): Likewise.
5411 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5412 (__PTHREAD_SPIN): Likewise.
5413 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5414 (__PTHREAD_SPIN): Likewise.
5415 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5416 (__PTHREAD_SPIN): Likewise.
5417 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5418 (__PTHREAD_SPIN): Likewise.
5419
de21c33c
AZ
5420 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5421 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5422 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5423 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5424 imply folder.
5425 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5426 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5427 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5428 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5429 correct imply path.
5430 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5431 strlen symbol for non multi-arch builds.
5432 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5433 missing hidden_def and weak_alias.
5434
862c472e
CD
54352014-04-08 Carlos O'Donell <carlos@redhat.com>
5436
5437 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5438
8667f90e
WN
54392014-04-07 Will Newton <will.newton@linaro.org>
5440
5441 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5442 and contents. [!_LIBC] Remove #ifndef and contents.
5443 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5444 * string/memccpy.c (__memccpy): Use ANSI prototype.
5445 * string/memfrob.c (memfrob): Likewise.
5446 * string/strcoll.c (STRCOLL): Likewise.
5447 * string/strlen.c (strlen): Likewise.
5448 * string/strtok.c (STRTOK): Likewise.
5449 * string/strcat.c: Remove unused #include of memcopy.h.
5450 (strcat): Use ANSI prototype.
5451 * string/strchr.c: Remove unused #include of memcopy.h.
5452 (strchr): Use ANSI prototype.
5453 * string/strcmp.c: Remove unused #include of memcopy.h.
5454 (strcmp): Use ANSI prototype.
5455 * string/strcpy.c: Remove unused #include of memcopy.h.
5456 (strcpy): Use ANSI prototype.
5457
7ffa9423
AZ
54582014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5459
5460 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5461 * config.make.in (config-extra-cppflags): Set it from
5462 libc_extra_cppflags.
5463 * configure.ac (libc_extra_cflags): Make it accumulate over
5464 configure fragments.
5465 (libc_extra_cppflags): New flag.
5466 * configure. Regenerate.
5467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
5468 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5469 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
5470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5471
8bd70862
AZ
5472 [BZ #16815]
5473 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5474 result for FE_DOWNWARD rounding mode.
5475 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5476 Likewise.
5477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5478
d42f3448
CM
54792014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5480
5481 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5482 in function argument name.
5483
1c21d115
DS
54842014-04-03 David Svoboda <svoboda@cert.org>
5485
5486 [BZ #5666]
5487 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5488 explicitly.
5489
fcccd512
RM
54902014-04-03 Roland McGrath <roland@hack.frob.com>
5491
5492 * elf/dl-unmap-segments.h: New file.
5493 * sysdeps/generic/ldsodefs.h
5494 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5495 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5496 * elf/dl-fptr.c: Likewise.
5497 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5498 * sysdeps/aarch64/tlsdesc.c: Likewise.
5499 * sysdeps/arm/tlsdesc.c: Likewise.
5500 * sysdeps/i386/tlsdesc.c: Likewise.
5501 * sysdeps/tile/dl-runtime.c: Likewise.
5502 * sysdeps/x86_64/tlsdesc.c: Likewise.
5503 * elf/dl-load.h: New file.
5504 * elf/dl-load.c: Include it.
5505 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5506 Macros moved to dl-load.h.
5507 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5508 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5509 Use _dl_unmap_segments in place of __munmap.
5510 Break out segment-mapping loop into ...
5511 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5512
f6488e2b
WN
55132014-04-03 Will Newton <will.newton@linaro.org>
5514
5515 * elf/dl-lookup.c (do_lookup_x): Remove comment
5516 referring to nested function and move variable
5517 declarations down to before first use.
5518
6f05bafe
JM
55192014-04-02 Joseph Myers <joseph@codesourcery.com>
5520
a84e78c8
JM
5521 [BZ #16799]
5522 [BZ #16800]
5523 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5524 with 0 numerator.
5525 * math/s_catanf.c (__catanf): Likewise.
5526 * math/s_catanh.c (__catanh): Likewise.
5527 * math/s_catanhf.c (__catanhf): Likewise.
5528 * math/s_catanhl.c (__catanhl): Likewise.
5529 * math/s_catanl.c (__catanl): Likewise.
5530 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5531 by positive zero when computing -Inf result.
5532 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5533 (catanh_test): Likewise.
5534 * sysdeps/i386/fpu/libm-test-ulps: Update.
5535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5536
6f05bafe
JM
5537 [BZ #16789]
5538 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5539 instead of using underflowing value in computing result.
5540 * math/s_clog10.c (__clog10): Likewise.
5541 * math/s_clog10f.c (__clog10f): Likewise.
5542 * math/s_clog10l.c (__clog10l): Likewise.
5543 * math/s_clogf.c (__clogf): Likewise.
5544 * math/s_clogl.c (__clogl): Likewise.
5545 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5546 (clog10_test): Likewise.
5547 * sysdeps/i386/fpu/libm-test-ulps: Update.
5548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5549
b0abbc21
AM
55502014-04-02 Alan Modra <amodra@gmail.com>
5551
5552 [BZ #16739]
5553 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5554 output when value is near a power of two. Use int64_t for lx and
5555 remove casts. Use decimal rather than hex exponent constants.
5556 Don't use long double multiplication when double will suffice.
5557 * math/libm-test.inc (nextafter_test_data): Add tests.
5558 * NEWS: Add 16739 and 16786 to bug list.
5559
af6b1797
AM
5560 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5561
483818d7
AM
5562 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5563
f6c55796
WN
55642014-04-01 Will Newton <will.newton@linaro.org>
5565
5566 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5567 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5568
13f7fe35
FW
55692014-04-01 Florian Weimer <fweimer@redhat.com>
5570
5571 [BZ #13347]
5572 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5573 * nptl/tst-setuid2.c: New file.
5574 * nptl/Makefile (xtests): Add tst-setuid2.
5575
c859b32e
AM
55762014-04-01 Alan Modra <amodra@gmail.com>
5577
5578 [BZ #16786]
5579 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5580
54fa2475
JM
55812014-03-31 Joseph Myers <joseph@codesourcery.com>
5582
8795b4a4
JM
5583 [BZ #6803]
5584 [BZ #6804]
5585 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5586 set errno as appropriate.
5587 * math/w_scalbf.c (__scalbf): Likewise.
5588 * math/w_scalbl.c (__scalbl): Likewise.
5589 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5590 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5591 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5592 Add more NaN tests.
5593
54fa2475
JM
5594 [BZ #16349]
5595 * math/w_atan2.c: Include <errno.h>.
5596 (__atan2): Set errno for result underflowing to zero.
5597 * math/w_atan2f.c: Include <errno.h>.
5598 (__atan2f): Set errno for result underflowing to zero.
5599 * math/w_atan2l.c: Include <errno.h>.
5600 (__atan2l): Set errno for result underflowing to zero.
5601 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5602 tests.
5603 * math/auto-libm-test-out: Regenerated.
5604
757d9dd5
AZ
56052014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5606
5607 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5608 Encode instruction correctly in little endian.
5609 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5610 Likewise.
5611 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5612 Likewise.
5613 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5614 Likewise.
5615 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5616 Likewise.
5617
d7a68734
JM
56182014-03-31 Joseph Myers <joseph@codesourcery.com>
5619
47c5adeb
JM
5620 [BZ #9894]
5621 * sysdeps/unix/sysv/linux/kernel-features.h
5622 [__sparc__ && !__arch64__ && !__sparc_v9__]
5623 (__ASSUME_SET_ROBUST_LIST): Do not define.
5624 [__sparc__ && !__arch64__ && !__sparc_v9__]
5625 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5626 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5627 Likewise.
5628 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5629 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5630 (__ASSUME_REQUEUE_PI): Likewise.
5631 (__ASSUME_SET_ROBUST_LIST): Likewise.
5632 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5633 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5634 Undefine.
5635 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5636 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5637 Likewise.
5638 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5639 Likewise.
5640 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5641 Likewise.
5642 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5643 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5644 Undefine.
5645 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5646 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5647 Likewise.
5648
d7a68734
JM
5649 [BZ #16648]
5650 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5651 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5652 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5653
c760f5c2
WN
56542014-03-31 Will Newton <will.newton@linaro.org>
5655
5656 * benchtests/Makefile (bench): Add ffs and ffsll to list
5657 of tests.
5658 * benchtests/ffs-inputs: New file.
5659 * benchtests/ffsll-inputs: Likewise.
5660
ea6029b1
JM
56612014-03-29 Joseph Myers <joseph@codesourcery.com>
5662
5663 [BZ #16770]
5664 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5665 too large before casting to int.
5666 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5667 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5668 * math/libm-test.inc (scalb_test_data): Add more tests.
5669
cf806aff
SP
56702014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5671
56737508
SP
5672 * benchtests/Makefile (DETAILED_OPT): New make option.
5673 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5674 set.
5675 * benchtests/bench-skeleton.c: Include stdbool.h.
5676 (main): Store and print timings per input.
5677 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5678 member to each argument value.
5679 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5680 (_print_arg_data): Initialize per-input timing to 0.
5681
cb5e4aad
SP
5682 * benchtests/Makefile (timing-type): New binary.
5683 (bench-clean): Also remove bench-timing-type.
5684 (bench): New target for timing-type.
5685 (bench-func): Print output in JSON format.
5686 * benchtests/bench-skeleton.c (main): Print output in JSON
5687 format.
5688 * benchtests/bench-timing-type.c: New file.
5689 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5690 (TIMING_PRINT_STATS): Remove.
5691 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5692 name separately.
5693
cf806aff
SP
5694 * benchtests/bench-modf.c: Remove.
5695 * benchtests/modf-inputs: New inputs file.
5696
289e0779
JM
56972014-03-28 Joseph Myers <joseph@codesourcery.com>
5698
5699 [BZ #16362]
5700 * math/s_clog10.c (M_PI_LOG10E): New macro.
5701 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5702 imaginary parts are 0.
5703 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5704 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5705 imaginary parts are 0.
5706 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5707 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5708 imaginary parts are 0.
5709 * math/libm-test.inc (clog10_test_data): Update expected results
5710 for when real and imaginary parts are 0.
5711
277ae3f1
PP
57122014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5713
5714 * elf/dl-load.c: Finish conversion of __builtin_expect into
5715 __glibc_{un}likely.
5716
03a7091f
JM
57172014-03-27 Joseph Myers <joseph@codesourcery.com>
5718
5719 [BZ #16348]
5720 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5721 1+x for argument with exponent below -67.
5722 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5723 Likewise.
5724 * math/auto-libm-test-in: Add more tests of exp.
5725 * math/auto-libm-test-out: Regenerated.
5726
ea7d8b95
SP
57272014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5728
dd3022d7
SP
5729 [BZ #16759]
5730 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5731 (nscd_getnetgrent): Use it.
5732
ea7d8b95
SP
5733 [BZ #16760]
5734 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5735 of stpcpy.
5736
df5b85da
AK
57372014-03-27 Andi Kleen <ak@linux.intel.com>
5738
57f41c40
AS
5739 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5740 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5741 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5742 (lll_robust_unlock): Remove out of line section. Use cfi
5743 intrinsics.
df5b85da 5744 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
5745 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5746 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5747 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5748 (lll_robust_unlock): Remove out of line section. Use cfi
5749 intrinsics.
df5b85da
AK
5750 (LLL_STUB_UNWIND_INFO*): Remove.
5751
fbd6b5a4
SP
57522014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5753
5754 [BZ #16758]
5755 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5756 blank values.
5757
1b26b855
PP
57582014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5759
5760 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5761
9be36fb8
JM
57622014-03-26 Joseph Myers <joseph@codesourcery.com>
5763
5764 [BZ #16198]
5765 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5766 fnstenv.
5767 * math/test-fenv-preserve.c: New file.
5768 * math/Makefile (tests): Add test-fenv-preserve.
5769
60a2f3c1
WN
57702014-03-26 Will Newton <will.newton@linaro.org>
5771
5772 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5773
a5e5f1e2
RM
57742014-03-25 Roland McGrath <roland@hack.frob.com>
5775
5776 * scripts/versionlist.awk: Partition the version sets and emit all
5777 GLIBC_* (sorted) before all others (sorted).
5778
00f4012a
JM
57792014-03-25 Joseph Myers <joseph@codesourcery.com>
5780
5781 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5782 GLIBC_2.2.5 version.
5783
7bc5a741
AZ
57842014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5785
5786 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5787 calls.
5788
7578473b
AZ
5789 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5790 previous change.
5791
f3f1dab3
AZ
5792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5793
6da36183
AS
57942014-03-25 Andreas Schwab <schwab@suse.de>
5795
5796 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5797 label to be used after in6ailist is initialized.
5798
f3f1dab3 57992014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 5800
7578473b 5801 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
5802 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5803
046651c1
JM
58042014-03-25 Joseph Myers <joseph@codesourcery.com>
5805
5806 [BZ #16357]
5807 [BZ #16599]
5808 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5809 min_plus_half.
5810 (fp_formats): Update initializers.
5811 (init_fp_formats): Initialize new field.
5812 (output_for_one_input_case): Allow underflow for results up to
5813 min_plus_half.
5814 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5815 * math/auto-libm-test-in: Don't mark some underflows from asin and
5816 atanh as spurious.
5817 * math/auto-libm-test-out: Regenerated.
5818 * sysdeps/i386/fpu/libm-test-ulps: Update.
5819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5820
003e49ed
AS
58212014-03-25 Andreas Schwab <schwab@suse.de>
5822
5823 * libio/Makefile (tst-ftell-partial-wide-ENV)
5824 (tst-ftell-active-handler-ENV): Define.
5825
de031874
SL
58262014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5827
5828 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5829
55a81e3b
PP
58302014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5831
5832 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5833
f3426898
JM
58342014-03-24 Joseph Myers <joseph@codesourcery.com>
5835
5836 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5837 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5838 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5839
a42faf59
PP
58402014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5841
5842 [BZ #16634]
a42faf59 5843 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
5844 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5845 (open_path): Change from boolean 'secure' to complete flag 'mode'
5846 (_dl_map_object): Adjust.
a42faf59
PP
5847 * elf/Makefile (tests): Add tst-dlopen-aout.
5848 * elf/tst-dlopen-aout.c: New test.
5849
50936127
SL
58502014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5851
5852 [BZ #16714]
5853 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5854 (struct stat): Rename member pad0 to __glibc_reserved0.
5855
26011b5c
SL
5856 [BZ #16712]
5857 * sysdeps/s390/s390-32/bits/wordsize.h
5858 (__WORDSIZE32_SIZE_ULONG): New define.
5859 * sysdeps/s390/s390-64/bits/wordsize.h
5860 (__WORDSIZE32_SIZE_ULONG): Likewise.
5861 * sysdeps/generic/stdint.h (SIZE_MAX):
5862 Define as UL if __WORDSIZE32_SIZE_ULONG.
5863
a2d86bf1
SL
5864 [BZ #16713]
5865 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5866 (__glibc_reserved0): New variable.
5867 (sa_flags): Change type to int.
5868
78b6eebc
SL
5869 * posix/Makefile (before-compile): Use += before-compile instead
5870 of a :=.
5871
f1399b5a
SL
5872 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5873 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5874
a071766e
AS
58752014-03-20 Andreas Schwab <schwab@suse.de>
5876
5877 [BZ #16743]
5878 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5879 non-matching result from nscd.
5880
27c673b8
SP
58812014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5882
5883 * scripts/bench.py: Moved to ...
5884 * benchtests/scripts/bench.py: ... here.
5885 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5886
44152e4b
AS
58872014-03-24 Andreas Schwab <schwab@suse.de>
5888
5889 [BZ #16002]
5890 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5891 alloca_account and account alloca use for struct in6ailist.
5892
b376a11a
JM
58932014-03-24 Joseph Myers <joseph@codesourcery.com>
5894
5895 [BZ #16284]
5896 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5897 rounding mode to recompute results that overflow to infinity or
5898 underflow to zero.
5899 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5900 bug 16284.
5901 * math/auto-libm-test-out: Regenerated.
5902 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5903 (ccosh_test): Likewise.
5904 (csin_test_data): Use plus_oflow.
5905 (csin_test): Use ALL_RM_TEST.
5906 (csinh_test_data): Use plus_oflow.
5907 (csinh_test): Use ALL_RM_TEST.
5908 * sysdeps/i386/fpu/libm-test-ulps: Update.
5909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5910
f7be7376
JM
59112014-03-21 Joseph Myers <joseph@codesourcery.com>
5912
1ca2d03e
JM
5913 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5914 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5915 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5916
f7be7376
JM
5917 [BZ #16731]
5918 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5919 when x - 1 is zero.
5920 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5921 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5922 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5923 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5924 argument is 1.
5925 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5926 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5927 zero.
5928 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5929 * sysdeps/i386/fpu/libm-test-ulps: Update.
5930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5931
fdf4534d
SP
59322014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5933
df26ea53
SP
5934 * scripts/bench.pl: Remove file.
5935 * scripts/bench.py: New benchmark script.
5936 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5937 * benchtests/README: Mention python dependency.
5938 * scripts/pylintrc: New file.
5939 * scripts/pylint: New file.
5940
fdf4534d
SP
5941 * bits/mathdef.h: Use #ifdef instead of #if.
5942 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5943 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5944 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5945 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5946 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5947 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5948
6f23d093
AZ
59492014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5950 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5951
5952 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5953 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5954 and strpbrk-ppc64 objects.
5955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5956 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5957 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5958 multiarch strpbrk for POWER7.
5959 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5960 multiarch strpbrk for PPC64.
5961 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5962 ifunc selector.
5963 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5964 strpbrk for POWER7.
5965
8c92dfff
JM
59662014-03-20 Joseph Myers <joseph@codesourcery.com>
5967
5968 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5969 (atan_test): Likewise.
5970 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5971 (atanh_test): Use ALL_RM_TEST.
5972 (atan2_test_data): Likewise.
5973 (cabs_test): Likewise.
5974 (cacosh_test): Likewise.
5975 (carg_test): Likewise.
5976 (casin_test): Likewise.
5977 (casinh_test): Likewise.
5978 (cbrt_test): Likewise.
5979 (csqrt_test): Likewise.
5980 (erf_test): Likewise.
5981 (erfc_test): Likewise.
5982 (pow10_test): Likewise.
5983 (exp2_test): Likewise.
5984 (hypot_test): Likewise.
5985 (j0_test): Likewise.
5986 (j1_test): Likewise.
5987 (lgamma_test): Likewise.
5988 (gamma_test): Likewise.
5989 (sincos_test): Likewise.
5990 (tanh_test): Likewise.
5991 (y0_test): Likewise.
5992 (y1_test): Likewise.
5993 * sysdeps/i386/fpu/libm-test-ulps: Update.
5994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5995
6eaf95cb
AZ
59962014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5997
a387428c
SP
5998 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5999 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
6000 and strcspn-ppc64 objects.
6001 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6002 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6003 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6004 multiarch strcspn for POWER7.
6005 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6006 multiarch strcspn for PPC64.
6007 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6008 ifunc selector.
6009 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6010 strcspn for POWER7.
6011
ae3a5dff
JM
60122014-03-20 Joseph Myers <joseph@codesourcery.com>
6013
6014 * math/gen-libm-test.pl (generate_testfile): Expect only function
6015 name as argument to AUTO_TESTS_* and pass results for all rounding
6016 modes to parse_args.
6017 (parse_auto_input): Separate inputs of automatic tests from
6018 outputs before storing in %auto_tests.
6019 * math/libm-test.inc (acos_test_data): Update call to
6020 AUTO_TESTS_f_f.
6021 (acos_test): Use ALL_RM_TEST.
6022 (acos_tonearest_test_data): Remove.
6023 (acos_test_tonearest): Likewise.
6024 (acos_towardzero_test_data): Likewise.
6025 (acos_test_towardzero): Likewise.
6026 (acos_downward_test_data): Likewise.
6027 (acos_test_downward): Likewise.
6028 (acos_upward_test_data): Likewise.
6029 (acos_test_upward): Likewise.
6030 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6031 (asin_test_data): Likewise.
6032 (asin_test): Use ALL_RM_TEST.
6033 (asin_tonearest_test_data): Remove.
6034 (asin_test_tonearest): Likewise.
6035 (asin_towardzero_test_data): Likewise.
6036 (asin_test_towardzero): Likewise.
6037 (asin_downward_test_data): Likewise.
6038 (asin_test_downward): Likewise.
6039 (asin_upward_test_data): Likewise.
6040 (asin_test_upward): Likewise.
6041 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6042 (atan_test_data): Likewise.
6043 (atanh_test_data): Likewise.
6044 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6045 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6046 (carg_test_data): Likewise.
6047 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6048 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6049 (ccosh_test_data): Likewise.
6050 (cexp_test_data): Likewise.
6051 (clog_test_data): Likewise.
6052 (clog10_test_data): Likewise.
6053 (cos_test_data): Update call to AUTO_TESTS_f_f.
6054 (cos_test): Use ALL_RM_TEST.
6055 (cos_tonearest_test_data): Remove.
6056 (cos_test_tonearest): Likewise.
6057 (cos_towardzero_test_data): Likewise.
6058 (cos_test_towardzero): Likewise.
6059 (cos_downward_test_data): Likewise.
6060 (cos_test_downward): Likewise.
6061 (cos_upward_test_data): Likewise.
6062 (cos_test_upward): Likewise.
6063 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6064 (cosh_test): Use ALL_RM_TEST.
6065 (cosh_tonearest_test_data): Remove.
6066 (cosh_test_tonearest): Likewise.
6067 (cosh_towardzero_test_data): Likewise.
6068 (cosh_test_towardzero): Likewise.
6069 (cosh_downward_test_data): Likewise.
6070 (cosh_test_downward): Likewise.
6071 (cosh_upward_test_data): Likewise.
6072 (cosh_test_upward): Likewise.
6073 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6074 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6075 (ctan_test_data): Likewise.
6076 (ctan_test): Use ALL_RM_TEST.
6077 (ctan_tonearest_test_data): Remove.
6078 (ctan_test_tonearest): Likewise.
6079 (ctan_towardzero_test_data): Likewise.
6080 (ctan_test_towardzero): Likewise.
6081 (ctan_downward_test_data): Likewise.
6082 (ctan_test_downward): Likewise.
6083 (ctan_upward_test_data): Likewise.
6084 (ctan_test_upward): Likewise.
6085 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6086 (ctanh_test): Use ALL_RM_TEST.
6087 (ctanh_tonearest_test_data): Remove.
6088 (ctanh_test_tonearest): Likewise.
6089 (ctanh_towardzero_test_data): Likewise.
6090 (ctanh_test_towardzero): Likewise.
6091 (ctanh_downward_test_data): Likewise.
6092 (ctanh_test_downward): Likewise.
6093 (ctanh_upward_test_data): Likewise.
6094 (ctanh_test_upward): Likewise.
6095 (erf_test_data): Update call to AUTO_TESTS_f_f.
6096 (erfc_test_data): Likewise.
6097 (exp_test_data): Likewise.
6098 (exp_test): Use ALL_RM_TEST.
6099 (exp_tonearest_test_data): Remove.
6100 (exp_test_tonearest): Likewise.
6101 (exp_towardzero_test_data): Likewise.
6102 (exp_test_towardzero): Likewise.
6103 (exp_downward_test_data): Likewise.
6104 (exp_test_downward): Likewise.
6105 (exp_upward_test_data): Likewise.
6106 (exp_test_upward): Likewise.
6107 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6108 (exp10_test): Use ALL_RM_TEST.
6109 (exp10_tonearest_test_data): Remove.
6110 (exp10_test_tonearest): Likewise.
6111 (exp10_towardzero_test_data): Likewise.
6112 (exp10_test_towardzero): Likewise.
6113 (exp10_downward_test_data): Likewise.
6114 (exp10_test_downward): Likewise.
6115 (exp10_upward_test_data): Likewise.
6116 (exp10_test_upward): Likewise.
6117 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6118 (expm1_test_data): Likewise.
6119 (expm1_test): Use ALL_RM_TEST.
6120 (expm1_tonearest_test_data): Remove.
6121 (expm1_test_tonearest): Likewise.
6122 (expm1_towardzero_test_data): Likewise.
6123 (expm1_test_towardzero): Likewise.
6124 (expm1_downward_test_data): Likewise.
6125 (expm1_test_downward): Likewise.
6126 (expm1_upward_test_data): Likewise.
6127 (expm1_test_upward): Likewise.
6128 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6129 (fma_test): Use ALL_RM_TEST.
6130 (fma_towardzero_test_data): Remove.
6131 (fma_test_towardzero): Likewise.
6132 (fma_downward_test_data): Likewise.
6133 (fma_test_downward): Likewise.
6134 (fma_upward_test_data): Likewise.
6135 (fma_test_upward): Likewise.
6136 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6137 (j0_test_data): Update call to AUTO_TESTS_f_f.
6138 (j1_test_data): Likewise.
6139 (jn_test_data): Update call to AUTO_TESTS_if_f.
6140 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6141 (log_test_data): Update call to AUTO_TESTS_f_f.
6142 (log10_test_data): Likewise.
6143 (log1p_test_data): Likewise.
6144 (log2_test_data): Likewise.
6145 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6146 (pow_tonearest_test_data): Likewise.
6147 (sin_test_data): Update call to AUTO_TESTS_f_f.
6148 (sin_test): Use ALL_RM_TEST.
6149 (sin_tonearest_test_data): Remove.
6150 (sin_test_tonearest): Likewise.
6151 (sin_towardzero_test_data): Likewise.
6152 (sin_test_towardzero): Likewise.
6153 (sin_downward_test_data): Likewise.
6154 (sin_test_downward): Likewise.
6155 (sin_upward_test_data): Likewise.
6156 (sin_test_upward): Likewise.
6157 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6158 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6159 (sinh_test): Use ALL_RM_TEST.
6160 (sinh_tonearest_test_data): Remove.
6161 (sinh_test_tonearest): Likewise.
6162 (sinh_towardzero_test_data): Likewise.
6163 (sinh_test_towardzero): Likewise.
6164 (sinh_downward_test_data): Likewise.
6165 (sinh_test_downward): Likewise.
6166 (sinh_upward_test_data): Likewise.
6167 (sinh_test_upward): Likewise.
6168 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6169 (sqrt_test): Use ALL_RM_TEST.
6170 (sqrt_tonearest_test_data): Remove.
6171 (sqrt_test_tonearest): Likewise.
6172 (sqrt_towardzero_test_data): Likewise.
6173 (sqrt_test_towardzero): Likewise.
6174 (sqrt_downward_test_data): Likewise.
6175 (sqrt_test_downward): Likewise.
6176 (sqrt_upward_test_data): Likewise.
6177 (sqrt_test_upward): Likewise.
6178 (tan_test_data): Update call to AUTO_TESTS_f_f.
6179 (tan_test): Use ALL_RM_TEST.
6180 (tan_tonearest_test_data): Remove.
6181 (tan_test_tonearest): Likewise.
6182 (tan_towardzero_test_data): Likewise.
6183 (tan_test_towardzero): Likewise.
6184 (tan_downward_test_data): Likewise.
6185 (tan_test_downward): Likewise.
6186 (tan_upward_test_data): Likewise.
6187 (tan_test_upward): Likewise.
6188 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6189 (tgamma_test_data): Likewise.
6190 (y0_test_data): Likewise.
6191 (y1_test_data): Likewise.
6192 (yn_test_data): Update call to AUTO_TESTS_if_f.
6193 (main): Do not call removed functions.
6194
d71aeee8
JM
61952014-03-19 Joseph Myers <joseph@codesourcery.com>
6196
6197 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6198 (ldexp_test_data): Remove.
6199 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6200 scalbn_test_data.
6201 (scalb_test): Use ALL_RM_TEST.
6202
baaf1ded
AS
62032014-03-19 Andreas Schwab <schwab@suse.de>
6204
6205 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6206
b1115e91
JM
62072014-03-19 Joseph Myers <joseph@codesourcery.com>
6208
6209 [BZ #16649]
6210 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6211 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6212 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6213 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6214 (__ASSUME_PREADV): Undefine.
6215 (__ASSUME_PWRITEV): Likewise.
6216
0283ecca
RM
62172014-03-18 Roland McGrath <roland@hack.frob.com>
6218
7d375303
RM
6219 * bits/mman-linux.h: Add comment about non-Linux use.
6220 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6221 bits/mman-linux.h resting place.
6222
0283ecca
RM
6223 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6224 * bits/mman-linux.h: ... here.
6225
aebe1003
AZ
62262014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6227
6228 * conform/conformtest.pl: Add standard definition when calling C
6229 preprocessor on data files.
6230 (checknamespace): Remove unused variable.
6231
b29b6bb8
JM
62322014-03-18 Joseph Myers <joseph@codesourcery.com>
6233
6234 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6235 minus_oflow, plus_uflow and minus_uflow in expected results.
6236 * math/libm-test.inc (scalbn_test_data): Add more tests of
6237 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6238 minus_uflow.
6239 (scalbn_test): Use ALL_RM_TEST.
6240 (scalbln_test_data): Add more tests of negative arguments. Use
6241 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6242 (scalbln_test): Use ALL_RM_TEST.
6243
c8f8fa15
RM
62442014-03-18 Roland McGrath <roland@hack.frob.com>
6245
6246 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6247
fede7a5f
WN
62482014-03-18 Will Newton <will.newton@linaro.org>
6249
6250 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6251 inaccurate comment.
6252
80cf0a58
JM
62532014-03-18 Joseph Myers <joseph@codesourcery.com>
6254
6255 * Makerules [!subdir] (check-abi): Exit with error status if a
6256 test failed.
6257
b3620862
JM
62582014-03-17 Joseph Myers <joseph@codesourcery.com>
6259
6260 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6261 for rint. Include results for all rounding modes.
6262 (nearbyint_test): Use ALL_RM_TEST.
6263 (rint_test_data): Include all tests used for nearbyint.
6264
788bba36
WN
62652014-03-17 Will Newton <will.newton@linaro.org>
6266
04ec140a
WN
6267 * nptl/sysdeps/pthread/pthread.h: Revert previous
6268 change.
6269
7579d8d5
WN
6270 * sysdeps/generic/ldsodefs.h: Revert previous
6271 change.
6272
c15cf13a
WN
6273 * libio/genops.c: Revert previous change.
6274 * libio/libioP.h: Likewise.
6275 * stdio-common/vfprintf.c: Likewise.
6276
d0ac1324
WN
6277 * sysdeps/generic/math_private.h: Revert previous
6278 change.
6279
9290130a
WN
6280 * sysdeps/generic/math_private.h: Check whether
6281 HAVE_RM_CTX is defined with #ifdef rather
6282 than #if.
6283
afb466fc
WN
6284 * argp/argp-fmtstream.h: Check whether
6285 __STRICT_ANSI__ is defined with #ifdef rather
6286 than #if.
6287 * argp/argp.h: Likewise.
6288
f7efd7c3
WN
6289 * libio/genops.c: Check whether
6290 _IO_JUMPS_OFFSET is defined with #ifdef rather
6291 than #if.
6292 * libio/libioP.h: Likewise.
6293 * stdio-common/vfprintf.c: Likewise.
6294
53f1bed3
WN
6295 * sysdeps/generic/ldsodefs.h: Check whether
6296 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6297 than #if.
6298
788bba36
WN
6299 * nptl/sysdeps/pthread/pthread.h: Check
6300 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6301 its value.
6302
fcd89ebe
SP
63032014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6304
ae42bbc5
SP
6305 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6306 setting O_APPEND.
6307 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6308 test case.
6309
ea33158c
SP
6310 [BZ #16680]
6311 * libio/fileops.c (_IO_file_open): Seek to end of file but
6312 don't cache the offset.
6313 (get_file_offset): Remove function.
6314 (do_ftell): Use cached offset when available.
6315 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6316 don't cache the offset.
6317 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6318 case.
6319 (do_one_test): Call it.
6320 (do_ftell_test): Fix up expected old offset for a+ mode.
6321 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6322 available.
6323
b1dbb426
SP
6324 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6325 up test status with function return status.
6326 (do_write_test): Likewise.
6327 (do_append_test): Likewise.
6328
fcd89ebe
SP
6329 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6330 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6331 Remove.
6332
9962a2d3
JM
63332014-03-17 Joseph Myers <joseph@codesourcery.com>
6334
6335 * math/gen-libm-test.pl (parse_args): Handle results specified for
6336 each rounding mode separately.
6337 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6338 tests and results from lrint_tonearest_test_data,
6339 lrint_towardzero_test_data, lrint_downward_test_data and
6340 lrint_upward_test_data.
6341 (lrint_test): Use ALL_RM_TEST.
6342 (lrint_tonearest_test_data): Remove.
6343 (lrint_test_tonearest): Likewise.
6344 (lrint_towardzero_test_data): Likewise.
6345 (lrint_test_towardzero): Likewise.
6346 (lrint_downward_test_data): Likewise.
6347 (lrint_test_downward): Likewise.
6348 (lrint_upward_test_data): Likewise.
6349 (lrint_test_upward): Likewise.
6350 (llrint_test_data): Merge in per-rounding-mode tests and results
6351 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6352 llrint_downward_test_data and llrint_upward_test_data.
6353 (llrint_test): Use ALL_RM_TEST.
6354 (llrint_tonearest_test_data): Remove.
6355 (llrint_test_tonearest): Likewise.
6356 (llrint_towardzero_test_data): Likewise.
6357 (llrint_test_towardzero): Likewise.
6358 (llrint_downward_test_data): Likewise.
6359 (llrint_test_downward): Likewise.
6360 (llrint_upward_test_data): Likewise.
6361 (llrint_test_upward): Likewise.
6362 (rint_test_data): Merge in per-rounding-mode tests and results
6363 from rint_tonearest_test_data, rint_towardzero_test_data,
6364 rint_downward_test_data and rint_upward_test_data. Add
6365 per-rounding-mode results for tests not in those arrays.
6366 (rint_test): Use ALL_RM_TEST.
6367 (rint_tonearest_test_data): Remove.
6368 (rint_test_tonearest): Likewise.
6369 (rint_towardzero_test_data): Likewise.
6370 (rint_test_towardzero): Likewise.
6371 (rint_downward_test_data): Likewise.
6372 (rint_test_downward): Likewise.
6373 (rint_upward_test_data): Likewise.
6374 (rint_test_upward): Likewise.
6375 (main): Don't call removed functions.
6376
5006148e
RM
63772014-03-14 Roland McGrath <roland@hack.frob.com>
6378
6379 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6380 "Compiled on ..." crapola. It is anti-useful.
6381
d6fe5e58
JM
63822014-03-14 Joseph Myers <joseph@codesourcery.com>
6383
6384 * scripts/evaluate-test.sh: Handle fourth argument to determine
6385 whether test run should stop on failure.
6386 * Makeconfig (stop-on-test-failure): New variable.
6387 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6388 $(stop-on-test-failure).
6389 * Makefile (tests): Give a summary of results from testing and
6390 exit with failure status if they include an ERROR or FAIL.
6391 (xtests): Likewise.
6392 * manual/install.texi (Configuring and compiling): Mention
6393 stop-on-test-failure=y.
6394 * INSTALL: Regenerated.
6395
498a2233
RM
63962014-03-14 Roland McGrath <roland@hack.frob.com>
6397
22dbc19d
RM
6398 * scripts/versionlist.awk: New file.
6399 * Makerules [$(build-shared) = yes]
6400 (postclean-generated): Add Versions.def, not Versions.def.v and
6401 Versions.def.v.i.
6402 ($(common-objpfx)Versions.def.v.i): Target removed.
6403 ($(common-objpfx)Versions.def): New target.
6404 ($(common-objpfx)Versions.all): Depend on that rather that
6405 $(common-objpfx)Versions.def.v.
6406 * Versions.def: File removed.
6407
498a2233
RM
6408 * Makeconfig (+gccwarn): Add -Wundef.
6409 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6410 a dl-sysdep.h breaking its contract.
6411 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6412 * include/stackinfo.h: New file.
6413 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6414 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6415 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6416 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6417 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6418 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6419 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6420 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6421 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6422 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6423 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6424 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6425 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6426 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6427 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6428
c7de5025
AZ
64292014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6430
6431 [BZ #16707]
6432 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6433 implementation.
6434 * math/libm-test.inc (round_test_data): Add more tests.
6435
98fb27a3
AZ
6436 [BZ #16706]
6437 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6438 implementation.
6439 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6440
374f7f61
AZ
6441 [BZ #16701]
6442 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6443 implementation.
6444 * math/libm-test.inc (ceil_test_data): Add more tests.
6445
4655c291
AZ
6446 * math/libm-test.inc (trunc_test_data): Add more tests related to
6447 BZ#16414.
6448
d7329d4b
RM
64492014-03-14 Roland McGrath <roland@hack.frob.com>
6450
6451 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6452 with #if rather than #ifdef.
6453 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6454
aa4de9ce
L
64552014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6456
6457 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6458 first. Disable AVX-512 GCC support if assembler doesn't support
6459 it.
6460 * sysdeps/x86_64/configure: Regenerated.
6461
2e03fae7
CD
64622014-03-13 Carlos O'Donell <carlos@redhat.com>
6463
6464 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6465 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6466 (__old_pthread_attr_setstack): Likewise.
6467 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6468 [!_STACK_GROWS_DOWN]: Likewise.
6469
43ca83ec
MF
64702014-03-13 Mike Frysinger <vapier@gentoo.org>
6471
6472 * config.make.in (have-bash2): Delete.
6473 * configure.ac (libc_cv_have_bash2): Delete.
6474 * configure: Regenerate.
6475 * elf/Makefile (common-ldd-rewrite): Rename to ...
6476 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6477 (sh-ldd-rewrite): Delete.
6478 (bash-ldd-rewrite): Delete.
6479 (have-bash2): Delete checks.
57f41c40
AS
6480 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6481 ldd-rewrite.
c66e48b4
MF
6482
6483 * config.make.in (have-ksh): Delete.
6484 (KSH): Delete.
6485 * configure.ac (libc_cv_have_ksh): Delete.
6486 * configure: Regenerate.
6487
b93834ef
MF
6488 * elf/Makefile: Delete $(have-ksh) check.
6489 ($(objpfx)sotruss): Change KSH to BASH.
6490 * elf/sotruss.ksh: Rename to ...
6491 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6492 function style to match POSIX. Drop ksh vim mode setting.
6493
f3a4632a
MF
6494 * manual/time.texi (Specifying the Time Zone with TZ): Change
6495 Tuesday to Thursday.
6496
5896c8bd
MF
6497 * debug/tst-longjmp_chk2.c: Update header comment.
6498 (stackoverflow_handler): Add comment. Call assert on pass value.
6499
2d63a517
IZ
65002014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6501
6502 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6503 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6504 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6505 (La_x86_64_vector): Add zmm.
6506 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6507 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6508 ($(objpfx)tst-audit10): New target.
6509 ($(objpfx)tst-audit10.out): Likewise.
6510 (tst-audit10-ENV): New.
6511 (AVX512-CFLAGS): Likewise.
6512 (CFLAGS-tst-audit10.c): Likewise.
6513 (CFLAGS-tst-auditmod10a.c): Likewise.
6514 (CFLAGS-tst-auditmod10b.c): Likewise.
6515 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6516 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6517 * sysdeps/x86_64/configure: Regenerated.
6518 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6519 AVX-512 zmm register support.
6520 (_dl_x86_64_save_sse): Likewise.
6521 (_dl_x86_64_restore_sse): Likewise.
6522 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6523 size vector registers.
6524 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6525 (ZMM_SIZE): Likewise.
6526 * sysdeps/x86_64/tst-audit10.c: New file.
6527 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6528 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6529
44c4e5d5
RM
65302014-03-13 Roland McGrath <roland@hack.frob.com>
6531
6532 * configure.ac (HAVE_EHDR_START): New check.
6533 * configure: Regenerated.
6534 * config.h.in (HAVE_EHDR_START): New #undef.
6535 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6536 assuming the lowest-addressed segment maps the start of the file.
6537
acd6e389
JM
65382014-03-13 Joseph Myers <joseph@codesourcery.com>
6539
6540 * INSTALL: Regenerated.
6541
6f918f36
WN
65422014-03-13 Will Newton <will.newton@linaro.org>
6543
6544 * manual/setjmp.texi (System V contexts): Improve
6545 clarity and grammar of documentation.
6546
798212a0
PP
65472014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6548
6549 [BZ #16381]
798212a0 6550 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 6551 (tests-pie): Add tst-pie2.
798212a0
PP
6552 * elf/tst-pie2.c: New file.
6553 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6554 for ET_EXEC.
6555 * elf/rtld.c (map_doit): Load executable as lt_executable.
6556 (dl_main): Likewise.
6557
abe6d90c
JM
65582014-03-12 Joseph Myers <joseph@codesourcery.com>
6559
6560 [BZ #16642]
6561 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6562 (__ASSUME_PSELECT): Undefine.
6563
dd3946c6
AZ
65642014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6565
6566 [BZ #16689]
6567 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6568 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6569 static build.
6570 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6571 selector for static builds.
6572
c44496df
SP
65732014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6574
6575 [BZ #16695]
6576 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6577 key in the buffer.
6578
27c7220a
AZ
65792014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6580
57f41c40
AS
6581 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6582 IFUNC selector for static builds.
27c7220a 6583
600fa361
JM
65842014-03-11 Joseph Myers <joseph@codesourcery.com>
6585
76c96cf7
JM
6586 * sysdeps/mips/math_private.h [__mips_hard_float]
6587 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6588 libc_feresetround_mips_ctx.
6589 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6590 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6591 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6592
600fa361
JM
6593 [BZ #16677]
6594 * math/s_nextafter.c (__nextafter): Do not return value from
6595 overflowing computation.
6596 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6597 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6598 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6599 Likewise.
6600 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6601 Likewise.
6602 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6603 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6604
d7706c32
RM
66052014-03-11 Roland McGrath <roland@hack.frob.com>
6606
6607 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6608 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6609 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6610 the new mov targetting sp.
6611
4facea47
AZ
66122014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6613
6614 [BZ #16683]
6615 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6616 Define it for static builds as well.
6617 (NO_BZERO_IMPL): Likewise.
6618
e65caf1f
VR
66192014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6620
6621 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6622 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6623 multiarch strspn for PPC64.
6624 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6625 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6626 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6627 (__libc_ifunc_impl_list): Likewise.
6628 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6629 multiarch optimizations
6630 * string/strspn.c (strspn): Using macro to redefine symbol name.
6631
ba9cc071
AZ
66322014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6633 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6634
6635 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6636 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6637 multiarch strncat for PPC64.
6638 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6639 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6640 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6641 (__libc_ifunc_impl_list): Likewise.
6642 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6643 multiarch optimizations
6644
8b4ff974
SP
66452014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6646
6647 [BZ #16639]
6648 * nscd/nscd.service: Make service type forking.
6649
54b46a4b
AZ
66502014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6651
6652 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6653 sign in non default rounding modes.
6654 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6655
e9996ef7
JM
66562014-03-08 Joseph Myers <joseph@codesourcery.com>
6657
6658 * math/libm-test.inc (ALL_RM_TEST): New macro.
6659 (ceil_test): Use ALL_RM_TEST.
6660 (cimag_test): Likewise.
6661 (conj_test): Likewise.
6662 (copysign_test): Likewise.
6663 (cproj_test): Likewise.
6664 (creal_test): Likewise.
6665 (fabs_test): Likewise.
6666 (floor_test): Likewise.
6667 (fmax_test): Likewise.
6668 (fmin_test): Likewise.
6669 (fmod_test): Likewise.
6670 (fpclassify_test): Likewise.
6671 (frexp_test): Likewise.
6672 (ilogb_test): Likewise.
6673 (isfinite_test): Likewise.
6674 (finite_test): Likewise.
6675 (isgreater_test): Likewise.
6676 (isgreaterequal_test): Likewise.
6677 (isinf_test): Likewise.
6678 (isless_test): Likewise.
6679 (islessequal_test): Likewise.
6680 (islessgreater_test): Likewise.
6681 (isnan_test): Likewise.
6682 (isnormal_test): Likewise.
6683 (issignaling_test): Likewise.
6684 (isunordered_test): Likewise.
6685 (logb_test): Likewise.
6686 (logb_downward_test_data): Remove.
6687 (logb_test_downward): Likewise.
6688 (lround_test): Use ALL_RM_TEST.
6689 (llround_test): Likewise.
6690 (modf_test): Likewise.
6691 (nexttoward_test): Likewise.
6692 (remainder_test): Likewise.
6693 (drem_test): Likewise.
6694 (remainder_tonearest_test_data): Likewise.
6695 (remainder_test_tonearest): Likewise.
6696 (drem_test_tonearest): Likewise.
6697 (remainder_towardzero_test_data): Likewise.
6698 (remainder_test_towardzero): Likewise.
6699 (drem_test_towardzero): Likewise.
6700 (remainder_downward_test_data): Likewise.
6701 (remainder_test_downward): Likewise.
6702 (drem_test_downward): Likewise.
6703 (remainder_upward_test_data): Likewise.
6704 (remainder_test_upward): Likewise.
6705 (drem_test_upward): Likewise.
6706 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6707 (round_test): Use ALL_RM_TEST.
6708 (signbit_test): Likewise.
6709 (trunc_test): Likewise.
6710 (significand_test): Likewise.
6711 (main): Don't call removed functions.
6712
bc61d27c
JM
67132014-03-07 Joseph Myers <joseph@codesourcery.com>
6714
5c780849
JM
6715 [BZ #16674]
6716 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6717 || __USE_XOPEN2K8].
6718 (ILL_ILLOPN): Likewise.
6719 (ILL_ILLADR): Likewise.
6720 (ILL_ILLTRP): Likewise.
6721 (ILL_PRVOPC): Likewise.
6722 (ILL_PRVREG): Likewise.
6723 (ILL_COPROC): Likewise.
6724 (ILL_BADSTK): Likewise.
6725 (FPE_INTDIV): Likewise.
6726 (FPE_INTOVF): Likewise.
6727 (FPE_FLTDIV): Likewise.
6728 (FPE_FLTOVF): Likewise.
6729 (FPE_FLTUND): Likewise.
6730 (FPE_FLTRES): Likewise.
6731 (FPE_FLTINV): Likewise.
6732 (FPE_FLTSUB): Likewise.
6733 (SEGV_MAPERR): Likewise.
6734 (SEGV_ACCERR): Likewise.
6735 (BUS_ADRALN): Likewise.
6736 (BUS_ADRERR): Likewise.
6737 (BUS_OBJERR): Likewise.
6738 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6739 (TRAP_TRACE): Likewise.
6740 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6741 __USE_XOPEN2K8].
6742 (CLD_KILLED): Likewise.
6743 (CLD_DUMPED): Likewise.
6744 (CLD_TRAPPED): Likewise.
6745 (CLD_STOPPED): Likewise.
6746 (CLD_CONTINUED): Likewise.
6747 (POLL_IN): Likewise.
6748 (POLL_OUT): Likewise.
6749 (POLL_MSG): Likewise.
6750 (POLL_ERR): Likewise.
6751 (POLL_PRI): Likewise.
6752 (POLL_HUP): Likewise.
6753 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6754 Likewise.
6755 (ILL_ILLOPN): Likewise.
6756 (ILL_ILLADR): Likewise.
6757 (ILL_ILLTRP): Likewise.
6758 (ILL_PRVOPC): Likewise.
6759 (ILL_PRVREG): Likewise.
6760 (ILL_COPROC): Likewise.
6761 (ILL_BADSTK): Likewise.
6762 (FPE_INTDIV): Likewise.
6763 (FPE_INTOVF): Likewise.
6764 (FPE_FLTDIV): Likewise.
6765 (FPE_FLTOVF): Likewise.
6766 (FPE_FLTUND): Likewise.
6767 (FPE_FLTRES): Likewise.
6768 (FPE_FLTINV): Likewise.
6769 (FPE_FLTSUB): Likewise.
6770 (SEGV_MAPERR): Likewise.
6771 (SEGV_ACCERR): Likewise.
6772 (BUS_ADRALN): Likewise.
6773 (BUS_ADRERR): Likewise.
6774 (BUS_OBJERR): Likewise.
6775 (BUS_MCEERR_AR): Likewise.
6776 (BUS_MCEERR_AO): Likewise.
6777 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6778 (TRAP_TRACE): Likewise.
6779 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6780 __USE_XOPEN2K8].
6781 (CLD_KILLED): Likewise.
6782 (CLD_DUMPED): Likewise.
6783 (CLD_TRAPPED): Likewise.
6784 (CLD_STOPPED): Likewise.
6785 (CLD_CONTINUED): Likewise.
6786 (POLL_IN): Likewise.
6787 (POLL_OUT): Likewise.
6788 (POLL_MSG): Likewise.
6789 (POLL_ERR): Likewise.
6790 (POLL_PRI): Likewise.
6791 (POLL_HUP): Likewise.
6792 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6793 (ILL_ILLOPN): Likewise.
6794 (ILL_ILLADR): Likewise.
6795 (ILL_ILLTRP): Likewise.
6796 (ILL_PRVOPC): Likewise.
6797 (ILL_PRVREG): Likewise.
6798 (ILL_COPROC): Likewise.
6799 (ILL_BADSTK): Likewise.
6800 (FPE_INTDIV): Likewise.
6801 (FPE_INTOVF): Likewise.
6802 (FPE_FLTDIV): Likewise.
6803 (FPE_FLTOVF): Likewise.
6804 (FPE_FLTUND): Likewise.
6805 (FPE_FLTRES): Likewise.
6806 (FPE_FLTINV): Likewise.
6807 (FPE_FLTSUB): Likewise.
6808 (SEGV_MAPERR): Likewise.
6809 (SEGV_ACCERR): Likewise.
6810 (BUS_ADRALN): Likewise.
6811 (BUS_ADRERR): Likewise.
6812 (BUS_OBJERR): Likewise.
6813 (BUS_MCEERR_AR): Likewise.
6814 (BUS_MCEERR_AO): Likewise.
6815 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6816 (TRAP_TRACE): Likewise.
6817 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6818 __USE_XOPEN2K8].
6819 (CLD_KILLED): Likewise.
6820 (CLD_DUMPED): Likewise.
6821 (CLD_TRAPPED): Likewise.
6822 (CLD_STOPPED): Likewise.
6823 (CLD_CONTINUED): Likewise.
6824 (POLL_IN): Likewise.
6825 (POLL_OUT): Likewise.
6826 (POLL_MSG): Likewise.
6827 (POLL_ERR): Likewise.
6828 (POLL_PRI): Likewise.
6829 (POLL_HUP): Likewise.
6830 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6831 Likewise.
6832 (ILL_ILLOPN): Likewise.
6833 (ILL_ILLADR): Likewise.
6834 (ILL_ILLTRP): Likewise.
6835 (ILL_PRVOPC): Likewise.
6836 (ILL_PRVREG): Likewise.
6837 (ILL_COPROC): Likewise.
6838 (ILL_BADSTK): Likewise.
6839 (ILL_BADIADDR): Likewise.
6840 (ILL_BREAK): Likewise.
6841 (FPE_INTDIV): Likewise.
6842 (FPE_INTOVF): Likewise.
6843 (FPE_FLTDIV): Likewise.
6844 (FPE_FLTOVF): Likewise.
6845 (FPE_FLTUND): Likewise.
6846 (FPE_FLTRES): Likewise.
6847 (FPE_FLTINV): Likewise.
6848 (FPE_FLTSUB): Likewise.
6849 (FPE_DECOVF): Likewise.
6850 (FPE_DECDIV): Likewise.
6851 (FPE_DECERR): Likewise.
6852 (FPE_INVASC): Likewise.
6853 (FPE_INVDEC): Likewise.
6854 (SEGV_MAPERR): Likewise.
6855 (SEGV_ACCERR): Likewise.
6856 (SEGV_PSTKOVF): Likewise.
6857 (BUS_ADRALN): Likewise.
6858 (BUS_ADRERR): Likewise.
6859 (BUS_OBJERR): Likewise.
6860 (BUS_MCEERR_AR): Likewise.
6861 (BUS_MCEERR_AO): Likewise.
6862 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6863 (TRAP_TRACE): Likewise.
6864 (TRAP_BRANCH): Likewise.
6865 (TRAP_HWBKPT): Likewise.
6866 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6867 __USE_XOPEN2K8].
6868 (CLD_KILLED): Likewise.
6869 (CLD_DUMPED): Likewise.
6870 (CLD_TRAPPED): Likewise.
6871 (CLD_STOPPED): Likewise.
6872 (CLD_CONTINUED): Likewise.
6873 (POLL_IN): Likewise.
6874 (POLL_OUT): Likewise.
6875 (POLL_MSG): Likewise.
6876 (POLL_ERR): Likewise.
6877 (POLL_PRI): Likewise.
6878 (POLL_HUP): Likewise.
6879 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6880 (ILL_ILLOPN): Likewise.
6881 (ILL_ILLADR): Likewise.
6882 (ILL_ILLTRP): Likewise.
6883 (ILL_PRVOPC): Likewise.
6884 (ILL_PRVREG): Likewise.
6885 (ILL_COPROC): Likewise.
6886 (ILL_BADSTK): Likewise.
6887 (FPE_INTDIV): Likewise.
6888 (FPE_INTOVF): Likewise.
6889 (FPE_FLTDIV): Likewise.
6890 (FPE_FLTOVF): Likewise.
6891 (FPE_FLTUND): Likewise.
6892 (FPE_FLTRES): Likewise.
6893 (FPE_FLTINV): Likewise.
6894 (FPE_FLTSUB): Likewise.
6895 (SEGV_MAPERR): Likewise.
6896 (SEGV_ACCERR): Likewise.
6897 (BUS_ADRALN): Likewise.
6898 (BUS_ADRERR): Likewise.
6899 (BUS_OBJERR): Likewise.
6900 (BUS_MCEERR_AR): Likewise.
6901 (BUS_MCEERR_AO): Likewise.
6902 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6903 (TRAP_TRACE): Likewise.
6904 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6905 __USE_XOPEN2K8].
6906 (CLD_KILLED): Likewise.
6907 (CLD_DUMPED): Likewise.
6908 (CLD_TRAPPED): Likewise.
6909 (CLD_STOPPED): Likewise.
6910 (CLD_CONTINUED): Likewise.
6911 (POLL_IN): Likewise.
6912 (POLL_OUT): Likewise.
6913 (POLL_MSG): Likewise.
6914 (POLL_ERR): Likewise.
6915 (POLL_PRI): Likewise.
6916 (POLL_HUP): Likewise.
6917 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6918 (ILL_ILLOPN): Likewise.
6919 (ILL_ILLADR): Likewise.
6920 (ILL_ILLTRP): Likewise.
6921 (ILL_PRVOPC): Likewise.
6922 (ILL_PRVREG): Likewise.
6923 (ILL_COPROC): Likewise.
6924 (ILL_BADSTK): Likewise.
6925 (FPE_INTDIV): Likewise.
6926 (FPE_INTOVF): Likewise.
6927 (FPE_FLTDIV): Likewise.
6928 (FPE_FLTOVF): Likewise.
6929 (FPE_FLTUND): Likewise.
6930 (FPE_FLTRES): Likewise.
6931 (FPE_FLTINV): Likewise.
6932 (FPE_FLTSUB): Likewise.
6933 (SEGV_MAPERR): Likewise.
6934 (SEGV_ACCERR): Likewise.
6935 (BUS_ADRALN): Likewise.
6936 (BUS_ADRERR): Likewise.
6937 (BUS_OBJERR): Likewise.
6938 (BUS_MCEERR_AR): Likewise.
6939 (BUS_MCEERR_AO): Likewise.
6940 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6941 (TRAP_TRACE): Likewise.
6942 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6943 __USE_XOPEN2K8].
6944 (CLD_KILLED): Likewise.
6945 (CLD_DUMPED): Likewise.
6946 (CLD_TRAPPED): Likewise.
6947 (CLD_STOPPED): Likewise.
6948 (CLD_CONTINUED): Likewise.
6949 (POLL_IN): Likewise.
6950 (POLL_OUT): Likewise.
6951 (POLL_MSG): Likewise.
6952 (POLL_ERR): Likewise.
6953 (POLL_PRI): Likewise.
6954 (POLL_HUP): Likewise.
6955 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6956 (ILL_ILLOPN): Likewise.
6957 (ILL_ILLADR): Likewise.
6958 (ILL_ILLTRP): Likewise.
6959 (ILL_PRVOPC): Likewise.
6960 (ILL_PRVREG): Likewise.
6961 (ILL_COPROC): Likewise.
6962 (ILL_BADSTK): Likewise.
6963 (FPE_INTDIV): Likewise.
6964 (FPE_INTOVF): Likewise.
6965 (FPE_FLTDIV): Likewise.
6966 (FPE_FLTOVF): Likewise.
6967 (FPE_FLTUND): Likewise.
6968 (FPE_FLTRES): Likewise.
6969 (FPE_FLTINV): Likewise.
6970 (FPE_FLTSUB): Likewise.
6971 (SEGV_MAPERR): Likewise.
6972 (SEGV_ACCERR): Likewise.
6973 (BUS_ADRALN): Likewise.
6974 (BUS_ADRERR): Likewise.
6975 (BUS_OBJERR): Likewise.
6976 (BUS_MCEERR_AR): Likewise.
6977 (BUS_MCEERR_AO): Likewise.
6978 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6979 (TRAP_TRACE): Likewise.
6980 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6981 __USE_XOPEN2K8].
6982 (CLD_KILLED): Likewise.
6983 (CLD_DUMPED): Likewise.
6984 (CLD_TRAPPED): Likewise.
6985 (CLD_STOPPED): Likewise.
6986 (CLD_CONTINUED): Likewise.
6987 (POLL_IN): Likewise.
6988 (POLL_OUT): Likewise.
6989 (POLL_MSG): Likewise.
6990 (POLL_ERR): Likewise.
6991 (POLL_PRI): Likewise.
6992 (POLL_HUP): Likewise.
6993 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6994 (ILL_ILLOPN): Likewise.
6995 (ILL_ILLADR): Likewise.
6996 (ILL_ILLTRP): Likewise.
6997 (ILL_PRVOPC): Likewise.
6998 (ILL_PRVREG): Likewise.
6999 (ILL_COPROC): Likewise.
7000 (ILL_BADSTK): Likewise.
7001 (ILL_DBLFLT): Likewise.
7002 (ILL_HARDWALL): Likewise.
7003 (FPE_INTDIV): Likewise.
7004 (FPE_INTOVF): Likewise.
7005 (FPE_FLTDIV): Likewise.
7006 (FPE_FLTOVF): Likewise.
7007 (FPE_FLTUND): Likewise.
7008 (FPE_FLTRES): Likewise.
7009 (FPE_FLTINV): Likewise.
7010 (FPE_FLTSUB): Likewise.
7011 (SEGV_MAPERR): Likewise.
7012 (SEGV_ACCERR): Likewise.
7013 (BUS_ADRALN): Likewise.
7014 (BUS_ADRERR): Likewise.
7015 (BUS_OBJERR): Likewise.
7016 (BUS_MCEERR_AR): Likewise.
7017 (BUS_MCEERR_AO): Likewise.
7018 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7019 (TRAP_TRACE): Likewise.
7020 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7021 __USE_XOPEN2K8].
7022 (CLD_KILLED): Likewise.
7023 (CLD_DUMPED): Likewise.
7024 (CLD_TRAPPED): Likewise.
7025 (CLD_STOPPED): Likewise.
7026 (CLD_CONTINUED): Likewise.
7027 (POLL_IN): Likewise.
7028 (POLL_OUT): Likewise.
7029 (POLL_MSG): Likewise.
7030 (POLL_ERR): Likewise.
7031 (POLL_PRI): Likewise.
7032 (POLL_HUP): Likewise.
7033 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7034 (ILL_ILLOPN): Likewise.
7035 (ILL_ILLADR): Likewise.
7036 (ILL_ILLTRP): Likewise.
7037 (ILL_PRVOPC): Likewise.
7038 (ILL_PRVREG): Likewise.
7039 (ILL_COPROC): Likewise.
7040 (ILL_BADSTK): Likewise.
7041 (FPE_INTDIV): Likewise.
7042 (FPE_INTOVF): Likewise.
7043 (FPE_FLTDIV): Likewise.
7044 (FPE_FLTOVF): Likewise.
7045 (FPE_FLTUND): Likewise.
7046 (FPE_FLTRES): Likewise.
7047 (FPE_FLTINV): Likewise.
7048 (FPE_FLTSUB): Likewise.
7049 (SEGV_MAPERR): Likewise.
7050 (SEGV_ACCERR): Likewise.
7051 (BUS_ADRALN): Likewise.
7052 (BUS_ADRERR): Likewise.
7053 (BUS_OBJERR): Likewise.
7054 (BUS_MCEERR_AR): Likewise.
7055 (BUS_MCEERR_AO): Likewise.
7056 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7057 (TRAP_TRACE): Likewise.
7058 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7059 __USE_XOPEN2K8].
7060 (CLD_KILLED): Likewise.
7061 (CLD_DUMPED): Likewise.
7062 (CLD_TRAPPED): Likewise.
7063 (CLD_STOPPED): Likewise.
7064 (CLD_CONTINUED): Likewise.
7065 (POLL_IN): Likewise.
7066 (POLL_OUT): Likewise.
7067 (POLL_MSG): Likewise.
7068 (POLL_ERR): Likewise.
7069 (POLL_PRI): Likewise.
7070 (POLL_HUP): Likewise.
7071 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7072 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7073
bc61d27c
JM
7074 [BZ #16670]
7075 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7076 before #include of <time.h>.
7077 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7078 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7079 (test-xfail-UNIX98/sched.h/conform): Likewise.
7080
302949e2
MS
70812014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7082
7083 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7084 error absence of trapping exception support.
7085 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7086
a00f522a
JM
70872014-03-07 Joseph Myers <joseph@codesourcery.com>
7088
6f99f280
JM
7089 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7090 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7091 * timezone/Makefile (testdata): Move definition above include of
7092 Rules.
7093 (test-zones): New variable.
7094 (tests-special): Add zone files.
7095 (build-testdata): Use $(evaluate-test).
7096
0b20a9e8
JM
7097 * elf/Makefile (tests-special): Rename tests to end with .out.
7098 ($(objpfx)noload-mem): Likewise.
7099 ($(objpfx)tst-leaks1-mem): Likewise.
7100 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7101 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7102 $(objpfx)test-iconvconfig.out.
7103 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7104 set -e inside subshell and redirect output to file.
7105 * iconvdata/Makefile (generated): Rename tests to end with .out.
7106 Correct type.
7107 (tests-special): Rename tests to end with .out.
7108 ($(objpfx)mtrace-tst-loading): Likewise.
7109 * intl/Makefile (generated): Likewise.
7110 (tests-special): Likewise.
7111 ($(objpfx)mtrace-tst-gettext): Likewise.
7112 * misc/Makefile (generated): Likewise.
7113 (tests-special): Likewise.
7114 ($(objpfx)tst-error1-mem): Likewise.
7115 * nptl/Makefile (tests-special): Likewise.
7116 ($(objpfx)tst-stack3-mem): Likewise.
7117 (generated): Likewise.
7118 * posix/Makefile (generated): Likewise.
7119 (tests-special): Likewise.
7120 (xtests-special): Likewise.
7121 ($(objpfx)tst-fnmatch-mem): Likewise.
7122 ($(objpfx)bug-regex2-mem): Likewise.
7123 ($(objpfx)bug-regex14-mem): Likewise.
7124 ($(objpfx)bug-regex21-mem): Likewise.
7125 ($(objpfx)bug-regex31-mem): Likewise.
7126 ($(objpfx)tst-vfork3-mem): Likewise.
7127 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7128 ($(objpfx)tst-pcre-mem): Likewise.
7129 ($(objpfx)tst-boost-mem): Likewise.
7130 ($(objpfx)bug-ga2-mem): Likewise.
7131 ($(objpfx)bug-glob2-mem): Likewise.
7132 * resolv/Makefile (generate): Likewise.
7133 (tests-special): Likewise.
7134 (xtests-special): Likewise.
7135 (generated): Likewise.
7136 ($(objpfx)mtrace-tst-leaks): Likewise.
7137 ($(objpfx)mtrace-tst-leaks2): Likewise.
7138
265d52ab
JM
7139 * scripts/merge-test-results.sh: New file.
7140 * Makefile (tests-special-notdir): New variable.
7141 (tests): Run merge-test-results.sh.
7142 (xtests): Likewise.
7143 * Rules (tests-special-notdir): New variable.
7144 (xtests-special-notdir): Likewise.
7145 (tests): Run merge-test-results.sh
7146 (xtests): Likewise.
7147
54ee292d
JM
7148 * Makeconfig (test-xfail-name): New variable.
7149 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7150 compute variable name for expected failures.
7151 * conform/Makefile (conformtest-headers-data): New variable.
7152 (conformtest-standards): Likewise.
7153 (conformtest-headers-ISO): Likewise.
7154 (conformtest-headers-ISO99): Likewise.
7155 (conformtest-headers-ISO11): Likewise.
7156 (conformtest-headers-POSIX): Likewise.
7157 (conformtest-headers-XPG3): Likewise.
7158 (conformtest-headers-XPG4): Likewise.
7159 (conformtest-headers-UNIX98): Likewise.
7160 (conformtest-headers-XOPEN2K): Likewise.
7161 (conformtest-headers-POSIX2008): Likewise.
7162 (conformtest-headers-XOPEN2K8): Likewise.
7163 (conformtest-header-list-base): Likewise.
7164 (conformtest-header-list-tests): Likewise.
7165 (conformtest-header-base): Likewise.
7166 (conformtest-header-tests): Likewise.
7167 (tests-special): Add $(conformtest-header-list-tests). If
7168 [$(fast-check) && !$(cross-compiling)], add
7169 $(conformtest-header-tests) instead of
7170 $(objpfx)run-conformtest.out.
7171 (generated): Add $(conformtest-header-list-base). If
7172 [$(fast-check) && !$(cross-compiling)], add
7173 $(conformtest-header-base). Remove previous setting.
7174 ($(conformtest-header-list-tests)): New target.
7175 (test-xfail-run-conformtest): Remove variable.
7176 ($(objpfx)run-conformtest.out): Remove target.
7177 (test-xfail-ISO11/complex.h/conform): New variable.
7178 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7179 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7180 (test-xfail-XPG3/varargs.h/conform): Likewise.
7181 (test-xfail-XPG4/varargs.h/conform): Likewise.
7182 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7183 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7184 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7185 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7186 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7187 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7188 (test-xfail-XPG3/ftw.h/conform): Likewise.
7189 (test-xfail-XPG3/grp.h/conform): Likewise.
7190 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7191 (test-xfail-XPG3/limits.h/conform): Likewise.
7192 (test-xfail-XPG3/pwd.h/conform): Likewise.
7193 (test-xfail-XPG3/search.h/conform): Likewise.
7194 (test-xfail-XPG3/signal.h/conform): Likewise.
7195 (test-xfail-XPG3/stdio.h/conform): Likewise.
7196 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7197 (test-xfail-XPG3/string.h/conform): Likewise.
7198 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7199 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7200 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7201 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7202 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7203 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7204 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7205 (test-xfail-XPG3/termios.h/conform): Likewise.
7206 (test-xfail-XPG3/time.h/conform): Likewise.
7207 (test-xfail-XPG3/unistd.h/conform): Likewise.
7208 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7209 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7210 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7211 (test-xfail-XPG4/netdb.h/conform): Likewise.
7212 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7213 (test-xfail-XPG4/signal.h/conform): Likewise.
7214 (test-xfail-XPG4/stdio.h/conform): Likewise.
7215 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7216 (test-xfail-XPG4/stropts.h/conform): Likewise.
7217 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7218 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7219 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7220 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7221 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7222 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7223 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7224 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7225 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7226 (test-xfail-XPG4/termios.h/conform): Likewise.
7227 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7228 (test-xfail-XPG4/unistd.h/conform): Likewise.
7229 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7230 (test-xfail-POSIX/sched.h/conform): Likewise.
7231 (test-xfail-POSIX/signal.h/conform): Likewise.
7232 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7233 (test-xfail-POSIX/tar.h/conform): Likewise.
7234 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7235 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7236 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7237 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7238 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7239 (test-xfail-UNIX98/sched.h/conform): Likewise.
7240 (test-xfail-UNIX98/signal.h/conform): Likewise.
7241 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7242 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7243 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7244 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7245 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7246 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7247 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7248 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7249 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7250 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7251 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7252 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7253 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7254 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7255 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7256 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7257 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7258 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7259 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7260 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7261 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7262 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7263 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7264 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7265 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7266 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7267 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7268 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7269 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7270 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7271 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7272 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7273 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7274 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7275 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7276 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7277 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7278 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7279 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7280 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7281 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7282 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7283 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7284 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7285 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7286 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7287 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7288 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7289 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7290 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7291 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7292 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7293 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7294 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7295 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7296 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7297 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7298 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7299 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7300 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7301 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7302 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7303 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7304 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7305 (conformtest-cc-flags): Likewise.
7306 ($(conformtest-header-tests): New target.
7307 * conform/check-header-lists.sh: New file.
7308 * conform/run-conformtest.sh: Remove.
7309
a00f522a
JM
7310 * conform/conformtest.pl: Allow ' and \ in values given for
7311 constants.
7312 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7313 inclusion.
7314 [POSIX] (sys/types.h): Likewise.
7315 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7316 inclusion.
7317 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7318 inclusion.
7319 * conform/data/signal.h-data (SIGIO): Remove expectation.
7320 [XPG3] (SIGBUS): Do not expect.
7321 [POSIX || XPG3] (SIGPOLL): Likewise.
7322 [POSIX || XPG3] (SIGPROF): Likewise.
7323 [POSIX || XPG3] (SIGSYS): Likewise.
7324 [XPG3] (SIGTRAP): Likewise.
7325 [POSIX || XPG3] (SIGURG): Likewise.
7326 [POSIX || XPG3] (SIGVTALRM): Likewise.
7327 [POSIX || XPG3] (SIGXCPU): Likewise.
7328 [POSIX || XPG3] (SIGXFSZ): Likewise.
7329 [POSIX] (SA_SIGINFO): Expect.
7330 [XPG3] (siginfo_t): Do not expect type or contents.
7331 [POSIX] (si_pid): Do not expect element.
7332 [POSIX] (si_uid): Likewise.
7333 [POSIX] (si_addr): Likewise.
7334 [POSIX] (si_status): Likewise.
7335 [POSIX] (si_band): Likewise.
7336 [XPG4] (si_value): Likewise.
7337 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7338 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7339 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7340 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7341 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7342 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7343 [POSIX || XPG3] (ILL_COPROC): Likewise.
7344 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7345 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7346 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7347 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7348 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7349 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7350 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7351 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7352 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7353 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7354 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7355 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7356 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7357 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7358 [POSIX || XPG3] (CLD_EXITED): Likewise.
7359 [POSIX || XPG3] (CLD_KILLED): Likewise.
7360 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7361 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7362 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7363 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7364 [POSIX || XPG3] (POLL_IN): Likewise.
7365 [POSIX || XPG3] (POLL_OUT): Likewise.
7366 [POSIX || XPG3] (POLL_MSG): Likewise.
7367 [POSIX || XPG3] (POLL_ERR): Likewise.
7368 [POSIX || XPG3] (POLL_PRI): Likewise.
7369 [POSIX || XPG3] (POLL_HUP): Likewise.
7370 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7371 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7372 (SIG*): Do not allow.
7373 [XPG3] (si_*): Likewise.
7374 [XPG3] (SI_*): Likewise.
7375 [XPG3 || XPG4] (sigev_*): Likewise.
7376 [XPG3 || XPG4] (SIGEV_*): Likewise.
7377 [XPG3 || XPG4] (sival_*): Likewise.
7378 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7379 [POSIX || XPG3] (BUS_*): Likewise.
7380 [POSIX || XPG3] (CLD_*): Likewise.
7381 [POSIX || XPG3] (FPE_*): Likewise.
7382 [POSIX || XPG3] (ILL_*): Likewise.
7383 [POSIX || XPG3] (POLL_*): Likewise.
7384 [POSIX || XPG3] (SEGV_*): Likewise.
7385 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7386 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7387 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7388 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7389 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7390 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7391 Specify type and value.
7392 (TVERSLEN): Likewise.
7393 (REGTYPE): Likewise.
7394 (AREGTYPE): Likewise.
7395 (LNKTYPE): Likewise.
7396 (SYMTYPE): Likewise.
7397 (CHRTYPE): Likewise.
7398 (BLKTYPE): Likewise.
7399 (DIRTYPE): Likewise.
7400 (FIFOTYPE): Likewise.
7401 (CONTTYPE): Likewise.
7402 (TSUID): Likewise.
7403 (TSGID): Likewise.
7404 (TSVTX): Likewise.
7405 (TUREAD): Likewise.
7406 (TUWRITE): Likewise.
7407 (TUEXEC): Likewise.
7408 (TGREAD): Likewise.
7409 (TGWRITE): Likewise.
7410 (TGEXEC): Likewise.
7411 (TOREAD): Likewise.
7412 (TOWRITE): Likewise.
7413 (TOEXEC): Likewise.
7414 [POSIX] (TSVTX): Expect constant.
7415
aa97dee1
JM
74162014-03-06 Joseph Myers <joseph@codesourcery.com>
7417
f214606a
JM
7418 * Makefile (tests): Change dependencies to ....
7419 (tests-special): ... additions to this variable.
7420 (tests): Depend on $(tests-special).
7421 * Makerules (check-abi-list): New variable.
7422 (check-abi): Depend on $(check-abi-list).
7423 [$(subdir) = elf] (tests-special): Add
7424 $(objpfx)check-abi-libc.out.
7425 [$(build-shared) = yes && subdir] (tests-special): Add
7426 $(check-abi-list).
7427 [$(build-shared) = yes && subdir] (tests): Do not depend on
7428 check-abi.
7429 * Rules (tests): Depend on $(tests-special).
7430 (xtests): Depend on $(xtests-special).
7431 * catgets/Makefile (tests): Change dependencies to ....
7432 (tests-special): ... additions to this variable.
7433 * conform/Makefile (tests): Change dependencies to ....
7434 (tests-special): ... additions to this variable.
7435 * elf/Makefile (tests): Change dependencies to ....
7436 (tests-special): ... additions to this variable.
7437 * grp/Makefile (tests): Change dependencies to ....
7438 (tests-special): ... additions to this variable.
7439 * iconv/Makefile (xtests): Change dependencies to ....
7440 (xtests-special): ... additions to this variable.
7441 * iconvdata/Makefile (tests): Change dependencies to ....
7442 (tests-special): ... additions to this variable.
7443 * intl/Makefile (tests): Change dependencies to ....
7444 (tests-special): ... additions to this variable. Also add
7445 $(objpfx)tst-gettext.out.
7446 * io/Makefile (tests): Change dependencies to ....
7447 (tests-special): ... additions to this variable.
7448 * libio/Makefile (tests): Change dependencies to ....
7449 (tests-special): ... additions to this variable.
7450 * malloc/Makefile (tests): Change dependencies to ....
7451 (tests-special): ... additions to this variable.
7452 * misc/Makefile (tests): Change dependencies to ....
7453 (tests-special): ... additions to this variable.
7454 * nptl/Makefile (tests): Change dependencies to ....
7455 (tests-special): ... additions to this variable.
7456 * nptl_db/Makefile (tests): Change dependencies to ....
7457 (tests-special): ... additions to this variable.
7458 * posix/Makefile (tests): Change dependencies to ....
7459 (tests-special): ... additions to this variable.
7460 (xtests): Change dependencies to ....
7461 (xtests-special): ... additions to this variable.
7462 * resolv/Makefile (tests): Change dependencies to ....
7463 (tests-special): ... additions to this variable.
7464 (xtests): Change dependencies to ....
7465 (xtests-special): ... additions to this variable.
7466 * stdio-common/Makefile (tests): Change dependencies to ....
7467 (tests-special): ... additions to this variable.
7468 (do-tst-unbputc): Remove target.
7469 (do-tst-printf): Likewise.
7470 * stdlib/Makefile (tests): Change dependencies to ....
7471 (tests-special): ... additions to this variable.
7472 * string/Makefile (tests): Change dependencies to ....
7473 (tests-special): ... additions to this variable.
7474 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7475 (tests-special): ... additions to this variable.
7476
81700b53
JM
7477 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7478 whole file.
7479 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7480 whole file.
7481 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7482 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7483
2ea18461
JM
7484 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7485 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7486 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7487 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7488 * conform/data/libgen.h-data [XPG3]: Likewise.
7489 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7490 * conform/data/ndbm.h-data [XPG3]: Likewise.
7491 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7492 * conform/data/netdb.h-data [XPG3]: Likewise.
7493 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7494 * conform/data/poll.h-data [XPG3]: Likewise.
7495 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7496 * conform/data/strings.h-data [XPG3]: Likewise.
7497 * conform/data/stropts.h-data [XPG3]: Likewise.
7498 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7499 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7500 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7501 Likewise.
7502 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7503 * conform/data/sys/time.h-data [XPG3]: Likewise.
7504 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7505 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7506 * conform/data/sys/un.h-data [XPG3]: Likewise.
7507 * conform/data/syslog.h-data [XPG3]: Likewise.
7508 * conform/data/ucontext.h-data [XPG3]: Likewise.
7509 * conform/data/utmpx.h-data [XPG3]: Likewise.
7510 * conform/data/varargs.h-data [UNIX98]: Enable file.
7511
355bc986
JM
7512 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7513
215db402
JM
7514 * math/libm-test.inc (struct test_f_f_data): Move expected results
7515 into structure for each rounding mode.
7516 (struct test_ff_f_data): Likewise.
7517 (struct test_ff_f_data_nexttoward): Likewise.
7518 (struct test_fi_f_data): Likewise.
7519 (struct test_fl_f_data): Likewise.
7520 (struct test_if_f_data): Likewise.
7521 (struct test_fff_f_data): Likewise.
7522 (struct test_c_f_data): Likewise.
7523 (struct test_f_f1_data): Likewise.
7524 (struct test_fF_f1_data): Likewise.
7525 (struct test_ffI_f1_data): Likewise.
7526 (struct test_c_c_data): Likewise.
7527 (struct test_cc_c_data): Likewise.
7528 (struct test_f_i_data): Likewise.
7529 (struct test_ff_i_data): Likewise.
7530 (struct test_f_l_data): Likewise.
7531 (struct test_f_L_data): Likewise.
7532 (struct test_fFF_11_data): Likewise.
7533 (RM_): New macro.
7534 (RM_FE_DOWNWARD): Likewise.
7535 (RM_FE_TONEAREST): Likewise.
7536 (RM_FE_TOWARDZERO): Likewise.
7537 (RM_FE_UPWARD): Likewise.
7538 (RUN_TEST_LOOP_f_f): Update references to expected results.
7539 (RUN_TEST_LOOP_2_f): Likewise.
7540 (RUN_TEST_LOOP_fff_f): Likewise.
7541 (RUN_TEST_LOOP_c_f): Likewise.
7542 (RUN_TEST_LOOP_f_f1): Likewise.
7543 (RUN_TEST_LOOP_fF_f1): Likewise.
7544 (RUN_TEST_LOOP_fI_f1): Likewise.
7545 (RUN_TEST_LOOP_ffI_f1): Likewise.
7546 (RUN_TEST_LOOP_c_c): Likewise.
7547 (RUN_TEST_LOOP_cc_c): Likewise.
7548 (RUN_TEST_LOOP_f_i): Likewise.
7549 (RUN_TEST_LOOP_f_i_tg): Likewise.
7550 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7551 (RUN_TEST_LOOP_f_b): Likewise.
7552 (RUN_TEST_LOOP_f_b_tg): Likewise.
7553 (RUN_TEST_LOOP_f_l): Likewise.
7554 (RUN_TEST_LOOP_f_L): Likewise.
7555 (RUN_TEST_LOOP_fFF_11): Likewise.
7556 * math/gen-libm-test.pl (parse_args): Output four copies of
7557 expected results for each test.
7558
67737b8f
JM
7559 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7560 (__ASSUME_UTIMES): Remove.
7561 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7562 (__ASSUME_UTIMES): Likewise.
7563
aa97dee1
JM
7564 * math/gen-auto-libm-tests.c: Update comment on output format.
7565 (output_for_one_input_case): Generate before-rounding and
7566 after-rounding information as conditions on output flags not
7567 floating-point format.
7568 * math/auto-libm-test-out: Regenerated.
7569 * math/gen-libm-test.pl (cond_value): New function.
7570 (or_cond_value): Use cond_value.
7571 (generate_testfile): Handle conditional exceptions.
7572
e6b6a857
JM
75732014-03-05 Joseph Myers <joseph@codesourcery.com>
7574
2f0a0f44
JM
7575 * math/libm-test.inc (max_valid_error): New variable.
7576 (init_max_error): Take new argument specifying whether function
7577 results are exactly determined. Set max_valid_error and bound
7578 other variables for errors based on this argument.
7579 (set_max_error): Do not record results above max_valid_error.
7580 (check_float_internal): Only accept errors of up to 0.5ulps if
7581 also at most max_valid_error.
7582 (START): Take new argument EXACT and pass it to init_max_error.
7583 (acos_test): Update call to START.
7584 (acos_test_tonearest): Likewise.
7585 (acos_test_towardzero): Likewise.
7586 (acos_test_downward): Likewise.
7587 (acos_test_upward): Likewise.
7588 (acosh_test): Likewise.
7589 (asin_test): Likewise.
7590 (asin_test_tonearest): Likewise.
7591 (asin_test_towardzero): Likewise.
7592 (asin_test_downward): Likewise.
7593 (asin_test_upward): Likewise.
7594 (asinh_test): Likewise.
7595 (atan_test): Likewise.
7596 (atanh_test): Likewise.
7597 (atan2_test): Likewise.
7598 (cabs_test): Likewise.
7599 (cacos_test): Likewise.
7600 (cacosh_test): Likewise.
7601 (carg_test): Likewise.
7602 (casin_test): Likewise.
7603 (casinh_test): Likewise.
7604 (catan_test): Likewise.
7605 (catanh_test): Likewise.
7606 (cbrt_test): Likewise.
7607 (ccos_test): Likewise.
7608 (ccosh_test): Likewise.
7609 (ceil_test): Likewise.
7610 (cexp_test): Likewise.
7611 (cimag_test): Likewise.
7612 (clog_test): Likewise.
7613 (clog10_test): Likewise.
7614 (conj_test): Likewise.
7615 (copysign_test): Likewise.
7616 (cos_test): Likewise.
7617 (cos_test_tonearest): Likewise.
7618 (cos_test_towardzero): Likewise.
7619 (cos_test_downward): Likewise.
7620 (cos_test_upward): Likewise.
7621 (cosh_test): Likewise.
7622 (cosh_test_tonearest): Likewise.
7623 (cosh_test_towardzero): Likewise.
7624 (cosh_test_downward): Likewise.
7625 (cosh_test_upward): Likewise.
7626 (cpow_test): Likewise.
7627 (cproj_test): Likewise.
7628 (creal_test): Likewise.
7629 (csin_test): Likewise.
7630 (csinh_test): Likewise.
7631 (csqrt_test): Likewise.
7632 (ctan_test): Likewise.
7633 (ctan_test_tonearest): Likewise.
7634 (ctan_test_towardzero): Likewise.
7635 (ctan_test_downward): Likewise.
7636 (ctan_test_upward): Likewise.
7637 (ctanh_test): Likewise.
7638 (ctanh_test_tonearest): Likewise.
7639 (ctanh_test_towardzero): Likewise.
7640 (ctanh_test_downward): Likewise.
7641 (ctanh_test_upward): Likewise.
7642 (erf_test): Likewise.
7643 (erfc_test): Likewise.
7644 (exp_test): Likewise.
7645 (exp_test_tonearest): Likewise.
7646 (exp_test_towardzero): Likewise.
7647 (exp_test_downward): Likewise.
7648 (exp_test_upward): Likewise.
7649 (exp10_test): Likewise.
7650 (exp10_test_tonearest): Likewise.
7651 (exp10_test_towardzero): Likewise.
7652 (exp10_test_downward): Likewise.
7653 (exp10_test_upward): Likewise.
7654 (pow10_test): Likewise.
7655 (exp2_test): Likewise.
7656 (expm1_test): Likewise.
7657 (expm1_test_tonearest): Likewise.
7658 (expm1_test_towardzero): Likewise.
7659 (expm1_test_downward): Likewise.
7660 (expm1_test_upward): Likewise.
7661 (fabs_test): Likewise.
7662 (fdim_test): Likewise.
7663 (floor_test): Likewise.
7664 (fma_test): Likewise.
7665 (fma_test_towardzero): Likewise.
7666 (fma_test_downward): Likewise.
7667 (fma_test_upward): Likewise.
7668 (fmax_test): Likewise.
7669 (fmin_test): Likewise.
7670 (fmod_test): Likewise.
7671 (fpclassify_test): Likewise.
7672 (frexp_test): Likewise.
7673 (hypot_test): Likewise.
7674 (ilogb_test): Likewise.
7675 (isfinite_test): Likewise.
7676 (finite_test): Likewise.
7677 (isgreater_test): Likewise.
7678 (isgreaterequal_test): Likewise.
7679 (isinf_test): Likewise.
7680 (isless_test): Likewise.
7681 (islessequal_test): Likewise.
7682 (islessgreater_test): Likewise.
7683 (isnan_test): Likewise.
7684 (isnormal_test): Likewise.
7685 (issignaling_test): Likewise.
7686 (isunordered_test): Likewise.
7687 (j0_test): Likewise.
7688 (j1_test): Likewise.
7689 (jn_test): Likewise.
7690 (ldexp_test): Likewise.
7691 (lgamma_test): Likewise.
7692 (gamma_test): Likewise.
7693 (lrint_test): Likewise.
7694 (lrint_test_tonearest): Likewise.
7695 (lrint_test_towardzero): Likewise.
7696 (lrint_test_downward): Likewise.
7697 (lrint_test_upward): Likewise.
7698 (llrint_test): Likewise.
7699 (llrint_test_tonearest): Likewise.
7700 (llrint_test_towardzero): Likewise.
7701 (llrint_test_downward): Likewise.
7702 (llrint_test_upward): Likewise.
7703 (log_test): Likewise.
7704 (log10_test): Likewise.
7705 (log1p_test): Likewise.
7706 (log2_test): Likewise.
7707 (logb_test): Likewise.
7708 (logb_test_downward): Likewise.
7709 (lround_test): Likewise.
7710 (llround_test): Likewise.
7711 (modf_test): Likewise.
7712 (nearbyint_test): Likewise.
7713 (nextafter_test): Likewise.
7714 (nexttoward_test): Likewise.
7715 (pow_test): Likewise.
7716 (pow_test_tonearest): Likewise.
7717 (pow_test_towardzero): Likewise.
7718 (pow_test_downward): Likewise.
7719 (pow_test_upward): Likewise.
7720 (remainder_test): Likewise.
7721 (drem_test): Likewise.
7722 (remainder_test_tonearest): Likewise.
7723 (drem_test_tonearest): Likewise.
7724 (remainder_test_towardzero): Likewise.
7725 (drem_test_towardzero): Likewise.
7726 (remainder_test_downward): Likewise.
7727 (drem_test_downward): Likewise.
7728 (remainder_test_upward): Likewise.
7729 (drem_test_upward): Likewise.
7730 (remquo_test): Likewise.
7731 (rint_test): Likewise.
7732 (rint_test_tonearest): Likewise.
7733 (rint_test_towardzero): Likewise.
7734 (rint_test_downward): Likewise.
7735 (rint_test_upward): Likewise.
7736 (round_test): Likewise.
7737 (scalb_test): Likewise.
7738 (scalbn_test): Likewise.
7739 (scalbln_test): Likewise.
7740 (signbit_test): Likewise.
7741 (sin_test): Likewise.
7742 (sin_test_tonearest): Likewise.
7743 (sin_test_towardzero): Likewise.
7744 (sin_test_downward): Likewise.
7745 (sin_test_upward): Likewise.
7746 (sincos_test): Likewise.
7747 (sinh_test): Likewise.
7748 (sinh_test_tonearest): Likewise.
7749 (sinh_test_towardzero): Likewise.
7750 (sinh_test_downward): Likewise.
7751 (sinh_test_upward): Likewise.
7752 (sqrt_test): Likewise.
7753 (sqrt_test_tonearest): Likewise.
7754 (sqrt_test_towardzero): Likewise.
7755 (sqrt_test_downward): Likewise.
7756 (sqrt_test_upward): Likewise.
7757 (tan_test): Likewise.
7758 (tan_test_tonearest): Likewise.
7759 (tan_test_towardzero): Likewise.
7760 (tan_test_downward): Likewise.
7761 (tan_test_upward): Likewise.
7762 (tanh_test): Likewise.
7763 (tgamma_test): Likewise.
7764 (trunc_test): Likewise.
7765 (y0_test): Likewise.
7766 (y1_test): Likewise.
7767 (yn_test): Likewise.
7768 (significand_test): Likewise.
7769
e6b6a857
JM
7770 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7771 individual tests in comment.
7772 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7773 (prev_max_error): New variable.
7774 (prev_real_max_error): Likewise.
7775 (prev_imag_max_error): Likewise.
7776 (compare_ulp_data): Don't refer to test names in comment.
7777 (find_test_ulps): Remove function.
7778 (find_function_ulps): Likewise.
7779 (find_complex_function_ulps): Likewise.
7780 (init_max_error): Take function name as argument. Look up ulps
7781 for that function.
7782 (print_ulps): Remove function.
7783 (print_max_error): Use prev_max_error instead of calling
7784 find_function_ulps.
7785 (print_complex_max_error): Use prev_real_max_error and
7786 prev_imag_max_error instead of calling find_complex_function_ulps.
7787 (check_float_internal): Take max_ulp parameter instead of calling
7788 find_test_ulps. Don't call print_ulps.
7789 (check_float): Update call to check_float_internal.
7790 (check_complex): Update calls to check_float_internal.
7791 (START): Pass argument to init_max_error.
7792 * math/gen-libm-test.pl (%results): Don't include "kind"
7793 information.
7794 (parse_ulps): Don't handle ulps of individual tests.
7795 (print_ulps_file): Likewise.
7796 (output_ulps): Likewise.
7797 * math/README.libm-test: Update.
7798 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7799 individual tests.
7800 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7801 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7802 * sysdeps/arm/libm-test-ulps: Likewise.
7803 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7804 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7805 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7806 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7807 * sysdeps/microblaze/libm-test-ulps: Likewise.
7808 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7809 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7810 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7811 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7812 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7813 * sysdeps/sh/libm-test-ulps: Likewise.
7814 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7815 * sysdeps/tile/libm-test-ulps: Likewise.
7816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7817
45adef3c
JM
78182014-03-04 Joseph Myers <joseph@codesourcery.com>
7819
7820 * math/libm-test.inc (print_complex_max_error): Check separately
7821 whether real and imaginary errors are within allowed range and
7822 pass 0 to print_complex_function_ulps instead of value within
7823 allowed range.
7824
000232b9
SP
78252014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7826
d4b17258
SP
7827 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7828 formatting.
7829 (get_handles_fopen): Likewise.
7830 (do_write_test): Likewise.
7831
091eff71
SP
7832 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7833
fa3cd248
SP
7834 * libio/fileops.c (do_ftell): Use cached offset when
7835 available.
7836 * libio/iofwide.c (do_ftell_wide): Likewise.
7837 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7838 _IO_file_attach.
7839 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7840
000232b9
SP
7841 [BZ #16532]
7842 * libio/libioP.h (get_file_offset): New function.
7843 * libio/fileops.c (get_file_offset): Likewise.
7844 (do_ftell): Likewise.
7845 (_IO_new_file_seekoff): Split out ftell logic.
7846 * libio/wfileops.c (do_ftell_wide): Likewise.
7847 (_IO_wfile_seekoff): Split out ftell logic.
7848 * libio/tst-ftell-active-handler.c: New test case.
7849 * libio/Makefile (tests): Add it.
7850
116f4d1a
RM
78512014-03-03 Roland McGrath <roland@hack.frob.com>
7852
7853 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7854 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7855
532a6035
SP
78562014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7857
7858 [BZ #16639]
7859 * nscd/connections.c (nscd_init): Call do_exit.
7860 (start_threads): Call do_exit and notify_parent.
7861 (begin_drop_privileges): Call do_exit.
7862 (finish_drop_privileges): Likewise.
7863 * nscd/selinux.c (preserve_capabilities): Likewise.
7864 (install_real_capabilities): Likewise.
7865 (nscd_selinux_enabled): Likewise.
7866 (avc_create_thread): Likewise.
7867 (avc_alloc_lock): Likewise.
7868 (nscd_avc_init): Likewise.
7869 * nscd/nscd.c (parent_fd): New static variable.
7870 (main): Create a pipe between parent and child processes.
7871 Skip closing parent_fd.
7872 (monitor_child): New function.
7873 (do_exit): Likewise.
7874 (notify_parent): Likewise.
7875 * nscd/nscd.h (notify_parent): Likewise.
7876 (do_exit): Likewise.
7877
d6285c9f
CD
78782014-03-03 Carlos O'Donell <carlos@redhat.com>
7879
7880 * malloc/malloc.c (__libc_calloc): Revert last change.
7881
2b85d2a0
AZ
78822014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7883
7884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7885
c7debbdf
RS
78862014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7887
7888 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7889 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7890 implementation.
7891 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7892 (__libc_ifunc_impl_list): Likewise.
7893 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7894 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7895 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7896 * string/strrchr.c: Define STRRCHR.
7897
235eed86
OB
78982014-02-28 Ondřej Bílka <neleai@seznam.cz>
7899
7900 * benchtest/bench-strtok.c (simple_strtok): Delete.
7901 (strtok_string): Use as benchmark.
7902 * string/strtok (STRTOK): New macro.
7903
8e25d1e7
CD
79042014-02-28 Carlos O'Donell <carlos@redhat.com>
7905
ef563f92
CD
7906 * manual/threads.texi: Add header and standard comments to all
7907 functions.
7908
8e25d1e7
CD
7909 * elf/dl-lookup.c (check_match): New function.
7910 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7911 (do_lookup_x): Remove nested function check_match. Use non-nested
7912 function check_match.
7913
ff71cc37
RM
79142014-02-28 Roland McGrath <roland@hack.frob.com>
7915
f08e9a26
RM
7916 * csu/Makefile (generated, before-compile): Use += rather than =.
7917 * catgets/Makefile (generated, generated-dirs): Likewise.
7918 * debug/Makefile (generated): Likewise.
7919 * dlfcn/Makefile (generated): Likewise.
7920 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7921 * iconvdata/Makefile (before-compile, generated): Likewise.
7922 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7923 * libio/Makefile (generated): Likewise.
7924 * malloc/Makefile (generated): Likewise.
7925 * manual/Makefile (generated, generated-dirs): Likewise.
7926 * misc/Makefile (generated): Likewise.
7927 * posix/Makefile (generated): Likewise.
7928 * resolv/Makefile (generated): Likewise.
7929 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7930 * timezone/Makefile (generated, generated-dirs): Likewise.
7931
ff71cc37
RM
7932 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7933
fe13a20c
AZ
79342014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7935
57f41c40
AS
7936 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7937 power8 implementation.
7938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7939 file: POWER8 llround ifunc implementation.
7940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7941 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
7942 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7943 POWER8 llround implementation.
7944
57f41c40
AS
7945 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7946 power8 implementation.
7947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7948 file: POWER8 llrint ifunc implementation.
7949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7950 Add POWER8 implementation.
1ad8950a
AZ
7951 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7952 POWER8 llrint implementation.
7953
57f41c40
AS
7954 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7955 power8 implementation.
7956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7957 file: POWER8 finite ifunc implementation.
7958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7959 Add POWER8 implementation.
cac626d6
AZ
7960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7961 Likewise.
7962 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7963 POWER8 finite implementation.
7964 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7965
57f41c40
AS
7966 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7967 power8 implementation.
7968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7969 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
7970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7971 POWER8 implementation.
7972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7973 Likewise.
57f41c40
AS
7974 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7975 isinf implementation.
4393fc11
AZ
7976 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7977
57f41c40
AS
7978 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7979 (INIT_ARCH): Add hwcap2 initialization.
7980 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7981 power8 implementation.
7982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7983 file: POWER8 isnan ifunc implementation.
487972ae
AZ
7984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7985 POWER8 implementation.
7986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7987 Likewise.
57f41c40
AS
7988 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7989 isnan implementation.
487972ae
AZ
7990 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7991
7d92b787
JY
79922014-02-27 Joey Ye <joey.ye@arm.com>
7993
7994 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7995 (_FP_NANFRAC_Q): Set to zero.
7996
1cadc858
SP
79972014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7998
7999 [BZ #16623]
8000 * math/auto-libm-test-in: New test inputs.
8001 * math/auto-libm-test-out: Regenerate.
8002 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8003 and DA.
8004 (__cos): Likewise.
8005 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8006
f8c17e79
JM
80072014-02-27 Joseph Myers <joseph@codesourcery.com>
8008
8009 * scripts/evaluate-test.sh: Take new argument indicating whether
8010 failure is expected.
8011 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8012 indicating whether failure is expected.
8013 * conform/Makefile (test-xfail-run-conformtest): New variable.
8014 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8015 level.
8016 * posix/Makefile (test-xfail-annexc): New variable.
8017 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8018
a5f891ac
JM
80192014-02-26 Joseph Myers <joseph@codesourcery.com>
8020
8021 * argp/Makefile: Include Makeconfig immediately after defining
8022 subdir.
8023 * assert/Makefile: Likewise.
8024 * benchtests/Makefile: Likewise.
8025 * catgets/Makefile: Likewise.
8026 * conform/Makefile: Likewise.
8027 * crypt/Makefile: Likewise.
8028 * csu/Makefile: Likewise.
8029 (all): Remove target.
8030 * ctype/Makefile: Include Makeconfig immediately after defining
8031 subdir.
8032 * debug/Makefile: Likewise.
8033 * dirent/Makefile: Likewise.
8034 * dlfcn/Makefile: Likewise.
8035 * gmon/Makefile: Likewise.
8036 * gnulib/Makefile: Likewise.
8037 * grp/Makefile: Likewise.
8038 * gshadow/Makefile: Likewise.
8039 * hesiod/Makefile: Likewise.
8040 * hurd/Makefile: Likewise.
8041 (all): Remove target.
8042 * iconvdata/Makefile: Include Makeconfig immediately after
8043 defining subdir.
8044 * inet/Makefile: Likewise.
8045 * intl/Makefile: Likewise.
8046 * io/Makefile: Likewise.
8047 * libio/Makefile: Likewise.
8048 (all): Remove target.
8049 * locale/Makefile: Include Makeconfig immediately after defining
8050 subdir.
8051 * login/Makefile: Likewise.
8052 * mach/Makefile: Likewise.
8053 (all): Remove target.
8054 * malloc/Makefile: Include Makeconfig immediately after defining
8055 subdir.
8056 (all): Remove target.
8057 * manual/Makefile: Include Makeconfig immediately after defining
8058 subdir.
8059 * math/Makefile: Likewise.
8060 * misc/Makefile: Likewise.
8061 * nis/Makefile: Likewise.
8062 * nss/Makefile: Likewise.
8063 * po/Makefile: Likewise.
8064 (all): Remove target.
8065 * posix/Makefile: Include Makeconfig immediately after defining
8066 subdir.
8067 * pwd/Makefile: Likewise.
8068 * resolv/Makefile: Likewise.
8069 * resource/Makefile: Likewise.
8070 * rt/Makefile: Likewise.
8071 * setjmp/Makefile: Likewise.
8072 * shadow/Makefile: Likewise.
8073 * signal/Makefile: Likewise.
8074 * socket/Makefile: Likewise.
8075 * soft-fp/Makefile: Likewise.
8076 * stdio-common/Makefile: Likewise.
8077 * stdlib/Makefile: Likewise.
8078 * streams/Makefile: Likewise.
8079 * string/Makefile: Likewise.
8080 * sunrpc/Makefile: Likewise.
8081 (all): Remove target.
8082 * sysvipc/Makefile: Include Makeconfig immediately after defining
8083 subdir.
8084 * termios/Makefile: Likewise.
8085 * time/Makefile: Likewise.
8086 * timezone/Makefile: Likewise.
8087 (all): Remove target.
8088 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8089 subdir.
8090 * wctype/Makefile: Likewise.
8091
5b456e9d
SE
80922014-02-26 Steve Ellcey <sellcey@mips.com>
8093
8094 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8095 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8096 (libc_feholdexcept_setround_mips): Ditto.
8097 (libc_feholdsetround): New.
8098 (libc_feholdsetroundf): New.
8099 (libc_feholdsetroundl): New.
8100 (libc_feupdateenv_test_mips): New.
8101 (libc_feupdateenv_test): New.
8102 (libc_feupdateenv_testf): New.
8103 (libc_feupdateenv_testl): New.
8104 (libc_feresetround): New.
8105 (libc_feresetroundf): New.
8106 (libc_feresetroundl): New.
8107 (libc_fetestexcept_mips): New.
8108 (libc_fetestexcept): New.
8109 (libc_fetestexceptf): New.
8110 (libc_fetestexceptl): New.
8111 (HAVE_RM_CTX): New.
8112 (libc_feholdexcept_setround_mips_ctx): New.
8113 (libc_feholdexcept_setround_ctx): New.
8114 (libc_feholdexcept_setroundf_ctx): New.
8115 (libc_feholdexcept_setroundl_ctx): New.
8116 (libc_fesetenv_mips_ctx): New.
8117 (libc_fesetenv_ctx): New.
8118 (libc_fesetenv_ctxf): New.
8119 (libc_fesetenv_ctxl): New.
8120 (libc_feupdateenv_mips_ctx): New.
8121 (libc_feupdateenv_ctx): New.
8122 (libc_feupdateenvf_ctx): New.
8123 (libc_feupdateenvl_ctx): New.
8124 (libc_feholdsetround_mips_ctx): New.
8125 (libc_feholdsetround_ctx): New.
8126 (libc_feholdsetroundf_ctx): New.
8127 (libc_feholdsetroundl_ctx): New.
8128 (libc_feresetround_mips_ctx): New.
8129 (libc_feresetround_ctx): New.
8130 (libc_feresetroundf_ctx): New.
8131 (libc_feresetroundl_ctx): New.
8132
085d0e35
CD
81332014-02-26 Carlos O'Donell <carlos@redhat.com>
8134
f067bf1f
CD
8135 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8136
085d0e35
CD
8137 * manual/ipc.texi: New file.
8138 * manual/Makefile (chapters): Add ipc.
8139 * manual/job.texi: Add "Inter-Process Communication" to next.
8140 * manual/process.texi: Add "Inter-Process Communication" to prev.
8141
86e58c08
AZ
81422014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8143
8144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8145
4248f0da
OB
81462014-02-26 Ondřej Bílka <neleai@seznam.cz>
8147
8148 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8149
cf822e3c
OB
8150 * manual/arith.texi: Fix spaces after sentences.
8151 * manual/charset.texi: Likewise.
8152 * manual/errno.texi: Likewise.
8153 * manual/install.texi: Likewise.
8154 * manual/llio.texi: Likewise.
8155 * manual/locale.texi: Likewise.
8156 * manual/maint.texi: Likewise.
8157 * manual/math.texi: Likewise.
8158 * manual/memory.texi: Likewise.
8159 * manual/message.texi: Likewise.
8160 * manual/probes.texi: Likewise.
8161 * manual/resource.texi: Likewise.
8162 * manual/signal.texi: Likewise.
8163 * manual/socket.texi: Likewise.
8164 * manual/stdio.texi: Likewise.
8165 * manual/string.texi: Likewise.
8166 * manual/time.texi: Likewise.
8167 * manual/users.texi: Likewise.
8168
ade40b10
CD
81692014-02-25 Carlos O'Donell <carlos@redhat.com>
8170
8171 [BZ #16632]
8172 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8173 _DEFAULT_SOURCE is defined.
8174
d0503676
CD
81752014-02-25 Ulrich Drepper <drepper@gmail.com>
8176 Carlos O'Donell <carlos@redhat.com>
8177
8178 [BZ #16613]
8179 * elf/dl-tls.c (_dl_count_modids): New function.
8180 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8181 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8182 audit library and increment generation counter.
8183 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8184 * elf/tst-audit9.c: New file.
8185 * elf/tst-auditmod9a.c: New file.
8186 * elf/tst-auditmod9b.c: New file.
8187 * elf/Makefile: Add rules to build and run tst-audit9.
8188
4cbf380c
FW
81892014-02-25 Florian Weimer <fweimer@redhat.com>
8190
8191 [BZ #15347]
8192 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8193
80a56cc3
WN
81942014-02-25 Will Newton <will.newton@linaro.org>
8195
8196 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8197 (__longjmp): Restore sp and lr before restoring callee
8198 saved registers. Add longjmp and longjmp_target
8199 SystemTap probe point.
8200 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8201 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8202 Define to zero to match jmpbuf layout.
8203 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8204 (__sigsetjmp): Save sp and lr before saving callee
8205 saved registers. Add setjmp SystemTap probe point.
8206
3ea0f74e
SL
82072014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8208
8209 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8210
b04acb26
AS
82112014-02-24 Andreas Schwab <schwab@suse.de>
8212
8213 [BZ #15804]
8214 * elf/pldd.c (wait_for_ptrace_stop): New function.
8215 (main): Call it after attaching.
8216
098ad55c
RM
82172014-02-22 Roland McGrath <roland@hack.frob.com>
8218
d4ec6ae1
RM
8219 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8220 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8221 Versions files is now verboten.
8222 * hurd/Versions (libc: GLIBC_2.0):
8223 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8224 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8225 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8226 * mach/Versions: Likewise.
8227
098ad55c
RM
8228 * csu/Versions: Remove unused %include.
8229 * resolv/Versions: Likewise.
8230
acd7f096
JM
82312014-02-21 Joseph Myers <joseph@codesourcery.com>
8232
f0881698
JM
8233 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8234 ($(objpfx)check-local-headers.out): Likewise.
8235 ($(objpfx)begin-end-check.out): Likewise.
8236 * Makerules (check-abi-%.out): Likewise.
8237 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8238 ($(objpfx)test2.cat): Likewise.
8239 ($(objpfx)de/libc.cat): Likewise.
8240 ($(objpfx)test-gencat.out): Likewise.
8241 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8242 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8243 ($(objpfx)noload-mem): Likewise.
8244 ($(objpfx)tst-pathopt.out): Likewise.
8245 ($(objpfx)tst-rtld-load-self.out): Likewise.
8246 ($(objpfx)tst-array1-cmp.out): Likewise.
8247 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8248 ($(objpfx)tst-array2-cmp.out): Likewise.
8249 ($(objpfx)tst-array3-cmp.out): Likewise.
8250 ($(objpfx)tst-array4-cmp.out): Likewise.
8251 ($(objpfx)tst-array5-cmp.out): Likewise.
8252 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8253 ($(objpfx)check-textrel.out): Likewise.
8254 ($(objpfx)check-execstack.out): Likewise.
8255 ($(objpfx)check-localplt.out): Likewise.
8256 ($(objpfx)order2-cmp.out): Likewise.
8257 ($(objpfx)tst-leaks1-mem): Likewise.
8258 ($(objpfx)tst-leaks1-static-mem): Likewise.
8259 ($(objpfx)tst-initorder-cmp.out): Likewise.
8260 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8261 ($(objpfx)tst-unused-dep.out): Likewise.
8262 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8263 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8264 * iconv/Makefile (test-iconvconfig): Likewise.
8265 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8266 ($(objpfx)iconv-test.out): Likewise.
8267 ($(objpfx)tst-tables.out): Likewise.
8268 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8269 ($(objpfx)tst-gettext.out): Likewise.
8270 ($(objpfx)tst-translit.out): Likewise.
8271 ($(objpfx)tst-gettext2.out): Likewise.
8272 ($(objpfx)tst-gettext4.out): Likewise.
8273 ($(objpfx)tst-gettext6.out): Likewise.
8274 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8275 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8276 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8277 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8278 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8279 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8280 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8281 ($(objpfx)wordexp-tst.out): Likewise.
8282 ($(objpfx)annexc.out): Likewise.
8283 ($(objpfx)tst-fnmatch-mem): Likewise.
8284 ($(objpfx)bug-regex2-mem): Likewise.
8285 ($(objpfx)bug-regex14-mem): Likewise.
8286 ($(objpfx)bug-regex21-mem): Likewise.
8287 ($(objpfx)bug-regex31-mem): Likewise.
8288 ($(objpfx)tst-vfork3-mem): Likewise.
8289 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8290 ($(objpfx)tst-pcre-mem): Likewise.
8291 ($(objpfx)tst-boost-mem): Likewise.
8292 ($(objpfx)tst-getconf.out): Likewise.
8293 ($(objpfx)bug-ga2-mem): Likewise.
8294 ($(objpfx)bug-glob2-mem): Likewise.
8295 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8296 ($(objpfx)mtrace-tst-leaks2): Likewise.
8297 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8298 ($(objpfx)tst-printf.out): Likewise.
8299 ($(objpfx)tst-setvbuf1.out): Likewise.
8300 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8301 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8302 ($(objpfx)tst-fmtmsg.out): Likewise.
8303 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8304 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8305
acd7f096
JM
8306 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8307 * bits/sigaction.h [__USE_MISC]: Likewise.
8308 * bits/waitstatus.h: Update #endif comments.
8309 * ctype/ctype.h: Likewise.
8310 * dirent/dirent.h: Likewise.
8311 [__USE_MISC]: Remove redundant conditionals.
8312 * grp/grp.h: Update #endif comments.
8313 [__USE_GNU]: Remove redundant conditionals.
8314 [__USE_MISC]: Likewise.
8315 * inet/netinet/in.h [__USE_GNU]: Likewise.
8316 * io/sys/stat.h [__USE_MISC]: Likewise.
8317 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8318 * libio/bits/stdio.h: Update #endif comments.
8319 [__USE_MISC]: Remove redundant conditionals.
8320 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8321 * libio/stdio.h: Update #endif comments.
8322 [__USE_MISC]: Remove redundant conditionals.
8323 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8324 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8325 * math/math.h: Update #else and #endif comments.
8326 [__USE_MISC]: Remove redundant conditionals.
8327 * misc/sys/uio.h: Update #endif comments.
8328 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8329 * posix/glob.h [__USE_MISC]: Likewise.
8330 * posix/sys/types.h: Update #endif comments.
8331 [__USE_MISC]: Remove redundant conditionals.
8332 * posix/sys/wait.h: Update #endif comments.
8333 [__USE_MISC]: Remove redundant conditionals.
8334 * posix/unistd.h: Update #endif comments.
8335 [__USE_MISC]: Remove redundant conditionals.
8336 * pwd/pwd.h [__USE_GNU]: Likewise.
8337 [__USE_MISC]: Likewise.
8338 * resolv/netdb.h [__USE_GNU]: Likewise.
8339 * signal/signal.h: Update #endif comments.
8340 [__USE_MISC]: Remove redundant conditionals.
8341 * stdlib/stdlib.h: Update #else and #endif comments.
8342 [__USE_MISC]: Remove redundant conditionals.
8343 [__USE_GNU]: Likewise.
8344 * string/bits/string2.h [__USE_MISC]: Likewise.
8345 * string/string.h: Update #endif comments.
8346 [__USE_MISC]: Remove redundant conditionals.
8347 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8348 Likewise.
8349 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8350 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8351 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8352 Likewise.
8353 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8354 Likewise.
8355 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8356 comments.
8357 [__USE_MISC]: Remove redundant conditionals.
8358 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8359 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8360 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8361 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8362 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8363 Likewise.
8364 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8365 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8366 Likewise.
8367 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8368 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8369 Likewise.
8370 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8371 Likewise.
8372 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8373 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8374 Likewise.
8375 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8376 Likewise.
8377 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8378 * sysdeps/x86/bits/string.h: Update #endif comments.
8379 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8380 conditionals.
8381 * time/sys/time.h: Update #endif comments.
8382 * time/time.h: Likewise.
8383 [__USE_MISC]: Remove redundant conditionals.
8384
a5d82e4e
YG
83852014-02-21 Yury Gribov <y.gribov@samsung.com>
8386
8387 [BZ #16600]
8388 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8389
9a80491d
AS
83902014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8391
8392 * Versions.def (librt): Add GLIBC_2.17.
8393
105fa381
AC
83942014-02-21 Adam Conrad <adconrad@0c3.net>
8395
8396 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8397 synonym for _SYS_AUXV_H to allow direct inclusion.
8398 * sysdeps/sparc/bits/hwcap.h: Likewise.
8399 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8400 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8401 * sysdeps/sparc/sysdep.h: Likewise.
8402
b8cd1c4e
SP
84032014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8404
8405 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8406
bd939d23
RS
84072014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8408
8409 * benchtests/bench-strrchr.c: Print length instead of position.
8410
5d7b57ca
JM
84112014-02-20 Joseph Myers <joseph@codesourcery.com>
8412
bc688c10
JM
8413 [BZ #16611]
8414 * sysdeps/unix/sysv/linux/kernel-features.h
8415 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8416 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8417 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8418 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8419 Likewise.
8420 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8421 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8422 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8423 (__ASSUME_SENDMMSG): Define instead of using previous
8424 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8425 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8426 (__ASSUME_SENDMMSG_SYSCALL): Define.
8427 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8428 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8429 Likewise.
8430 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8431 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8432 Likewise.
8433 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8434 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8435 Likewise.
8436 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8437 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8438 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8439 [__ASSUME_SENDMMSG]: Change conditionals to
8440 [__ASSUME_SENDMMSG_SOCKETCALL].
8441 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8442 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8443 Define.
8444 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8445 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8446 Likewise.
8447 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8448 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8449 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8450 [!__ASSUME_SENDMMSG]: Change conditional to
8451 [!__ASSUME_SENDMMSG_SOCKETCALL].
8452 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8453 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8454 Define.
8455
0e31b18c
JM
8456 [BZ #16610]
8457 * sysdeps/unix/sysv/linux/kernel-features.h
8458 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8459 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8460 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8461 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8462 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8463 [__i386__ || __sparc__]
8464 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8465 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8466 (__ASSUME_RECVMMSG): Define instead of using previous
8467 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8468 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8469 (__ASSUME_RECVMMSG_SYSCALL): Define.
8470 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8471 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8472 Likewise.
8473 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8474 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8475 Likewise.
8476 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8477 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8478 Likewise.
8479 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8480 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8481 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8482 [__ASSUME_RECVMMSG]: Change condition to
8483 [__ASSUME_RECVMMSG_SOCKETCALL].
8484 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8485 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8486 Define.
8487 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8488 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8489 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8490 Likewise.
8491 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8492 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8493 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8494 [!__ASSUME_RECVMMSG]: Change condition to
8495 [!__ASSUME_RECVMMSG_SOCKETCALL].
8496 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8497 (__ASSUME_RECVMMSG_SYSCALL): Define.
8498
dd481ccf
JM
8499 [BZ #16609]
8500 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8501 __powerpc__ || __s390__ || __sh__ || __sparc__]
8502 (__ASSUME_SOCKETCALL): Define.
8503 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8504 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8505 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8506 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8507 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8508 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8509 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8510 (__ASSUME_ACCEPT4): Define instead of using previous
8511 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8512 __powerpc__ || __sparc__ || __s390__)] condition.
8513 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8514 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8515 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8516 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8517 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8518 [!__ASSUME_ACCEPT4]: Change condition to
8519 [!__ASSUME_ACCEPT4_SOCKETCALL].
8520 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8521 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8522 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8523 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8524 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8525 __ASSUME_ACCEPT4_SYSCALL.
8526 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8527 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8528 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8529 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8530 __ASSUME_ACCEPT4_SYSCALL.
8531 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8532 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8533 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8534 [__ASSUME_ACCEPT4]: Change condition to
8535 [__ASSUME_ACCEPT4_SOCKETCALL].
8536 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8537 (__ASSUME_SOCKETCALL): Define.
8538 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8539 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8540 (__ASSUME_SOCKETCALL): Define.
8541 (__ASSUME_ACCEPT4): Remove.
8542 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8543 Define.
8544 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8545 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8546 Likewise.
8547 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8548 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8549
5d7b57ca
JM
8550 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8551 macro.
8552 (HWCAP_ARM_LPAE): Likewise.
8553 (HWCAP_ARM_EVTSTRM): Likewise.
8554 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8555 Add vpfd32, lpae and evtstrm.
8556 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8557 Increase to 22.
8558
63689d61
JM
85592014-02-19 Joseph Myers <joseph@codesourcery.com>
8560
8561 * math/auto-libm-test-in: Add tests of clog10.
8562 * math/auto-libm-test-out: Regenerated.
8563 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8564 * sysdeps/i386/fpu/libm-test-ulps: Update.
8565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8566
ab09bf61
AS
85672014-02-18 Andreas Schwab <schwab@suse.de>
8568
8569 [BZ #16574]
8570 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8571 Store non-zero if the second buffer was newly allocated.
8572 (send_dg): Likewise.
8573 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8574 to send_vc and send_dg.
8575 (res_nsend): Pass NULL for ansp2_malloced.
8576 * resolv/res_query.c (__libc_res_nquery): Add parameter
8577 answerp2_malloced and pass it down to __libc_res_nsend.
8578 (res_nquery): Pass additional NULL to __libc_res_nquery.
8579 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8580 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8581 second answer buffer if answerp2_malloced was set.
8582 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8583 (__libc_res_nquerydomain): Add parameter
8584 answerp2_malloced and pass it down to __libc_res_nquery.
8585 (res_nquerydomain): Pass additional NULL to
8586 __libc_res_nquerydomain.
8587 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8588 additional NULL to __libc_res_nsend and __libc_res_nquery.
8589 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8590 additional NULL to __libc_res_nsearch.
8591 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8592 parameter of __libc_res_nsearch to check for separately allocated
8593 second buffer.
8594 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8595 __libc_res_nquery.
8596 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8597 additional NULL to __libc_res_nquery.
8598 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8599 __libc_res_nsearch.
8600 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8601 * include/resolv.h: Update prototypes of __libc_res_nquery,
8602 __libc_res_nsearch, __libc_res_nsend.
8603
a4fb7861
JM
86042014-02-18 Joseph Myers <joseph@codesourcery.com>
8605
c6af2d89
JM
8606 * math/auto-libm-test-in: Add tests of fma.
8607 * math/auto-libm-test-out: Regenerated.
8608 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8609 (fma_towardzero_test_data): Likewise.
8610 (fma_downward_test_data): Likewise.
8611 (fma_upward_test_data): Likewise.
8612 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8613 mpc_mode.
8614 (rounding_modes): Add values for new field.
8615 (func_calc_method): Add value mpfr_fff_f.
8616 (func_calc_desc): Add mpfr_fff_f union field.
8617 (test_function): Add field exact_args.
8618 (FUNC): Add macro argument EXACT_ARGS.
8619 (FUNC_mpfr_f_f): Update call to FUNC.
8620 (FUNC_mpfr_f_f): Likewise.
8621 (FUNC_mpfr_ff_f): Likewise.
8622 (FUNC_mpfr_if_f): Likewise.
8623 (FUNC_mpc_c_f): Likewise.
8624 (FUNC_mpc_c_c): Likewise.
8625 (test_functions): Add fma. Update calls to FUNC.
8626 (handle_input_arg): Add argument exact_args.
8627 (add_test): Update call to handle_input_arg.
8628 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8629 (output_for_one_input_case): Update call to calc_generic_results.
8630 Recalculate exact zero results in each rounding mode.
8631
a4fb7861
JM
8632 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8633 non-negative before setting low bit.
8634 * math/auto-libm-test-in: Mark one asin test possibly having
8635 spurious underflow.
8636 * math/auto-libm-test-out: Regenerated.
8637 * sysdeps/i386/fpu/libm-test-ulps: Update.
8638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8639
ef114eaf
DH
86402014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8641
2b7f4f2c
SP
8642 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8643 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8644 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
8645 * README: Add missing listing for microblaze*-*-linux-gnu.
8646
c70a4b1d
MF
86472014-02-16 Mike Frysinger <vapier@gentoo.org>
8648
8649 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8650 * sysdeps/unix/sysv/linux/ia64: Move directory from
8651 ports/sysdeps/unix/sysv/linux/ia64.
8652 * README: Update listing for ia64-*-linux-gnu.
8653
591aeaf7
TD
86542014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8655 Joseph Myers <joseph@codesourcery.com>
8656
8657 * Makeconfig (test-name): New variable.
8658 (evaluate-test): Likewise.
8659 * Makerules (do-test-clean): Remove .test-result files.
8660 (common-mostlyclean): Likewise.
8661 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8662 * scripts/evaluate-test.sh: New file.
8663
6e89caf1
JM
86642014-02-14 Joseph Myers <joseph@codesourcery.com>
8665
7f98f180
JM
8666 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8667 separate $(objpfx)tst-fopenloc-cmp.out and
8668 $(objpfx)tst-fopenloc-mem.out targets.
8669 (tests): Update dependencies.
8670 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8671 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8672 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8673 (tst-rxspencer-no-utf8-ARGS): New variable.
8674 (tst-rxspencer-no-utf8-ENV): Likewise.
8675 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8676 instead of $(objpfx)tst-rxspencer-mem.
8677 ($(objpfx)tst-rxspencer-mem): Change target to
8678 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8679 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8680 * posix/tst-rxspencer-no-utf8.c: New file.
8681
6e89caf1
JM
8682 * elf/Makefile ($(objpfx)order.out): Remove rule.
8683 [$(run-built-tests) = yes] (tests): Depend on
8684 $(objpfx)order-cmp.out.
8685 ($(objpfx)order-cmp.out): New rule.
8686 [$(run-built-tests) = yes] (tests): Depend on
8687 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8688 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8689 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8690 $(objpfx)tst-array5-static-cmp.out.
8691 ($(objpfx)tst-array1.out): Remove rule.
8692 ($(objpfx)tst-array1-cmp.out): New rule.
8693 ($(objpfx)tst-array1-static.out): Remove rule.
8694 ($(objpfx)tst-array1-static-cmp.out): New rule.
8695 ($(objpfx)tst-array2.out): Remove rule.
8696 ($(objpfx)tst-array2-cmp.out): New rule.
8697 ($(objpfx)tst-array3.out): Remove rule.
8698 ($(objpfx)tst-array3-cmp.out): New rule.
8699 ($(objpfx)tst-array4.out): Remove rule.
8700 ($(objpfx)tst-array4-cmp.out): New rule.
8701 ($(objpfx)tst-array5.out): Remove rule.
8702 ($(objpfx)tst-array5-cmp.out): New rule.
8703 ($(objpfx)tst-array5-static.out): Remove rule.
8704 ($(objpfx)tst-array5-static-cmp.out): New rule.
8705 [$(run-built-tests) = yes] (tests): Depend on
8706 $(objpfx)order2-cmp.out.
8707 ($(objpfx)order2.out): Remove rule.
8708 ($(objpfx)order2-cmp.out): New rule.
8709 ($(objpfx)tst-initorder.out): Remove rule.
8710 [$(run-built-tests) = yes] (tests): Depend on
8711 $(objpfx)tst-initorder-cmp.out.
8712 ($(objpfx)tst-initorder-cmp.out): New rule.
8713 ($(objpfx)tst-initorder2.out): Remove rule.
8714 [$(run-built-tests) = yes] (tests): Depend on
8715 $(objpfx)tst-initorder2-cmp.out.
8716 ($(objpfx)tst-initorder2-cmp.out): New rule.
8717 [$(run-built-tests) = yes] (tests): Depend on
8718 $(objpfx)tst-unused-dep-cmp.out.
8719 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8720 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8721 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8722 on $(objpfx)tst-setvbuf1-cmp.out.
8723 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8724 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8725 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8726 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8727 ($(objpfx)tst-svc.out): Remove rule.
8728 ($(objpfx)tst-svc-cmp.out): New rule.
8729
ed9a38e2
JM
87302014-02-13 Joseph Myers <joseph@codesourcery.com>
8731
8732 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8733 * ctype/ctype.h [__USE_MISC]: Likewise.
8734 * dirent/dirent.h [__USE_MISC]: Likewise.
8735 * grp/grp.h [__USE_MISC]: Likewise.
8736 * io/fcntl.h [__USE_MISC]: Likewise.
8737 * io/sys/stat.h [__USE_MISC]: Likewise.
8738 * libio/stdio.h [__USE_MISC]: Likewise.
8739 * posix/unistd.h [__USE_MISC]: Likewise.
8740 * pwd/pwd.h [__USE_MISC]: Likewise.
8741 * stdlib.h [__USE_MISC]: Likewise.
8742 * string/bits/string2.h [__USE_MISC]: Likewise.
8743 * string/string.h [__USE_MISC]: Likewise.
8744 * time/time.h [__USE_MISC]: Likewise.
8745
d6680619
AS
87462014-02-13 Andreas Schwab <schwab@suse.de>
8747
8748 [BZ #16574]
8749 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8750 second answer buffer if it was separately allocated.
8751
ace614b8
JM
87522014-02-12 Joseph Myers <joseph@codesourcery.com>
8753
743151ae
JM
8754 * sysdeps/mips/math-tests.h: Include <features.h>.
8755 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8756 (ROUNDING_TESTS_long_double): Do not define.
8757 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8758 (EXCEPTION_TESTS_long_double): Likewise.
8759 * sysdeps/mips/mips64/libm-test-ulps: Update.
8760
498afc54
JM
8761 * include/features.h (__USE_BSD): Remove macro definitions.
8762 (__USE_SVID): Likewise.
8763 (_BSD_SOURCE): Likewise.
8764 (_SVID_SOURCE): Likewise.
8765 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8766 from definition of _DEFAULT_SOURCE.
8767 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8768 [_DEFAULT_SOURCE].
8769 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8770 * bits/mman.h [__USE_BSD]: Likewise.
8771 * bits/termios.h [__USE_BSD]: Likewise.
8772 * bits/waitstatus.h [__USE_BSD]: Likewise.
8773 * ctype/ctype.h [__USE_SVID]: Likewise.
8774 * dirent/dirent.h [__USE_BSD]: Likewise.
8775 * grp/grp.h [__USE_SVID]: Likewise.
8776 [__USE_BSD]: Likewise.
8777 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8778 * io/fcntl.h [__USE_BSD]: Likewise.
8779 * io/ftw.h [__USE_BSD]: Likewise.
8780 * io/sys/stat.h [__USE_BSD]: Likewise.
8781 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8782 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8783 * libio/stdio.h [__USE_SVID]: Likewise.
8784 [__USE_BSD]: Likewise.
8785 * math/math.h [__USE_SVID]: Likewise.
8786 [__USE_BSD]: Likewise.
8787 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8788 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8789 * misc/search.h [__USE_SVID]: Likewise.
8790 * misc/sys/mman.h [__USE_BSD]: Likewise.
8791 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8792 * misc/sys/uio.h [__USE_BSD]: Likewise.
8793 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8794 * posix/glob.h [__USE_BSD]: Likewise.
8795 * posix/regex.h [__USE_BSD]: Likewise.
8796 * posix/sys/types.h [__USE_BSD]: Likewise.
8797 [__USE_SVID]: Likewise.
8798 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8799 * posix/sys/wait.h [__USE_BSD]: Likewise.
8800 [__USE_SVID]: Likewise.
8801 * posix/unistd.h [__USE_BSD]: Likewise.
8802 [__USE_SVID]: Likewise.
8803 * pwd/pwd.h [__USE_SVID]: Likewise.
8804 * resolv/netdb.h [__USE_BSD]: Likewise.
8805 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8806 * signal/signal.h [__USE_BSD]: Likewise.
8807 [__USE_SVID]: Likewise.
8808 * socket/sys/socket.h [__USE_BSD]: Likewise.
8809 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8810 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8811 [__USE_SVID]: Likewise.
8812 * string/bits/string2.h [__USE_BSD]: Likewise.
8813 [__USE_SVID]: Likewise.
8814 * string/bits/string3.h [__USE_BSD]: Likewise.
8815 * string/endian.h [__USE_BSD]: Likewise.
8816 * string/string.h [__USE_SVID]: Likewise.
8817 [__USE_BSD]: Likewise.
8818 * string/strings.h [__USE_BSD]: Likewise.
8819 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8820 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8821 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8822 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8823 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8824 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8825 Likewise.
8826 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8827 Likewise.
8828 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8829 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8830 Likewise.
8831 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8832 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8833 Likewise.
8834 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8835 Likewise.
8836 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8837 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8838 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8839 Likewise.
8840 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8841 Likewise.
8842 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8843 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8844 * termios/termios.h [__USE_BSD]: Likewise.
8845 * time/sys/time.h [__USE_BSD]: Likewise.
8846 * time/time.h [__USE_BSD]: Likewise.
8847 [__USE_SVID]: Likewise.
8848
dd7b064c
JM
8849 * Makefile (subdir_targets): Remove subdir_lint.out.
8850
a2c4c199
JM
8851 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8852 (do-tst-printf): Likewise.
8853 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8854 $(objpfx)tst-printf.out.
8855
8756f740
JM
8856 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8857
1b6dd3f1
JM
8858 * Makerules (check-abi-%): Change target to
8859 $(objpfx)check-abi-%.out.
8860 (check-abi target): Update dependencies.
8861 (check-abi-pattern variable): Redirect output of diff to $@.
8862 (check-abi variable): Likewise.
8863 * elf/Makefile (check-abi): Update dependencies.
8864
ace614b8
JM
8865 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8866 unused.
8867 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8868 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8869 subnormal range.
8870 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8871 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8872 value has largest subnormal exponent.
8873 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8874 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8875 * sysdeps/aarch64/soft-fp/sfp-machine.h
8876 (_FP_TININESS_AFTER_ROUNDING): New macro.
8877 * sysdeps/alpha/soft-fp/sfp-machine.h
8878 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8879 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8880 Likewise.
8881 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8882 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8883 * sysdeps/mips/soft-fp/sfp-machine.h
8884 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8885 * sysdeps/powerpc/soft-fp/sfp-machine.h
8886 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8887 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8888 Likewise.
8889 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8890 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8891 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8892 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8893 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8894 Likewise.
8895
fbfdf9cb
DAS
88962014-02-12 Dylan Alex Simon <dylan@dylex.net>
8897
8898 [BZ #16545]
8899 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8900 model 1.
8901
68b7efaa
RH
89022014-02-12 Richard Henderson <rth@redhat.com>
8903
c70a4b1d 8904 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
8905 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8906 * sysdeps/unix/sysv/linux/alpha: Move directory from
8907 ports/sysdeps/unix/sysv/linux/alpha.
8908 * README: Update listing for alpha-*-linux-gnu.
8909
cb4a2928
JM
89102014-02-11 Joseph Myers <joseph@codesourcery.com>
8911
c941736c
JM
8912 * include/features.h: Update comment documenting feature test
8913 macros.
8914 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8915 _DEFAULT_SOURCE.
8916 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8917 (_SVID_SOURCE): Likewise.
8918 (_DEFAULT_SOURCE): Update description of default features.
8919 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8920 with _GNU_SOURCE.
8921 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8922 (S_ISVTX): Likewise.
8923 * manual/math.texi (Mathematical Constants): Likewise.
8924 * manual/signal.texi (Interrupted Primitives): Likewise.
8925 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8926 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8927 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8928 Don't refer to _SVID_SOURCE in warning text.
8929
e8d8d7ec
JM
8930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8931
cb4a2928
JM
8932 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8933 already defined.
8934 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8935 * sysdeps/mips/dl-lookup.c: Remove.
8936 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8937
7e6424e3
AK
89382014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8939
8940 [BZ #16447]
8941 * math/auto-libm-test-in: Add testcase for expl.
8942 * math/auto-libm-test-out: Regenerate.
8943 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8944 calculation of unsafe.
8945 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8946
75eff3fe
MS
89472014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8948
8949 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8950 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8951 ports/sysdeps/unix/sysv/linux/aarch64.
8952 * README: Update listing for aarch64*-*-linux-gnu.
8953
d35f1e80
WN
89542014-02-11 Will Newton <will.newton@linaro.org>
8955
8956 * manual/probes.texi (Mathematical Function Probes): Use
8957 "triggered" instead of "hit".
8958
7b3436d4
WN
8959 * manual/probes.texi (Internal Probes): Add documentation
8960 of setjmp, longjmp and longjmp_target probes.
8961
b4f12ca3
WN
8962 * include/stap-probe.h: Add comment about probe argument
8963 format.
8964
c13a72b7
WN
8965 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8966 definition. (tr_where, tr_freehook, tr_mallochook,
8967 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8968
195b8165
DM
89692014-02-11 David S. Miller <davem@davemloft.net>
8970
8971 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8972 processing int_tests.
8973
2ad7600b
JM
89742014-02-10 Joseph Myers <joseph@codesourcery.com>
8975
8976 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8977 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8978 * sysdeps/unix/sysv/linux/mips: Move directory from
8979 ports/sysdeps/unix/sysv/linux/mips.
8980 * README: Update listing for mips-*-linux-gnu and
8981 mips64-*-linux-gnu.
8982
73588a72
AS
89832014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8984
8985 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8986 * sysdeps/unix/sysv/linux/m68k: Move directory from
8987 ports/sysdeps/unix/sysv/linux/m68k.
8988 * README: Update listing for m68k-*-linux-gnu.
8989
4372980f
CM
89902014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8991
8992 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8993 * sysdeps/unix/sysv/linux/generic: Move directory from
8994 ports/sysdeps/unix/sysv/linux/generic.
8995 * sysdeps/unix/sysv/linux/tile: Move directory from
8996 ports/sysdeps/unix/sysv/linux/tile.
8997 * README: Update listing for tile*-*-linux-gnu.
8998
a1ffb40e
OB
89992014-02-10 Ondřej Bílka <neleai@seznam.cz>
9000
57f41c40
AS
9001 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9002 __builtin_expect.
a1ffb40e
OB
9003 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9004 * catgets/open_catalog.c (__open_catalog): Likewise.
9005 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9006 * debug/confstr_chk.c: Likewise.
9007 * debug/fread_chk.c (__fread_chk): Likewise.
9008 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9009 * debug/getgroups_chk.c: Likewise.
9010 * debug/mbsnrtowcs_chk.c: Likewise.
9011 * debug/mbsrtowcs_chk.c: Likewise.
9012 * debug/mbstowcs_chk.c: Likewise.
9013 * debug/memcpy_chk.c: Likewise.
9014 * debug/memmove_chk.c: Likewise.
9015 * debug/mempcpy_chk.c: Likewise.
9016 * debug/memset_chk.c: Likewise.
9017 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9018 * debug/strcat_chk.c (__strcat_chk): Likewise.
9019 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9020 * debug/strncat_chk.c (__strncat_chk): Likewise.
9021 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9022 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9023 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9024 * debug/wcpncpy_chk.c: Likewise.
9025 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9026 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9027 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9028 * debug/wcsncpy_chk.c: Likewise.
9029 * debug/wcsnrtombs_chk.c: Likewise.
9030 * debug/wcsrtombs_chk.c: Likewise.
9031 * debug/wcstombs_chk.c: Likewise.
9032 * debug/wmemcpy_chk.c: Likewise.
9033 * debug/wmemmove_chk.c: Likewise.
9034 * debug/wmempcpy_chk.c: Likewise.
9035 * debug/wmemset_chk.c: Likewise.
9036 * dirent/scandirat.c (SCANDIRAT): Likewise.
9037 * dlfcn/dladdr1.c (dladdr1): Likewise.
9038 * dlfcn/dladdr.c (dladdr): Likewise.
9039 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9040 * dlfcn/dlerror.c (__dlerror): Likewise.
9041 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9042 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9043 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9044 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9045 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9046 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9047 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9048 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9049 Likewise.
9050 * elf/dl-conflict.c: Likewise.
9051 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9052 * elf/dl-dst.h: Likewise.
9053 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9054 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9055 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9056 * elf/dl-init.c (call_init, _dl_init): Likewise.
9057 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
9058 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9059 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9060 Likewise.
a1ffb40e
OB
9061 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9062 Likewise.
9063 * elf/dl-minimal.c (__libc_memalign): Likewise.
9064 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9065 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9066 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9067 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
9068 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9069 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
9070 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9071 * elf/dl-writev.h (_dl_writev): Likewise.
9072 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
9073 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9074 (dl_main): Likewise.
a1ffb40e
OB
9075 * elf/setup-vdso.h (setup_vdso): Likewise.
9076 * grp/compat-initgroups.c (compat_call): Likewise.
9077 * grp/fgetgrent.c (fgetgrent): Likewise.
9078 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9079 * grp/putgrent.c (putgrent): Likewise.
9080 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9081 Likewise.
9082 * hurd/hurdinit.c: Likewise.
9083 * iconvdata/8bit-gap.c (struct): Likewise.
9084 * iconvdata/ansi_x3.110.c : Likewise.
9085 * iconvdata/big5.c : Likewise.
9086 * iconvdata/big5hkscs.c : Likewise.
9087 * iconvdata/cp1255.c: Likewise.
9088 * iconvdata/cp1258.c : Likewise.
9089 * iconvdata/cp932.c : Likewise.
9090 * iconvdata/euc-cn.c: Likewise.
9091 * iconvdata/euc-jisx0213.c : Likewise.
9092 * iconvdata/euc-jp.c: Likewise.
9093 * iconvdata/euc-jp-ms.c : Likewise.
9094 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9095 * iconvdata/gb18030.c : Likewise.
9096 * iconvdata/gbbig5.c (const): Likewise.
9097 * iconvdata/gbgbk.c: Likewise.
9098 * iconvdata/gbk.c : Likewise.
9099 * iconvdata/ibm1364.c : Likewise.
9100 * iconvdata/ibm930.c : Likewise.
9101 * iconvdata/ibm932.c: Likewise.
9102 * iconvdata/ibm933.c : Likewise.
9103 * iconvdata/ibm935.c : Likewise.
9104 * iconvdata/ibm937.c : Likewise.
9105 * iconvdata/ibm939.c : Likewise.
9106 * iconvdata/ibm943.c: Likewise.
9107 * iconvdata/iso_11548-1.c: Likewise.
9108 * iconvdata/iso-2022-cn.c : Likewise.
9109 * iconvdata/iso-2022-cn-ext.c : Likewise.
9110 * iconvdata/iso-2022-jp-3.c: Likewise.
9111 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9112 * iconvdata/iso-2022-kr.c : Likewise.
9113 * iconvdata/iso646.c (gconv_end): Likewise.
9114 * iconvdata/iso_6937-2.c : Likewise.
9115 * iconvdata/iso_6937.c : Likewise.
9116 * iconvdata/iso8859-1.c: Likewise.
9117 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9118 * iconvdata/shift_jisx0213.c : Likewise.
9119 * iconvdata/sjis.c : Likewise.
9120 * iconvdata/t.61.c : Likewise.
9121 * iconvdata/tcvn5712-1.c : Likewise.
9122 * iconvdata/tscii.c: Likewise.
9123 * iconvdata/uhc.c : Likewise.
9124 * iconvdata/unicode.c (gconv_end): Likewise.
9125 * iconvdata/utf-16.c (gconv_end): Likewise.
9126 * iconvdata/utf-32.c (gconv_end): Likewise.
9127 * iconvdata/utf-7.c (base64): Likewise.
9128 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9129 * iconv/gconv_close.c (__gconv_close): Likewise.
9130 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
9131 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9132 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9133 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9134 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9135 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
9136 * iconv/iconv.c (iconv): Likewise.
9137 * iconv/iconv_close.c: Likewise.
9138 * iconv/loop.c (SINGLE): Likewise.
9139 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9140 * include/atomic.h: Likewise.
9141 * inet/inet6_option.c (option_alloc): Likewise.
9142 * intl/bindtextdom.c (set_binding_values): Likewise.
9143 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9144 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9145 * intl/localealias.c (read_alias_file): Likewise.
9146 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
9147 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9148 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
9149 * libio/fmemopen.c (fmemopen): Likewise.
9150 * libio/iofgets.c (_IO_fgets): Likewise.
9151 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9152 * libio/iofgetws.c (fgetws): Likewise.
9153 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9154 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
9155 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9156 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
9157 * locale/findlocale.c (_nl_find_locale): Likewise.
9158 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9159 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9160 Likewise.
9161 * locale/setlocale.c (setlocale): Likewise.
9162 * login/programs/pt_chown.c (main): Likewise.
9163 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9164 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
9165 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9166 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
9167 * math/e_exp2l.c: Likewise.
9168 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9169 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9170 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9171 * math/s_catan.c (__catan): Likewise.
9172 * math/s_catanf.c (__catanf): Likewise.
9173 * math/s_catanh.c (__catanh): Likewise.
9174 * math/s_catanhf.c (__catanhf): Likewise.
9175 * math/s_catanhl.c (__catanhl): Likewise.
9176 * math/s_catanl.c (__catanl): Likewise.
9177 * math/s_ccosh.c (__ccosh): Likewise.
9178 * math/s_ccoshf.c (__ccoshf): Likewise.
9179 * math/s_ccoshl.c (__ccoshl): Likewise.
9180 * math/s_cexp.c (__cexp): Likewise.
9181 * math/s_cexpf.c (__cexpf): Likewise.
9182 * math/s_cexpl.c (__cexpl): Likewise.
9183 * math/s_clog10.c (__clog10): Likewise.
9184 * math/s_clog10f.c (__clog10f): Likewise.
9185 * math/s_clog10l.c (__clog10l): Likewise.
9186 * math/s_clog.c (__clog): Likewise.
9187 * math/s_clogf.c (__clogf): Likewise.
9188 * math/s_clogl.c (__clogl): Likewise.
9189 * math/s_csin.c (__csin): Likewise.
9190 * math/s_csinf.c (__csinf): Likewise.
9191 * math/s_csinh.c (__csinh): Likewise.
9192 * math/s_csinhf.c (__csinhf): Likewise.
9193 * math/s_csinhl.c (__csinhl): Likewise.
9194 * math/s_csinl.c (__csinl): Likewise.
9195 * math/s_csqrt.c (__csqrt): Likewise.
9196 * math/s_csqrtf.c (__csqrtf): Likewise.
9197 * math/s_csqrtl.c (__csqrtl): Likewise.
9198 * math/s_ctan.c (__ctan): Likewise.
9199 * math/s_ctanf.c (__ctanf): Likewise.
9200 * math/s_ctanh.c (__ctanh): Likewise.
9201 * math/s_ctanhf.c (__ctanhf): Likewise.
9202 * math/s_ctanhl.c (__ctanhl): Likewise.
9203 * math/s_ctanl.c (__ctanl): Likewise.
9204 * math/w_pow.c: Likewise.
9205 * math/w_powf.c: Likewise.
9206 * math/w_powl.c: Likewise.
9207 * math/w_scalb.c (sysv_scalb): Likewise.
9208 * math/w_scalbf.c (sysv_scalbf): Likewise.
9209 * math/w_scalbl.c (sysv_scalbl): Likewise.
9210 * misc/error.c (error_tail): Likewise.
9211 * misc/pselect.c (__pselect): Likewise.
9212 * nis/nis_callback.c (__nis_create_callback): Likewise.
9213 * nis/nis_call.c (__nisfind_server): Likewise.
9214 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9215 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9216 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9217 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9218 * nis/nis_lookup.c (nis_lookup): Likewise.
9219 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
9220 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9221 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 9222 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
9223 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9224 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9225 * nis/nss_compat/compat-initgroups.c (add_group)
9226 (internal_getgrent_r): Likewise.
9227 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9228 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9229 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9230 (internal_getspnam_r): Likewise.
9231 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9232 (_nss_nis_getaliasbyname_r): Likewise.
9233 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9234 (_nss_nis_getntohost_r): Likewise.
9235 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9236 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9237 (_nss_nis_getgrgid_r): Likewise.
9238 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9239 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9240 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9241 (_nss_nis_gethostbyname4_r): Likewise.
9242 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9243 (initgroups_netid): Likewise.
a1ffb40e 9244 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
9245 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9246 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9247 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9248 (_nss_nis_getprotobynumber_r): Likewise.
9249 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9250 (_nss_nis_getsecretkey): Likewise.
9251 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9252 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9253 (_nss_nis_getpwuid_r): Likewise.
9254 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9255 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9256 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9257 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9258 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9259 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
9260 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9261 Likewise.
57f41c40
AS
9262 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9263 (_nss_nisplus_getntohost_r): Likewise.
9264 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9265 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9266 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9267 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 9268 Likewise.
57f41c40
AS
9269 * nis/nss_nisplus/nisplus-initgroups.c
9270 (_nss_nisplus_initgroups_dyn): Likewise.
9271 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9272 (_nss_nisplus_getnetbyaddr_r): Likewise.
9273 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9274 (_nss_nisplus_getprotobynumber_r): Likewise.
9275 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9276 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
9277 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9278 Likewise.
57f41c40
AS
9279 * nis/nss_nisplus/nisplus-service.c
9280 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9281 (_nss_nisplus_getservbyport_r): Likewise.
9282 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9283 (_nss_nisplus_getspnam_r): Likewise.
9284 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9285 Likewise.
a1ffb40e
OB
9286 * nscd/aicache.c (addhstaiX): Likewise.
9287 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
9288 * nscd/connections.c (register_traced_file, send_ro_fd)
9289 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9290 (main_loop_epoll): Likewise.
a1ffb40e
OB
9291 * nscd/grpcache.c (addgrbyX): Likewise.
9292 * nscd/hstcache.c (addhstbyX): Likewise.
9293 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9294 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
9295 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9296 (addinnetgrX): Likewise.
9297 * nscd/nscd-client.h (__nscd_acquire_maplock)
9298 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
9299 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9300 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9301 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9302 Likewise.
9303 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9304 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
9305 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9306 (__nscd_get_map_ref): Likewise.
a1ffb40e 9307 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
9308 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9309 Likewise.
a1ffb40e
OB
9310 * nscd/pwdcache.c (addpwbyX): Likewise.
9311 * nscd/selinux.c (preserve_capabilities): Likewise.
9312 * nscd/servicescache.c (addservbyX): Likewise.
9313 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9314 * posix/fnmatch.c (fnmatch): Likewise.
9315 * posix/getopt.c (_getopt_internal_r): Likewise.
9316 * posix/glob.c (glob, glob_in_dir): Likewise.
9317 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
9318 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9319 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
9320 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9321 * resolv/res_init.c: Likewise.
9322 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9323 * resolv/res_query.c (__libc_res_nquery): Likewise.
9324 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9325 Likewise.
9326 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9327 * stdio-common/perror.c (perror): Likewise.
9328 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9329 * stdio-common/tmpnam.c (tmpnam): Likewise.
9330 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9331 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
9332 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9333 Likewise.
a1ffb40e
OB
9334 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9335 * stdlib/putenv.c (putenv): Likewise.
9336 * stdlib/setenv.c (__add_to_environ): Likewise.
9337 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9338 * stdlib/strtol_l.c (INTERNAL): Likewise.
9339 * string/memmem.c (memmem): Likewise.
9340 * string/strerror.c (strerror): Likewise.
9341 * string/strnlen.c (__strnlen): Likewise.
9342 * string/test-memmem.c (simple_memmem): Likewise.
9343 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9344 * sunrpc/pm_getport.c (__get_socket): Likewise.
9345 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9346 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
9347 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9348 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
9349 Likewise.
9350 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9351 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9352 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9353 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9354 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
9355 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9356 Likewise.
9357 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9358 Likewise.
a1ffb40e
OB
9359 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9360 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9361 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9362 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9363 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9364 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9365 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9366 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9367 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9368 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9369 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9370 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9371 Likewise.
9372 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9373 Likewise.
9374 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9375 Likewise.
9376 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9377 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9378 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9379 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9380 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9381 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9382 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9383 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9384 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9385 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9386 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9387 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9388 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9389 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9390 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
9391 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9392 Likewise.
a1ffb40e
OB
9393 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9394 Likewise.
9395 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9396 Likewise.
9397 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9398 Likewise.
9399 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9400 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9401 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9402 Likewise.
9403 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9404 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9405 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9406 * sysdeps/posix/sleep.c: Likewise.
9407 * sysdeps/posix/tempname.c: Likewise.
9408 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9409 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9410 Likewise.
57f41c40
AS
9411 * sysdeps/powerpc/powerpc32/dl-machine.h
9412 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
9413 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9414 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9415 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9416 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9417 Likewise.
9418 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9419 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9420 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9421 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9422 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9423 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9424 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9425 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9426 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9427 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9428 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9429 (elf_machine_lazy_rel): Likewise.
a1ffb40e 9430 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9431 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9432 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9433 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9434 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9435 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9436 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9437 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9438 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9439 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9440 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9441 Likewise.
9442 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9443 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9444 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9445 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9446 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9447 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9448 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9449 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9450 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9451 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9452 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9453 Likewise.
9454 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9455 (__posix_fallocate64_l64): Likewise.
9456 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9457 (posix_fallocate): Likewise.
57f41c40
AS
9458 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9459 Likewise.
a1ffb40e 9460 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
9461 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9462 (getifaddrs_internal): Likewise.
a1ffb40e
OB
9463 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9464 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9465 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9466 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9467 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9468 (__posix_fallocate64_l64): Likewise.
9469 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9470 Likewise.
9471 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
9472 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9473 (__get_clockfreq): Likewise.
a1ffb40e
OB
9474 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9475 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9476 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9477 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9478 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9479 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9480 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9481 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9482 Likewise.
9483 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9484 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9485 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9486 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9487 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9488 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9489 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9490 Likewise.
9491 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9492 (posix_fallocate): Likewise.
9493 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9494 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9495 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9496 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9497 (elf_machine_rela, elf_machine_rela_relative)
9498 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9499 * time/asctime.c (asctime_internal): Likewise.
9500 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9501 * time/tzset.c (__tzset_parse_tz): Likewise.
9502 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9503 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9504 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9505 * wcsmbs/wcsmbsload.h: Likewise.
9506
f3d338c9
OB
9507 [BZ #15894]
9508 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9509
57f41c40
AS
9510 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9511 (arena_get2): Remove THREAD_STATS conditionals.
9512 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9513 (__malloc_stats, int): Likewise.
bdfe308a 9514
d674667c
MF
95152014-02-08 Mike Frysinger <vapier@gentoo.org>
9516
9517 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9518 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9519
6349768c
MF
9520 * manual/setjmp.texi: Fix typos/grammar errors.
9521
0b7c7473
MF
9522 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9523 Only return early when n is <= 0. Delete unused return statement.
9524
ac8cc9e3
MF
9525 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9526 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9527 * debug/tst-longjmp_chk3.c: New file.
9528
c5bb8e23
MF
9529 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9530 (test_main): Replace code with set_fortify_handler call.
9531 * debug/test-strcpy_chk.c: Likewise.
9532 * debug/tst-chk1.c: Likewise.
9533 * debug/tst-longjmp_chk.c: Likewise.
9534 * test-skeleton.c: Include fcntl.h & paths.h
9535 (set_fortify_handler): Define.
9536
10444e42
MF
9537 * debug/tst-longjmp_chk.c: Add header comment and include
9538 ../test-skeleton.c.
9539 (do_test): Mark static.
9540 (TEST_FUNCTION): Define.
9541
1e805e8d
MF
9542 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9543 (IP_PMTUDISC_INTERFACE): Likewise.
9544 (IP_MULTICAST_IF): Likewise.
9545 (IP_MULTICAST_TTL): Likewise.
9546 (IP_MULTICAST_LOOP): Likewise.
9547 (IP_ADD_MEMBERSHIP): Likewise.
9548 (IP_DROP_MEMBERSHIP): Likewise.
9549 (IP_UNBLOCK_SOURCE): Likewise.
9550 (IP_BLOCK_SOURCE): Likewise.
9551 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9552 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9553 (IP_MSFILTER): Likewise.
9554 (MCAST_JOIN_GROUP): Likewise.
9555 (MCAST_BLOCK_SOURCE): Likewise.
9556 (MCAST_UNBLOCK_SOURCE): Likewise.
9557 (MCAST_LEAVE_GROUP): Likewise.
9558 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9559 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9560 (MCAST_MSFILTER): Likewise.
9561 (IP_MULTICAST_ALL): Likewise.
9562 (IP_UNICAST_IF): Likewise.
9563
73f79bb7
MF
9564 * timezone/Makefile: Delete $(have-ksh) check.
9565 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9566 * timezone/tzselect.ksh: Add +x mode bits.
9567
8da79b60
MF
9568 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9569 (ANON_INODE_FS_MAGIC): Likewise.
9570 (BDEVFS_MAGIC): Likewise.
9571 (BINFMTFS_MAGIC): Likewise.
9572 (BTRFS_TEST_MAGIC): Likewise.
9573 (CRAMFS_MAGIC_WEND): Likewise.
9574 (DEBUGFS_MAGIC): Likewise.
9575 (ECRYPTFS_SUPER_MAGIC): Likewise.
9576 (EXT3_SUPER_MAGIC): Likewise.
9577 (EXT4_SUPER_MAGIC): Likewise.
9578 (FUTEXFS_SUPER_MAGIC): Likewise.
9579 (HOSTFS_SUPER_MAGIC): Likewise.
9580 (HUGETLBFS_MAGIC): Likewise.
9581 (MINIX3_SUPER_MAGIC): Likewise.
9582 (MTD_INODE_FS_MAGIC): Likewise.
9583 (NILFS_SUPER_MAGIC): Likewise.
9584 (OPENPROM_SUPER_MAGIC): Likewise.
9585 (PIPEFS_MAGIC): Likewise.
9586 (PSTOREFS_MAGIC): Likewise.
9587 (QNX6_SUPER_MAGIC): Likewise.
9588 (RAMFS_MAGIC): Likewise.
9589 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9590 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9591 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9592 (SECURITYFS_MAGIC): Likewise.
9593 (SELINUX_MAGIC): Likewise.
9594 (SMACK_MAGIC): Likewise.
9595 (SOCKFS_MAGIC): Likewise.
9596 (SQUASHFS_MAGIC): Likewise.
9597 (STACK_END_MAGIC): Likewise.
9598 (TMPFS_MAGIC): Likewise.
9599 (USBDEVICE_SUPER_MAGIC): Likewise.
9600 (V9FS_MAGIC): Likewise.
9601 (XENFS_SUPER_MAGIC): Likewise.
9602 (CRAMFS_MAGIC): Fix typo in comment.
9603 (EXT2_SUPER_MAGIC): Update comment.
9604 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9605
464263cc
JM
96062014-02-08 Joseph Myers <joseph@codesourcery.com>
9607
c6bfe5c4
JM
9608 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9609 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9610 * sysdeps/unix/sysv/linux/arm: Move directory from
9611 ports/sysdeps/unix/sysv/linux/arm.
9612 * README: Update listing for arm-*-linux-gnueabi.
9613
464263cc
JM
9614 * README: Remove mention of am33.
9615
32749f6c
RM
96162014-02-07 Roland McGrath <roland@hack.frob.com>
9617
9618 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9619 than the comma operator, to avoid "rhs of comma has no effect"
9620 compiler warnings.
9621 (__sigfillset, __sigandset, __sigorset): Likewise.
9622 * include/signal.h (__sigemptyset): Likewise.
9623 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9624
d5b396c1
AM
96252014-02-07 Allan McRae <allan@archlinux.org>
9626
9627 * version.h (RELEASE): Set to "development".
9628 (VERSION): Set to "2.19.90"
9629 * NEWS: Add 2.20 section.
9630
3bfff2ed
CD
96312014-02-06 Carlos O'Donell <carlos@redhat.com>
9632
9633 [BZ #16529]
9634 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9635
ee7cc385
SP
96362014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9637
9638 * manual/contrib.texi: Update entry for Carlos O'Donell,
9639 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9640
f877c4f2
CD
96412014-02-05 Carlos O'Donell <carlos@rehdat.com>
9642
27e839f6
CD
9643 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9644
f877c4f2
CD
9645 * sysdeps/unix/sysv/linux/kernel-features.h
9646 [__LINUX_KERNEL_VERSION >= 0x020621]
9647 (__ASSUME_PROC_PID_TASK_COMM): Define.
9648
68159946
SP
96492014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9650
ba17cdbd
SP
9651 [BZ #16398]
9652 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9653 conversion when destination buffer does not have enough space.
9654 * libio/tst-ftell-partial-wide.c: New test case.
9655 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9656
68159946
SP
9657 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9658 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9659 Leonard and Allan McRae.
9660
2b528732
DM
96612014-02-04 David S. Miller <davem@davemloft.net>
9662
9663 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9664 32-bit.
9665
0ff82463
AZ
96662014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9667
57f41c40
AS
9668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9669 New file
c01603f7
AZ
9670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9671 New file
57f41c40
AS
9672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9673 New file.
9674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9675 New file.
c01603f7
AZ
9676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9677 New file.
57f41c40
AS
9678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9679 New file.
9680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9681 New file.
c01603f7
AZ
9682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9683 New file.
9684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9685 New file.
9686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9687 New file.
9688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9689 New file.
9690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9691 New file.
9692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9693 New file.
9694
96952014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9696
0ff82463
AZ
9697 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9698 * shlib-versions: Likewise.
9699
1695c773
AZ
97002014-02-04 Roland McGrath <roland@hack.frob.com>
9701 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9702
9703 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9704 (abilist-pattern): New variable, set to %-le.abilist.
9705
9706 * Makerules (abilist-pattern): New variable.
9707 (vpath): Use $(abilist-pattern) in place of %.abilist.
9708 (check-abi-% pattern rule): Likewise.
9709 (check-abi, update-abi): Likewise.
9710
6c0ce4b4
EW
97112014-02-04 Eric Wong <normalperson@yhbt.net>
9712
9713 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9714
481e3524
CD
97152014-02-03 Carlos O'Donell <carlos@redhat.com>
9716
9717 * manual/startup.texi: Add next, previous, and top entries for
9718 the `Program Arguments' and `Environment Variables' nodes.
9719
375592d3
AO
97202014-02-03 Alexandre Oliva <aoliva@redhat.com>
9721
9722 * manual/macros.texi: Add comments before MTASC-safety macros.
9723
f54838ba
AO
9724 * manual/users.texi: Document MTASC-safety properties.
9725
57f41c40
AS
9726 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9727 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
9728 @deftypefun, and add @safety note.
9729 * manual/signal.texi: Move comments that analyze the above
9730 functions to their home place.
9731
fd3daba4
AM
97322014-02-03 Allan McRae <allan@archlinux.org>
9733
9734 * po/sl.po: Update Slovenian translation from translation project.
9735
597636d7
AO
97362014-02-02 Alexandre Oliva <aoliva@redhat.com>
9737
9738 * manual/time.texi (timegm): Add missing blank after @c.
9739 Reported by Joseph Myers <joseph@codesourcery.com>.
9740
ee196e3c
AO
97412014-02-01 Alexandre Oliva <aoliva@redhat.com>
9742
9743 * manual/check-safety.sh: New.
9744 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9745
f8d529d5
AO
9746 * manual/terminal.texi: Document MTASC-safety properties.
9747
de55fdf4
AO
9748 * manual/filesys.texi: Document MTASC-safety properties.
9749
c3299c08
AO
9750 * manual/errno.texi: Document MTASC-safety properties.
9751
06e90b14
AO
9752 * manual/intro.texi: Document safety identifiers and
9753 conditionals.
9754
1acd4371
AO
9755 * manual/string.texi (wcstok): Fix prototype.
9756 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9757
23e5b8cb
AO
9758 * manual/time.texi: Document MTASC-safety properties.
9759
11087373
AO
9760 * manual/string.texi: Document MTASC-safety properties.
9761
5da2c93d
AO
9762 * manual/threads.texi: Document MTASC-safety properties.
9763
171e9210
AO
9764 * manual/stdio.texi: Document MTASC-safety properties.
9765
d9e02532
AO
9766 * manual/syslog.texi: Document MTASC-safety properties.
9767
6af8bab7
AO
9768 * manual/sysinfo.texi: Document MTASC-safety properties.
9769
663b02d7
AO
9770 * manual/startup.texi: Document MTASC-safety properties.
9771
973f180b
AO
9772 * manual/socket.texi: Document MTASC-safety properties.
9773
8f3c25c8
AO
9774 * manual/signal.texi: Document MTASC-safety properties.
9775
542210fb
AO
97762014-01-31 Alexandre Oliva <aoliva@redhat.com>
9777
9778 * manual/setjmp.texi: Document MTASC-safety properties.
9779
433c45a2
AO
9780 * manual/search.texi: Document MTASC-safety properties.
9781
c8ce789c
AO
9782 * manual/resource.texi: Document MTASC-safety properties.
9783
19f5d29c
AO
9784 * manual/process.texi: Document MTASC-safety properties.
9785
e2dfb7f4
AO
9786 * manual/platform.texi: Document MTASC-safety properties.
9787
8c1413f5
AO
9788 * manual/pipe.texi: Document MTASC-safety properties.
9789
03483ada
AO
9790 * manual/pattern.texi: Document MTASC-safety properties.
9791
29e7e2df
AO
9792 * manual/message.texi: Document MTASC-safety properties.
9793
9f529d7c
AO
9794 [BZ #12751]
9795 * manual/memory.texi: Document MTASC-safety properties.
9796
27aaa791
AO
9797 * manual/math.texi: Document MTASC-safety properties.
9798
f2d58726
AO
9799 * manual/locale.texi: Document MTASC-safety properties.
9800
2cc3615c
AO
9801 * manual/llio.texi: Document MTASC-safety properties.
9802
d9f0ec97
AO
9803 * manual/libdl.texi: New.
9804
e7c4409a
AO
9805 * manual/lang.texi: Document MTASC-safety properties.
9806
27bdc63c
AO
9807 * manual/job.texi: Document MTASC-safety properties.
9808
a7b90ea9
AO
9809 * manual/getopt.texi: Document MTASC-safety properties.
9810
c49130e3
AO
9811 * manual/ctype.texi: Document MTASC-safety properties.
9812
0d23a5c1
MR
98132014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9814
9815 [BZ #16046]
9816 * csu/libc-tls.c (static_map): Remove variable.
9817 (__libc_setup_tls): Use main executable's link map for TLS data.
9818 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9819 casing for LM_ID_BASE and GL(dl_nns).
9820 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9821 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9822 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9823 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9824 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9825 member.
9826 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9827 l_phnum members.
9828
0037bb60
AO
98292014-01-30 Alexandre Oliva <aoliva@redhat.com>
9830
9831 * manual/debug.texi: Document MTASC-safety properties.
9832
409e00bd
L
98332014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9834
9835 [BZ #16510]
9836 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9837 of __x86_64__ when disabling x87 inline functions.
9838
86e60666
AO
98392014-01-29 Alexandre Oliva <aoliva@redhat.com>
9840
9841 * manual/charset.texi: Document MTASC-safety properties.
9842
76167637
AO
9843 * manual/crypt.texi: Document MTASC-safety properties.
9844
e567f2a0
AO
9845 * manual/conf.texi: Document MTASC-safety properties.
9846
b719dafd
AO
9847 * manual/arith.texi: Document MTASC-safety properties.
9848
4a16c662
AO
9849 * manual/argp.texi: Document MTASC-safety properties.
9850
0a57b83e
AO
9851 * manual/macros.texi: Introduce macros to document multi
9852 thread, asynchronous signal and asynchronous cancellation
9853 safety properties.
9854 * manual/intro.texi: Introduce the properties themselves.
9855
feab2397
KK
98562014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9857
9858 * sysdeps/sh/sh4/Makefile: New file.
9859
1c0d11bc
AS
98602014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9861
9862 * math/gen-libm-test.pl ($srcdir): New variable.
9863 ($auto_input): Use it.
9864
af37a8a3
SP
98652014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9866
d7b00f98
SP
9867 [BZ #16506]
9868 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9869 access beyond array bounds when parsing netgroups file.
9870
af37a8a3
SP
9871 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9872 the old buffer before realloc.
9873
0c00f062
AM
98742014-01-27 Allan McRae <allan@archlinux.org>
9875
9876 * po/fr.po: Update French translation from translation project.
9877
7d69a1b0
KK
98782014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9879
9880 * sysdeps/sh/libm-test-ulps: Regenerate.
9881
6e697ff7
DM
98822014-01-24 David S. Miller <davem@davemloft.net>
9883
9884 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9885
9cadb35c
KK
98862014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9887
9888 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9889 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9890
5d41dadf
SP
98912013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9892
9893 [BZ #16474]
9894 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9895 string pointers after reallocation.
9896
0bad441c
KK
98972014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9898
9899 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9900 __SH4A__ instead of __SH_FPU_ANY__.
9901
7007c661
KK
99022014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9903
9904 * sysdeps/sh/fpu_control.h: New file.
9905 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9906 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9907 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9908 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9909 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9910 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9911 * sysdeps/sh/sys/ucontext.h: Remove.
9912 * sysdeps/sh/sys: Remove directory.
9913
0f0c35e4
AK
99142014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9915
9916 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9917 s390/sys/ucontext.h.
9918 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9919 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9920
4959e284
L
99212014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9922
9923 [BZ #15605]
9924 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9925
d98720e0
AZ
99262014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9927
9928 [BZ#16431]
9929 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9930 Adjust the vDSO correctly for internal calls.
9931 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9932
91cbd0bc
AM
99332014-01-20 Allan McRae <allan@archlinux.org>
9934
9935 * po/ca.po: Update Catalan translation from translation project.
9936
7a02cfad
MF
99372014-01-16 Mike Frysinger <vapier@gentoo.org>
9938
9939 * sysdeps/s390/sotruss-lib.c: New file.
9940
736c304a
AZ
99412014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9942
9943 [BZ#16430]
6e077ee5 9944 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
9945 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9946 local calls issues by not having a PLT stub required for IFUNC calls.
9947 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9948
94d0cea0
JM
99492014-01-16 Joseph Myers <joseph@codesourcery.com>
9950
9951 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9952 * math/test-fpucw-static.c: Likewise.
9953
980cb518
SP
99542013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9955
9956 [BZ #16453]
9957 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9958
2393fc01
AZ
99592014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9960
9961 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9962 implementation for powerpc.
9963
d359bcc2
OB
99642014-01-15 Ondřej Bílka <neleai@seznam.cz>
9965
9966 [BZ #14782]
9967 * sysdeps/posix/system.c (__libc_system): Do not enable
9968 asynchronous cancellation.
9969
7beb48cb
AK
99702014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9971
9972 [BZ #16427]
9973 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9974 handling only for numbers special also in the IEEE case.
9975
c20d5bf5
AK
99762014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9977
9978 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9979
e83bd4ee
AM
99802014-01-11 Allan McRae <allan@archlinux.org>
9981
76d0ea69
AM
9982 * po/bg.po: Update Bulgarian translation from translation project.
9983
e83bd4ee
AM
9984 * po/de.po: Update German translation from translation project.
9985
bc2ba20a
RM
99862014-01-10 Roland McGrath <roland@hack.frob.com>
9987
9988 * sysdeps/generic/gcc-compat.h: New file.
9989
649ecea2
SP
99902014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9991
9992 * benchtests/asin-inputs: Correct slow inputs.
9993 * benchtests/acos-inputs: Likewise.
9994
1b19c006
AM
99952014-01-10 Allan McRae <allan@archlinux.org>
9996
a46dab08
AM
9997 * po:sv.po: Update Swedish translation from translation project.
9998
421df74a
AM
9999 * po/vi.po: Update Vietnamese translation from translation project.
10000
d61c51a7
AM
10001 * po/eo.po: Update Esperanto translation from translation project.
10002
0339a319
AM
10003 * po/cs.po: Update Czech translation from translation project.
10004
94ad3e99
AM
10005 * po/nl.po: Update Dutch translation from translation project.
10006
e349ca71
AM
10007 * po/pl.po: Update Polish translation from translation project.
10008
ddf930c1
AM
10009 * po/ru.po: Update Russian translation from translation project.
10010
1b19c006
AM
10011 * po/uk.po: Update Ukrainian translation from translation project.
10012
9f236c49
BM
100132014-01-08 Brooks Moses <bmoses@google.com>
10014
10015 * elf/dl-load.c: Fix comment typo.
10016
cd6701cf
CD
100172014-01-08 Carlos O'Donell <carlos@redhat.com>
10018
10019 * po/header.pot: Rename to...
10020 * po/pot.header: ... this.
10021 * po/Makefile: Use pot.header.
10022
66671c84
YK
100232014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10024 Maxim Kuvyrkov <maxim@kugelworks.com>
10025
10026 [BZ #16394]
cd6701cf
CD
10027 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10028 SRC and DEST against LEN.
66671c84 10029
38f34581
AZ
100302014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10031
10032 [BZ #16414]
10033 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10034 implementation.
10035 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10036
100372014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
10038
10039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10040
4c327f2a
JM
100412014-01-08 Joseph Myers <joseph@codesourcery.com>
10042
10043 [BZ #16408]
10044 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10045 for large positive arguments.
10046
b821f414
JM
100472014-01-07 Joseph Myers <joseph@codesourcery.com>
10048
1f0f2067
JM
10049 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10050
a5a326f6
JM
10051 * math/auto-libm-test-in: Mark various tests with
10052 xfail-rounding:ldbl-128ibm.
10053 * math/auto-libm-test-out: Regenerated.
10054
b821f414
JM
10055 [BZ #16407]
10056 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10057 Increase overflow threshold.
10058
94c8a4bc
OB
100592014-01-07 Ondřej Bílka <neleai@seznam.cz>
10060
10061 [BZ #14286]
10062 * stdio-common/vfprintf.c: Check for integer overflow.
10063
87ded0c3
AK
100642014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10065
10066 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10067 the first argument and return value of __tls_get_addr_internal.
10068
c5eebdd0
AK
100692014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10070
10071 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10072 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10073
05d138ef
AK
100742014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10075
10076 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10077 * sysdeps/s390/rtld-global-offsets.sym: New file.
10078 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10079 GLIBC_2.19 symbol.
10080 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10081 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10082 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10083 ... this.
10084 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10085 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10086 ... this.
10087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10088 Regenerate.
10089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10090 Regenerate.
10091 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10092 halfs of GPRs for high_gprs contexts.
10093 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10094 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10095 field.
10096 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10097 uc_flags field.
10098 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10099 64 bit versions:
10100 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10101 for high GPRs (uc_high_gprs) and for future extensions
10102 (__reserved).
10103 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10104 for future extensions (__reserved).
10105 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10106 64 bit versions:
10107 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10108 SC_HIGHGPRS offset definition.
10109 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10110 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10111
93a45ff1
AK
10112 * Versions.def: Add GLIBC_2.19 for libpthread.
10113 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10114 siglongjmp for libpthread with GLIBC_2.19 symver.
10115 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10116 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10117 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10118 * sysdeps/s390/__longjmp.c: New file.
10119 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10120 * sysdeps/s390/longjmp.c: New file.
10121 * sysdeps/s390/setjmp.S: New file.
10122 * sysdeps/s390/sigjmp.S: New file.
10123 * sysdeps/s390/v1-longjmp.c: New file.
10124 * sysdeps/s390/v1-setjmp.h: New file.
10125 * sysdeps/s390/v1-sigjmp.c: New file.
10126 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10127 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10128 GLIBC_2.19 version.
10129 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10130 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10131 versioned symbols for ____longjmp_chk.
10132 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10133 Likewise.
10134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10135 Regenerate.
10136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10137 Regenerate.
10138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10139 Regenerate.
10140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10141 Regenerate.
10142 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10143 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10144 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10145 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10146 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10147 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10148 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10149 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10150 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10151 * sysdeps/s390/rtld-__longjmp.c: New file.
10152 * sysdeps/s390/rtld-setjmp.S: New file.
10153
eb3fc44b
JM
101542014-01-06 Joseph Myers <joseph@codesourcery.com>
10155
10156 [BZ #16400]
10157 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10158 Return -__logl (x) for small positive arguments without evaluating
10159 a polynomial.
10160
9341dde4
MF
101612014-01-06 Mike Frysinger <vapier@gentoo.org>
10162
10163 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10164 Rename to ...
10165 (__ptrace_peeksiginfo_args): ... this.
10166 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10167 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10168 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10169
4cff0293
AM
101702014-01-06 Allan McRae <allan@archlinux.org>
10171
10172 * inet/netinet/in.h: Fix typo in comment.
10173
75595dcf
AJ
101742014-01-05 Andreas Jaeger <aj@suse.de>
10175
10176 * sysdeps/i386/fpu/libm-test-ulps: Update.
10177
79c1e109
AM
101782014-01-05 Allan McRae <allan@archlinux.org>
10179
dd804818
AM
10180 * po/libc.pot: Regenerated.
10181
79c1e109
AM
10182 * malloc/memusagestat.c: Fix gettext call formatting.
10183
0c813d1f
SK
101842014-01-04 Sami Kerola <kerolasa@iki.fi>
10185
10186 * nscd/nscd.c: Improve usage() output.
10187
20f4a8d9
MF
101882014-01-04 Mike Frysinger <vapier@gentoo.org>
10189
10190 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10191 * sysdeps/unix/sysv/linux/configure: Regenerated.
10192 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10193 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10194
22562bb2
JM
101952014-01-03 Joseph Myers <joseph@codesourcery.com>
10196
10197 [BZ #16390]
10198 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10199 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10200
d7ad2d9b
AZ
102012014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10202
10203 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10204 extra tokens at end of #undef directive.
10205 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10206 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10207 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10208
7dd009d8
JM
102092014-01-03 Joseph Myers <joseph@codesourcery.com>
10210
24db925a
JM
10211 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10212
7dd009d8
JM
10213 * math/auto-libm-test-in: Mark various tests with
10214 xfail-rounding:ldbl-128ibm.
10215 * math/auto-libm-test-out: Regenerated.
10216
396e3ecf
JM
102172014-01-02 Joseph Myers <joseph@codesourcery.com>
10218
819e5d50
JM
10219 [BZ #16386]
10220 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10221 numbers with subnormal high part when calculating exponent.
10222
90b6a1e5
JM
10223 [BZ #16385]
10224 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10225 fabs.
10226
396e3ecf
JM
10227 [BZ #16384]
10228 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10229 M_LN2l.
10230 (__ieee754_acoshl): Use __log1pl not __log1p.
10231
6c8dbf00
OB
102322013-01-02 Ondřej Bílka <neleai@seznam.cz>
10233
57f41c40
AS
10234 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10235 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10236 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10237 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10238 (reused_arena, arena_get2): Convert to GNU style.
10239 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10240 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10241 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 10242 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
10243 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10244 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10245 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10246 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10247 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10248 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 10249 * malloc/malloc.h: Likewise.
57f41c40
AS
10250 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10251 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 10252 * malloc/mcheck.h: Likewise.
57f41c40
AS
10253 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10254 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
10255 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10256 * malloc/morecore.c (__default_morecore): Likewise.
10257 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
10258 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10259 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10260 (print_and_abort): Likewise.
6c8dbf00
OB
10261 * malloc/obstack.h: Likewise.
10262 * malloc/set-freeres.c (__libc_freeres): Likewise.
10263 * malloc/tst-mallocstate.c (main): Likewise.
10264 * malloc/tst-mtrace.c (main): Likewise.
10265 * malloc/tst-realloc.c (do_test): Likewise.
10266
d4124212
SP
102672013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10268
9a3c6a6f
SP
10269 [BZ #16366]
10270 * nscd/netgroupcache.c (do_notfound): New function.
10271 (addgetnetgrentX): Use it.
10272
d4124212
SP
10273 [BZ # 16365]
10274 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10275 NSS_STATUS_NOTFOUND.
10276
97b9a009
JM
102772014-01-01 Joseph Myers <joseph@codesourcery.com>
10278
10279 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10281
d4697bc9
AM
102822014-01-01 Allan McRae <allan@archlinux.org>
10283
ddb3687f
AM
10284 * scripts/update-copyrights: Update configure input file suffix.
10285
88726d48
AM
10286 * NEWS: Update copyright year.
10287 * catgets/gencat.c: Likewise.
10288 * csu/version.c: Likewise.
10289 * debug/catchsegv.sh: Likewise.
10290 * debug/pcprofiledump.c: Likewise.
10291 * debug/xtrace.sh: Likewise.
10292 * elf/ldconfig.c: Likewise.
10293 * elf/ldd.bash.in: Likewise.
10294 * elf/pldd.c: Likewise.
10295 * elf/sotruss.ksh: Likewise.
10296 * elf/sprof.c: Likewise.
10297 * iconv/iconv_prog.c: Likewise.
10298 * iconv/iconvconfig.c: Likewise.
10299 * locale/programs/locale.c: Likewise.
10300 * locale/programs/localedef.c: Likewise.
10301 * login/programs/pt_chown.c: Likewise.
10302 * malloc/memusage.sh: Likewise.
10303 * malloc/memusagestat.c: Likewise.
10304 * malloc/mtrace.pl: Likewise.
10305 * manual/libc.texinfo: Likewise.
10306 * nscd/nscd.c: Likewise.
10307 * nss/getent.c: Likewise.
10308 * nss/makedb.c: Likewise.
10309 * posix/getconf.c: Likewise.
10310 * scripts/test-installation.pl: Likewise.
10311
d4697bc9
AM
10312 * All files with FSF copyright notices: Update copyright dates
10313 using scripts/update-copyrights.
10314 * intl/plural.c: Regenerated.
10315 * locale/programs/charmap-kw.h: Likewise.
10316 * locale/programs/locfile-kw.h: Likewise.
10317
c8590f9d
MF
103182013-12-31 Mike Frysinger <vapier@gentoo.org>
10319
10320 * sysdeps/unix/sysv/linux/configure: Regenerated.
10321 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10322 the linux/fanotify.h header.
10323 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10324 HAVE_LINUX_FANOTIFY_H is defined.
10325
b19221b9
SP
103262013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10327
dd1d85e5
SP
10328 * benchtests/cos-inputs: New inputs.
10329 * benchtests/sin-inputs: Likewise.
10330
1acbb90f
SP
10331 * benchtests/atan-inputs: New inputs. Fix name of multiple
10332 precision fallback inputs.
10333
4c012ed3
SP
10334 * benchtests/atanh-inputs: New inputs.
10335 * benchtests/tanh-inputs: Likewise.
10336
eff98324
SP
10337 * benchtests/acosh-inputs: New inputs.
10338 * benchtests/asinh-inputs: Likewise.
10339
ce641152
SP
10340 * benchtests/cosh-inputs: New inputs.
10341 * benchtests/sinh-inputs: Likewise.
10342
b19221b9
SP
10343 * benchtests/acos-inputs: Add more inputs.
10344 * benchtests/asin-inputs: Likewise.
10345
030a4976 103462013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 10347
030a4976 10348 [BZ #16375]
9dcc8f11
VS
10349 * manual/arith.texi: Fix spelling.
10350 * manual/charset.texi: Likewise.
10351 * manual/errno.texi: Likewise.
10352 * manual/filesys.texi: Likewise.
10353 * manual/lang.texi: Likewise.
10354 * manual/llio.texi: Likewise.
10355 * manual/locale.texi: Likewise.
10356 * manual/message.texi: Likewise.
10357 * manual/resource.texi: Likewise.
10358 * manual/search.texi: Likewise.
10359 * manual/setjmp.texi: Likewise.
10360 * manual/stdio.texi: Likewise.
10361 * manual/string.texi: Likewise.
10362 * manual/sysinfo.texi: Likewise.
10363 * manual/time.texi: Likewise.
10364
11520a57
CD
103652013-12-27 Carlos O'Donell <carlos@redhat.com>
10366
10367 * po/sl.po: New file.
10368
471103ae
MF
103692013-12-27 Mike Frysinger <vapier@gentoo.org>
10370
10371 * .gitignore: Add core/.gdbinit/.gdb_history.
10372
6c9642ed
AM
103732013-12-27 Allan McRae <allan@archlinux.org>
10374
10375 [BZ #16369]
10376 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10377 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10378
3f637079
BM
103792013-12-24 Brooks Moses <bmoses@google.com>
10380
10381 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10382 all compilers that claim C++98 compliance, not just GCC.
10383 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10384 Likewise.
10385
abc26e99
MK
103862013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10387
10388 * NEWS: Restore accidentally deleted bug-fix entries.
10389
362b47fe
MK
103902013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10391 Ondřej Bílka <neleai@seznam.cz>
10392
10393 [BZ #15073]
10394 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 10395 have_lock.
362b47fe 10396
b9bcbbcb
OB
103972013-12-23 Ondřej Bílka <neleai@seznam.cz>
10398
10399 [BZ #12986]
10400 * manual/stdio.texi (String Input Conversions): Clarify that character
10401 classes are not supported.
10402
fb55fcd2
AZ
104032013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10404
10405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10406
ef7344f0
JM
104072013-12-22 Joseph Myers <joseph@codesourcery.com>
10408
4f40e4b3
JM
10409 [BZ #16337]
10410 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10411 Calculate results for small negative arguments directly rather
10412 than using reflection formula with special underflow handling.
10413
ef7344f0
JM
10414 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10415 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10416 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10417 (fchflags): Likewise.
10418 (revoke): Likewise.
10419 (setlogin): Likewise.
10420 (sigaltstack): Likewise.
10421 (wait4): Likewise.
10422 (sigblock): Remove.
10423 (sigsetmask): Likewise.
10424 (wait3): Likewise.
10425 (waitpid): Likewise.
10426 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10427 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10428 file.
10429 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10430 * sysdeps/unix/bsd/Makefile: ... here.
10431 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10432 * sysdeps/unix/bsd/Versions: ... here.
10433 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10434 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10435 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10436 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10437 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10438 * sysdeps/unix/bsd/sigblock.c: ... here.
10439 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10440 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10441 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10442 * sysdeps/unix/bsd/sigvec.c: ... here.
10443 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10444 * sysdeps/unix/bsd/tcdrain.c: ... here.
10445 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10446 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10447 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10448 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10449 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10450 * sysdeps/unix/bsd/wait.c: ... here.
10451 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10452 * sysdeps/unix/bsd/wait3.c: ... here.
10453 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10454 * sysdeps/unix/bsd/waitpid.c: ... here.
10455
5b0626b9
JM
104562013-12-21 Joseph Myers <joseph@codesourcery.com>
10457
10458 [BZ #16356]
10459 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10460 round-to-nearest for [!USE_AS_EXPM1L].
10461 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10462 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10463 more tests of exp and exp10. Expect some exp10 tests to miss
10464 exceptions or fail in directed rounding modes.
10465 * math/auto-libm-test-out: Regenerated.
10466 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10467 (exp10_test_tonearest): New function.
10468 (exp10_towardzero_test_data): New array.
10469 (exp10_test_towardzero): New function.
10470 (exp10_downward_test_data): New array.
10471 (exp10_test_downward): New function.
10472 (exp10_upward_test_data): New array.
10473 (exp10_test_upward): New function.
10474 (main): Call the new functions.
10475 * sysdeps/i386/fpu/libm-test-ulps: Update.
10476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10477
7fda5682
JM
104782013-12-20 Joseph Myers <joseph@codesourcery.com>
10479
31e3a405
JM
10480 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10481 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10482 * math/auto-libm-test-out: Regenerated.
10483 * math/libm-test.inc (acosh_test_data): Add more tests.
10484 (atanh_test_data): Likewise.
10485 (ceil_test_data): Likewise.
10486 (copysign_test_data): Likewise.
10487 * sysdeps/i386/fpu/libm-test-ulps: Update.
10488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10489
85bff96a
JM
10490 * timezone/checktab.awk: Update from tzcode 2013i.
10491 * timezone/private.h: Likewise.
10492 * timezone/scheck.c: Likewise.
10493 * timezone/tzfile.h: Likewise.
10494 * timezone/tzselect.ksh: Likewise.
10495 * timezone/zdump.c: Likewise.
10496 * timezone/zic.c: Likewise.
10497
b7867a3b
JM
10498 * math/auto-libm-test-in: Add tests of cpow.
10499 * math/auto-libm-test-out: Regenerated.
10500 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 10501 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
10502 mpc_cc_c.
10503 (func_calc_desc): Add mpc_cc_c union field.
10504 (test_functions): Add cpow.
10505 (special_fill_2pi): New function.
10506 (special_real_inputs): Add 2pi.
10507 (calc_generic_results): Handle mpc_cc_c.
10508 * sysdeps/i386/fpu/libm-test-ulps: Update.
10509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10510
7fda5682
JM
10511 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10512 csqrt, ctan and ctanh.
10513 * math/auto-libm-test-out: Regenerated.
10514 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10515 (TEST_COND_x86): Likewise.
10516 (ccos_test_data): Use AUTO_TESTS_c_c.
10517 (ccosh_test_data): Likewise.
10518 (cexp_test_data): Likewise.
10519 (clog_test_data): Likewise.
10520 (csqrt_test_data): Likewise.
10521 (ctan_test_data): Likewise.
10522 (ctan_tonearest_test_data): Likewise.
10523 (ctan_towardzero_test_data): Likewise.
10524 (ctan_downward_test_data): Likewise.
10525 (ctan_upward_test_data): Likewise.
10526 (ctanh_test_data): Likewise.
10527 (ctanh_tonearest_test_data): Likewise.
10528 (ctanh_towardzero_test_data): Likewise.
10529 (ctanh_downward_test_data): Likewise.
10530 (ctanh_upward_test_data): Likewise.
10531 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10532 mpc_c_c.
10533 (func_calc_desc): Add mpc_c_c union field.
10534 (FUNC_mpc_c_c): New macro.
10535 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10536 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10537 ctanh.
10538 (special_fill_min_subnorm_p120): New function.
10539 (special_real_inputs): Add min_subnorm_p120.
10540 (calc_generic_results): Handle mpc_c_c.
10541 * sysdeps/i386/fpu/libm-test-ulps: Update.
10542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10543
5ff8d60e
SP
105442013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10545
57f41c40
AS
10546 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10547 (do_sin_slow): New functions.
10548 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10549 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 10550
84ba214c
SP
10551 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10552 Use M to change sign of result instead of X. Assume X is
10553 positive.
10554 (csloww1): Likewise.
10555 (__sin): Adjust.
10556 (__cos): Adjust.
10557
975195e4
SP
10558 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10559 arguments A and DA.
10560 (__sin): Adjust.
10561 (__cos): Likewise.
10562
5ff8d60e
SP
10563 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10564 (__cos): Likewise.
10565 (sloww1): Don't adjust sign of DX.
10566 (csloww1): Likewise.
10567 (sloww2): Use X directly and don't adjust sign of DX.
10568 (csloww2): Likewise.
10569
eb983568
JM
105702013-12-19 Joseph Myers <joseph@codesourcery.com>
10571
64a17f1a
JM
10572 * math/auto-libm-test-in: Add tests of cabs and carg.
10573 * math/auto-libm-test-out: Regenerated.
10574 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10575 (carg_test_data): Likewise.
10576 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10577 mpc_c_f.
10578 (func_calc_desc): Add mpc_c_f union field.
10579 (test_functions): Add cabs and carg.
10580 (calc_generic_results): Handle mpc_c_f.
10581
eb983568
JM
10582 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10583 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10584 as a macro and a compat symbol.
10585 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10586 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10587 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10588 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10589 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10590 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10591 not use .hidden.
10592 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10593 Likewise.
10594 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10595 Likewise.
10596 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10597 Likewise.
10598 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10599 Likewise.
10600 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10601 Likewise.
10602 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10603 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10604 from GLIBC_2.3.2.
10605
6eeb678a
AZ
106062013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10607
10608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10609
6f6fc482
JM
106102013-12-19 Joseph Myers <joseph@codesourcery.com>
10611
21fea2e2
JM
10612 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10613 trailing whitespace removed.
10614 * scripts/config.guess: Update to version 2013-11-29.
10615 * scripts/config.sub: Update to version 2013-10-01.
10616
6f6fc482
JM
10617 * math/auto-libm-test-in: Add tests of sincos.
10618 * math/auto-libm-test-out: Regenerated.
10619 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10620 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10621 mpfr_f_11.
10622 (func_calc_desc): Add mpfr_f_11 union field.
10623 (test_functions): Add sincos.
10624 (calc_generic_results): Handle mpfr_f_11.
10625 * sysdeps/i386/fpu/libm-test-ulps: Update.
10626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10627
83f5c32d
AS
106282013-12-19 Andreas Schwab <schwab@suse.de>
10629
10630 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10631 CALL_MCOUNT.
10632 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10633 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10634 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10635
c688b419
JM
106362013-12-19 Joseph Myers <joseph@codesourcery.com>
10637
335ee092
JM
10638 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10639 * sysdeps/i386/fpu/libm-test-ulps: Update.
10640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10641
f88acd39
JM
10642 [BZ #16293]
10643 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10644 round-to-nearest mode when using frndint.
10645 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10646 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10647 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10648 Likewise.
10649 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10650 sinh test to fail.
10651 * math/auto-libm-test-out: Regenerated.
10652 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10653 (TEST_COND_x86): Likewise.
10654 (expm1_tonearest_test_data): New array.
10655 (expm1_test_tonearest): New function.
10656 (expm1_towardzero_test_data): New array.
10657 (expm1_test_towardzero): New function.
10658 (expm1_downward_test_data): New array.
10659 (expm1_test_downward): New function.
10660 (expm1_upward_test_data): New array.
10661 (expm1_test_upward): New function.
10662 (main): Run the new test functions.
10663 * sysdeps/i386/fpu/libm-test-ulps: Update.
10664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10665
c688b419
JM
10666 * include/features.h: Update comment documenting feature test
10667 macros. Mention _DEFAULT_SOURCE in comment.
10668 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10669 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10670 _BSD_SOURCE and _SVID_SOURCE.
10671 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10672 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10673 !_SVID_SOURCE]: Likewise.
10674 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10675 (__USE_POSIX_IMPLICITLY): Define.
10676 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10677 (_POSIX_SOURCE): Undefine and redefine.
10678 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10679 (_POSIX_C_SOURCE): Likewise.
10680 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10681 (Feature Test Macros): Update documentation of default features.
10682
9f6e964c
RS
106832013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10684
10685 * benchtests/Makefile: Add bench-strtok.
10686 * benchtests/bench-strtok.c: New file: strtok benchtest.
10687
ee0a148a
AM
106882013-12-19 Allan McRae <allan@archlinux.org>
10689
10690 * manual/install.texi: Suppress menu for plain text output.
10691 * INSTALL: Regenerated.
10692
b9ab448f
BM
106932013-12-18 Brooks Moses <bmoses@google.com>
10694
10695 [BZ #15846]
10696 * misc/getauxval.c: Include errno.h.
10697 (__getauxval): Set errno to ENOENT if the requested type is not
10698 found.
10699 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10700 don't declare with __attribute_const__.
10701 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10702 * manual/startup.texi: Document that getauxval sets errno.
10703
23776487
JM
107042013-12-18 Joseph Myers <joseph@codesourcery.com>
10705
f889953b
JM
10706 * math/auto-libm-test-in: Add tests of jn and yn.
10707 * math/auto-libm-test-out: Regenerated.
10708 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10709 (yn_test_data): Likewise.
10710 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10711 mpfr_if_f.
10712 (func_calc_desc): Add mpfr_if_f union field.
10713 (FUNC_mpfr_if_f): New macro.
10714 (test_functions): Add jn and yn.
10715 (calc_generic_results): Assert type of second input for
10716 mpfr_ff_f. Handle mpfr_if_f.
10717 (output_for_one_input_case): Disable all checking for arguments
10718 fitting floating-point types in case of an integer argument.
10719 * sysdeps/i386/fpu/libm-test-ulps: Update.
10720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10721
23776487
JM
10722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10723 Don't expect fegetround reference in libm.so.
10724
cb756c6d
MS
107252013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10726
10727 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10728 $(config-cflags-nofma).
10729
2dec468f
JM
107302013-12-18 Joseph Myers <joseph@codesourcery.com>
10731
5953eb3a
JM
10732 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10733 * math/auto-libm-test-out: Regenerated.
10734
2dec468f
JM
10735 [BZ #16338]
10736 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10737 to determine exponent and adjust argument to have exponent of -1.
10738 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10739 log2.
10740 * math/auto-libm-test-out: Regenerated.
10741 * sysdeps/i386/fpu/libm-test-ulps: Update.
10742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10743
4d84e6ad
OB
107442013-12-18 Ondřej Bílka <neleai@seznam.cz>
10745
10746 * manual/probes.texi: Remove cases when per-thread arenas are
10747 disabled.
10748
1818483b
AS
107492013-12-18 Andreas Schwab <schwab@suse.de>
10750
10751 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10752 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10753 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10754 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10755 * sysdeps/i386/i686/multiarch/Makefile: Update.
10756 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10757
25de95bf
JM
107582013-12-17 Joseph Myers <joseph@codesourcery.com>
10759
10760 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10761 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10762
674762d9
PE
107632013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10764
ed27ed83 10765 [BZ #15968]
0748546f
PE
10766 Support TZ transition times < 00:00:00.
10767 This is needed for version-3 tz-format files; it supports time
10768 stamps past 2037 for America/Godthab (the only entry in the tz
10769 database for which this change is relevant).
10770 * manual/time.texi (TZ Variable): Document transition times
10771 from -167:59:59 through -00:00:01.
10772 * time/tzset.c (tz_rule): Time of day is now signed.
10773 (__tzset_parse_tz): Parse negative time of day.
10774
4480e934
PE
10775 Document TZ transition times >= 25:00:00.
10776 * manual/time.texi (TZ Variable): Document transition times from
10777 25:00:00 through 167:59:59. These are already supported, and this
10778 support will help with version-3 tz-format files.
10779
69947401
PE
10780 * manual/time.texi (TZ Variable): Modernize North America example
10781 to reflect current (i.e., 2007-and-later) daylight saving rules.
10782
674762d9
PE
10783 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10784
7011c262
JM
107852013-12-17 Joseph Myers <joseph@codesourcery.com>
10786
2fc6557e
JM
10787 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10788 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10789 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10790 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10791 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10792 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10793 * sysdeps/unix/bsd/clock.c: Likewise.
10794 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10795 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10796 * sysdeps/unix/bsd/init-posix.c: Likewise.
10797 * sysdeps/unix/bsd/poll.c: Likewise.
10798 * sysdeps/unix/bsd/ptsname.c: Likewise.
10799 * sysdeps/unix/bsd/seekdir.c: Likewise.
10800 * sysdeps/unix/bsd/setegid.c: Likewise.
10801 * sysdeps/unix/bsd/seteuid.c: Likewise.
10802 * sysdeps/unix/bsd/setgid.c: Likewise.
10803 * sysdeps/unix/bsd/setrgid.c: Likewise.
10804 * sysdeps/unix/bsd/setruid.c: Likewise.
10805 * sysdeps/unix/bsd/setsid.c: Likewise.
10806 * sysdeps/unix/bsd/setuid.c: Likewise.
10807 * sysdeps/unix/bsd/sigaction.c: Likewise.
10808 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10809 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10810 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10811 * sysdeps/unix/bsd/telldir.c: Likewise.
10812 * sysdeps/unix/bsd/times.c: Likewise.
10813 * sysdeps/unix/bsd/usleep.c: Likewise.
10814
029c7b25
JM
10815 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10816 ($(objpfx)libbsd-compat.a): Remove rule.
10817
7011c262
JM
10818 * include/features.h (__FAVOR_BSD): Do not define.
10819 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10820 features conflicting with POSIX.
10821 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10822 (_BSD_SOURCE): Remove description of not being a subset of other
10823 feature test macros.
10824 * manual/job.texi (getpgrp): Do not document BSD version.
10825 (getpgid): Do not document by reference to BSD getpgrp.
10826 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10827 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10828 * signal/signal.h [__FAVOR_BSD]: Likewise.
10829 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10830 instead of making contents conditional on [__FAVOR_BSD].
10831 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10832
affb6f78
AZ
108332013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10834
10835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10836
c88769dd
JM
108372013-12-17 Joseph Myers <joseph@codesourcery.com>
10838
6432a540
JM
10839 [BZ #16314]
10840 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10841 values below 2**-450, not 2**-500.
10842 * math/auto-libm-test-in: Don't allow spurious underflow from
10843 hypot.
10844 * math/auto-libm-test-out: Regenerated.
10845
c88769dd
JM
10846 [BZ #16316]
10847 [BZ #16330]
10848 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10849 values of ha and hb and sort them after adjusting subnormal
10850 arguments.
10851 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10852 Likewise.
10853 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10854 values of ea and eb and sort them after adjusting subnormal
10855 arguments.
10856 * math/auto-libm-test-in: Do not expect some hypot tests of
10857 subnormals to fail. Add more hypot tests.
10858 * math/auto-libm-test-out: Regenerated.
10859
29618f6b
KK
108602013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10861
10862 [BZ #13304]
10863 * sysdeps/sh/s_fma.c: New file.
10864 * sysdeps/sh/s_fmaf.c: New file.
10865 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10866 version.
10867 * sysdeps/sh/Implies: Add sh/soft-fp.
10868
eacfdfbf
RM
108692013-12-16 Roland McGrath <roland@hack.frob.com>
10870
10871 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10872 level of indirection to members `objname', `errstring', `malloced'.
10873 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10874 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10875 it as the __longjmp argument (just pass 1 instead).
10876 (_dl_catch_error): Initialize C with argument pointers and address of
10877 volatile local ERRCODE rather than copying values out of C at return.
10878
ff362e5b
JM
108792013-12-16 Joseph Myers <joseph@codesourcery.com>
10880
10881 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10882 * math/auto-libm-test-out: Regenerated.
10883 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10884 (hypot_test_data): Likewise.
10885 (pow_test_data): Likewise.
10886 (pow_tonearest_test_data): Likewise.
10887 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10888 mpfr_ff_f.
10889 (func_calc_desc): Add mpfr_ff_f union field.
10890 (FUNC_mpfr_ff_f): New macro.
10891 (test_functions): Add atan2, hypot and pow.
10892 (special_fill_min): New function.
10893 (special_fill_minus_min): Likewise.
10894 (special_fill_min_subnorm): Likewise.
10895 (special_fill_minus_min_subnorm): Likewise.
10896 (special_real_inputs): Add min, -min, min_subnorm and
10897 -min_subnorm.
10898 (calc_generic_results): Handle mpfr_ff_f.
10899 * sysdeps/i386/fpu/libm-test-ulps: Update.
10900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10901
5764c27f
WN
109022013-12-16 Will Newton <will.newton@linaro.org>
10903
10904 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10905 (Aligned Memory Blocks): Add documentation for aligned_alloc
10906 and suggest it as an alternative to posix_memalign.
10907 (Hooks for Malloc): Document __memalign_hook is also called
10908 for aligned_alloc. (Summary of Malloc): Add summary for
10909 aligned alloc. Document __memalign_hook is also called
10910 for aligned_alloc.
10911
0a096e44
WN
109122013-12-16 Will Newton <will.newton@linaro.org>
10913
10914 * manual/memory.texi (Malloc Examples): Clarify default
10915 alignment documentation. Suggest posix_memalign rather
10916 than memalign or valloc.
10917 (Aligned Memory Blocks): Remove suggestion to use memalign
10918 or valloc. Remove obsolete comment about BSD.
10919 Document memalign errno values and mark the function obsolete.
10920 Document posix_memalign returned error codes. Mark valloc
10921 as obsolete. (Hooks for Malloc): __memalign_hook is also
10922 called for posix_memalign and valloc.
10923 (Summary of Malloc): Add posix_memalign to function summary.
10924 __memalign_hook is also called for posix_memalign and valloc.
10925
8d561986
SP
109262013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10927
10928 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10929 TAYLOR_SIN.
10930 (__sin): Adjust.
10931 (__cos): Likewise.
10932 (sloww): Use mynumber union. Expand ternary operator into
10933 if-else statements.
10934 (cslow): use mynumber union.
10935
73616a74
AM
109362013-12-16 Allan McRae <allan@archlinux.org>
10937
9e8ac24b
AM
10938 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10939 * configure: Regenerated.
10940
6f8e37eb
AM
10941 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10942
8894bad3
AM
10943 [BZ #14120]
10944 * configure.ac: Added --enable-maintainer-mode. Check for
10945 autoconf when enabled.
10946 * configure: Regenerated.
10947
73616a74
AM
10948 * nscd/nscd.service: New file.
10949 * nscd/nscd.tmpfiles: New file.
10950
584b18eb
OB
109512013-12-14 Ondřej Bílka <neleai@seznam.cz>
10952
10953 [BZ #12100]
10954 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10955 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10956 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10957 (strstr): Add __strstr_sse2_unaligned ifunc.
10958 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10959 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10960 (strcasestr): Remove __strcasestr_sse42 ifunc.
10961 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10962 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10963 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10964
8a5c7897
KK
109652013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10966
10967 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10968 * sysdeps/sh/bits/fenv.h: ... here.
10969 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10970
fd712ef3
AZ
109712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10972
10973 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10974
42fcb46c
AZ
10975 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10976 hypotf multiarch implementations.
10977 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10978 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10979 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10980 multiarch hypot for PPC64.
10981 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10982 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10983 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10984 multiarch hypotf for PPC64.
10985
83efded4
AZ
10986 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10987 modff multiarch implementations.
10988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10991 multiarch modf for PPC64.
10992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10995 multiarch modff for PPC64.
10996
43e246d2
AZ
10997 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10998 and logl multiarch implementations.
10999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11002 multiarch logb for PPC64.
11003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11006 multiarch logb for PPC64.
11007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11010 multiarch logb for PPC64.
11011
8fdad123
AZ
11012 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11013 isinff multiarch implementation.
11014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11015 file.
11016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11018 multiarch isinf for PPC64.
11019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11020 file.
11021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11022 multiarch isinff for PPC64.
11023
1481d706
AZ
11024 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11025 finitef multiarch implementation.
11026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11027 file.
11028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11030 multiarch finite for PPC64.
11031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11032 file.
11033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11034 multiarch finitef for PPC64.
11035
5ccd5fc8
AZ
11036 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11037 lrint multiarch implementation.
11038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11039 file.
11040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11042 multiarch llrint for PPC64.
11043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11044 multiarch lrint for PPC64.
11045
2568f3fa
AZ
11046 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11047 copysignf multiarch implementation.
11048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11049 file.
11050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11051 file.
11052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11053 multiarch copysign for PPC64.
11054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11055 multiarch copysignf for PPC64.
11056
1cb341fd
AZ
11057 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11058 multiarch implementation.
11059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11060 file.
11061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11062 file.
11063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11064 file.
11065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11066 file.
11067 multiarch llround for PPC64.
11068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11069 multiarch trunc for PPC64.
11070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11071 multiarch truncf for PPC64.
11072
59a3e194
AZ
11073 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11074 multiarch implementation.
11075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11076 file.
11077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11078 file.
11079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11080 file.
11081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11082 file.
11083 multiarch llround for PPC64.
11084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11085 multiarch round for PPC64.
11086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11087 multiarch roundf for PPC64.
11088
357fd3b4
AZ
11089 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11090 multiarch implementation.
11091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11092 file.
11093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11094 file.
11095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11096 file.
11097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11098 file.
11099 multiarch llround for PPC64.
11100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11101 multiarch floor for PPC64.
11102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11103 multiarch floorf for PPC64.
11104
96770f12
AZ
11105 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11106 multiarch implementation.
11107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11108 file.
11109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11110 file.
11111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11112 file.
11113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11114 file.
11115 multiarch llround for PPC64.
11116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11117 multiarch ceil for PPC64.
11118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11119 multiarch ceilf for PPC64.
11120
c3627f6e
AZ
11121 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11122 multiarch implementation.
11123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11124 file.
11125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11126 file.
11127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11128 file.
11129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11130 multiarch llround for PPC64.
11131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11132 multiarch lround for PPC64.
11133
b2284ad7
AZ
11134 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11135 multiarch implementation.
11136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11139 file.
11140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11143 multiarch isnan for PPC64.
11144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11145 multiarch isnanf for PPC64.
11146
69bbc63d
AZ
11147 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11148 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11149 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11150 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11151 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11153
c24517c9
AZ
11154 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11155 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11156 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11157 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11158
a52374e8
AZ
11159 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11160 multiarch implementations.
11161 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11162 (__libc_ifunc_impl_list): Likewise.
11163 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11164 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11165 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11166 multiarch stpcpy for PPC64.
11167
7f5ec113
AZ
11168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11169 multiarch implementations.
11170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11171 (__libc_ifunc_impl_list): Likewise.
11172 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11173 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11174 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11175 multiarch strcpy for PPC64.
11176
e28bcd42
AZ
11177 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11178 redefine function name.
11179 (_wordcopy_fwd_dest_aligned): Likewise.
11180 (_wordcopy_bwd_aligned): Likewise.
11181 (_wordcopy_bwd_dest_aligned): Likewise.
11182 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11183 multiarch implementations.
11184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11185 (__libc_ifunc_impl_list): Likewise.
11186 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11187 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11188 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11189 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11190 multiarch wcscpy for PPC64.
11191
92cacfce
AZ
11192 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11193 multiarch implementations.
11194 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11195 (__libc_ifunc_impl_list): Likewise.
11196 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11197 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11198 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11199 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11200 multiarch wcscpy for PPC64.
11201
7b714620
AZ
11202 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11203 multiarch implementations.
11204 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11205 (__libc_ifunc_impl_list): Likewise.
11206 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11207 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11208 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11209 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11210 multiarch wcsrchr for PPC64.
11211
16fd2ae3
AZ
11212 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11213 multiarch implementations.
11214 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11215 (__libc_ifunc_impl_list): Likewise.
11216 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11217 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11218 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11219 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11220 multiarch wcschr for PPC64.
11221
9ee2969b
AZ
11222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11223 multiarch implementations.
11224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11225 (__libc_ifunc_impl_list): Likewise.
11226 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11227 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11228 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11229 multiarch strchrnul for PPC64.
11230
372dc060
AZ
11231 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11232 implementations.
11233 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11234 (__libc_ifunc_impl_list): Likewise.
11235 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11236 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11237 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11238 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11239 strchr for PPC64.
11240
24c2c3b9
AZ
11241 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11242 implementations.
11243 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11244 (__libc_ifunc_impl_list): Likewise.
11245 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11246 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11247 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11248 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11249 strncmp for PPC64.
11250
1c92d9a0
AZ
11251 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11252 multiarch implementations.
11253 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11254 (__libc_ifunc_impl_list): Likewise.
11255 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11256 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11257 strncasecmp for PPC64.
11258 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11259 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11260 multiarch strncasecmp_l for PPC64.
11261
17de3ee3
AZ
11262 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11263 multiarch implementations.
11264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11265 (__libc_ifunc_impl_list): Likewise.
11266 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11267 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11268 multiarch strcasecmp for PPC64.
11269 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11270 file.
11271 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11272 multiarch strcasecmp_l for PPC64.
11273
62982bf9
AZ
11274 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11275 implementations.
11276 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11277 (__libc_ifunc_impl_list): Likewise.
11278 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11279 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11280 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11281 strnlen for PPC64.
11282
a65f4904
AZ
11283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11284 implementations.
11285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11286 (__libc_ifunc_impl_list): Likewise.
11287 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11288 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11289 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11290 strlen for PPC64.
11291
1fd005ad
AZ
11292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11293 implementations.
11294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11295 (__libc_ifunc_impl_list): Likewise.
11296 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11297 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11298 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11299 rawmemrchr for PPC64.
11300
cd05ba91
AZ
11301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11302 implementation.
11303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11304 (__libc_ifunc_impl_list): Likewise.
11305 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11306 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11307 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11308 memrchr for PPC64.
11309
870f8676
AZ
11310 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11311 implementation.
11312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11313 (__libc_ifunc_impl_list): Likewise.
11314 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11315 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11316 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11317 memchr for PPC64.
11318
f00be62b
AZ
11319 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11320 implementation.
11321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11322 (__libc_ifunc_impl_list): Likewise.
11323 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11324 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11325 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11326 mempcpy for PPC64.
11327
8a29a3d0
AZ
11328 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11329 avoid cretion of __bzero symbol.
11330 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11331 Likewise.
11332 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11333 Likewise.
11334 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11335 Likewise.
11336 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11337 multiarch implementations.
11338 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11339 (__libc_ifunc_impl_list): Likewise.
11340 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11341 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11342 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11343 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11344 bzero for PPC32.
11345 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11346 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11347 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11348 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11349 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11350 memset for PPC64.
11351 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11352
07253fcf
AZ
11353 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11355 implementations.
11356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11357 (__libc_ifunc_impl_list): Likewise.
11358 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11359 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11360 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11361 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11362 memcmp for PPC64.
11363
b5beafbc
AZ
11364 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11365 multiarch for POWER/PPC64.
11366 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11367 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11368 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11369 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11370 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11371 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11372 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11373 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11374 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11375 memcpy for PPC64.
11376
5e6a4d4b
AZ
11377 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11378 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11379 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11380 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11381 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11382 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11383 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11384 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11385 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11386 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11387 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11388 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11389 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11390 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11391 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11399
ddfab6dc
KK
114002013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11401
11402 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11403
19b5525e
SP
114042013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11405
11406 * benchtests/Makefile (bench): Add exp2 and log2.
11407 (LDLIBS-bench-exp2): Add -lm.
11408 (LDLIBS-bench-log2): Likewise.
11409 * benchtests/exp2-inputs: New inputs file.
11410 * benchtests/log2-inputs: New inputs file.
11411 * benchtests/log-inputs: Add new inputs.
11412 * benchtests/tan-inputs: Likewise.
11413
196f7f5d
SP
114142013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11415
7a74607f
SP
11416 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11417 definition...
57f41c40
AS
11418 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11419 (csloww2): ... from here.
7a74607f 11420
196f7f5d
SP
11421 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11422 instead of structures.
11423 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11424 (POLYNOMIAL): Likewise.
11425 (TAYLOR_SLOW): Likewise.
11426 (__sin): Likewise.
11427 (__cos): Likewise.
11428 (slow1): Likewise.
11429 (slow2): Likewise.
11430 (sloww): Likewise.
11431 (sloww1); Likewise.
11432 (sloww2): Likewise.
11433 (bsloww1): Likewise.
11434 (bsloww2): Likewise.
11435 (cslow2): Likewise.
11436 (csloww): Likewise.
11437 (csloww1): Likewise.
11438 (csloww2): Likewise.
11439
0dfa665c
OB
114402013-12-10 Ondřej Bílka <neleai@seznam.cz>
11441
11442 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
11443 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11444 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
11445 * malloc/hooks.c (realloc_check): Likewise.
11446
5782a80f
OB
11447 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11448 * malloc/arena.c: Remove PER_THREAD conditional.
11449 [!PER_THREAD]: Remove code.
11450 (ptmalloc_unlock_all2): Likewise.
11451 (ptmalloc_init): Likewise.
11452 (_int_new_arena): Likewise.
11453 (arena_get2): Likewise.
11454 * malloc/hooks.c (__malloc_get_state): Likewise.
11455 (__malloc_set_state): Likewise.
11456 * malloc/malloc.c: Likewise.
11457 (struct malloc_state): Likewise.
11458 (struct malloc_par): Likewise.
11459 (__libc_realloc): Likewise.
11460 (__libc_mallopt): Likewise.
11461
aeb95445
AZ
114622013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11463
11464 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11465
e8349efd
OB
114662013-12-09 Ondřej Bílka <neleai@seznam.cz>
11467
11468 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11469 macro to a function. Check for zero perturb_byte.
11470 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11471
f3eeb3fc 11472 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
11473 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11474 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
11475 force_reg by atomic_forced_read.
11476 * malloc/arena.c (ptmalloc_init): Likewise.
11477 * malloc/hooks.c (top_check): Likewise.
11478
be2f9009
AZ
114792013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11480
11481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11482
e7b914bd
MT
114832013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11484
11485 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11486
9f0be4f8
JM
114872013-12-08 Joseph Myers <joseph@codesourcery.com>
11488
11489 * math/auto-libm-test-in: Add tests of lgamma.
11490 * math/auto-libm-test-out: Regenerated.
11491 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11492 (M_LOG_2_SQRT_PIl): Likewise.
11493 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11494 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11495 mpfr_f_f1.
11496 (func_calc_desc): Add mpfr_f_f1 union field.
11497 (ARGS1): New macro.
11498 (ARGS2): Likewise.
11499 (ARGS3): Likewise.
11500 (ARGS4): Likewise.
11501 (RET1): Likewise.
11502 (RET2): Likewise.
11503 (CALC): Likewise.
11504 (FUNC): Likewise.
11505 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11506 (test_functions): Add lgamma.
11507 (calc_generic_results): Handle mpfr_f_f1.
11508 * sysdeps/i386/fpu/libm-test-ulps: Update.
11509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11510
24eeafdb
AZ
115112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11512
11513 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11514 __mpn_add_n for PowerPC64/POWER7.
11515 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11516 __mpn_sub_n for PowerPC64/POWER7.
11517
4a2c0fd4
AZ
11518 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11519 __mpn_addmul_1 for PowerPC64.
11520 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11521 __mpn_submul_1 for PowerPC64.
11522 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11523 for PowerPC64.
11524 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11525 for PowerPC64.
11526
4b5b548c
FS
115272013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11528
11529 [BZ #15089]
11530 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11531
0a3ac0aa
AZ
115322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11533
11534 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11535
ccdc8438
AZ
11536 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11537 add multiarch folders.
11538 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11539 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11540 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11541 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11542 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11543 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11544 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11545 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11546 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11547 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11548 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11555
2e973d99
AZ
11556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11557 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11559 New file.
11560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11561 New file.
11562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11563 multiarch __ieee754_hypot for PowerPC32.
11564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11565 New file.
11566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11567 New file.
11568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11569 multiarch __ieee754_hypotf for PowerPC32.
11570
2d9470b2
AZ
11571 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11572 long_double_symbol only if __logbl is defined.
11573 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11574 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11575 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11576 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11577 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11578 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11579 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11580 path for implementation.
11581 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11582 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11584 logb, and logbl multiarch implementations for PowerPC32.
11585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11586 file.
11587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11588 file.
11589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11590 multiarch logb for PowerPC32.
11591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11592 file.
11593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11594 file.
11595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11596 multiarch logbf for PowerPC32.
11597 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11599 file.
11600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11601 multiarch logbl implementation for PowerPC32.
11602
5212ffce
AZ
11603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11604 and modff multiarch implementations.
11605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11606 New file.
11607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11608 New file.
11609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11610 multiarch modf for PowerPC32.
11611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11612 New file.
11613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11614 New file.
11615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11616 multiarch modff for PowerPC32.
11617
79dccf31
AZ
11618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11619 and lrintf multiarch implementations.
11620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11621 New file.
11622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11623 New file.
11624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11625 multiarch lrint for PowerPC32.
11626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11627 file: multiarch lrintf for PowerPC32.
11628
deb66480
AZ
11629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11630 and lroundf multiarch implementations.
11631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11632 New file.
11633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11634 New file.
11635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11636 New file.
11637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11638 multiarch lround for PowerPC32.
11639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11640 file: multiarch lroundf for PowerPC32.
11641
264b036b
AZ
11642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11643 copysign and copysignf multiarch implementations.
11644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11645 New file.
11646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11647 New file.
11648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11649 file: multiarch copysign for PowerPC32.
11650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11651 file: multiarch copysignf for PowerPC32.
11652
d47db6c9
AZ
11653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11654 and truncf multiarch implementations.
11655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11656 New file.
11657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11658 file.
11659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11660 multiarch trunc for PowerPC32.
11661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11662 New file.
11663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11664 New file.
11665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11666 multiarch truncf for PowerPC32.
11667
ddb60b5a
AZ
11668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11669 and roundf multiarch implementations.
11670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11671 New file.
11672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11673 file.
11674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11675 multiarch round for PowerPC32.
11676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11677 New file.
11678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11679 New file.
11680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11681 multiarch roundf for PowerPC32.
11682
bedcf49b
AZ
11683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11684 and floorf multiarch implementations.
11685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11686 New file.
11687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11688 file.
11689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11690 multiarch floor for PowerPC32.
11691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11692 New file.
11693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11694 New file.
11695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11696 multiarch floorf for PowerPC32.
11697
35ae5b40
AZ
11698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11699 and ceilf multiarch implementations.
11700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11701 New file.
11702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11703 file.
11704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11705 multiarch ceil for PowerPC32.
11706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11707 New file.
11708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11709 file.
11710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11711 multiarch ceilf for PowerPC32.
11712
ae1a4cd9
AZ
11713 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11714 is defined.
11715 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11716 FINITEF is defined.
11717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11718 and finitef multiarch implementations.
11719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11720 New file.
11721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11722 file.
11723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11724 multiarch finite for PowerPC32.
11725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11726 New file.
11727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11728 file: multiarch finitef for PowerPC32.
11729
64fffd65
AZ
11730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11731 and isinff multiarch implementations.
11732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11733 file.
11734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11735 file.
11736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11737 multiarch isinf for PowerPC32.
11738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11739 New file.
11740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11741 multiarch isinff for PowerPC32.
11742
8e4e7ba2
AZ
11743 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11744 alias when __isnan is defined.
11745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11746 and isnanf multiarch implementations.
11747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11748 file.
11749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11750 file.
11751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11752 file.
11753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11754 file.
11755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11756 multiarch isnan for PowerPC32.
11757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11758 New file.
11759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11760 New file.
11761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11762 multiarch isnanf for PowerPC32.
11763
ddba588e
AZ
11764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11765 and sqrtf multiarch implementations.
11766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11767 file.
11768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11769 file.
11770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11771 multiarch sqrt for PowerPC32.
11772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11773 file.
11774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11775 file.
11776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11777 multiarch sqrtf for PowerPC32.
11778
0f96a2f0
AZ
11779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11780 and llroundf multiarch implementations.
11781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11782 New file.
11783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11784 New file.
11785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11786 New file.
11787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11788 file: multiarch llround for PowerPC32.
11789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11790 file: multiarch llroundf for PowerPC32.
11791
c9b5d79e
AZ
11792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11793 multiarch PowerPC32 fpu implementations.
11794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11795 New file.
11796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11797 New file.
11798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11799 multiarch llrint for PowerPC32.
11800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11801 New file.
11802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11803 New file.
11804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11805 file.
11806
9cbb3aab
AZ
11807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11808
ea5a72f8
AZ
11809 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11810 file.
11811 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11812 file.
11813 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11814 file.
11815 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11816 multiarch wordcopy for PPC32.
11817 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11818 wordcopy objects.
11819 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11820 (__libc_ifunc_impl_list): Likewise.
11821 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11822 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11823 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11824 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11825 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11826 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11827
93be09e7
AZ
11828 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11829 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11830 file.
11831 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11832 file.
11833 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11834 file.
11835 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11836 multiarch wcscpy for PPC32.
11837 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11838 multiarch objects.
11839 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11840 (__libc_ifunc_impl_list): Likewise.
11841 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11842 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11843 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11844 sysdeps/powerpc/power6/wcscpy.c.
11845
bb04e529
AZ
11846 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11847 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11848 file.
11849 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11850 file.
11851 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11852 file.
11853 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11854 multiarch wcsrchr for PPC32.
11855 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11856 multiarch objects.
11857 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11858 (__libc_ifunc_impl_list): Likewise.
11859 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11860 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11861 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11862 sysdeps/powerpc/power6/wcsrchr.c.
11863
05b5cd1c
AZ
11864 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11865 file.
11866 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11867 file.
11868 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11869 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11870 multiarch wcschr for PPc32.
11871 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11872 multiarch objects.
11873 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11874 (__libc_ifunc_impl_list): Likewise.
11875 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11876 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11877 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11878 sysdeps/powerpc/power6/wcschr.c.
11879
ba964147
AZ
11880 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11881 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11882 file.
11883 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11884 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11885 file: multiarch strchr for PPC32.
11886 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11887 multiarch objects.
11888 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11889 (__libc_ifunc_impl_list): Likewise.
11890
31c81aaa
AZ
11891 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11892 name.
11893 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11894 file.
11895 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11896 file.
11897 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11898 multiarch strchrnul for PPC32.
11899 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11900 multiarch objects.
11901 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11902 (__libc_ifunc_impl_list): Likewise.
11903
0d0607d9
AZ
11904 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11905 file.
11906 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11907 multiarch strncasecmp for PPC32.
11908 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11909 file.
11910 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11911 multiarch strncasecmp_l for PPC32.
11912 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11913 strncasecmp multiarch objects.
11914 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11915 (__libc_ifunc_impl_list): Likewise.
11916
4dfd5c86
AZ
11917 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11918 file.
11919 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11920 multiarch strncasecmp for PPC32.
11921 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11922 New file.
11923 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11924 multiarch strcasecmp_l for PPC32.
11925 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11926 multiarch objects.
11927 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11928 (__libc_ifunc_impl_list): Likewise.
11929
a19e01a3
AZ
11930 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11931 file.
11932 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11933 file.
11934 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11935 multiarch strncmp for PPC32.
11936 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11937 multiarch objects.
11938 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11939 (__libc_ifunc_impl_list): Likewise.
11940
ae9cf7a2
AZ
11941 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11942 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11943 file.
11944 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11945 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11946 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11947 multiarch objects.
11948 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11949 (__libc_ifunc_impl_list): Likewise.
11950
3148bb7d
AZ
11951 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11952 file.
11953 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11954 file.
11955 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11956 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11957 multiarch objects.
11958 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11959 (__libc_ifunc_impl_list): Likewise.
11960
7af8b946
AZ
11961 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11962 file.
11963 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11964 file.
11965 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11966 multiarch rawmemchr for PPC32.
11967 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11968 multiarch objects.
11969 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11970 (__libc_ifunc_impl_list): Likewise.
11971
03a6aa6a
AZ
11972 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11973 file.
11974 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11975 file.
11976 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11977 file: memrchr multiarch for PPC32.
11978 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11979 multiarch objects.
11980 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11981 (__libc_ifunc_impl_list): Likewise.
11982
1c62e6d9
AZ
11983 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11984 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11985 file.
11986 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11987 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11988 multiarch memchr for PPC32.
11989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11990 multiarch objects.
11991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11992 (__libc_ifunc_impl_list): Likewise.
11993
87da8bdb
AZ
11994 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11995 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11996 file.
11997 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11998 file.
11999 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12000 file: multiarch mempcpy for PPC32.
12001 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12002 multiarch objects.
12003 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12004 (__libc_ifunc_impl_list): Likewise.
12005
20ed4714
AZ
12006 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12007 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12008 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12009 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12010 multiarch bzero for PPC32.
12011 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12012 file.
12013 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12014 file.
12015 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12016 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12017 file: multiarch memset for PPC32.
12018 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12019 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12020 memset multiarch objects.
12021 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12022 (__libc_ifunc_impl_list): Likewise.
12023
ab3e3a46
AZ
12024 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12025 file.
12026 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12027 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12028 memcmp for PPC32.
12029 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12030 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12031 multiarch objects.
12032 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12033 (__libc_ifunc_impl_list): Likewise.
12034
930de6f0
AZ
12035 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12036 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12037 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12038 file.
12039 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12040 file.
12041 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12042 file.
12043 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12044 multiarch memcpy for PPC32.
12045 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12046 multiarch objects.
12047 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12048 (__libc_ifunc_impl_list): Likewise.
12049
4c628e00
AZ
12050 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12051 support multiarch for POWER/PPC32.
12052 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12053 Likewise.
12054 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12056 Implies file to make multiarch folder appers before the fpu and
12057 default folder for power4 configuration.
12058
f4479220
SP
120592013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12060
12061 * scripts/bench.pl: Append volatile keyword to type.
12062
8517800f
KK
120632013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12064
12065 * sysdeps/sh/sotruss-lib.c: New file.
12066 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12067
180138f1
AZ
120682013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12069
12070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12071
bbf37bdc
JM
120722013-12-05 Joseph Myers <joseph@codesourcery.com>
12073
e47cc4e0
JM
12074 [BZ #6810]
12075 * math/w_tgamma.c: Include <errno.h>.
12076 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12077 * math/w_tgammaf.c: Include <errno.h>.
12078 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12079 * math/w_tgammal.c: Include <errno.h>.
12080 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12081 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12082 underflow. Add more tgamma tests.
12083 * math/auto-libm-test-out: Regenerated.
12084 * sysdeps/i386/fpu/libm-test-ulps: Update.
12085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12086
bbf37bdc
JM
12087 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12088 sin, sinh, tan, tanh, tgamma, y0 and y1.
12089 * math/auto-libm-test-out: Regenerated.
12090 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12091 (TEST_COND_x86): Likewise.
12092 (M_E2l): Remove macro.
12093 (M_E3l): Likewise.
12094 (M_2_SQRT_PIl): Likewise.
12095 (M_SQRT_PIl): Likewise.
12096 (M_1_DIV_El): Likewise.
12097 (log_test_data): Use AUTO_TESTS_f_f.
12098 (log10_test_data): Likewise.
12099 (log1p_test_data): Likewise.
12100 (log2_test_data): Likewise.
12101 (sin_test_data): Likewise.
12102 (sin_tonearest_test_data): Likewise.
12103 (sin_towardzero_test_data): Likewise.
12104 (sin_downward_test_data): Likewise.
12105 (sin_upward_test_data): Likewise.
12106 (sinh_test_data): Likewise.
12107 (sinh_tonearest_test_data): Likewise.
12108 (sinh_towardzero_test_data): Likewise.
12109 (sinh_downward_test_data): Likewise.
12110 (sinh_upward_test_data): Likewise.
12111 (tan_test_data): Likewise.
12112 (tan_tonearest_test_data): Likewise.
12113 (tan_towardzero_test_data): Likewise.
12114 (tan_downward_test_data): Likewise.
12115 (tan_upward_test_data): Likewise.
12116 (tanh_test_data): Likewise.
12117 (tgamma_test_data): Likewise.
12118 (y0_test_data): Likewise.
12119 (y1_test_data): Likewise.
12120 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12121 (special_real_inputs): Add pi/4.
12122 * sysdeps/i386/fpu/libm-test-ulps: Update.
12123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12124
eb5ad6b9
AZ
121252013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12126
12127 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12128 "longjmp_target" static probes.
12129 (__longjmp): Rename to __longjmp_symbol.
12130 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12131 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12132 on which longjmp to generate.
12133 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12134 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12135 probe.
12136 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12137 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12138 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12139 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12140 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12141 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12143 __longjmp_symbol based on which __longjmp to generate.
12144 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12145 probe.
12146 (setjmp): Rename to setjmp_symbol.
12147 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12148 (_setjmp): Rename to _setjmp_symbol.
12149 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12150 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12151 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12152 which setjmp to generate.
12153 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12154 "longjmp_target" static probes.
12155
d136c6dc
SP
121562013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12157
9298ecba
SP
12158 * benchtests/README: Add note about output arguments.
12159 * benchtests/bench-sincos.c: Remove file.
12160 * benchtests/sincos-inputs: New file.
12161 * scripts/bench.pl: Identify output arguments and define
12162 static variables for them.
12163
232983e9
SP
12164 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12165
d136c6dc
SP
12166 [BZ #15941]
12167 * Makefile (INSTALL): Add install-plain.texi as the primary
12168 dependency.
12169 * manual/install-plain.texi: New file.
12170 * manual/install.texi: Include node directive only for
12171 non-plaintext output.
12172
699ff837
JM
121732013-12-04 Joseph Myers <joseph@codesourcery.com>
12174
ab07cea8
JM
12175 * stdlib/longlong.h: Update from GCC.
12176
699ff837
JM
12177 [BZ #6807]
12178 [BZ #15901]
12179 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12180 * math/w_j0f.c (y0f): Likewise.
12181 * math/w_j0l.c (__y0l): Likewise.
12182 * math/w_j1.c (y1): Likewise.
12183 * math/w_j1f.c (y1f): Likewise.
12184 * math/w_j1l.c (__y1l): Likewise
12185 * math/w_jn.c (yn): Likewise.
12186 * math/w_jnf.c (ynf): Likewise.
12187 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12188 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12189 value for Bessel function domain errors outside _SVID_ mode.
12190 Adjust sign of return value for yn (negative integer, 0).
12191 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12192 by zero in return for negative x and set sign appropriately for
12193 negative n.
12194 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12195 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12196 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12197 expectations in error cases.
12198 (y1_test_data): Likewise.
12199 (yn_test_data): Likewise.
12200 * sysdeps/i386/fpu/libm-test-ulps: Update.
12201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12202
5b118558
UW
122032013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12204
12205 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12206 "64" to "64-v1". Add "64-v2".
12207 (abi-64-options): Rename to ...
12208 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12209 (abi-64-condition): Rename to ...
12210 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12211 (abi-64-ld-soname): Rename to ...
12212 (abi-64-v1-ld-soname): ... this.
12213 (abi-64-v2-options): Define.
12214 (abi-64-v2-condition): Likewise.
12215 (abi-64-v2-ld-soname): Likewise.
12216 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12217 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12221
61cd8fe4
UW
122222013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12223 Alan Modra <amodra@gmail.com>
12224
12225 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12226 New versions for use with the ELFv2 ABI.
12227 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12228 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12229 declaration.
12230 (struct La_ppc64v2_retval): Likewise.
12231 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12232 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12233 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12234 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12235 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12236 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12237 Do not save or restore CR.
12238 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12239 (_dl_profile_resolve): Do no save or restore CR. Support extended
12240 return values for ELFv2 ABI. Fix location of FPR return registers.
12241 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12242 updated values for _CALL_ELF == 2.
12243 (La_regs, La_retval, int_retval): Likewise.
12244
8b8a692c
UW
122452013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12246
12247 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12248 (FRAME_MIN_SIZE_PARM): Likewise.
12249 (FRAME_BACKCHAIN): Likewise.
12250 (FRAME_CR_SAVE): Likewise.
12251 (FRAME_LR_SAVE): Likewise.
12252 (FRAME_TOC_SAVE): Likewise.
12253 (FRAME_PARM_SAVE): Likewise.
12254 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12255 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12256 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12257 (call_mcount_parm_offset): New macro.
12258 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12259 (PROF): Use symbolic stack frame offsets.
12260 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12261 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12262 Redefine in terms of FRAME_MIN_SIZE.
12263 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12264 (_dl_profile_resolve): Likewise. Update comment.
12265 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12266 symbols stack frame offsets.
12267 (__sigsetjmp): Likewise.
12268 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12269 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12270 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12271 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12272
12273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12274 (FRAME_BACKCHAIN): Remove.
12275 (FRAME_CR_SAVE): Likewise.
12276 (FRAME_LR_SAVE): Likewise.
12277 (FRAME_COMPILER_DW): Likewise.
12278 (FRAME_LINKER_DW): Likewise.
12279 (FRAME_TOC_SAVE): Likewise.
12280 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
12281 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12282 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12283 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
12284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12285 (CHECK_SP): Use symbolic stack frame offsets.
12286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12287 zone" instead of caller's parameter save area for temp storage.
12288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12289 Likewise. Also, use symbolic stack frame offsets.
12290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12291 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12292 our own stack frame instead of the caller's.
12293 (__socket): Use symbolic stack frame offsets.
12294
122b66de
UW
122952013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12296 Alan Modra <amodra@gmail.com>
12297
12298 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12299 Define.
57f41c40
AS
12300 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12301 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
12302 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12303 New function.
12304 (elf_machine_fixup_plt): Call it.
12305 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12306 reloc arguments.
12307 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
12308 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12309 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
12310 r2 before calling target.
12311
696caf1d
UW
123122013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12313 Alan Modra <amodra@gmail.com>
12314
12315 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12316 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12317 versions of macros to support ELFv2 ABI.
12318 (LOCALENTRY): New macro.
12319 (ENTRY, EALIGN): Use it.
12320 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12321 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12322 fall through into ENTRY entry point.
12323 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12324 Only define if _CALL_ELF != 2.
12325
12326 (elf_machine_matches_host): Verify ABI version matches.
12327 (RTLD_START): Use LOCALENTRY.
12328 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12329 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12330 (PLT_ENTRY_WORDS): New macro.
12331 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12332 (elf_machine_runtime_setup): Support ELFv2 ABI.
12333 (elf_machine_fixup_plt): Likewise.
12334 (elf_machine_plt_conflict): Likewise.
12335 (resolve_ifunc): Likewise.
12336 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12337 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12338 Likewise.
12339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12340 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12342 (makecontext): Support ELFv2 ABI.
12343 * elf/elf.h (EF_PPC64_ABI): Define.
12344
d31beafa
UW
123452013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12346
57f41c40
AS
12347 * sysdeps/powerpc/powerpc64/sysdep.h
12348 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12349 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12350 (ENTRY) [ASSEMBLER]: ... but instead here ...
12351 (EALIGN) [ASSEMBLER]: ... and here.
12352 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12353 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12354 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
12355 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12356 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
12357 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12358 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
12359 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12361 Use PPC64_LOAD_FUNCPTR.
12362
b525166b
UW
12363 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12364
7ec07d9a
AM
123652013-12-04 Alan Modra <amodra@gmail.com>
12366
12367 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12368 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12369 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12370 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12371
12372 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12373 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12374 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12375 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12376 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12377 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12378
5162e7dd
UW
123792013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12380
12381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12382 (__makecontext): Fix incorrect CFI when backtracing out of
12383 context created via makecontext.
12384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12385 (__setcontext): Fix incorrect CFI during switch to new context.
12386 (__novec_setcontext): Likewise.
12387
19e3372b
OB
123882013-12-04 Ondřej Bílka <neleai@seznam.cz>
12389
12390 [BZ #4772]
12391 * time/strptime_l.c (__strptime_internal): Allow modifiers
12392 in strptime.
12393 * time/tst-strptime.c (day_tests): Add testcase.
12394
ecaf142d
SP
123952013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12396
12397 * scripts/bench.pl: Skip over blank lines.
12398
fbf964ae
PE
123992013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12400
12401 [BZ #926]
12402 * manual/time.texi (Calendar Time): Clarify what timezone functions
12403 use.
12404
fa60a674
AZ
124052013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12406
12407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12408
d674f0ef
OB
124092013-12-04 Ondřej Bílka <neleai@seznam.cz>
12410
12411 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12412 implementation.
12413 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12414 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12415 * debug/memset_chk.c (__memset_chk): Likewise.
12416 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12417 * debug/strncpy_chk.c: Likewise.
12418
17dea188
JM
124192013-12-03 Joseph Myers <joseph@codesourcery.com>
12420
749008ff
JM
12421 [BZ #15268]
12422 [BZ #15425]
12423 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12424 (__ieee754_exp): For possibly underflowing results, check size of
12425 result and force underflow exception if required.
12426 * math/auto-libm-test-in: Add more tests of exp.
12427 * math/auto-libm-test-out: Regenerated.
12428 * sysdeps/i386/fpu/libm-test-ulps: Update.
12429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12430
17dea188
JM
12431 [BZ #16283]
12432 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12433 * math/w_exp2f.c (__exp2f): Likewise.
12434 * math/w_exp2l.c (__exp2l): Likewise.
12435 * math/auto-libm-test-in: Do not allow missing errno on exp2
12436 underflow.
12437 * math/auto-libm-test-out: Regenerated.
12438
b20de2c3
OB
124392013-12-03 Ondřej Bílka <neleai@seznam.cz>
12440
12441 [BZ #16274]
12442 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12443 handle filename validation.
12444 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12445 (do_open): Delete.
12446
d8e2dbe3
JM
124472013-12-03 Joseph Myers <joseph@codesourcery.com>
12448
34e16df5
JM
12449 [BZ #6786]
12450 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12451 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12452 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12453 <float.h>.
12454 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12455 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12456 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12457 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12458 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12459 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12460 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12461 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12462 Add more erfc tests.
12463 * math/auto-libm-test-out: Regenerated.
12464 * sysdeps/i386/fpu/libm-test-ulps: Update.
12465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12466
d8e2dbe3
JM
12467 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12468 exp2, expm1, j0 and j1.
12469 * math/auto-libm-test-out: Regenerated.
12470 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12471 (erfc_test_data): Likewise.
12472 (exp_test_data): Likewise.
12473 (exp_tonearest_test_data): Likewise.
12474 (exp_towardzero_test_data): Likewise.
12475 (exp_downward_test_data): Likewise.
12476 (exp_upward_test_data): Likewise.
12477 (exp10_test_data): Likewise.
12478 (exp2_test_data): Likewise.
12479 (expm1_test_data): Likewise.
12480 (j0_test_data): Likewise.
12481 (j1_test_data): Likewise.
12482 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12483 (input_flag_type): Add flag_xfail_rounding.
12484 (input_flags): Add xfail-rounding.
12485 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12486 (output_for_one_input_case): Handle flag_xfail_rounding.
12487 * sysdeps/i386/fpu/libm-test-ulps: Update.
12488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12489
18d14251
AJ
124902013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12491
3d2e6075 12492 [BZ #16289]
18d14251
AJ
12493 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12494 division by 0.
12495
520d437b
SP
124962013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12497
12498 [BZ #16195]
12499 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12500 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12501 (STAP_PROBE0): New macro.
12502 (STAP_PROBE1): Likewise.
12503 (STAP_PROBE2): Likewise.
12504 (STAP_PROBE3): Likewise.
12505 (STAP_PROBE4): Likewise.
12506
416e0145
OB
125072013-12-02 Ondřej Bílka <neleai@seznam.cz>
12508
12509 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12510
9d17796a
SE
125112013-12-02 Steve Ellcey <sellcey@mips.com>
12512
12513 * benchtests/Makefile (bench): Add sqrt.
12514 (LDLIBS-bench-sqrt): New.
12515 * benchtests/sqrt-input: New.
12516
f524d6a8
PS
125172013-12-02 Pavel Simerda <psimerda@redhat.com>
12518
639a0ef8
PS
12519 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12520 (GAIH_EAI): Likewise.
12521 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12522 (gaih_inet): Likewise.
12523 (getaddrinfo): Don't use GAIH_EAI.
12524
f524d6a8
PS
12525 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12526 (struct gaih): Remove definition.
12527
df3aedaf
SP
125282013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12529
12530 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12531 Use HERRNOP directly.
12532
1ab19dec
AZ
125332013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12534
b42ad38d 12535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 12536
176b0c79
JM
125372013-11-30 Joseph Myers <joseph@codesourcery.com>
12538
12539 * math/gen-auto-libm-tests.c (test_functions): Add more
12540 single-argument functions.
12541 (special_fill_pi_2): New function.
12542 (special_fill_minus_pi_2): Likewise.
12543 (special_fill_pi_6): Likewise.
12544 (special_fill_minus_pi_6): Likewise.
12545 (special_fill_pi_3): Likewise.
12546 (special_fill_2pi_3): Likewise.
12547 (special_fill_e): Likewise.
12548 (special_fill_1_e): Likewise.
12549 (special_fill_e_minus_1): Likewise.
12550 (special_real_inputs): Add more special inputs.
12551 (output_for_one_input_case): Do not require ERANGE on underflow to
12552 zero if round-to-nearest result does not underflow to zero, unless
12553 exact results required.
12554 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12555 atan, atanh, cbrt, cos and cosh.
12556 * math/auto-libm-test-out: Regenerated.
12557 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12558 (acos_tonearest_test_data): Likewise.
12559 (acos_towardzero_test_data): Likewise.
12560 (acos_downward_test_data): Likewise.
12561 (acos_upward_test_data): Likewise.
12562 (acosh_test_data): Likewise.
12563 (asin_test_data): Likewise.
12564 (asin_tonearest_test_data): Likewise.
12565 (asin_towardzero_test_data): Likewise.
12566 (asin_upward_test_data): Likewise.
12567 (asinh_test_data): Likewise.
12568 (atan_test_data): Likewise.
12569 (atanh_test_data): Likewise.
12570 (cbrt_test_data): Likewise.
12571 (cos_test_data): Likewise.
12572 (cos_tonearest_test_data): Likewise.
12573 (cos_towardzero_test_data): Likewise.
12574 (cos_downward_test_data): Likewise.
12575 (cos_upward_test_data): Likewise.
12576 (cosh_test_data): Likewise.
12577 (cosh_tonearest_test_data): Likewise.
12578 (cosh_towardzero_test_data): Likewise.
12579 (cosh_downward_test_data): Likewise.
12580 (cosh_upward_test_data): Likewise.
12581 * sysdeps/i386/fpu/libm-test-ulps: Update.
12582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12583
ffb536d0
JM
125842013-11-29 Joseph Myers <joseph@codesourcery.com>
12585
2a77a467
JM
12586 [BZ #6787]
12587 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12588 * math/w_exp10f.c (__exp10f): Likewise.
12589 * math/w_exp10l.c (__exp10l): Likewise.
12590 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12591 errno settings in existing tests.
12592
ea3bc4e8
JM
12593 [BZ #14032]
12594 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12595 precision control set to double precision.
12596 * sysdeps/i386/fpu/w_sqrt.c: New file.
12597 * math/auto-libm-test-in: Add more tests.
12598 * math/auto-libm-test-out: Update.
12599
0712c9d8
JM
12600 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12601 (sqrt_test_tonearest): New function.
12602 (sqrt_towardzero_test_data): New variable.
12603 (sqrt_test_towardzero): New function.
12604 (sqrt_downward_test_data): New variable.
12605 (sqrt_test_downward): New function.
12606 (sqrt_upward_test_data): New variable.
12607 (sqrt_test_upward): New function.
12608 (main): Call the new functions.
12609
ffb536d0
JM
12610 * math/gen-auto-libm-tests.c: New file.
12611 * math/auto-libm-test-in: Likewise.
12612 * math/auto-libm-test-out: New generated file.
12613 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12614 variables.
12615 (%beautify): Add generated representations of zero.
12616 (top level): Set $auto_input and call parse_auto_input.
12617 (beautify): Remove trailing "f" from hex float constants.
12618 (parse_args): Handle XFAIL_TEST.
12619 (convert_condition): New function.
12620 (or_value): Likewise.
12621 (or_cond_value): Likewise.
12622 (generate_testfile): Handle AUTO_TESTS_* lines.
12623 (parse_auto_input): New function.
12624 * math/libm-test.inc (XFAIL_TEST): New macro.
12625 (ERRNO_UNCHANGED): Update value.
12626 (ERRNO_EDOM): Likewise.
12627 (ERRNO_ERANGE): Likewise.
12628 (IGNORE_RESULT): Likewise.
12629 (TEST_COND_flt_32): New macro.
12630 (TEST_COND_dbl_64): Likewise.
12631 (TEST_COND_ldbl_96_intel): Likewise.
12632 (TEST_COND_ldbl_96_m68k): Likewise.
12633 (TEST_COND_ldbl_128): Likewise.
12634 (TEST_COND_ldbl_128ibm): Likewise.
12635 (TEST_COND_long32): Likewise.
12636 (TEST_COND_long64): Likewise.
12637 (TEST_COND_before_rounding): Likewise.
12638 (TEST_COND_after_rounding): Likewise.
12639 (enable_test): Handle XFAIL_TEST flag.
12640 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12641 with finite results.
12642 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12643 auto-libm-test-out.
12644
acd98a8e
AK
126452013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12646 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12647
12648 [BZ #16214]
12649 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12650 __tls_get_addr_internal instead of __tls_get_offset in order to
12651 avoid GOT pointer dependency. Make rtld export
12652 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12653 __tls_get_addr since we are a __tls_get_offset platform.
12654 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12655 GOT pointer being set up before.
12656 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12657
3c1c46a6
JM
126582013-11-28 Joseph Myers <joseph@codesourcery.com>
12659
7475aef5
JM
12660 * manual/math.texi (Errors in Math Functions): Document accuracy
12661 goals.
12662
8bca7cd8
JM
12663 [BZ #15004]
12664 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12665 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12666 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12667 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12668 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12669 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12670 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12671 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12672 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12673 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12674 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12675 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12676 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12677 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12678 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12679 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12680
91a1f3fe
JM
12681 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12682 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12683 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12684 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12685 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12686 Likewise.
12687 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12688 Likewise.
12689 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12690 Likewise.
12691 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12692 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12693 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12694 atomic-feupdateenv and flt-rounds.
12695 * sysdeps/powerpc/nofpu/Versions (libc): Add
12696 __atomic_feholdexcept, __atomic_feclearexcept,
12697 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12698 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12699 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12700 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12701 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12702 here.
12703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12704 Update.
12705
c5df7609
JM
12706 * manual/arith.texi (FP Exceptions): Document that exceptions may
12707 not be raised when matherr is used.
12708 (Math Error Reporting): Document overflow in directed rounding
12709 modes. Document that errno may not be set when finite values are
12710 returned on overflow. Document intent to set errno on underflow
12711 only for underflow to zero.
12712
3c1c46a6
JM
12713 [BZ #16271]
12714 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12715 round-to-nearest then adjust result for other rounding modes.
12716 * include/fenv.h (fegetround): Use libm_hidden_proto.
12717 * math/fegetround.c (fegetround): Use libm_hidden_def.
12718 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12719 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12720 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12721 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12722 Likewise.
12723 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12724 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12725 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12726 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12727
5a4c6d53
SP
127282013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12729
12730 [BZ #16077]
12731 * nss/Versions (libnss_files): Add
12732 _nss_files_gethostbyname3_r.
12733 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12734 New function.
12735 (HOST_DB_LOOKUP): Remove macro.
12736 (_nss_files_gethostbyname_r): Implement function without the
12737 HOST_DB_LOOKUP macro.
12738 (_nss_files_gethostbyname2_r): Likewise.
12739
897b98ba
OB
127402013-11-28 Ondřej Bílka <neleai@seznam.cz>
12741
12742 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12743
6f476861
UB
127442013-11-26 Uros Bizjak <ubizjak@gmail.com>
12745
12746 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12747 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12748 warning.
12749
bd12ab55
AZ
127502013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12751
12752 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12753 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12754 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12755 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12756 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12757 __fe_nomask_env_priv and attribute_hidden.
12758 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12759 (libc_feupdateenv_test_ppc): Likewise.
12760 (libc_feresetround_ppc): Likewise.
12761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12762 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12763 compat_symbol macro.
12764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12765 (__fe_nomask_env): Likewise.
12766 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12767
52bb6543
OB
127682013-11-26 Ondřej Bílka <neleai@seznam.cz>
12769
12770 * string/Makefile: Remove ifunc tests.
12771 * string/test-string.h: Define TEST_IFUNC.
12772 * string/test-bcopy-ifunc.c: Remove.
12773 * string/test-bzero-ifunc.c: Likewise.
12774 * string/test-memccpy-ifunc.c: Likewise.
12775 * string/test-memchr-ifunc.c: Likewise.
12776 * string/test-memcmp-ifunc.c: Likewise.
12777 * string/test-memcpy-ifunc.c: Likewise.
12778 * string/test-memmem-ifunc.c: Likewise.
12779 * string/test-memmove-ifunc.c: Likewise.
12780 * string/test-mempcpy-ifunc.c: Likewise.
12781 * string/test-memrchr-ifunc.c: Likewise.
12782 * string/test-memset-ifunc.c: Likewise.
12783 * string/test-rawmemchr-ifunc.c: Likewise.
12784 * string/test-stpcpy-ifunc.c: Likewise.
12785 * string/test-stpncpy-ifunc.c: Likewise.
12786 * string/test-strcasecmp-ifunc.c: Likewise.
12787 * string/test-strcasestr-ifunc.c: Likewise.
12788 * string/test-strcat-ifunc.c: Likewise.
12789 * string/test-strchr-ifunc.c: Likewise.
12790 * string/test-strchrnul-ifunc.c: Likewise.
12791 * string/test-strcmp-ifunc.c: Likewise.
12792 * string/test-strcpy-ifunc.c: Likewise.
12793 * string/test-strcspn-ifunc.c: Likewise.
12794 * string/test-strlen-ifunc.c: Likewise.
12795 * string/test-strncasecmp-ifunc.c: Likewise.
12796 * string/test-strncat-ifunc.c: Likewise.
12797 * string/test-strncmp-ifunc.c: Likewise.
12798 * string/test-strncpy-ifunc.c: Likewise.
12799 * string/test-strnlen-ifunc.c: Likewise.
12800 * string/test-strpbrk-ifunc.c: Likewise.
12801 * string/test-strrchr-ifunc.c: Likewise.
12802 * string/test-strspn-ifunc.c: Likewise.
12803 * string/test-strstr-ifunc.c: Likewise.
12804
ab260039 128052013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
12806
12807 * benchtests/Makefile: Remove ifunc tests.
12808 * benchtests/bench-string.h: Define TEST_IFUNC.
12809 * benchtests/bench-bcopy-ifunc.c: Remove.
12810 * benchtests/bench-bzero-ifunc.c: Likewise.
12811 * benchtests/bench-memccpy-ifunc.c: Likewise.
12812 * benchtests/bench-memchr-ifunc.c: Likewise.
12813 * benchtests/bench-memcmp-ifunc.c: Likewise.
12814 * benchtests/bench-memcpy-ifunc.c: Likewise.
12815 * benchtests/bench-memmem-ifunc.c: Likewise.
12816 * benchtests/bench-memmove-ifunc.c: Likewise.
12817 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12818 * benchtests/bench-memrchr-ifunc.c: Likewise.
12819 * benchtests/bench-memset-ifunc.c: Likewise.
12820 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12821 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12822 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12823 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12824 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12825 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12826 * benchtests/bench-strcat-ifunc.c: Likewise.
12827 * benchtests/bench-strchr-ifunc.c: Likewise.
12828 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12829 * benchtests/bench-strcmp-ifunc.c: Likewise.
12830 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12831 * benchtests/bench-strcpy-ifunc.c: Likewise.
12832 * benchtests/bench-strcspn-ifunc.c: Likewise.
12833 * benchtests/bench-strlen-ifunc.c: Likewise.
12834 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12835 * benchtests/bench-strncat-ifunc.c: Likewise.
12836 * benchtests/bench-strncmp-ifunc.c: Likewise.
12837 * benchtests/bench-strncpy-ifunc.c: Likewise.
12838 * benchtests/bench-strnlen-ifunc.c: Likewise.
12839 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12840 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 12841 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
12842 * benchtests/bench-strspn-ifunc.c: Likewise.
12843 * benchtests/bench-strstr-ifunc.c: Likewise.
12844
128452013-11-26 Ondřej Bílka <neleai@seznam.cz>
12846
ab260039
OB
12847 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12848
d1d9eaf4 128492013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 12850
d1d9eaf4
OB
12851 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12852 * rt/aio.h: Likewise.
12853 * sysdeps/gnu/bits/utmp.h: Likewise.
12854 * sysdeps/gnu/bits/utmpx.h: Likewise.
12855 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12856 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12857 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12858 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12859 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12860 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12861 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12862 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12863 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12864 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12865 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12866 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12867 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12869 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12870 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12871 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12872 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12873 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12874 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12875 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12876 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12877 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12878 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12879 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12880 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12881 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12882 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12883 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12884 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12885 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12886 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12887 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12888 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12889 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12890 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12891 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12892 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12893 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12894 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12895 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12896 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12897
a7624ed9
CD
128982013-11-25 Carlos O'Donell <carlos@redhat.com>
12899
12900 [BZ #16245]
12901 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12902 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12903
63cfe52b
JM
129042013-11-25 Joseph Myers <joseph@codesourcery.com>
12905
12906 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12907 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12908 Likewise.
12909
41e8926a
AZ
129102013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12911
12912 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12913 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12914 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12915 (__fesetround): Remove define.
12916 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12917 rounding and exceptions handling.
12918 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12919 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12920 (__fe_nomask_env): Likewise.
12921 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12922 __fegetround instead of fegetround.
12923 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12924 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12925
6851bd4d
RM
129262013-11-21 Roland McGrath <roland@hack.frob.com>
12927
070906ff
RM
12928 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12929 it's there.
12930
6851bd4d
RM
12931 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12932
84ae135d
MI
129332013-11-21 Meador Inge <meadori@codesourcery.com>
12934
12935 [BZ #11157]
12936 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12937 (encrypt_r): Likewise.
12938 * malloc/obstack.h (obstack_free): Likewise.
12939 * posix/unistd.h (encrypt): Likewise.
12940
daf75146
GM
129412013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12942
12943 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12944 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12945 DL_CALL_DT_FINI() that call the functions directly.
12946 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12947 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12948 * elf/dl-fini.c: Likewise.
12949
10ad46bc
OB
129502013-11-20 Ondřej Bílka <neleai@seznam.cz>
12951
12952 * malloc/hooks.c (memalign_check): Add alignment rounding.
12953 * malloc/malloc.c (_mid_memalign): New function.
12954 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12955 Implement by calling _mid_memalign.
12956 * manual/probes.texi (Memory Allocation Probes): Remove
12957 memory_valloc_retry and memory_pvalloc_retry.
12958
f3fd2628
SP
129592013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12960
4712799f
SP
12961 * locale/programs/locarchive.c (open_archive): Add const
12962 qualifier to ARCHIVEFNAME and copy default fname to
12963 DEFAULT_FNAME.
12964
0417b20f
SP
12965 [BZ #15601]
12966 * libio/tst-widetext.input: Rename Oriya to Odia.
12967 * locale/iso-639.def: Likewise.
12968
f3fd2628
SP
12969 * manual/probes.texi (Mathematical Function Probes): Add
12970 documentation for sin, cos, asin and acos probes.
12971 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12972 (__sin32): Add slowasin probe.
12973 (__cos32): Add slowacos probe.
12974 (__mpsin): Add slowsin probe.
12975 (__mpcos): Add slowcos probe.
12976
73c1ce4f
JM
129772013-11-19 Joseph Myers <joseph@codesourcery.com>
12978
12979 [BZ #15483]
12980 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12981 thread-local __sim_exceptions_thread and global
12982 __sim_exceptions_global.
12983 (__sim_disabled_exceptions): Change to thread-local
12984 __sim_disabled_exceptions_thread and global
12985 __sim_disabled_exceptions_global.
12986 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12987 and global __sim_round_mode_global.
12988 (__simulate_exceptions): Use thread-local floating-point state and
12989 set global state from it as needed.
12990 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12991 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12992 __sim_round_mode_thread.
12993 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12994 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12995 and global __sim_exceptions_global.
12996 (__sim_disabled_exceptions): Change to thread-local
12997 __sim_disabled_exceptions_thread and global
12998 __sim_disabled_exceptions_global.
12999 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13000 and global __sim_round_mode_global.
13001 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13002 (SIM_SET_GLOBAL): Likewise.
13003 * sysdeps/powerpc/soft-fp/sfp-machine.h
13004 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13005 __sim_round_mode_thread.
13006 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13007 __sim_disabled_exceptions_thread.
13008 (__sim_exceptions): Change to __sim_exceptions_thread.
13009 (__sim_disabled_exceptions): Change to
13010 __sim_disabled_exceptions_thread.
13011 (__sim_round_mode): Change to __sim_round_mode_thread.
13012 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13013 thread-local floating-point state and set global state from it as
13014 needed.
13015 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13016 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13017 (__sim_disabled_exceptions): Remove extern declaration.
13018 (feenableexcept): Use thread-local floating-point state and set
13019 global state from it as needed.
13020 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13021 extern declaration.
13022 (__sim_disabled_exceptions): Likewise.
13023 (__sim_round_mode): Likewise.
13024 (__fegetenv): Use thread-local floating-point state.
13025 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13026 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13027 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13028 floating-point state and set global state from it as needed.
13029 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13030 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13031 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13032 Likewise.
13033 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13034 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13035 Likewise.
13036 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13037 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13038 Use __sim_round_mode_thread.
13039 * math/test-fenv-tls.c: New file.
13040 * math/Makefile (tests): Add test-fenv-tls.
13041 ($(objpfx)test-fenv-tls): Depend on
13042 $(common-objpfx)nptl/libpthread.so.
13043
b5449b12
AS
130442013-11-19 Andreas Schwab <schwab@suse.de>
13045
13046 * locale/programs/locale.c (show_info): Decode wordarray elements.
13047 * locale/categories.def (LC_MONETARY): Add element for
13048 _NL_MONETARY_CRNCYSTR.
13049 * locale/C-monetary.c (conversion_rate): New variable.
13050 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13051 element.
13052
e186536b
CM
130532013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13054
13055 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13056 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13057
5c349950
PP
130582013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13059
13060 * elf/Makefile (tst-auxv): New test.
13061 * elf/tst-auxv.c: New
13062 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13063
699df45b
JM
130642013-11-18 Joseph Myers <joseph@codesourcery.com>
13065
13066 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13067 (hidden_proto): Caller changed.
13068 (hidden_tls_proto): New macro.
13069 (libc_hidden_tls_proto): Likewise.
13070 (rtld_hidden_tls_proto): Likewise.
13071 (libm_hidden_tls_proto): Likewise.
13072 (libresolv_hidden_tls_proto): Likewise.
13073 (librt_hidden_tls_proto): Likewise.
13074 (libdl_hidden_tls_proto): Likewise.
13075 (libnss_files_hidden_tls_proto): Likewise.
13076 (libnsl_hidden_tls_proto): Likewise.
13077 (libnss_nisplus_hidden_tls_proto): Likewise.
13078 (libutil_hidden_tls_proto): Likewise.
13079
b7589107
OB
130802013-11-18 Ondřej Bílka <neleai@seznam.cz>
13081
13082 [BZ #10253]
13083 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13084 (decompose_rpath): Defer expansion to fillin_rpath.
13085 (_dl_init_paths): Pass linkmap to fillin_rpath.
13086
250c23bd
RS
130872013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13088
13089 * benchtests/Makefile: Add strsep.
13090 * benchtests/bench-strsep.c: New file: strsep benchtest.
13091 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13092
a7931fcf
AS
130932013-11-18 Andreas Schwab <schwab@suse.de>
13094
13095 * locale/programs/locale.c (show_info) [case byte]: Check for
13096 '\377' instead of '\177'.
13097 * locale/C-monetary.c (not_available): Always use "\377".
13098 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13099 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13100 detect unavailable sign_posn locale elements.
13101 * locale/localeconv.c (__localeconv): For grouping and
13102 mon_grouping handle "\177" and "\377" like no grouping.
13103 (INT_ELEM): New macro. Use it to set all numeric members.
13104 * locale/programs/ld-monetary.c (monetary_read)
13105 <tok_mon_grouping>: Normalize single -1 to the empty string.
13106 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13107 Likewise.
13108
728dab0e
OB
131092013-11-07 Ondřej Bílka <neleai@seznam.cz>
13110
13111 [BZ #16055]
13112 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13113 when we match (nil).
13114 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13115
66294491
JM
131162013-11-16 Joseph Myers <joseph@codesourcery.com>
13117
ce665817
JM
13118 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13119 (NO_TEST_INLINE): Update value.
13120 (ERRNO_UNCHANGED): Likewise.
13121 (ERRNO_EDOM): Likewise.
13122 (ERRNO_ERANGE): Likewise.
13123 (IGNORE_RESULT): Likewise.
13124 (check_float_internal): Check signs of NaN results if
13125 TEST_NAN_SIGN used.
13126 (check_complex): Pass TEST_NAN_SIGN flag through to second
13127 check_float_internal call.
13128 (copysign_test_data): Add tests with quiet NaNs as second
13129 argument. Use TEST_NAN_SIGN.
13130 (fabs_test_data): Add test of negative quiet NaN argument. Use
13131 TEST_NAN_SIGN.
13132 (signbit_test_data): Add tests of quiet NaN argument.
13133 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13134
ee1466a9
JM
13135 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13136 $ignore_result.
13137 (parse_args): Handle function results specified as IGNORE.
13138 * math/libm-test.inc (IGNORE_RESULT): New macro.
13139 (check_float_internal): Do not check numerical result if flag
13140 IGNORE_RESULT set.
13141 (check_complex): Pass through IGNORE_RESULT to second
13142 check_float_internal call.
13143 (check_int): Do not check numerical result if flag IGNORE_RESULT
13144 set.
13145 (check_long): Likewise.
13146 (check_bool): Likewise.
13147 (check_longlong): Likewise.
13148 (lrint_test_data): Add tests of infinite and NaN arguments.
13149 (lrint_tonearest_test_data): Likewise.
13150 (lrint_towardzero_test_data): Likewise.
13151 (lrint_downward_test_data): Likewise.
13152 (lrint_upward_test_data): Likewise.
13153 (llrint_test_data): Likewise.
13154 (llrint_tonearest_test_data): Likewise.
13155 (llrint_towardzero_test_data): Likewise.
13156 (llrint_downward_test_data): Likewise.
13157 (llrint_upward_test_data): Likewise.
13158 (lround_test_data): Likewise.
13159 (llround_test_data): Likewise.
13160
14407b7e
JM
13161 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13162 (ERRNO_UNCHANGED): Update value.
13163 (ERRNO_EDOM): Likewise.
13164 (ERRNO_ERANGE): Likewise.
13165 (NO_TEST_INLINE_FLOAT): New macro.
13166 (NO_TEST_INLINE_DOUBLE): Likewise.
13167 (enable_test): New function.
13168 (RUN_TEST_f_f): Check enable_test before running test.
13169 (RUN_TEST_2_f): Likewise.
13170 (RUN_TEST_fff_f): Likewise.
13171 (RUN_TEST_c_f): Likewise.
13172 (RUN_TEST_f_f1): Likewise.
13173 (RUN_TEST_fF_f1): Likewise.
13174 (RUN_TEST_fI_f1): Likewise.
13175 (RUN_TEST_ffI_f1): Likewise.
13176 (RUN_TEST_c_c): Likewise.
13177 (RUN_TEST_cc_c): Likewise.
13178 (RUN_TEST_f_i): Likewise.
13179 (RUN_TEST_f_i_tg): Likewise.
13180 (RUN_TEST_ff_i_tg): Likewise.
13181 (RUN_TEST_f_b): Likewise.
13182 (RUN_TEST_f_b_tg): Likewise.
13183 (RUN_TEST_f_l): Likewise.
13184 (RUN_TEST_f_L): Likewise.
13185 (RUN_TEST_fFF_11): Likewise.
13186 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13187 conditionals.
13188 (cosh_test_data): Likewise.
13189 (exp_test_data): Likewise.
13190 (expm1_test_data): Likewise.
13191 (hypot_test_data): Likewise.
13192 (pow_test_data): Likewise.
13193 (sinh_test_data): Likewise.
13194 (tanh_test_data): Likewise.
13195 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13196 flags argument.
13197
ca07f197
JM
13198 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13199 tests with quiet NaN input and output.
13200 (acosh_test_data): Likewise.
13201 (asin_test_data): Likewise.
13202 (asinh_test_data): Likewise.
13203 (atan_test_data): Likewise.
13204 (atanh_test_data): Likewise.
13205 (atan2_test_data): Likewise.
13206 (cbrt_test_data): Likewise.
13207 (cos_test_data): Likewise.
13208 (cosh_test_data): Likewise.
13209 (erf_test_data): Likewise.
13210 (erfc_test_data): Likewise.
13211 (exp_test_data): Likewise.
13212 (exp10_test_data): Likewise.
13213 (exp2_test_data): Likewise.
13214 (expm1_test_data): Likewise.
13215 (hypot_test_data): Likewise.
13216 (j0_test_data): Likewise.
13217 (j1_test_data): Likewise.
13218 (jn_test_data): Likewise.
13219 (lgamma_test_data): Likewise.
13220 (log_test_data): Likewise.
13221 (log10_test_data): Likewise.
13222 (log1p_test_data): Likewise.
13223 (log2_test_data): Likewise.
13224 (pow_test_data): Likewise.
13225 (scalb_test_data): Likewise.
13226 (sin_test_data): Likewise.
13227 (sincos_test_data): Likewise.
13228 (sinh_test_data): Likewise.
13229 (tan_test_data): Likewise.
13230 (tanh_test_data): Likewise.
13231 (tgamma_test_data): Likewise.
13232 (y0_test_data): Likewise.
13233 (y1_test_data): Likewise.
13234 (yn_test_data): Likewise.
13235
66294491
JM
13236 [BZ #16167]
13237 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13238 argument being NaN and avoid computations with second argument in
13239 that case.
13240 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13241 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13242 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13243
1820b143
CL
132442013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13245
13246 * locale/iso-639.def: Add Chitwani Tharu (the).
13247
714bd261
AS
132482013-11-14 Andreas Schwab <schwab@suse.de>
13249
13250 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13251 word instead of empty string.
13252
7ab44563
AZ
132532013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13254
13255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13256 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13258 (__fe_nomask_env): Likewise.
13259
e8470ea2
SE
132602013-11-13 Steve Ellcey <sellcey@mips.com>
13261
13262 * benchtests/bench-timing.h: Include time.h.
13263
17c1d9f0
L
132642013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13265
13266 [BZ #15997]
13267 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13268 to 3.4.0 for x32.
13269 * sysdeps/unix/sysv/linux/configure: Regenerated.
13270
9310c284
JM
132712013-11-13 Joseph Myers <joseph@codesourcery.com>
13272
13273 [BZ #16151]
13274 * stdlib/strtod_l.c (round_and_return): Do not consider
13275 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13276 exponent one less than half the least subnormal exponent.
13277 * stdlib/test-strtod-round-data: Add more tests.
13278 * stdlib/tst-strtod-round.c (tests): Regenerated.
13279
7a2ad8cf
AZ
132802013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13281
13282 [BZ #14143]
13283 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13284 (__fe_mask_env): Likewise.
13285 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13286 libm_hidden_proto and add function prototype.
13287 (__fe_mask_env): Add function prototype.
13288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13289 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13291 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13293 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13294
50727aa7
MS
132952013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13296
b2f386c1 13297 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
13298 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13299
a615be46
MS
133002013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13301
13302 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13303 of htab_find_slot().
13304
7ddace62
DM
133052013-11-11 David S. Miller <davem@davemloft.net>
13306
13307 [BZ #16150]
13308 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13309 symbol in the non-vis3 case in static builds.
13310 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13311 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13312 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13313 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13314
9182aa67
JK
133152013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13316
13317 [BZ #387]
13318 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13319 it is empty.
13320
450a2e2d
AZ
133212013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13322
b2f386c1
SP
13323 * benchtests/Makefile: Add bench-strtod.
13324 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 13325
8ec3f656
AS
133262013-11-11 Andreas Schwab <schwab@suse.de>
13327
13328 [BZ #16153]
13329 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13330 terminating NUL in key length.
13331
76a9b998
AZ
133322013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13333
13334 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13335 Add artificial ODP entry for vDSO symbol for PPC64.
13336 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13337 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13338
e4368156
OB
133392013-11-07 Ondřej Bílka <neleai@seznam.cz>
13340
13341 [BZ #15374]
13342 * nss/getent.c (services_keys): Recognize services starting with digit.
13343
8d6bb57c
DM
133442013-11-06 David S. Miller <davem@davemloft.net>
13345
13346 [BZ #15985]
13347 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13348 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13349
e256c421
WN
133502013-11-06 Will Newton <will.newton@linaro.org>
13351
13352 * manual/memory.texi (Malloc Examples): Remove register
13353 keyword from examples.
13354
f6e12daa 133552013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 13356
f6e12daa 13357 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 13358
9d880655
AS
133592013-11-04 Joseph Myers <joseph@codesourcery.com>
13360
fd2f9486 13361 [BZ #6981]
9d880655
AS
13362 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13363 depending on [__GCC_IEC_559 > 0].
13364 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13365 depending on [__GCC_IEC_559_COMPLEX > 0].
13366
ae129d3c
CL
133672013-11-03 Chris Leonard <cjl@sugarlabs.org>
13368
13369 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13370 to iso-639.def.
13371
4a15c2a4 133722013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
13373
13374 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13375
8b35e35d
OB
133762013-11-01 Ondřej Bílka <neleai@seznam.cz>
13377
13378 [BZ #16112]
13379 * malloc/malloc (malloc_info): Do not handle first bin as
13380 special case.
13381
1d70fd6c
CL
133822013-11-01 Chris Leonard <cjl@sugarlabs.org>
13383
13384 * locale/iso-639.def: Add Central Nahuatl (nhn).
13385
8c5c2600
BH
133862013-11-01 Bruno Haible <bruno@clisp.org>
13387
13388 [BZ #7003]
13389 * manual/math.texi (BSD Random): Specify range upper bound as
13390 in POSIX.
13391
da5579c2
CL
133922013-10-31 Chris Leonard <cjl@sugarlabs.org>
13393
13394 * locale/iso-639.def: Add Meadow Mari (mhr).
13395
5d30d853
OB
133962013-10-31 Ondřej Bílka <neleai@seznam.cz>
13397
13398 [BZ #14752], [BZ #15763]
13399 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13400 Validate name.
13401 * rt/tst_shm.c: Add test for escaping directory.
13402
a4966c61
AS
134032013-10-31 Andreas Schwab <schwab@suse.de>
13404
8a43e768 13405 [BZ #15917]
a4966c61
AS
13406 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13407 followed by 'x' as part of digit sequence.
13408 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13409
28d708c4
MAP
134102013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13411
13412 [BZ #16037]
13413 * configure.ac: allow GNU Make 4.0 and greater.
13414 * configure: Regenerated.
13415
a56ee40b
WN
134162013-10-30 Will Newton <will.newton@linaro.org>
13417
13418 [BZ #16038]
13419 * malloc/hooks.c (memalign_check): Limit alignment to the
13420 maximum representable power of two.
13421 * malloc/malloc.c (__libc_memalign): Likewise.
13422 * malloc/tst-memalign.c (do_test): Add test for very
13423 large alignment values.
13424 * malloc/tst-posix_memalign.c (do_test): Likewise.
13425
c6e4925d
OB
134262013-10-30 Ondřej Bílka <neleai@seznam.cz>
13427
13428 [BZ #11087]
13429 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13430 (munmap_chunk): Likewise.
13431 (mremap_chunk): Likewise.
13432
134332013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 13434
8a43e768 13435 [BZ #15799]
bbea82f7
OB
13436 * stdlib/div.c (div): Remove obsolete code.
13437 * stdlib/ldiv.c (ldiv): Likewise.
13438 * stdlib/lldiv.c (lldiv): Likewise.
13439
977f4b31
SP
134402013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13441
13442 [BZ #16071]
13443 * nss/nss_files/files-XXX.c (get_contents_ret): New
13444 enumerator.
13445 (get_contents): New function.
13446 (internal_getent): Use it. Expand size of LINEBUFLEN.
13447
cb8a6dbd
MF
134482013-10-30 Mike Frysinger <vapier@gentoo.org>
13449
13450 * configure.in: Moved to ...
13451 * configure.ac: ... here. Change reference to configure.in
13452 to configure.ac.
13453 * sysdeps/arm/preconfigure.ac: ... here.
13454 configure.in to configure.ac.
13455 * sysdeps/gnu/configure.in: Moved to ...
13456 * sysdeps/gnu/configure.ac: ... here.
13457 * sysdeps/i386/configure.in: Moved to ...
13458 * sysdeps/i386/configure.ac: ... here.
13459 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13460 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13461 * sysdeps/mach/configure.in: Moved to ...
13462 * sysdeps/mach/configure.ac: ... here.
13463 * sysdeps/mach/hurd/configure.in: Moved to ...
13464 * sysdeps/mach/hurd/configure.ac: ... here.
13465 * sysdeps/powerpc/configure.in: Moved to ...
13466 * sysdeps/powerpc/configure.ac: ... here.
13467 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13468 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13469 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13470 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13471 * sysdeps/s390/s390-32/configure.in: Moved to ...
13472 * sysdeps/s390/s390-32/configure.ac: ... here.
13473 * sysdeps/s390/s390-64/configure.in: Moved to ...
13474 * sysdeps/s390/s390-64/configure.ac: ... here.
13475 * sysdeps/sh/configure.in: Moved to ...
13476 * sysdeps/sh/configure.ac: ... here.
13477 * sysdeps/sparc/configure.in: Moved to ...
13478 * sysdeps/sparc/configure.ac: ... here.
13479 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13480 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13481 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13482 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13483 * sysdeps/x86_64/configure.in: Moved to ...
13484 * sysdeps/x86_64/configure.ac: ... here.
13485 * sysdeps/x86_64/preconfigure.in: Moved to ...
13486 * sysdeps/x86_64/preconfigure.ac: ... here.
13487 * aclocal.m4: Change reference to configure.in to configure.ac.
13488 * config.h.in: Likewise.
13489 * manual/install.texi: Likewise.
13490 * manual/maint.texi: Likewise.
13491 * Makefile: Likewise.
13492 * malloc/Makefile: Likewise.
13493 * nscd/Makefile: Likewise.
13494 * Makeconfig: Change reference to configure.in and
13495 preconfigure.in to configure.ac and preconfigure.ac
13496 respectively.
13497 * INSTALL: Regenerated.
13498 * configure: Likewise.
13499 * sysdeps/gnu/configure: Likewise.
13500 * sysdeps/i386/configure: Likewise.
13501 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13502 * sysdeps/mach/configure: Likewise.
13503 * sysdeps/mach/hurd/configure: Likewise.
13504 * sysdeps/powerpc/configure: Likewise.
13505 * sysdeps/powerpc/powerpc32/configure: Likewise.
13506 * sysdeps/powerpc/powerpc64/configure: Likewise.
13507 * sysdeps/s390/s390-32/configure: Likewise.
13508 * sysdeps/s390/s390-64/configure: Likewise.
13509 * sysdeps/sh/configure: Likewise.
13510 * sysdeps/sparc/configure: Likewise.
13511 * sysdeps/unix/sysv/linux/configure: Likewise.
13512 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13513 * sysdeps/x86_64/configure: Likewise.
13514 * sysdeps/x86_64/preconfigure: Likewise.
13515
36a4953a
AS
135162013-10-29 Andreas Schwab <schwab@suse.de>
13517
13518 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13519
c79a1204
SP
135202013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13521
dfa1b402
SP
13522 * benchtests/pow-inputs: Add new inputs.
13523
54f73d9c
SP
13524 * benchtests/exp-inputs: Add new inputs.
13525
c79a1204
SP
13526 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13527 conditional check for return value.
13528 (__cos32): Likewise.
13529
67beb545 135302013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
13531
13532 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13533 to provide a boost for large inputs with word alignment.
13534 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13535 implementation based on optimized PPC64 strcpy.
13536 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13537 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13538 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13539 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13540
151659f6
OB
135412013-10-25 Ondřej Bílka <neleai@seznam.cz>
13542
482a077e 13543 [BZ #2801]
151659f6
OB
13544 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13545
10b0f26b
OB
135462013-10-25 Ondřej Bílka <neleai@seznam.cz>
13547
13548 [BZ #14876]
13549 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13550 * time/tst-strptime.c (day_tests): Add testcase.
13551
ca42d35e
OB
135522013-10-25 Ondřej Bílka <neleai@seznam.cz>
13553
482a077e 13554 [BZ #14029]
ca42d35e
OB
13555 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13556
52e6d801
FB
135572013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13558
13559 [BZ #16074]
13560 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13561 MAP_FAILED on error.
13562
7cbcdb36
SP
135632013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13564
13565 [BZ #16072]
13566 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13567 heap for large requests.
13568
894f3f10
AM
135692013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13570
13571 [BZ #9954]
13572 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13573 result if the result has no associated interface.
13574 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13575 interface for all 127.X.Y.Z addresses.
13576
b85545a6
CL
135772013-10-24 Chris Leonard <cjl@sugarlabs.org>
13578
13579 * locale/iso-639.def: Add Ligurian (lij)
13580
d1f23d46
OB
135812013-10-21 Ondřej Bílka <neleai@seznam.cz>
13582
13583 [BZ #15825]
13584 * sunrpc/rpc_main.c: Document rpcgen -5.
13585
4db5b08f
MS
135862013-10-19 Michael Stahl <mstahl@redhat.com>
13587
13588 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13589
a471e96a
OB
135902013-10-19 Ondřej Bílka <neleai@seznam.cz>
13591
d1f23d46 13592 [BZ #10278]
a471e96a
OB
13593 * posix/glob.c: Match only directories when trailing slash is present.
13594 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13595 (main): Add testcase.
13596
45c30c61
OB
135972013-10-19 Ondřej Bílka <neleai@seznam.cz>
13598
13599 [BZ #15670]
13600 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13601
484c12fb
CD
136022013-10-18 Carlos O'Donell <carlos@redhat.com>
13603
3d7dc513
CD
13604 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13605 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13606 AUTH_DES and cindex for FIPS 140-2.
13607 (DES Encryption): Add cindex FIPS 46-3.
13608
484c12fb
CD
13609 * locale/locarchive.h (struct locarhandle): Add fname.
13610 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13611 if an optional argument was specified to --list-archive,
13612 otherwise NULL.
13613 * locale/programs/locarchive.c (show_archive_content): Take new
13614 argument fname and pass it via ah.fname to open_archive.
13615 * locale/programs/localedef.h: Update decl.
13616 (open_archive): If AH->fname is non-null, open that file
13617 rather than the default file name, and don't ignore ENOENT.
13618 (create_archive): Set AH.fname to NULL.
13619 (delete_locales_from_archive): Likewise.
13620 (add_locales_to_archive): Likewise.
13621 * locale/programs/locfile.c (write_all_categories): Likewise.
13622
3c8325fb
JM
136232013-10-18 Joseph Myers <joseph@codesourcery.com>
13624 Aldy Hernandez <aldyh@redhat.com>
13625
13626 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13627 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13628 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13629 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13630 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13631 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13632 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13633 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13634 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13635 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13636 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13637 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13638 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13639 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13640 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13641 Likewise.
13642 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13643 Likewise.
13644 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13645 Likewise.
13646 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13647 Likewise.
13648 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13649 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13650 Likewise.
13651 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13652 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13653 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13654 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13655 Likewise.
13656 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13657 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13658 * sysdeps/powerpc/preconfigure: Likewise.
13659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13660 Likewise.
13661 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13662 Replace contents of file by #include of <fenv_libc.h>.
13663 * sysdeps/powerpc/soft-fp/sfp-machine.h
13664 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13665 and <sys/prctl.h>.
13666 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13667 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13668 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13669 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13670 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13671 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13672 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13673 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13674 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13675 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13676 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13677 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13679 Allow copysignl PLT reference to be missing.
13680
5abe0682
RS
136812013-10-18 Richard Sandiford <richard@codesourcery.com>
13682 Joseph Myers <joseph@codesourcery.com
13683
13684 [BZ #15948]
13685 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13686 single character.
13687 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13688
c7738d08
SP
136892013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13690
13691 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13692 * elf/tst-tls1.c: Likewise.
13693 * elf/tst-tls10.h: Likewise.
13694 * elf/tst-tls14.c: Likewise.
13695 * elf/tst-tls2.c: Likewise.
13696 * elf/tst-tls3.c: Likewise.
13697 * elf/tst-tls4.c: Likewise.
13698 * elf/tst-tls5.c: Likewise.
13699 * elf/tst-tls6.c: Likewise.
13700 * elf/tst-tls7.c: Likewise.
13701 * elf/tst-tls8.c: Likewise.
13702 * elf/tst-tls9.c: Likewise.
13703 * elf/tst-tlsmod1.c: Likewise.
13704 * elf/tst-tlsmod13.c: Likewise.
13705 * elf/tst-tlsmod13a.c: Likewise.
13706 * elf/tst-tlsmod14a.c: Likewise.
13707 * elf/tst-tlsmod16a.c: Likewise.
13708 * elf/tst-tlsmod16b.c: Likewise.
13709 * elf/tst-tlsmod2.c: Likewise.
13710 * elf/tst-tlsmod3.c: Likewise.
13711 * elf/tst-tlsmod4.c: Likewise.
13712 * elf/tst-tlsmod5.c: Likewise.
13713 * elf/tst-tlsmod6.c: Likewise.
13714
0bfcf2c7
OB
137152013-10-18 Ondřej Bílka <neleai@seznam.cz>
13716
13717 [BZ #12486]
13718 * malloc/malloc.c: remove checks for statistics.
13719
264aad1e
OB
137202013-10-17 Ondřej Bílka <neleai@seznam.cz>
13721
13722 [BZ #15277]
13723 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13724 * inet/tst-network.c: Add testcase.
13725
b957ced8
AS
137262013-10-17 Andreas Schwab <schwab@suse.de>
13727
13728 [BZ #15218]
13729 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13730 to determine canonical name.
13731
c5d5d574
OB
137322013-10-17 Ondřej Bílka <neleai@seznam.cz>
13733
13734 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13735 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13736 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13737 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13738 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13739 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13740 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13741 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13742 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13743 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13744 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13745 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13746 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13747 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13748 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13749 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13750 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13751 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13752 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13753 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13754 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13755 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13756 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13757 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13758 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13759 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13760 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13761 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13762 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13763 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13764 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13765 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13766 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13767 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13768 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13769 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13770 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13771 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13772 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13773 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13774 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13775 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13776 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13777 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13778 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13779 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13780 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13781 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13782 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13783 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13784 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13785 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13786 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13787 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13788 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13789 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13790 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13791 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13792
e5c2c2d0
JM
137932013-10-17 Joseph Myers <joseph@codesourcery.com>
13794
13795 [BZ #16041]
13796 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13797 make result into a quiet NaN.
13798
51ca9e29
JM
137992013-10-16 Joseph Myers <joseph@codesourcery.com>
13800
13801 * soft-fp/adddf3.c: Fix horizontal whitespace.
13802 * soft-fp/addsf3.c: Likewise.
13803 * soft-fp/addtf3.c: Likewise.
13804 * soft-fp/divdf3.c: Likewise.
13805 * soft-fp/divsf3.c: Likewise.
13806 * soft-fp/divtf3.c: Likewise.
13807 * soft-fp/double.h: Likewise.
13808 * soft-fp/eqdf2.c: Likewise.
13809 * soft-fp/eqsf2.c: Likewise.
13810 * soft-fp/eqtf2.c: Likewise.
13811 * soft-fp/extenddftf2.c: Likewise.
13812 * soft-fp/extended.h: Likewise.
13813 * soft-fp/extendsfdf2.c: Likewise.
13814 * soft-fp/extendsftf2.c: Likewise.
13815 * soft-fp/extendxftf2.c: Likewise.
13816 * soft-fp/fixdfdi.c: Likewise.
13817 * soft-fp/fixdfsi.c: Likewise.
13818 * soft-fp/fixdfti.c: Likewise.
13819 * soft-fp/fixsfdi.c: Likewise.
13820 * soft-fp/fixsfsi.c: Likewise.
13821 * soft-fp/fixsfti.c: Likewise.
13822 * soft-fp/fixtfdi.c: Likewise.
13823 * soft-fp/fixtfsi.c: Likewise.
13824 * soft-fp/fixtfti.c: Likewise.
13825 * soft-fp/fixunsdfdi.c: Likewise.
13826 * soft-fp/fixunsdfsi.c: Likewise.
13827 * soft-fp/fixunsdfti.c: Likewise.
13828 * soft-fp/fixunssfdi.c: Likewise.
13829 * soft-fp/fixunssfsi.c: Likewise.
13830 * soft-fp/fixunssfti.c: Likewise.
13831 * soft-fp/fixunstfdi.c: Likewise.
13832 * soft-fp/fixunstfsi.c: Likewise.
13833 * soft-fp/fixunstfti.c: Likewise.
13834 * soft-fp/floatdidf.c: Likewise.
13835 * soft-fp/floatdisf.c: Likewise.
13836 * soft-fp/floatditf.c: Likewise.
13837 * soft-fp/floatsidf.c: Likewise.
13838 * soft-fp/floatsisf.c: Likewise.
13839 * soft-fp/floatsitf.c: Likewise.
13840 * soft-fp/floattidf.c: Likewise.
13841 * soft-fp/floattisf.c: Likewise.
13842 * soft-fp/floattitf.c: Likewise.
13843 * soft-fp/floatundidf.c: Likewise.
13844 * soft-fp/floatundisf.c: Likewise.
13845 * soft-fp/floatunditf.c: Likewise.
13846 * soft-fp/floatunsidf.c: Likewise.
13847 * soft-fp/floatunsisf.c: Likewise.
13848 * soft-fp/floatunsitf.c: Likewise.
13849 * soft-fp/floatuntidf.c: Likewise.
13850 * soft-fp/floatuntisf.c: Likewise.
13851 * soft-fp/floatuntitf.c: Likewise.
13852 * soft-fp/fmadf4.c: Likewise.
13853 * soft-fp/fmasf4.c: Likewise.
13854 * soft-fp/fmatf4.c: Likewise.
13855 * soft-fp/gedf2.c: Likewise.
13856 * soft-fp/gesf2.c: Likewise.
13857 * soft-fp/getf2.c: Likewise.
13858 * soft-fp/ledf2.c: Likewise.
13859 * soft-fp/lesf2.c: Likewise.
13860 * soft-fp/letf2.c: Likewise.
13861 * soft-fp/muldf3.c: Likewise.
13862 * soft-fp/mulsf3.c: Likewise.
13863 * soft-fp/multf3.c: Likewise.
13864 * soft-fp/negdf2.c: Likewise.
13865 * soft-fp/negsf2.c: Likewise.
13866 * soft-fp/negtf2.c: Likewise.
13867 * soft-fp/op-1.h: Likewise.
13868 * soft-fp/op-2.h: Likewise.
13869 * soft-fp/op-4.h: Likewise.
13870 * soft-fp/op-8.h: Likewise.
13871 * soft-fp/op-common.h: Likewise.
13872 * soft-fp/quad.h: Likewise.
13873 * soft-fp/single.h: Likewise.
13874 * soft-fp/soft-fp.h: Likewise.
13875 * soft-fp/sqrtdf2.c: Likewise.
13876 * soft-fp/sqrtsf2.c: Likewise.
13877 * soft-fp/sqrttf2.c: Likewise.
13878 * soft-fp/subdf3.c: Likewise.
13879 * soft-fp/subsf3.c: Likewise.
13880 * soft-fp/subtf3.c: Likewise.
13881 * soft-fp/truncdfsf2.c: Likewise.
13882 * soft-fp/trunctfdf2.c: Likewise.
13883 * soft-fp/trunctfsf2.c: Likewise.
13884 * soft-fp/trunctfxf2.c: Likewise.
13885 * soft-fp/unorddf2.c: Likewise.
13886 * soft-fp/unordsf2.c: Likewise.
13887 * soft-fp/unordtf2.c: Likewise.
13888
9ebb0332
JM
138892013-10-15 Joseph Myers <joseph@codesourcery.com>
13890
13891 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13892 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13893
4b1a6d8b
OB
138942013-10-15 Ondřej Bílka <neleai@seznam.cz>
13895
13896 * elf/dl-libc.c: Clear initfini list after freeing.
13897
1e145589
JM
138982013-10-14 Joseph Myers <joseph@codesourcery.com>
13899
13900 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13901 * soft-fp/addsf3.c: Likewise.
13902 * soft-fp/addtf3.c: Likewise.
13903 * soft-fp/divdf3.c: Likewise.
13904 * soft-fp/divsf3.c: Likewise.
13905 * soft-fp/divtf3.c: Likewise.
13906 * soft-fp/double.h: Likewise.
13907 * soft-fp/eqdf2.c: Likewise.
13908 * soft-fp/eqsf2.c: Likewise.
13909 * soft-fp/eqtf2.c: Likewise.
13910 * soft-fp/extenddftf2.c: Likewise.
13911 * soft-fp/extended.h: Likewise.
13912 * soft-fp/extendsfdf2.c: Likewise.
13913 * soft-fp/extendsftf2.c: Likewise.
13914 * soft-fp/extendxftf2.c: Likewise.
13915 * soft-fp/fixdfdi.c: Likewise.
13916 * soft-fp/fixdfsi.c: Likewise.
13917 * soft-fp/fixdfti.c: Likewise.
13918 * soft-fp/fixsfdi.c: Likewise.
13919 * soft-fp/fixsfsi.c: Likewise.
13920 * soft-fp/fixsfti.c: Likewise.
13921 * soft-fp/fixtfdi.c: Likewise.
13922 * soft-fp/fixtfsi.c: Likewise.
13923 * soft-fp/fixtfti.c: Likewise.
13924 * soft-fp/fixunsdfdi.c: Likewise.
13925 * soft-fp/fixunsdfsi.c: Likewise.
13926 * soft-fp/fixunsdfti.c: Likewise.
13927 * soft-fp/fixunssfdi.c: Likewise.
13928 * soft-fp/fixunssfsi.c: Likewise.
13929 * soft-fp/fixunssfti.c: Likewise.
13930 * soft-fp/fixunstfdi.c: Likewise.
13931 * soft-fp/fixunstfsi.c: Likewise.
13932 * soft-fp/fixunstfti.c: Likewise.
13933 * soft-fp/floatdidf.c: Likewise.
13934 * soft-fp/floatdisf.c: Likewise.
13935 * soft-fp/floatditf.c: Likewise.
13936 * soft-fp/floatsidf.c: Likewise.
13937 * soft-fp/floatsisf.c: Likewise.
13938 * soft-fp/floatsitf.c: Likewise.
13939 * soft-fp/floattidf.c: Likewise.
13940 * soft-fp/floattisf.c: Likewise.
13941 * soft-fp/floattitf.c: Likewise.
13942 * soft-fp/floatundidf.c: Likewise.
13943 * soft-fp/floatundisf.c: Likewise.
13944 * soft-fp/floatunsidf.c: Likewise.
13945 * soft-fp/floatunsisf.c: Likewise.
13946 * soft-fp/floatuntidf.c: Likewise.
13947 * soft-fp/floatuntisf.c: Likewise.
13948 * soft-fp/floatuntitf.c: Likewise.
13949 * soft-fp/fmadf4.c: Likewise.
13950 * soft-fp/fmasf4.c: Likewise.
13951 * soft-fp/fmatf4.c: Likewise.
13952 * soft-fp/gedf2.c: Likewise.
13953 * soft-fp/gesf2.c: Likewise.
13954 * soft-fp/getf2.c: Likewise.
13955 * soft-fp/ledf2.c: Likewise.
13956 * soft-fp/lesf2.c: Likewise.
13957 * soft-fp/letf2.c: Likewise.
13958 * soft-fp/muldf3.c: Likewise.
13959 * soft-fp/mulsf3.c: Likewise.
13960 * soft-fp/multf3.c: Likewise.
13961 * soft-fp/negdf2.c: Likewise.
13962 * soft-fp/negsf2.c: Likewise.
13963 * soft-fp/negtf2.c: Likewise.
13964 * soft-fp/op-1.h: Likewise.
13965 * soft-fp/op-2.h: Likewise.
13966 * soft-fp/op-4.h: Likewise.
13967 * soft-fp/op-8.h: Likewise.
13968 * soft-fp/op-common.h: Likewise.
13969 * soft-fp/quad.h: Likewise.
13970 * soft-fp/single.h: Likewise.
13971 * soft-fp/soft-fp.h: Likewise.
13972 * soft-fp/sqrtdf2.c: Likewise.
13973 * soft-fp/sqrtsf2.c: Likewise.
13974 * soft-fp/sqrttf2.c: Likewise.
13975 * soft-fp/subdf3.c: Likewise.
13976 * soft-fp/subsf3.c: Likewise.
13977 * soft-fp/subtf3.c: Likewise.
13978 * soft-fp/truncdfsf2.c: Likewise.
13979 * soft-fp/trunctfdf2.c: Likewise.
13980 * soft-fp/trunctfsf2.c: Likewise.
13981 * soft-fp/trunctfxf2.c: Likewise.
13982 * soft-fp/unorddf2.c: Likewise.
13983 * soft-fp/unordsf2.c: Likewise.
13984 * soft-fp/unordtf2.c: Likewise.
13985
17c48a60
OB
139862013-10-14 Ondřej Bílka <neleai@seznam.cz>
13987
13988 [BZ #15672]
13989 * misc/error.c (error_tail): Fix possible buffer overflow.
13990
cabba934
OB
139912013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13992
13993 [BZ #13028]
13994 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13995 address.
13996
94bf958a
PM
139972013-10-14 P. J. McDermott <pj@pehjota.net>
13998
13999 [BZ #832]
14000 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14001 testing pipefail option.
14002
71b4dea7
JM
140032013-10-12 Joseph Myers <joseph@codesourcery.com>
14004
14005 * soft-fp/double.h: Indent preprocessor directives inside #if.
14006 * soft-fp/extended.h: Likewise.
14007 * soft-fp/op-2.h: Likewise.
14008 * soft-fp/op-4.h: Likewise.
14009 * soft-fp/op-common.h: Likewise.
14010 * soft-fp/quad.h: Likewise.
14011 * soft-fp/single.h: Likewise.
14012 * soft-fp/soft-fp.h: Likewise.
14013
55602758
YC
140142013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14015
14016 * iconv/iconv_prog.c: Fix typos.
14017 * stdio-common/psiginfo-data.h: Likewise.
14018
9cd83302
RT
140192013-10-12 Reuben Thomas <rrt@sc3d.org>
14020
14021 [BZ #15764]
14022 * locale/setlocale.c: Fix typo.
14023
99fd9f47
JM
140242013-10-12 Joseph Myers <joseph@codesourcery.com>
14025
b7ea74f0
JM
14026 [BZ #16036]
14027 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14028 signaling NaN arguments.
14029 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14030 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14031
8a509447
JM
14032 [BZ #14910]
14033 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14034 unordered operands.
14035 * soft-fp/gesf2.c (__gesf2): Likewise.
14036 * soft-fp/getf2.c (__getf2): Likewise.
14037 * soft-fp/ledf2.c (__ledf2): Likewise.
14038 * soft-fp/lesf2.c (__lesf2): Likewise.
14039 * soft-fp/letf2.c (__letf2): Likewise.
14040
98998e9f
JM
14041 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14042 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14043 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14044 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14045 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14046 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14047 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14048 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14049 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14050 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14051 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14052 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14053 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14054 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14055 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14056 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14057 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14058 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14059 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14060 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14061 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14062 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14063 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14064 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14065 * soft-fp/floattidf.c (__floattidf): Likewise.
14066 * soft-fp/floattisf.c (__floattisf): Likewise.
14067 * soft-fp/floattitf.c (__floattitf): Likewise.
14068 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14069 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14070 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14071 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14072 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14073 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14074 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14075 * soft-fp/gesf2.c (__gesf2): Likewise.
14076 * soft-fp/getf2.c (__getf2): Likewise.
14077 * soft-fp/ledf2.c (__ledf2): Likewise.
14078 * soft-fp/lesf2.c (__lesf2): Likewise.
14079 * soft-fp/letf2.c (__letf2): Likewise.
14080
8edc4a11
JM
14081 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14082 Undefine and redefine.
14083 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14084 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14085 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14086 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14087 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14088 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14089 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14090 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14091 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14092 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14093 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14094 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14095 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14096 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14097 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14098
8399acaf
JM
14099 [BZ #16032]
14100 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14101 without decrementing exponent if mantissa >= that for the
14102 denominator, not >.
14103 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14104 denominator, not >. Decrement exponent in < case instead of
14105 incrementing in >= case.
14106 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14107 without decrementing exponent if mantissa >= that for the
14108 denominator, not >.
14109
99fd9f47
JM
14110 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14111 computing saturated result for unsigned overflow.
14112
10e1cf6b
SP
141132013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14114 Jeff Law <law@redhat.com>
14115
14116 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14117 (atan2Mp): Add systemtap probe marker.
14118 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14119 (__ieee754_log): Add systemtap probe marker.
14120 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14121 (atanMp): Add systemtap probe marker.
14122 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14123 (tanMp): Add systemtap probe marker.
14124 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14125 (__slowexp): Add systemtap probe marker.
14126 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14127 (__slowpow): Add systemtap probe marker.
14128 * manual/probes.texi: Document probes.
14129
3d110c7c
EB
141302013-10-11 Eric Biggers <ebiggers3@gmail.com>
14131
14132 [BZ #15362]
14133 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14134 written.
14135 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14136 written.
14137 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14138 written to buffer but not flushed.
14139 * libio/iofwrite_u.c: Likewise.
14140 * libio/iopadn.c: Return bytes returned even if EOF was
14141 encountered.
14142 * libio/iowpadn.c: Likewise.
14143 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14144 if _IO_padn does not write the whole buffer.
14145 [!COMPILE_WPRINTF] (PAD): Likewise.
14146
75b4202a
DM
141472013-10-10 David S. Miller <davem@davemloft.net>
14148
14149 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14150 directory block.
14151
6c6352e6
JM
141522013-10-10 Joseph Myers <joseph@codesourcery.com>
14153
33b853c3
JM
14154 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14155 instead of FSF address.
14156 * soft-fp/fixdfti.c: Likewise.
14157 * soft-fp/fixsfti.c: Likewise.
14158 * soft-fp/fixtfti.c: Likewise.
14159 * soft-fp/fixunsdfti.c: Likewise.
14160 * soft-fp/fixunssfti.c: Likewise.
14161 * soft-fp/fixunstfti.c: Likewise.
14162 * soft-fp/floattidf.c: Likewise.
14163 * soft-fp/floattisf.c: Likewise.
14164 * soft-fp/floattitf.c: Likewise.
14165 * soft-fp/floatuntidf.c: Likewise.
14166 * soft-fp/floatuntisf.c: Likewise.
14167 * soft-fp/floatuntitf.c: Likewise.
14168 * soft-fp/trunctfxf2.c: Likewise.
14169
6c6352e6
JM
14170 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14171 * soft-fp/fixdfti.c: Likewise.
14172 * soft-fp/fixsfti.c: Likewise.
14173 * soft-fp/fixtfti.c: Likewise.
14174 * soft-fp/fixunsdfti.c: Likewise.
14175 * soft-fp/fixunssfti.c: Likewise.
14176 * soft-fp/fixunstfti.c: Likewise.
14177 * soft-fp/floattidf.c: Likewise.
14178 * soft-fp/floattisf.c: Likewise.
14179 * soft-fp/floattitf.c: Likewise.
14180 * soft-fp/floatuntidf.c: Likewise.
14181 * soft-fp/floatuntisf.c: Likewise.
14182 * soft-fp/floatuntitf.c: Likewise.
14183 * soft-fp/trunctfxf2.c: Likewise.
14184
3bf78b71
DM
141852013-10-10 David S. Miller <davem@davemloft.net>
14186
14187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14188
6f10289e
JM
141892013-10-10 Joseph Myers <joseph@codsourcery.com>
14190
bd878fc0
JM
14191 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14192 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14193 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14194 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14195 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14196 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14197 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14198
6f10289e
JM
14199 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14200 for NaNs before doing comparisons on argument.
14201 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14202 Likewise.
14203
321e2684
WN
142042013-10-10 Will Newton <will.newton@linaro.org>
14205
14206 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14207 passed to _int_memalign does not overflow.
14208
40fefba1
TR
142092013-10-10 Torvald Riegel <triegel@redhat.com>
14210
14211 * scripts/bench.pl: Add include-sources directive.
14212 * benchtests/README: Update documentation.
14213
2ae21ed2
JM
142142013-10-10 Joseph Myers <joseph@codesourcery.com>
14215
dcc2dd3f
JM
14216 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14217 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14218 instead of FP_INIT_ROUNDMODE.
14219 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14220 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14221
2ae21ed2
JM
14222 [BZ #16034]
14223 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14224 copy class of input value.
14225 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14226 not handle exceptions.
14227 * soft-fp/negsf2.c (__negsf2): Likewise.
14228 * soft-fp/negtf2.c (__negtf2): Likewise.
14229 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14230
cb8f9562
JM
142312013-10-09 Joseph Myers <joseph@codesourcery.com>
14232
14233 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14234 semicolon. From Linux kernel.
14235
5b60c59d
AB
142362013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14237
14238 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14239
b86835ca
YC
142402013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14241
14242 [BZ #156]
14243 * manual/socket.texi: Added statement about buffer
14244 for gethostbyname2_r.
14245
e7044ea7
OB
142462013-10-08 Ondřej Bílka <neleai@seznam.cz>
14247
14248 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14249 Use .p2align directive instead, throughout.
14250 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14251 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14252 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14253 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14254 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14255 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14256 * sysdeps/x86_64/strchr.S: Likewise.
14257 * sysdeps/x86_64/strrchr.S: Likewise.
14258
09544cbc
SP
142592013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14260
88576635
SP
14261 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14262
e7b2d1dd
SP
14263 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14264
09544cbc
SP
14265 * sysdeps/generic/math_private.h (__mpsin1): Remove
14266 declaration.
14267 (__mpcos1): Likewise.
14268 (__mpsin): New argument __range_reduce.
14269 (__mpcos): Likewise.
14270 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14271 (slow): Use __mpsin and __mpcos.
14272 (slow1): Likewise.
14273 (slow2): Likewise.
14274 (sloww): Likewise.
14275 (sloww1): Likewise.
14276 (sloww2): Likewise.
14277 (bsloww): Likewise.
14278 (bsloww1): Likewise.
14279 (bsloww2): Likewise.
14280 (cslow2): Likewise.
14281 (csloww): Likewise.
14282 (csloww1): Likewise.
14283 (csloww2): Likewise.
14284 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14285 range_reduce. Merge in __mpsin1.
14286 (__mpcos): Likewise.
14287 (__mpsin1): Remove.
14288 (__mpcos1): Likewise.
14289
7602d070
JM
142902013-10-07 Joseph Myers <joseph@codesourcery.com>
14291
14292 * locale/loadlocale.c (_nl_intern_locale_data): Use
14293 LOCFILE_ALIGNED_P.
14294 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14295 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14296 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14297 obstack data is appropriately aligned.
14298 (obstack_int32_grow_fast): Likewise.
14299 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14300 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14301 (add_locale_uint32_array): Likewise.
14302
a357259b
SP
143032013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14304
14305 * benchtests/Makefile: Remove ARGLIST and RET variables.
14306 ($(objpfx)bench-%.c): Pass only function name to the script.
14307 * benchtests/README: Update documentation.
14308 * benchtests/acos-inputs: Add new directives.
14309 * benchtests/acosh-inputs: Likewise.
14310 * benchtests/asin-inputs: Likewise.
14311 * benchtests/asinh-inputs: Likewise.
14312 * benchtests/atan-inputs: Likewise.
14313 * benchtests/atanh-inputs: Likewise.
14314 * benchtests/cos-inputs: Likewise.
14315 * benchtests/cosh-inputs: Likewise.
14316 * benchtests/exp-inputs: Likewise.
14317 * benchtests/log-inputs: Likewise.
14318 * benchtests/pow-inputs: Likewise.
14319 * benchtests/rint-inputs: Likewise.
14320 * benchtests/sin-inputs: Likewise.
14321 * benchtests/sinh-inputs: Likewise.
14322 * benchtests/tan-inputs: Likewise.
14323 * benchtests/tanh-inputs: Likewise.
14324 * scripts/bench.pl: Add support for new directives.
14325
9ec1b13d
AM
143262013-10-07 Alan Modra <amodra@gmail.com>
14327
14328 * README: Fix careless merge.
14329
8b7d57cd
AM
143302013-10-05 Alan Modra <amodra@gmail.com>
14331
14332 * NEWS: Mention powerpc64le support and bugs fixed.
14333 * README: Both big-endian and little-endian powerpc64 supported.
14334
7b7bab13
ST
143352013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14336
57f41c40
AS
14337 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14338 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
14339 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14340 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14341
d39baad1
RA
143422013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14343
14344 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14345 match prototype.
14346
cd78f7e7
JM
143472013-10-04 Joseph Myers <joseph@codesourcery.com>
14348
29d73d86
JM
14349 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14350 Move -mhard-float appending from
14351 ports/sysdeps/powerpc/powerpc32/Makefile.
14352 [$(with-fp) = yes] (ASFLAGS): Likewise.
14353 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14354 * sysdeps/powerpc/nofpu: Move directory from
14355 ports/sysdeps/powerpc/nofpu.
14356 * sysdeps/powerpc/soft-fp: Move directory from
14357 ports/sysdeps/powerpc/soft-fp.
14358 * sysdeps/powerpc/powerpc32/405: Move directory from
14359 ports/sysdeps/powerpc/powerpc32/405.
14360 * sysdeps/powerpc/powerpc32/440: Move directory from
14361 ports/sysdeps/powerpc/powerpc32/440.
14362 * sysdeps/powerpc/powerpc32/464: Move directory from
14363 ports/sysdeps/powerpc/powerpc32/464.
14364 * sysdeps/powerpc/powerpc32/476: Move directory from
14365 ports/sysdeps/powerpc/powerpc32/476.
14366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14367 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14369 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14371 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14373 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14375 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14376 * README: Update for powerpc-*-linux-gnu software floating point
14377 support in libc.
14378
e246b347
JM
14379 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14380 case to powerpc/powerpc32*.
14381 * sysdeps/unix/sysv/linux/configure: Regenerated.
14382
89c2003e
JM
14383 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14384 (_FPU_MASK_OM): Define as 0x04.
14385 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14386 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14387 0x00c10080.
14388 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14389 0x0000003c.
14390 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14391
cd78f7e7
JM
14392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14393 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14394 getcontext_e500.
14395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14396 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14397 setcontext_e500.
14398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14399 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14400 and setcontext_e500.
14401
c755294d
CL
144022013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14403
14404 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14405
e16d221c
SP
144062013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14407
14408 * manual/threads.texi (Default Thread Attributes): Fix typo.
14409
215c7d43
WN
144102013-10-04 Will Newton <will.newton@linaro.org>
14411
14412 * malloc/Makefile: Add tst-memalign.
14413 * malloc/tst-memalign.c: New file.
14414
27d0461b
WN
14415 * malloc/tst-posix_memalign.c: Add comments.
14416 (do_test): Add comments and call free on all potentially
14417 allocated pointers. Add space after cast.
14418
1bc92709
WN
14419 * malloc/tst-pvalloc.c: Add comments.
14420 (do_test): Add comments and call free on all potentially
14421 allocated pointers. Remove duplicate check for NULL pointer.
14422 Add space after cast.
14423
66a9be9d
WN
14424 * malloc/tst-valloc.c: Add comments.
14425 (do_test): Add comments and call free on all potentially
14426 allocated pointers. Remove duplicate check for NULL pointer.
14427 Add space after cast.
14428
4cb81307
AM
144292013-10-04 Alan Modra <amodra@gmail.com>
14430
14431 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14432 Use stdint types in rather than __attribute__((mode())).
14433 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14434
f8e3e9f3
AM
144352013-10-04 Alan Modra <amodra@gmail.com>
14436
14437 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14438 Correct handling of unaligned relocs for little-endian.
14439 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14440
8f9ebb08
AM
144412013-10-04 Alan Modra <amodra@gmail.com>
14442
14443 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14444 * configure: Regenerate.
14445 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14446 * shlib-versions: Likewise.
14447
0edf96c2
AM
144482013-10-04 Alan Modra <amodra@gmail.com>
14449
14450 * string/tester.c (test_memrchr): Increment reported test cycle.
14451
e0f7a380
AM
144522013-10-04 Alan Modra <amodra@gmail.com>
14453
14454 * string/test-memcpy.c (do_one_test): When reporting errors, print
14455 string address and don't overrun end of string.
14456
466b0393
AM
144572013-10-04 Alan Modra <amodra@gmail.com>
14458
14459 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14460 insrdi. Make better use of reg selection to speed exit slightly.
14461 Schedule entry path a little better. Remove useless "are we done"
14462 checks on entry to main loop. Handle wrapping around zero address.
14463 Correct main loop count. Handle single left-over word from main
14464 loop inline rather than by using loop_small. Remove extra word
14465 case in loop_small caused by wrong loop count. Add little-endian
14466 support.
14467 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14468 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14469 cache hint.
14470 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14471 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14472 support. Avoid rlwimi.
14473 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14474
3be87c77
AM
144752013-10-04 Alan Modra <amodra@gmail.com>
14476
14477 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 14478 insrdi. Formatting.
3be87c77
AM
14479 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14480 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14481 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14482 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14483 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14484 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14485
759cfef3
AM
144862013-10-04 Alan Modra <amodra@gmail.com>
14487
14488 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14489 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14490 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14491 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14492 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14493 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14494 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14495 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14496 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14497 use of regs. Use power7 mtocrf. Tidy function tails.
14498
fe6e95d7
AM
144992013-10-04 Alan Modra <amodra@gmail.com>
14500
14501 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14502 Formatting. Consistently use rXXX register defines or rN defines.
14503 Use early exit labels that avoid restoring unused non-volatile regs.
14504 Make cr field use more consistent with rWORDn compares. Rename
14505 regs used as shift registers for unaligned loop, using rN defines
14506 for short lifetime/multiple use regs.
14507 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14508 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14509 addi 1,1,64 to pop stack frame. Simplify return value code.
14510 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14511
664318c3
AM
145122013-10-04 Alan Modra <amodra@gmail.com>
14513
14514 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14515 support. Correct typos, formatting. Optimize tail. Use insrdi
14516 rather than rlwimi.
14517 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14518 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14519 little-endian support. Correct typos.
14520 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14521 rather than rlwimi.
14522 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14523 in loop and entry code to keep "and." results.
14524 (strchr): Add little-endian support. Comment. Move cntlzd
14525 earlier in tail.
14526 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14527
43b84013
AM
145282013-10-04 Alan Modra <amodra@gmail.com>
14529
14530 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14531 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14532 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14533 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14534
8a7413f9
AM
145352013-10-04 Alan Modra <amodra@gmail.com>
14536
14537 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14538 (rTMP): Define as r11.
14539 (strcmp): Add little-endian support. Optimise tail.
14540 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14541 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14542 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14543 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14544 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14545 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14546 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14547
33ee81de
AM
145482013-10-04 Alan Modra <amodra@gmail.com>
14549
14550 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14551 little-endian support. Remove unnecessary "are we done" tests.
14552 Handle "s" wrapping around zero and extremely large "size".
14553 Correct main loop count. Handle single left-over word from main
14554 loop inline rather than by using small_loop. Correct comments.
14555 Delete "zero" tail, use "end_max" instead.
14556 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14557
db9b4570
AM
145582013-10-04 Alan Modra <amodra@gmail.com>
14559
14560 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14561 support. Don't branch over align.
14562 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14563 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14564 support. Rearrange tmp reg use to suit. Comment.
14565 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14566
f7c399cf
AM
145672013-10-04 Alan Modra <amodra@gmail.com>
14568
14569 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14570
0b2c2ace
AM
145712013-10-04 Alan Modra <amodra@gmail.com>
14572
14573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14574 conditional form of branch and link when obtaining pc.
14575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14576
02f04a6c
AM
145772013-10-04 Alan Modra <amodra@gmail.com>
14578
14579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14580 HIWORD/LOWORD.
14581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14583
9b874b2f
AM
145842013-10-04 Alan Modra <amodra@gmail.com>
14585
14586 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14587 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14588 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14589 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14590 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14591 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14592 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14593 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14594 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14595 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14596
be1e5d31
AB
145972013-10-04 Anton Blanchard <anton@au1.ibm.com>
14598 Alistair Popple <alistair@ozlabs.au.ibm.com>
14599 Alan Modra <amodra@gmail.com>
14600
14601 [BZ #15723]
14602 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14603 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14604 _dl_hwcap access for little-endian.
14605 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14606 destroy vmx regs when saving unaligned.
14607 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14608 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14609 destroy vmx regs when saving unaligned.
14610
fef13a78
AM
146112013-10-04 Alan Modra <amodra@gmail.com>
14612
14613 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14614 Don't use a union to pack hi/low value.
14615
76a66d51
AB
146162013-10-04 Anton Blanchard <anton@au1.ibm.com>
14617
14618 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14619 for little-endian.
14620 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14621 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14622 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14623 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14624 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14625
6a31fe7f
AM
146262013-10-04 Alan Modra <amodra@gmail.com>
14627
14628 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14629 constants to usual value for .cst8 section, and remove redundant
14630 high address load.
14631 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14632 constant for 0x1p52. Load little-endian words of double from
14633 correct stack offsets.
14634
7b88401f
AM
146352013-10-04 Alan Modra <amodra@gmail.com>
14636
14637 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14638 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14639 words of double from correct stack offsets.
14640 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14641 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14642 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14643 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14644 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14645 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14646 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14647 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14648 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14649 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14650 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14651 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14652 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14653 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14654 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14655 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14656 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14657
9c008155
AM
146582013-10-04 Alan Modra <amodra@gmail.com>
14659
14660 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14661 64-bit int/double union.
14662 (_FPU_SETCW): Likewise.
14663 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14664 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14665
da13146d
AM
146662013-10-04 Alan Modra <amodra@gmail.com>
14667
14668 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14669 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14670
603e8410
AM
146712013-10-04 Alan Modra <amodra@gmail.com>
14672
14673 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14674 use vector int constants.
14675 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14676
4a28b3ca
AB
146772013-10-04 Anton Blanchard <anton@au1.ibm.com>
14678
14679 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14680 array with long long.
14681 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14682 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14683 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14684 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14685 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14686 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14687 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14688 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14689 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14690 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14691 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14692 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14693 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14694
2ca85d2b
AB
146952013-10-04 Anton Blanchard <anton@au1.ibm.com>
14696
14697 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14698 (__signbit): Likewise. Correct for little-endian.
14699 (__signbitl): Call __signbit.
14700 (lrint): Correct for little-endian.
14701 (lrintf): Call lrint.
14702
62a728ae
AM
147032013-10-04 Alan Modra <amodra@gmail.com>
14704
14705 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14706 union 32-bit int array member with 64-bit int array.
14707 (t515, tm256): Double rather than long double.
14708 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14709
32c301df
AM
147102013-10-04 Alan Modra <amodra@gmail.com>
14711
14712 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14713 Delete.
14714 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14715 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14716 version of math_ldbl.h.
14717
650ef4bd
AM
147182013-10-04 Alan Modra <amodra@gmail.com>
14719
14720 [BZ #15734], [BZ #15735]
14721 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14722 all uses of ieee875 long double macros and unions. Simplify test
14723 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14724 ldbl_extract_mantissa value for ix,iy exponents. Properly
14725 normalize after ldbl_extract_mantissa, and don't add hidden bit
14726 already handled. Don't treat low word of ieee854 mantissa like
14727 low word of IBM long double and mask off bit when testing for
14728 zero.
14729 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14730 all uses of ieee875 long double macros and unions. Simplify tests
14731 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14732 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14733 two1022, instead use their values. Recognise that tests for large
14734 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14735 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14736 Rewrite all uses of ieee875 long double macros and unions. Simplify
14737 test for 0.0L and nan. Correct negation.
14738 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14739 ieee875 long double macros and unions. Correct output for large
14740 magnitude x. Correct absolute value calculation.
14741 (__erfcl): Likewise.
14742 * math/libm-test.inc: Add tests for errors discovered in IBM long
14743 double versions of fmodl, remainderl, erfl and erfcl.
14744
765714ca
AM
147452013-10-04 Alan Modra <amodra@gmail.com>
14746
14747 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14748 all uses of ieee854 long double macros and unions. Simplify tests
14749 for long doubles that are fully specified by the high double.
14750 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14751 Likewise.
14752 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14753 Remove dead code too.
14754 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14755 (__ieee754_ynl): Likewise.
14756 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14757 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14758 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14759 Remove dead code too.
14760 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14761 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14762 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14763 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14764 Simplify.
14765 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14766 Simplify.
14767 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14768 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14769 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14770 Comment on variable precision.
14771 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14772 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14773 Likewise.
14774 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14775 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14776 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14777 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14778 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14779
4ebd120c
AM
147802013-10-04 Alan Modra <amodra@gmail.com>
14781
14782 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14783 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14784 all uses of ieee854 long double macros and unions.
14785 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14786 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14787 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14788 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14789 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14790 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14791 Likewise.
14792 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14793 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14794 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14795 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14796 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14797 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14798 Simplify sign and nan test too.
14799 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14800 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14801 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14802 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14803 Likewise.
14804 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14805 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14806 Likewise.
14807 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14808 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14809 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14810 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14811 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14812 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14813
1b6adf88
AM
148142013-10-04 Alan Modra <amodra@gmail.com>
14815
14816 * stdio-common/printf_size.c (__printf_size): Don't use
14817 union ieee854_long_double in fpnum union.
14818 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14819 signbit macro to retrieve sign from long double.
14820 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14821 retrieve sign from long double.
14822 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14823 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14824 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14825 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14826 * math/test-misc.c (main): Don't use union ieee854_long_double.
14827
4cf69995
AM
148282013-10-04 Alan Modra <amodra@gmail.com>
14829
14830 [BZ #15680]
14831 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14832 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14833 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14834 calculation. Remove unnecessary test for denormal exponent.
14835 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14836 Correct handling of denormals. Avoid undefined shift behaviour.
14837 Correct normalisation of low mantissa when low double is denormal.
14838 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14839 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14840 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14841 Correct normalisation of low mantissa. Test for overflow of high
14842 mantissa and normalise.
14843 (ldbl_nearbyint): Use more readable constant for two52.
14844 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14845 (__mpn_construct_long_double): Fix test for overflow of high
14846 mantissa and correct normalisation. Avoid undefined shift.
14847
9605ca6c
AM
148482013-10-04 Alan Modra <amodra@gmail.com>
14849
14850 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14851 (union ibm_extended_long_double): Define as an array of ieee754_double.
14852 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14853 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14854 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14855 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14856 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14857 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14858 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14859 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14860 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14861 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14862 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14863
975569d0
JM
148642013-10-03 Joseph Myers <joseph@codesourcery.com>
14865
d3d23756
JM
14866 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14867 page size instead of calling getpagesize.
14868
975569d0
JM
14869 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14870 (LOCFILE_ALIGN_MASK): Likewise.
14871 (LOCFILE_ALIGN_UP): Likewise.
14872 (LOCFILE_ALIGNED_P): Likewise.
14873 * locale/programs/ld-collate.c (collate_output): Use the new
14874 macros instead of __alignof__ (int32_t).
14875 * locale/weight.h (findidx): Likewise.
14876
b1fe1f2b
OB
148772013-10-03 Ondřej Bílka <neleai@seznam.cz>
14878
14879 [BZ #431]
14880 * manual/string.texi: Fix strncat and wcsncat.
14881
5f855e35
BM
148822013-10-03 Brooks Moses <bmoses@google.com>
14883
14884 [BZ #15915]
14885 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14886 * Makerules: ...here, and adjust associated comments.
14887
3cef6009
WN
148882013-10-02 Will Newton <will.newton@linaro.org>
14889
14890 * malloc/Makefile: Add tst-pvalloc.
14891 * malloc/tst-pvalloc.c: New file.
14892
7815420b
WN
148932013-10-02 Will Newton <will.newton@linaro.org>
14894
14895 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14896 improve test coverage.
14897
4868b204
WN
148982013-10-02 Will Newton <will.newton@linaro.org>
14899
14900 * malloc/Makefile: Add tst-posix_memalign.
14901 * malloc/tst-posix_memalign.c: New file.
14902
29c793b3
EB
149032013-10-01 Eric Blake <eblake@redhat.com>
14904
14905 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14906 Use __THROWNL rather than __THROW on static functions.
14907
fd967522
PM
149082013-09-30 Petr Machata <pmachata@redhat.com>
14909
14910 * elf/elf.h (R_AARCH64_ABS16): New macro.
14911 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14912 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14913 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14914 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14915 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14916 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14917 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14918 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14919 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14920 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14921 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14922 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14923 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14924 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14925 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14926 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14927 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14928 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14929 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14930 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14931 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14932 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14933 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14934 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14935 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14936 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14937 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14938 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14939 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14940 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14941 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14942 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14943 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14944 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14945 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14946 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14947 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14948 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14949 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14950 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14951 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14952 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14953 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14954 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14955 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14956 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14957 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14958 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14959 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14960 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14961 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14962 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14963 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14964 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14965 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14966 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14967 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14968 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14969 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14970 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14971 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14972 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14973 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14974 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14975 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14976 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14977 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14978 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14979 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14980 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14981 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14982 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14983 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14984 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14985 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14986 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14987 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14988 (R_AARCH64_TLSDESC_LDR): Likewise.
14989 (R_AARCH64_TLSDESC_ADD): Likewise.
14990 (R_AARCH64_TLSDESC_CALL): Likewise.
14991
b2179107
AS
149922013-09-30 Andreas Schwab <schwab@suse.de>
14993
14994 [BZ #15048]
14995 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14996 the nss database lookup.
14997 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14998 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14999
47f28d0a
MF
150002013-09-28 Mike Frysinger <vapier@gentoo.org>
15001
15002 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15003
150042013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
15005
15006 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15007 ${Bash-specific parameter/pattern/string} parameter expansion.
15008 * sysdeps/unix/make-syscalls.sh: Likewise.
15009
f4518a17
KK
150102013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15011
15012 * sysdeps/sh/stackguard-macros.h: New file.
15013
dc1a95c7
OB
150142013-09-26 Ondřej Bílka <neleai@seznam.cz>
15015
15016 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15017 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15018 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15019 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15020 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15021 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15022
5ebbff8f
AZ
150232013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15024
15025 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15026 Fix thread ID register.
15027
4fd2cf9f
JM
150282013-09-25 Joseph Myers <joseph@codesourcery.com>
15029
15030 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15031 [POSIX || UNIX98]: Require rather than permitting all symbols from
15032 <time.h>.
15033 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15034 element of struct sched_param.
15035 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15036 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15037 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15038 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15039 constant.
15040
12c22bc4
OL
150412013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15042
15043 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15044 argument calculation.
15045
a03d8ea7
JM
150462013-09-24 Joseph Myers <joseph@codesourcery.com>
15047
15048 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15049 Expect macro.
15050 [POSIX] (pthread_attr_t): Do not require type.
15051 [POSIX] (pthread_cond_t): Likewise.
15052 [POSIX] (pthread_condattr_t): Likewise.
15053 [POSIX] (pthread_key_t): Likewise.
15054 [POSIX] (pthread_mutex_t): Likewise.
15055 [POSIX] (pthread_mutexattr_t): Likewise.
15056 [POSIX] (pthread_once_t): Likewise.
15057 [POSIX] (pthread_t): Likewise.
15058 [POSIX-based standards] (pthread_atfork): Expect function.
15059
6055173a
JM
150602013-09-24 Joseph Myers <joseph@codesourcery.com>
15061 Richard Sandiford <richard@codesourcery.com>
15062
15063 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15064 (swap_endianness_p): New extern variable.
15065 (set_big_endian): New inline function.
15066 (maybe_swap_uint32): Likewise.
15067 (maybe_swap_uint32_array): Likewise.
15068 (maybe_swap_uint32_obstack): Likewise.
15069 * locale/programs/locfile.c: Include <stdbool.h>.
15070 (swap_endianness_p): New variable.
15071 (add_locale_uint32): Call maybe_swap_uint32.
15072 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15073 (write_locale_data): Call maybe_swap_uint32_array.
15074 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15075 maybe_swap_uint32.
15076 (obstack_int32_grow_fast): Likewise.
15077 (output_weightwc): Call maybe_swap_uint32_obstack.
15078 (collate_output): Likewise.
15079 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15080 (OPT_LITTLE_ENDIAN): Likewise.
15081 (options): Add --little-endian and --big-endian options.
15082 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15083 * locale/programs/locarchive.c: Include "locfile.h".
15084 (GET): New macro.
15085 (SET): Likewise.
15086 (INC): Likewise.
15087 (create_archive): Use the new macros to access fields of
15088 structures directly mapped from or written to locale archives.
15089 (oldlocrecentcmp): Likewise.
15090 (enlarge_archive): Likewise.
15091 (insert_name): Likewise.
15092 (add_alias): Likewise.
15093 (add_locale): Likewise.
15094 (delete_locales_from_archive): Likewise.
15095 (show_archive_content): Likewise.
15096 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15097 locale data.
15098
39bf0bb4
RM
150992013-09-24 Roland McGrath <roland@hack.frob.com>
15100
15101 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15102 http://www.gnu.org/doc/freemanuals.texi.
15103 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15104
f02eed10
WN
151052013-09-24 Will Newton <will.newton@linaro.org>
15106
15107 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15108 macro.
15109
a3a6c312
JM
151102013-09-23 Joseph Myers <joseph@codesourcery.com>
15111
15112 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15113 unsigned char.
15114
107375ac
MR
151152013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15116
15117 * manual/threads.texi (POSIX Threads): Fix a typo.
15118
141f3a77
SP
151192013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15120
303e567a
SP
15121 [BZ #14547]
15122 * string/tst-strcoll-overflow.c: New test case.
15123 * string/Makefile (xtests): Add tst-strcoll-overflow.
15124 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15125 cache if string sizes may cause integer overflow.
15126
141f3a77
SP
15127 [BZ #14547]
15128 * string/strcoll_l.c (coll_seq): New members rule, idx,
15129 save_idx and back_us.
15130 (get_next_seq_nocache): New function.
15131 (do_compare_nocache): New function.
15132 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15133 when malloc fails.
15134
c61b4d41
CD
151352013-09-23 Carlos O'Donell <carlos@redhat.com>
15136
0b1f8e35
CD
15137 [BZ #15754]
15138 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15139 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15140 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15141
c61b4d41
CD
15142 [BZ #15754]
15143 * elf/Makefile (tests): Add tst-ptrguard1.
15144 (tests-static): Add tst-ptrguard1-static.
15145 (tst-ptrguard1-ARGS): Define.
15146 (tst-ptrguard1-static-ARGS): Define.
15147 * elf/tst-ptrguard1.c: New file.
15148 * elf/tst-ptrguard1-static.c: New file.
15149 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15150 * sysdeps/i386/stackguard-macros.h: Likewise.
15151 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15152 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15153 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15154 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15155 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15156 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15157
151582013-09-23 Hector Marco <hecmargi@upv.es>
15159 Ismael Ripoll <iripoll@disca.upv.es>
15160 Carlos O'Donell <carlos@redhat.com>
15161
15162 [BZ #15754]
15163 * sysdeps/generic/stackguard-macros.h: Define
15164 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15165 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15166 Define __pointer_chk_guard_local.
15167 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15168 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15169
f5f4e7b4
VV
151702013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15171
15172 [BZ #15859]
15173 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15174
5bb43a43
AS
151752013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15176
15177 * include/string.h (__ffs): Declare as hidden.
15178 * string/ffs.c (__ffs): Define as hidden.
15179 * sysdeps/i386/ffs.c (__ffs): Likewise.
15180 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15181 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15182 * sysdeps/s390/ffs.c (__ffs): Likewise.
15183 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15184
3ea5be54
AO
151852013-09-20 Alexandre Oliva <aoliva@redhat.com>
15186
ffb89e53
AO
15187 * NEWS: Mention malloc probes.
15188
322dea08
AO
15189 * malloc/arena.c (new_heap): New memory_heap_new probe.
15190 (grow_heap): New memory_heap_more probe.
15191 (shrink_heap): New memory_heap_less probe.
15192 (heap_trim): New memory_heap_free probe.
15193 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15194 (systrim): New memory_sbrk_less probe.
15195 * manual/probes.texi: Document them.
15196
655673f3
AO
15197 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15198 * manual/probes.texi: Document it.
15199
35fed6f1
AO
15200 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15201 (__libc_realloc): Add memory_realloc_retry probe.
15202 (__libc_memalign): Add memory_memalign_retry probe.
15203 (__libc_valloc): Add memory_valloc_retry probe.
15204 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15205 (__libc_calloc): Add memory_calloc_retry probe.
15206 * manual/probes.texi: Document them.
15207
6999d38c
AO
15208 * malloc/arena.c (get_free_list): Add probe
15209 memory_arena_reuse_free_list.
15210 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15211 and memory_arena_reuse.
15212 (arena_get2) [!PER_THREAD]: Likewise.
15213 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15214 memory_arena_reuse_realloc.
15215 * manual/probes.texi: Document them.
15216
0653427f
AO
15217 * malloc/malloc.c (__libc_free): Add
15218 memory_mallopt_free_dyn_thresholds probe.
15219 (__libc_mallopt): Add multiple memory_mallopt probes.
15220 * manual/probes.texi: Document them.
15221
3ea5be54
AO
15222 * malloc/malloc.c: Include stap-probe.h.
15223 (__libc_mallopt): Add memory_mallopt probe.
15224 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15225 * manual/probes.texi: New.
15226 * manual/Makefile (chapters): Add probes.
15227 * manual/threads.texi: Set next node.
15228
e35696c3 152292013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 15230
e35696c3
CL
15231 [BZ #15963, #13985]
15232 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15233 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15234 Add `Chinese' to `nan' entry name.
15235
4aafb73c
SP
152362013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15237
15238 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15239 (POLYNOMIAL): Likewise.
15240 (TAYLOR_SINCOS): Likewise.
15241 (TAYLOR_SLOW): Likewise.
15242 (__sin): Use TAYLOR_SINCOS.
15243 (__cos): Likewise.
15244 (slow): Use TAYLOR_SLOW.
15245 (sloww): Likewise.
15246 (bsloww): Likewise.
15247 (csloww): Likewise.
15248
d84f25c7
LD
152492013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15250
15251 * stdlib/strtod_l.c: Fix buffer overrun.
15252
5eea0404
SP
152532013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15254
7849ff93
SP
15255 * benchtests/Makefile (bench): Add sincos.
15256 * benchtests/bench-sincos.c: New file.
15257
cfa3c886
SP
15258 * math/libm-test.inc (cos_test_data): New test inputs.
15259 (sin_test_data): Likewise.
15260
b348e1e3
SP
15261 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15262 macro.
15263 (__sin): Use it.
15264 (__cos): Likewise.
15265 (slow1): Likewise.
15266 (slow2): Likewise.
15267 (sloww1): Likewise.
15268 (sloww2): Likewise.
15269 (bsloww1): Likewise.
15270 (bsloww2): Likewise.
15271 (cslow2): Likewise.
15272 (csloww1): Likewise.
15273 (csloww2): Likewise.
15274
6cce25f8
SP
15275 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15276 function.
15277 (__sin): Use it.
15278 (__cos): Likewise.
15279
5eea0404
SP
15280 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15281 gotos.
15282 (__cos): Likewise.
15283
9c21573c
MR
152842013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15285
15286 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15287 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15288 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15289 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15290 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15291 * elf/cache.c (print_entry): Handle the new cache flags.
15292
24d22e65
JM
152932013-09-18 Joseph Myers <joseph@codesourcery.com>
15294 Aldy Hernandez <aldyh@redhat.com>
15295
15296 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15297 Change condition to [_SOFT_FLOAT].
15298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15299 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15300 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15301 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15302 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15304 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15305 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15306 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15307 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15308 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15309 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15310 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15311 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15312 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15313 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15314 declaration.
15315
d13ef066
JM
153162013-09-18 Joseph Myers <joseph@codesourcery.com>
15317
2e071de0
JM
15318 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15319 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15320 (__longjmp): Use LOAD_GP to load saved GPRs.
15321 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15322 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15323 (__sigsetjmp): Use SAVE_GP to save GPRs.
15324
d13ef066
JM
15325 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15326 Do not append -msoft-float.
15327 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15328
97a0650b
SP
153292013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15330
15331 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15332
11ca09e9
JM
153332013-09-17 Joseph Myers <joseph@codesourcery.com>
15334
15335 [BZ #15966]
15336 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15337 (_FPU_GETCW): Use initial "__" on variable and field names but not
15338 on macro parameter name.
15339 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15340 parentheses around reference to macro parameter.
15341
08ffcf34
RS
153422013-09-13 Richard Sandiford <richard@codesourcery.com>
15343
15344 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15345 prototype.
15346 (ctype_startup): Use uint32_t in cast and sizeof for
15347 ctype->charnames.
15348
ae7080d3
JL
153492013-09-11 Jia Liu <proljc@gmail.com>
15350
15351 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15352 __daddr_t_defined.
15353 [__FreeBSD__]: Likewise.
15354
5905e7b3
OB
153552013-09-11 Ondřej Bílka <neleai@seznam.cz>
15356
15357 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15358 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15359 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15360 (strchr): Remove __strchr_sse42 ifunc selection.
15361 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15362 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15363
b987c776
WN
153642013-09-11 Will Newton <will.newton@linaro.org>
15365
15366 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15367 parameter to RES. Remove hardcoded 1000 value.
15368 * benchtests/bench-skeleton.c (main): Pass RES parameter
15369 to TIMING_INIT and multiply result by 1000.
15370
ddf985af
AZ
153712013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15372
15373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15374
ffdd3181
AS
153752013-09-11 Andreas Schwab <schwab@suse.de>
15376
15377 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15378 if not defined.
15379 (O_TMPFILE) [__USE_GNU]: Define.
15380 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15381 Define.
15382
b73ed247
WN
153832013-09-11 Will Newton <will.newton@linaro.org>
15384
15385 [BZ #15857]
15386 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15387 does not overflow.
15388
55e17aad
WN
153892013-09-11 Will Newton <will.newton@linaro.org>
15390
15391 [BZ #15856]
15392 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15393 does not overflow.
15394
1159a193
WN
153952013-09-11 Will Newton <will.newton@linaro.org>
15396
15397 [BZ #15855]
15398 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15399 does not overflow.
15400
5905e7b3 154012013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
15402
15403 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15404 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15405 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15406 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15407 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15408
cdfc721b
AM
154092013-09-10 Allan McRae <allan@archlinux.org>
15410
aa04af00
AM
15411 [BZ #15748]
15412 * manual/arith.texi (Parsing of Floats): Clarify
15413 cross-reference.
15414
cdfc721b
AM
15415 [BZ #15849]
15416 * manual/install.texi (Running make install): Mention
15417 --enable-pt-chown.
15418 * INSTALL: Regenerated.
15419
95e7cf29
MR
154202013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15421
15422 * csu/init-first.c (_init): Remove the !SHARED condition around
15423 FPU control word initialization.
15424 * elf/dl-support.c (_dl_fpu_control): New variable.
15425 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15426 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15427 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15428 * math/test-fpucw-static.c: New file.
15429 * math/test-fpucw-ieee.c: New file.
15430 * math/test-fpucw-ieee-static.c: New file.
15431 * math/Makefile (tests): Add `test-fpucw-ieee' and
15432 `$(tests-static)'.
15433 (tests-static): New variable.
15434 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15435 dependency to...
15436 [($(build-shared),yes)]
15437 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15438 ... this.
15439 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15440 New dependency.
15441
83e43bf0
AM
154422013-09-09 Allan McRae <allan@archlinux.org>
15443
a9f5ce09
AM
15444 [BZ #15939]
15445 * manual/string.texi (Collation Functions): Fix typo in
15446 strcoll example.
15447 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15448
34829bc2
AM
15449 [BZ #15893]
15450 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15451
3932737d
AM
15452 [BZ #15892]
15453 * libio/memstream.c (open_memstream): Fix memory leak.
15454 * libio/wmemstream.c (open_wmemstream): Likewise.
15455
83e43bf0
AM
15456 [BZ #15895]
15457 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15458
0c66b8e9
WN
154592013-09-09 Will Newton <will.newton@linaro.org>
15460
15461 * malloc/Makefile: Add tst-realloc to tests.
15462 * malloc/tst-realloc.c: New file.
15463
f6b00fd1
AM
154642013-09-09 Allan McRae <allan@archlinux.org>
15465
15466 [BZ #15844]
15467 * COPYING: Update from GNU website to fix FSF address.
15468 * COPYING.LIB: Likewise.
15469
eec55e16
DM
154702013-09-06 David S. Miller <davem@davemloft.net>
15471
15472 * po/zh_TW.po: Update Chinese (traditional) translation from
15473 translation project.
15474
1ecbb381
RS
154752013-09-06 Richard Sandiford <richard@codesourcery.com>
15476 Joseph Myers <joseph@codesourcery.com>
15477
15478 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15479 "localeinfo.h".
15480 (obstack_chunk_alloc): New macro.
15481 (obstack_chunk_free): Likewise.
15482 (record_offset): New function.
15483 (init_locale_data): Likewise.
15484 (align_locale_data): Likewise.
15485 (add_locale_empty): Likewise.
15486 (add_locale_raw_data): Likewise.
15487 (add_locale_raw_obstack): Likewise.
15488 (add_locale_string): Likewise.
15489 (add_locale_wstring): Likewise.
15490 (add_locale_uint32): Likewise.
15491 (add_locale_uint32_array): Likewise.
15492 (add_locale_char): Likewise.
15493 (start_locale_structure): Likewise.
15494 (end_locale_structure): Likewise.
15495 (start_locale_prelude): Likewise.
15496 (end_locale_prelude): Likewise.
15497 (write_locale_data): Take locale_file structure rather than an
15498 iovec.
15499 * locale/programs/locfile.h: Include "obstack.h".
15500 (struct locale_file): Change to store locale file contents instead
15501 of header.
15502 (init_locale_data): New prototype.
15503 (align_locale_data): Likewise.
15504 (add_locale_empty): Likewise.
15505 (add_locale_raw_data): Likewise.
15506 (add_locale_raw_obstack): Likewise.
15507 (add_locale_string): Likewise.
15508 (add_locale_wstring): Likewise.
15509 (add_locale_uint32): Likewise.
15510 (add_locale_uint32_array): Likewise.
15511 (add_locale_char): Likewise.
15512 (start_locale_structure): Likewise.
15513 (end_locale_structure): Likewise.
15514 (start_locale_prelude): Likewise.
15515 (end_locale_prelude): Likewise.
15516 (write_locale_data): Update prototype.
15517 * locale/programs/3level.h (struct TABLE): Remove result field.
15518 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15519 Use new locale_file interface.
15520 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15521 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15522 * locale/programs/ld-address.c (address_output): Use new
15523 locale_file interface.
15524 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15525 NO_ADD_LOCALE.
15526 (collate_finish): Don't call collseq_table_finalize.
15527 (collate_output): Use new locale_file interface.
15528 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15529 in file.
15530 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15531 (TABLE): Move defines earlier in file.
15532 (ELEMENT): Likewise.
15533 (DEFAULT): Likewise.
15534 (wctrans_table_add): Move macro and inline function earlier in
15535 file.
15536 (struct wctype_table): Move type earlier in file.
15537 (add_locale_wctype_table): New static prototype.
15538 (struct locale_ctype_t): Use logical types instead of struct iovec
15539 pointers for members.
15540 (ctype_output): Use new locale_file interface.
15541 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15542 new locale_file interface.
15543 (allocate_arrays): Update for use of new locale_file interface.
15544 * locale/programs/ld-identification.c (identification_output): Use
15545 new locale_file interface.
15546 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15547 * locale/programs/ld-messages.c (messages_output): Likewise.
15548 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15549 * locale/programs/ld-name.c (name_output): Likewise.
15550 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15551 * locale/programs/ld-paper.c (paper_output): Likewise.
15552 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15553 * locale/programs/ld-time.c (time_output): Likewise.
15554
e029e2e5
AZ
155552013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15556
15557 * benchtests/Makefile: Add memrchr benchmark.
15558 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15559 benchmark as memrchr.
15560 * benchtests/bench-memrchr-ifunc.c: New file.
15561 * benchtests/bench-memrchr.c: New file.
15562
bbf6e8e4
WN
155632013-09-06 Will Newton <will.newton@linaro.org>
15564
15565 * benchtests/Makefile (string-bench): Add memcpy.
15566
6c82a2f8
CD
155672013-09-05 Carlos O'Donell <carlos@redhat.com>
15568 Cong Wang <amwang@redhat.com>
15569
e732c5f0 15570 [BZ #15850]
6c82a2f8
CD
15571 * sysdeps/unix/sysv/linux/bits/in.h
15572 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15573 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15574 before __USE_KERNEL_IPV6_DEFS uses.
15575 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15576 IPPROTO_BEETPH.
15577 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15578 sockaddr_in6, or ipv6_mreq.
15579
5430fc65
AZ
155802013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15581
15582 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15583 memory access for final bytes in some large inputs.
15584 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15585
4660856c
AZ
155862013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15587
15588 * string/test-memrchr.c: New file.
15589 * string/test-memrchr-ifunc.c: New file.
15590 * string/Makefile: Add new memrchr testcase.
15591
bb8ea713
MF
155922013-09-05 Mike Frysinger <vapier@gentoo.org>
15593
15594 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15595 fanotify_init returns EPERM.
15596
b92a20b5
JM
155972013-09-04 Joseph Myers <joseph@codesourcery.com>
15598
15599 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15600 errors.
15601 (top level): Treat second token from macro or constant entries for
15602 allowed headers as allowed.
15603 * include/complex.h: Condition internal declarations on
15604 [!_ISOMAC].
15605 * include/fenv.h: Condition include of <stdbool.h> and internal
15606 declarations on [!_ISOMAC].
7447ccd9
CL
15607
156082013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15609
3e181dda 15610 [BZ #15923]
7447ccd9
CL
15611 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15612
3f2e46a4
JM
156132013-09-04 Joseph Myers <joseph@codesourcery.com>
15614
15615 * configure.in (--enable-versioning): Remove configure option.
15616 (libc_cv_asm_symver_directive): Remove configure test.
15617 (libc_cv_ld_version_script_option): Likewise.
15618 (VERSIONING): Remove variable and AC_SUBST.
15619 (DO_VERSIONING): Remove AC_DEFINE.
15620 * configure: Regenerated.
15621 * config.h.in (DO_VERSIONING): Remove macro.
15622 * Makerules [$(versioning) = yes]: Change conditionals to
15623 [$(build-shared) = yes].
15624 * config.make.in (versioning): Remove variable.
15625 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15626 [$(build-shared) = yes].
15627 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15628 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15629 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15630 [$(build-shared) = yes].
15631 * extra-lib.mk [$(versioning) = yes]: Likewise.
15632 * hurd/Makefile [$(versioning) = yes]: Likewise.
15633 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15634 [SHARED].
15635 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15636 [SHARED].
15637 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15638 [SHARED && !NO_HIDDEN].
15639 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15640 [SHARED].
15641 [SHARED && DO_VERSIONING]: Likewise..
15642 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15643 [$(build-shared) = yes].
15644 * manual/install.texi (--disable-versioning): Remove
15645 documentation.
15646 * INSTALL: Regenerated.
15647 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15648 to [SHARED].
15649 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15650 [$(build-shared) = yes].
15651 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15652 * sysdeps/i386/i686/multiarch/strstr-c.c
15653 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15654 [SHARED && !NO_HIDDEN].
15655 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15656 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15657 * sysdeps/powerpc/powerpc32/dl-machine.c
15658 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15659 * sysdeps/powerpc/powerpc32/sysdep.h
15660 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15661 to [SHARED && PIC && !NO_HIDDEN].
15662 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15663 conditional to [SHARED].
15664
44558701
WN
156652013-09-04 Will Newton <will.newton@linaro.org>
15666
15667 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15668 * benchtests/bench-string.h: Include bench-timing.h instead
15669 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15670 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15671 call to HP_TIMING_DIFF_INIT.
15672 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15673 instead of hp-timing.h macros.
15674 * benchtests/bench-memchr.c: Likewise.
15675 * benchtests/bench-memcmp.c: Likewise.
15676 * benchtests/bench-memcpy.c: Likewise.
15677 * benchtests/bench-memmem.c: Likewise.
15678 * benchtests/bench-memmove.c: Likewise.
15679 * benchtests/bench-memset.c: Likewise.
15680 * benchtests/bench-rawmemchr.c: Likewise.
15681 * benchtests/bench-strcasecmp.c: Likewise.
15682 * benchtests/bench-strcasestr.c: Likewise.
15683 * benchtests/bench-strcat.c: Likewise.
15684 * benchtests/bench-strchr.c: Likewise.
15685 * benchtests/bench-strcmp.c: Likewise.
15686 * benchtests/bench-strcpy.c: Likewise.
15687 * benchtests/bench-strcpy_chk.c: Likewise.
15688 * benchtests/bench-strlen.c: Likewise.
15689 * benchtests/bench-strncasecmp.c: Likewise.
15690 * benchtests/bench-strncat.c: Likewise.
15691 * benchtests/bench-strncmp.c: Likewise.
15692 * benchtests/bench-strncpy.c: Likewise.
15693 * benchtests/bench-strnlen.c: Likewise.
15694 * benchtests/bench-strpbrk.c: Likewise.
15695 * benchtests/bench-strrchr.c: Likewise.
15696 * benchtests/bench-strspn.c: Likewise.
15697 * benchtests/bench-strstr.c: Likewise.
15698
cae16d66
WN
156992013-09-04 Will Newton <will.newton@linaro.org>
15700
15701 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15702
ffa3cd7f
JM
157032013-09-03 Joseph Myers <joseph@codesourcery.com>
15704
15705 [BZ #15427]
15706 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15707 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15708 * math/libm-test.inc (lgamma_test_data): Add more tests.
15709 * sysdeps/i386/fpu/libm-test-ulps: Update.
15710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15711
8f02859f
OB
157122013-09-03 Ondřej Bílka <neleai@seznam.cz>
15713
15714 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15715 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15716 Add ifunc.
15717 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15718 Add strcmp-sse2-unaligned
15719 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15720
18d43716
MF
157212013-09-02 Mike Frysinger <vapier@gentoo.org>
15722
15723 * Versions.def (libc): Add GLIBC_2.19.
15724
ac444012
MF
157252013-09-02 Mike Frysinger <vapier@gentoo.org>
15726
15727 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15728 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15729
b7835e32
JM
157302013-09-02 Joseph Myers <joseph@codesourcery.com>
15731
15732 [BZ #14155]
15733 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15734 intermediate calculations in recurrence.
15735 (__ieee754_ynf): Likewise.
15736 * math/libm-test.inc (jn_test_data): Do not allow spurious
15737 underflow exception. Add more tests.
15738 (yn_test_data): Add more tests.
15739 * sysdeps/i386/fpu/libm-test-ulps: Update.
15740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15741
8220f4f0
OB
157422013-09-02 Ondřej Bílka <neleai@seznam.cz>
15743
15744 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15745
f24a6d08
OB
157462013-08-30 Ondřej Bílka <neleai@seznam.cz>
15747
15748 * csu/init-first.c: Fix then/than typos.
15749 * locale/programs/ld-collate.c: Likewise.
15750 * locale/programs/linereader.h: Likewise.
15751 * manual/charset.texi: Likewise.
15752 * manual/filesys.texi: Likewise.
15753 * manual/stdio.texi: Likewise.
15754 * manual/string.texi: Likewise.
15755 * stdlib/fmtmsg.c: Likewise.
15756 * sysdeps/i386/stpncpy.S: Likewise.
15757 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15758 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15759 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15760 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15761
382466e0
OB
157622013-08-30 Ondřej Bílka <neleai@seznam.cz>
15763
15764 * elf/dl-open.c: Fix typos.
15765 * iconvdata/gbbig5.c: Likewise.
15766 * iconvdata/iso-2022-jp.c: Likewise.
15767 * iconv/gconv_int.h: Likewise.
15768 * iconv/loop.c: Likewise.
15769 * nis/rpcsvc/nis.h: Likewise.
15770 * resolv/ns_name.c: Likewise.
15771 * stdio-common/vfscanf.c: Likewise.
15772 * streams/stropts.h: Likewise.
15773 * sunrpc/rpc_thread.c: Likewise.
15774 * sysdeps/i386/strpbrk.S: Likewise.
15775 * sysdeps/ieee754/k_standard.c: Likewise.
15776 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15777 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15778 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15779 * sysdeps/mach/hurd/profil.c: Likewise.
15780 * sysdeps/s390/dl-procinfo.h: Likewise.
15781 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15782 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15783 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15784 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15785 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15786
0186c6e9
OB
157872013-08-30 Ondřej Bílka <neleai@seznam.cz>
15788
15789 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15790 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15791
d4e16af1
OB
157922013-08-29 Ondřej Bílka <neleai@seznam.cz>
15793
15794 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15795 aix specific files.
15796 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15797 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15798 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15799 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15800 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15801 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15802 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15803 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15804
88335980
TS
158052013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15806 Roland McGrath <roland@hack.frob.com>
15807
15808 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15809 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15810
ed479b02
ST
158112013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15812
15813 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15814 __executable_start symbol instead of _start.
15815
f1cc4c86
TS
158162013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15817
d821f07c
TS
15818 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15819 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15820 Move macros to...
15821 * sysdeps/gnu/ldsodefs.h: ... this new file.
15822
c54290cf
TS
15823 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15824 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15825 instead of ELFOSABI_LINUX.
15826
0007fc9b 15827 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
15828 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15829 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15830 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15831 Likewise.
15832 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15833 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15834 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15835 Likewise.
15836 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15837 (ibm_extended_long_double): Add ieee_nan member.
15838 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15839 (do_test): New function.
15840
f1cc4c86
TS
15841 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15842 TEST_TRUNC.
15843 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15844 functions, renamed from truncdfsf_test, trunctfsf_test,
15845 trunctfdf_test.
15846 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15847 functions.
15848 (do_test): Run all these.
15849
6f65e668
OB
158502013-08-29 Ondřej Bílka <neleai@seznam.cz>
15851
15852 * argp/argp-help.c: Fix typos.
15853 * argp/argp-parse.c: Likewise.
15854 * debug/backtracesyms.c: Likewise.
15855 * elf/elf.h: Likewise.
15856 * malloc/malloc.c: Likewise.
15857 * nis/nis_print.c: Likewise.
15858 * resolv/res_comp.c: Likewise.
15859 * stdlib/stdlib.h: Likewise.
15860 * sunrpc/clnt_tcp.c: Likewise.
15861 * sunrpc/clnt_udp.c: Likewise.
15862 * sunrpc/clnt_unix.c: Likewise.
15863 * sysdeps/unix/bsd/ptsname.c: Likewise.
15864 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15865 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
15866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15867 Likewise.
15868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15869 Likewise.
15870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15871 Likewise.
6f65e668
OB
15872 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15873
3a309239
SP
158742013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15875
15876 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15877 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15878
3b813b29
MF
158792013-08-27 Mike Frysinger <vapier@gentoo.org>
15880
15881 [BZ #15897]
15882 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15883 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15884 ($(objpfx)bug-dl-leaf): New rule.
15885 ($(objpfx)bug-dl-leaf.so): Likewise.
15886 ($(objpfx)bug-dl-leaf.out): Likewise.
15887 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15888 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15889 * dlfcn/bug-dl-leaf.c: New test.
15890 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15891 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15892 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15893 (dlclose): Likewise.
15894 (dlmopen): Likewise.
15895
8cc3269f
RM
158962013-08-27 Roland McGrath <roland@hack.frob.com>
15897
7f9d0034
RM
15898 * include/netdb.h [!_ISOMAC]:
15899 Don't include <tls.h>.
15900 (h_errno, __libc_h_errno): Move declaration and macros out of
15901 [_LIBC_REENTRANT].
15902
fb431262
RM
15903 * include/resolv.h [_RESOLV_H_]:
15904 Don't include <tls.h>.
15905 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15906 * resolv/res_libc.c: Don't include <tls.h>.
15907 (_res): Use __attribute__ ((nocommon)) in place of
15908 __attribute__ ((section (".bss"))).
15909
bd81123a
RM
15910 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15911 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15912
c4e42566
RM
15913 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15914
f890a59b
RM
15915 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15916 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15917
15918 * resolv/res_mkquery.c: Include <sys/time.h>.
15919
5d1f0a09
RM
15920 * inet/ifreq.c: Moved to ...
15921 * sysdeps/unix/ifreq.c: ... here.
15922 * inet/ifreq.c: New file, true stub version.
15923
6fcf28b3
RM
15924 * socket/sa_len.c: New file.
15925 * socket/Makefile (aux): Add it.
15926 * sysdeps/unix/sysv/linux/Makefile
15927 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15928 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15929 and #include <socket/sa_len.c>.
15930 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15931 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15932
e041fb8b
RM
15933 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15934 * bits/socket.h: ... here.
15935
8cc3269f
RM
15936 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15937 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15938 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15939
5d228a43
AS
159402013-08-27 Andreas Schwab <schwab@suse.de>
15941
45b8accc
AS
15942 [BZ #15736]
15943 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15944 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15945 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15946 * string/test-strcasecmp.c (test_main): Run tests in several
15947 locales.
15948 * string/test-strncasecmp.c (test_main): Likewise.
15949
5d228a43
AS
15950 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15951 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15952 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15953 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15954 (__strncasecmp_ssse3) [PIC]: Likewise.
15955
59d112a4
RM
159562013-08-26 Roland McGrath <roland@hack.frob.com>
15957
53234cc3
RM
15958 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15959
59d112a4
RM
15960 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15961 instead of explicitly declaring xdecrypt.
15962 * nis/nss_nis/nis-publickey.c: Likewise.
15963
595aba70
SP
159642013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15965
15966 [BZ #15890]
15967 * nscd/aicache.c: Include res_hconf.h.
15968 (addhstaiX): Initialize res_hconf.
15969
ffabd393
AS
159702013-08-26 Andreas Schwab <schwab@suse.de>
15971
15972 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15973 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15974
e0a69f5c
SP
159752013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15976
15977 * nscd/aicache.c (addhstaiX): Fix indentation.
15978
8c12f01d
MF
159792013-08-25 Mike Frysinger <vapier@gentoo.org>
15980
15981 * configure.ac: Quote $build_pt_chown test.
15982 * configure: Regenerated.
15983
8fe89494
JM
159842013-08-23 Joseph Myers <joseph@codesourcery.com>
15985
15986 [BZ #15532]
15987 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15988 * math/s_cexpf.c (__cexpf): Likewise.
15989 * math/s_cexpl.c (__cexpl): Likewise.
15990 * math/libm-test.inc (cexp_test_data): Correct expected return
15991 value for NaN + i0. Add another test.
15992
75b181d6
DM
159932013-08-22 David S. Miller <davem@davemloft.net>
15994
15995 * po/ca.po: Update Catalan translation from translation project.
936241e4 15996 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 15997
acd06bb1
JM
159982013-08-21 Joseph Myers <joseph@codesourcery.com>
15999
16000 [BZ #15797]
16001 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16002 is infinite, not alongside NaN test.
16003 * math/s_fdimf.c (__fdimf): Likewise.
16004 * math/s_fdiml.c (__fdiml): Likewise.
16005 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16006 errno is unchanged.
16007
c0c3f78a
OB
160082013-08-21 Ondřej Bílka <neleai@seznam.cz>
16009
16010 * argp/argp-help.c: Fix typos.
16011 * crypt/speeds.c: Likewise.
16012 * csu/check_fds.c: Likewise.
16013 * elf/dl-load.c: Likewise.
16014 * elf/dl-open.c: Likewise.
16015 * elf/reldep3.c: Likewise.
16016 * elf/reldep.c: Likewise.
16017 * elf/sprof.c: Likewise.
16018 * iconv/iconv_charmap.c: Likewise.
16019 * iconv/skeleton.c: Likewise.
16020 * iconv/strtab.c: Likewise.
16021 * io/lockf64.c: Likewise.
16022 * libio/libioP.h: Likewise.
16023 * resolv/gai_notify.c: Likewise.
16024 * resolv/ns_name.c: Likewise.
16025 * resolv/ns_samedomain.c: Likewise.
16026 * resolv/res_send.c: Likewise.
16027 * stdlib/random.c: Likewise.
16028 * sunrpc/rpc/xdr.h: Likewise.
16029 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16030 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16031 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16032 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16033 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16034 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16035 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16036 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16037 * sysdeps/mach/hurd/check_fds.c: Likewise.
16038 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16039 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16040 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16041 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16042 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16043 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16044 * sysdeps/pthread/aio_notify.c: Likewise.
16045 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16046 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16047 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16048 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16049 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16050
46ed1038
LD
160512013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16052
16053 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16054 version if bit_Slow_SSE4_2 is set.
16055 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16056 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16057
d400dcac
AZ
160582013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16059
16060 [BZ #15867]
16061 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16062 trampoline stack frame information.
16063 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16064 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16065 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16066 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16067 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16068 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16069 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16070 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16071 sa_flags value.
16072 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16073 interrupting a syscall and set with option SA_SIGINFO.
16074
42c8fdd8
JM
160752013-08-20 Joseph Myers <joseph@codesourcery.com>
16076
c980f2f4
JM
16077 [BZ #15531]
16078 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16079 argument is infinite.
16080 * math/s_cprojf.c (__cprojf): Likewise.
16081 * math/s_cprojl.c (__cprojl): Likewise.
16082 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16083 * math/libm-test.inc (cproj_test_data): Add more tests.
16084
0716c4fc
JM
16085 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16086
42c8fdd8
JM
16087 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16088 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16089 size. Use __ffs to determine corresponding shift.
16090
b31469d0
JM
160912013-08-20 Joseph Myers <joseph@codesourcery.com>
16092 Roland McGrath <roland@hack.frob.com>
16093
16094 * Makefile (INSTALL): Remove trailing blank lines from output of
16095 makeinfo.
16096
4e39af6e
AK
160972013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16098
16099 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16100 Align 32 bit compat elf_greg to 8 bytes.
16101
f315524e
AA
161022013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16103
16104 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16105
1326ba1a
SP
161062013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16107
16108 * string/strcoll_l.c (coll_seq): New structure.
16109 (get_next_seq_cached): New function.
16110 (get_next_seq): New function.
16111 (do_compare): New function.
16112 (STRCOLL): Use GNU style definition. Simplify implementation
16113 by using get_next_seq, get_next_seq_cached and do_compare.
16114
91ce4085
FW
161152013-08-16 Florian Weimer <fweimer@redhat.com>
16116
16117 [BZ #14699]
16118 CVE-2013-4237
16119 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16120 member.
16121 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16122 member.
16123 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16124 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16125 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16126 conditional.
16127 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16128 GETDENTS_64BIT_ALIGNED.
16129 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16130 * manual/filesys.texi (Reading/Closing Directory): Document
16131 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16132 strongly.
16133 * manual/conf.texi (Limits for Files): Add portability note to
16134 NAME_MAX, PATH_MAX.
16135 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16136
ca0a6bc4
AS
161372013-08-13 Andreas Schwab <schwab@suse.de>
16138
16139 [BZ #15749]
16140 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16141 of fabs.
16142 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16143 LDBL_MAX_EXP >= 16384]: Add tests for it.
16144
6c1fd795
DM
161452013-08-12 David S. Miller <davem@davemloft.net>
16146
16147 * version.h (RELEASE): Set to "development".
16148 (VERSION): Set to "2.18.90".
16149 * NEWS: Add 2.19 section.
16150
31ad488d
DM
161512013-08-03 David S. Miller <davem@davemloft.net>
16152
16153 * po/ko.po: Update Korean translation from translation project.
16154
db24e684
DM
161552013-08-01 David S. Miller <davem@davemloft.net>
16156
16157 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16158 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16159 Bilka.
16160
f723285b
DM
161612013-07-30 David S. Miller <davem@davemloft.net>
16162
16163 * po/fr.po: Update French translation from translation project.
16164
3cbc52db
DM
161652013-07-28 David S. Miller <davem@davemloft.net>
16166
30bbc0cc
DM
16167 * po/cs.po: Update Czech translation from translation project.
16168
3cbc52db
DM
16169 * po/sv.po: Update Swedish translation from translation project.
16170
d492e6d0
DM
161712013-07-27 David S. Miller <davem@davemloft.net>
16172
f1a7f492
DM
16173 * po/eo.po: Update Esperanto translation from translation project.
16174
90e62a4a
DM
16175 * po/vi.po: Update Vietnamese translation from translation project.
16176
d492e6d0
DM
16177 * po/de.po: Update German translation from translation project.
16178
d4baa62d
DM
161792013-07-26 David S. Miller <davem@davemloft.net>
16180
641aa7b4
DM
16181 * po/bg.po: Update Bulgarian translation from translation project.
16182
d4baa62d
DM
16183 * po/nl.po: Update Dutch translation from translation project.
16184 * po/pl.po: Update Polish translation from translation project.
16185 * po/ru.po: Update Russian translation from translation project.
16186
61a9dcb9
DM
161872013-07-24 David S. Miller <davem@davemloft.net>
16188
16189 * po/libc.pot: Update.
16190
7b1f8b58
AZ
161912013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16192
16193 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16194 variable page size.
16195 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16196 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16197 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16198
a8fc7a03
AK
161992013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16200
16201 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16202
e4608715
CD
162032013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16204 Andreas Schwab <schwab@suse.de>
16205 Roland McGrath <roland@hack.frob.com>
16206 Joseph Myers <joseph@codesourcery.com>
16207 Carlos O'Donell <carlos@redhat.com>
16208
16209 [BZ #15755]
16210 * config.h.in: Define HAVE_PT_CHOWN.
16211 * config.make.in (build-pt-chown): New variable.
16212 * configure.in (--enable-pt_chown): New configure option.
16213 * configure: Regenerate.
16214 * login/Makefile: Include Makeconfig. Build pt_chown only if
16215 build-pt-chown is enabled.
16216 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16217 pt_chown to fix pty ownership.
16218 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16219 CLOSE_ALL_FDS.
16220 * manual/install.texi (Configuring and compiling): Mention
16221 --enable-pt_chown. Add @findex for grantpt.
16222 * INSTALL: Regenerate.
16223
da2d62df
DM
162242013-07-20 David S. Miller <davem@davemloft.net>
16225
16226 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16227 difference between 32-bit and 64-bit.
16228
d7e06450
CD
162292013-07-15 Carlos O'Donell <carlos@redhat.com>
16230
16231 [BZ #15711]
16232 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16233 Avoid system header dependency with -ffreestanding.
16234 ($(objpfx)bits/syscall%d): Likewise.
16235
f959cfd7
DM
162362013-07-13 David S. Miller <davem@davemloft.net>
16237
16238 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16239 underflows from atanl/atan2l due to bug 15319.
16240 (casinh_test_data): Likewise.
16241
c61f8513
DM
162422013-07-07 David S. Miller <davem@davemloft.net>
16243
16244 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16245
72c90ed0
JA
162462013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16247
16248 * sysdeps/i386/fpu/libm-test-ulps: Update.
16249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16250
52dfbe13
SP
162512013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16252
16253 * configure.in (--enable-lock-elision): Fix message text.
16254 * INSTALL: Regenerate.
16255 * configure: Regenerate.
16256
3f169543
AZ
162572013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16258
16259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16260
521c6785
AJ
162612013-07-03 Andreas Jaeger <aj@suse.de>
16262
16263 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16264 define.
16265 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16266 (ptrace_peeksiginfo_args): Add.
16267 (__ptrace_peeksiginfo_flags): Add.
16268 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16269 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16270 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16271
d2cc15cb
AM
162722013-07-03 Allan McRae <allan@archlinux.org>
16273
16274 * sysdeps/i386/fpu/libm-test-ulps: Update.
16275
3aaeeca7
DM
162762013-07-02 David S. Miller <davem@davemloft.net>
16277
16278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16279
5314ed1a
MT
162802013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16281
16282 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16283
67338156
JM
162842013-07-02 Joseph Myers <joseph@codesourcery.com>
16285
16286 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16288
1717da59
AK
162892013-07-02 Andi Kleen <ak@linux.intel.com>
16290
16291 * config.h.in (ENABLE_LOCK_ELISION): Add.
16292 * configure.in (--enable-lock-elision): Add option.
16293 * manual/install.texi: Document --enable lock elision.
16294 * configure: Regenerate
16295 * INSTALL: Regenerate.
16296
1c81621c
L
162972013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16298
16299 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16300 SSE4.2 strcasecmp for libc.a.
16301 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16302
77f01ab5
JM
163032013-07-02 Joseph Myers <joseph@codesourcery.com>
16304
16305 [BZ #13304]
16306 * soft-fp/op-common.h (_FP_FMA): New macro.
16307 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16308 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16309 (_FP_MUL_MEAT_1_imm): ... here.
16310 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16311 (_FP_MUL_MEAT_1_wide): ... here.
16312 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16313 (_FP_MUL_MEAT_1_hard): ... here.
16314 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16315 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16316 (_FP_MUL_MEAT_2_wide): ... here.
16317 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16318 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16319 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16320 (_FP_MUL_MEAT_2_gmp): ... here.
16321 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16322 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16323 (_FP_MUL_MEAT_4_wide): ... here.
16324 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16325 (_FP_MUL_MEAT_4_gmp): ... here.
16326 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16327 (_FP_WFRACBITS_DW_S): Likewise.
16328 (_FP_WFRACXBITS_DW_S): Likewise.
16329 (_FP_HIGHBIT_DW_S): Likewise.
16330 (FP_FMA_S): Likewise.
16331 (_FP_FRAC_HIGH_DW_S): Likewise.
16332 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16333 (_FP_WFRACBITS_DW_D): Likewise.
16334 (_FP_WFRACXBITS_DW_D): Likewise.
16335 (_FP_HIGHBIT_DW_D): Likewise.
16336 (FP_FMA_D): Likewise.
16337 (_FP_FRAC_HIGH_DW_D): Likewise.
16338 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16339 (_FP_WFRACBITS_DW_E): Likewise.
16340 (_FP_WFRACXBITS_DW_E): Likewise.
16341 (_FP_HIGHBIT_DW_E): Likewise.
16342 (FP_FMA_E): Likewise.
16343 (_FP_FRAC_HIGH_DW_E): Likewise.
16344 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16345 (_FP_WFRACBITS_DW_Q): Likewise.
16346 (_FP_WFRACXBITS_DW_Q): Likewise.
16347 (_FP_HIGHBIT_DW_Q): Likewise.
16348 (FP_FMA_Q): Likewise.
16349 (_FP_FRAC_HIGH_DW_Q): Likewise.
16350 * soft-fp/fmasf4.c: New file.
16351 * soft-fp/fmadf4.c: Likewise.
16352 * soft-fp/fmatf4.c: Likewise.
16353
6308fd9a
LD
163542013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16355
16356 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16357 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16358 Silvermont.
16359 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16360 macro.
16361 (index_Slow_SSE4_2): Likewise.
16362 (index_Prefer_PMINUB_for_stringop): Likewise.
16363 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16364 bit_Slow_SSE4_2 is set.
16365 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16366 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16367
89cd9569
RA
163682013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16369
16370 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16371 rtld_global._dl_hwcap2.
16372 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16373 POWER8.
16374 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16375 POWER8 feature descriptions defined in _dl_hwcap2.
16376 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16377 string handling for POWER8 feature bits.
16378 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16379 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16380 _dl_powerpc_cap_flags.
16381 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16382 * sysdeps/powerpc/rtld-global-offsets.sym
16383 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16384 _dl_hwcap2 in the rtld_global_ro structure.
16385
1ae8bfe0
RA
163862013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16387
16388 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16389 hardware capabilities in support of AT_HWCAP2.
16390 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16391 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16392 GLRO(dl_hwcap2).
16393 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16394 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16395 explicitly the unknown a_type display mechanism is used.
16396 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16397 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16398 struct member.
16399 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16400 to macro prototype for AT_HWCAP2 support.
16401 * sysdeps/i386/dl-procinfo.h: Likewise.
16402 * sysdeps/s390/dl-procinfo.h: Likewise.
16403 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16404 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16405 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16406 return -1 for unknown a_type display fallback.
16407 * sysdeps/sparc/dl-procinfo.h: Likewise.
16408 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16409 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16410
8fbec010
JM
164112013-06-28 Joseph Myers <joseph@codesourcery.com>
16412
16413 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16414 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16415
0432680e
PY
164162013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16417
16418 [BZ #12492]
16419 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16420 mprotect making __stack_prot writable.
16421
ce61a2ad
NF
164222013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16423 Joseph Myers <joseph@codesourcery.com>
16424
16425 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16426 as being properly aligned.
16427
f91f1c0f
MR
164282013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16429
3d0f5d0c
MR
16430 * dlfcn/modstatic5.c: New file.
16431 * dlfcn/tststatic5.c: New file.
16432 * dlfcn/Makefile (tests): Add tststatic5.
16433 (tests-static): Likewise.
16434 (modules-names): Add modstatic5.
16435 (tststatic5-ENV): New variable.
16436 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16437
f91f1c0f
MR
16438 [BZ #15022]
16439 * elf/dl-support.c (_dl_main_map): New variable.
16440 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16441 (_dl_nns, _dl_load_adds): Set to 1.
16442 (_dl_initial_searchlist): Refer to _dl_main_map.
16443 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16444 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16445 call to _dl_get_origin.
16446 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16447 around call_map.
16448 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16449 * dlfcn/modstatic3.c: New file.
16450 * dlfcn/tststatic3.c: New file.
16451 * dlfcn/tststatic4.c: New file.
16452 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16453 (tests-static): Likewise.
16454 (modules-names): Add modstatic3.
16455 (tststatic3-ENV, tststatic4-ENV): New variables.
16456 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16457 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16458
cbe7d24b
JM
164592013-06-26 Joseph Myers <joseph@codesourcery.com>
16460
16461 * configure.in (CC): Require GCC version 4.4 or later.
16462 * configure: Regenerated.
16463 * manual/install.texi (Tools for Compilation): Update GCC version
16464 requirement.
16465 * INSTALL: Regenerated.
16466
11b8a0e1
LD
164672013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16468
16469 [BZ #15674]
bb5bb87c
L
16470 * string/test-memcmp.c (check2): New.
16471 (main): Call check2.
16472
11b8a0e1
LD
16473 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16474
b0037103
MR
164752013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16476
16477 [BZ #15022]
16478 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16479 over to...
16480 (dl_open_worker) [!SHARED]: ... here.
16481
c18c701d
RA
164822013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16483
16484 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16485
1d17fa5f
RH
164862013-06-25 Richard Henderson <rth@redhat.com>
16487
16488 * locale/programs/locarchive.c: Include <libc-internal.h>
16489
8fcb833a
JM
164902013-06-25 Joseph Myers <joseph@codesourcery.com>
16491
16492 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16493 trailing whitespace removed.
16494
17db6e8d
MF
164952013-06-24 Mike Frysinger <vapier@gentoo.org>
16496
16497 [BZ #10283]
17db6e8d
MF
16498 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16499 * locale/programs/locarchive.c: Include libc-mmap.h.
16500 (prepare_address_space): Take two new outputs (the mmap base and len).
16501 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16502 values.
16503 (create_archive): Declare new mmap base and len values for
16504 prepare_address_space, and store the result in ah.
16505 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16506 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16507 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16508 Declare new mmap base and len values for
16509 prepare_address_space, and store the result in new_ah.
16510 (open_archive): Declare new mmap base and len values for
16511 prepare_address_space, and store the result in ah.
16512 (close_archive): If ah->mmap_base is not NULL, use that and
16513 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16514 * sysdeps/generic/libc-mmap.h: New file.
16515
d605071e
MF
165162013-06-24 Mike Frysinger <vapier@gentoo.org>
16517
16518 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16519 (ALIGN_UP): Likewise.
16520 (PTR_ALIGN_DOWN): Likewise.
16521 (PTR_ALIGN_UP): Likewise.
16522
2f063a6e
RA
165232013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16524
16525 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16526 entry mapped to PPC_PLATFORM_POWER8.
16527 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16528 POWER8.
16529 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16530 (_dl_string_platform): Add case for exporting platform position for
16531 POWER8.
16532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16533 search path to sysdeps/powerpc/powerpc32/power8 directory.
16534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16535 search path to sysdeps/powerpc/powerpc64/power8 directory.
16536 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16537 power7 directories.
16538 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16539 power7 directories.
16540
a31ee4b3
SP
165412013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16542
a74ca98f
SP
16543 * INSTALL: Regenerate.
16544
a31ee4b3
SP
16545 * nscd/connections.c (nscd_init): Fix comment.
16546
695c378f
JM
165472013-06-22 Joseph Myers <joseph@codesourcery.com>
16548
d8412221
JM
16549 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16550
695c378f
JM
16551 [BZ #15667]
16552 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16553 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16554
d1d54715
MR
165552013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16556
16557 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16558 DL_DST_REQ_STATIC.
16559 (DL_DST_REQ_STATIC): Remove macro.
16560
8fdda7af
JM
165612013-06-21 Joseph Myers <joseph@codesourcery.com>
16562
16563 [BZ #7006]
16564 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16565 with a shift of 0 bits.
16566
f3bc5e5a
MR
165672013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16568
16569 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16570 $(tststatic-ENV).
16571
be09e8c9
KK
165722013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16573
16574 [BZ #15655]
16575 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16576
85c2e611
AZ
165772013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16578
16579 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16580 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16581 accepts -fno-tree-loop-distribute-patterns.
16582 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16583 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16584 recursive call.
16585 * string/memset.c (memset): Likewise.
16586 * string/test-memmove.c (simple_memmove): Disable loop transformation
16587 to library calls.
16588 * string/test-memset.c (simple_memset): Likewise.
16589 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16590 * benchtests/bench-memset.c (simple_memset): Likewise.
16591 * configure: Regenerated.
16592
c91e0825
JM
165932013-06-20 Joseph Myers <joseph@codesourcery.com>
16594
b8c792af
JM
16595 * math/test-misc.c (main): Ignore fesetround failure when failures
16596 of subsequent rounding tests would be ignored.
16597
c91e0825
JM
16598 [BZ #15654]
16599 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16600 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16601 * math/fegetenv.c (__fegetenv): Return 0.
16602 * math/fegetexcept.c (fegetexcept): Return 0.
16603 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16604 FE_TONEAREST.
16605 * math/feholdexcpt.c (feholdexcept): Return 0.
16606 * math/fesetenv.c (__fesetenv): Return 0.
16607 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16608 argument FE_TONEAREST.
16609 * math/feupdateenv.c (__feupdateenv): Return 0.
16610 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16611
bfcacbde
RM
166122013-06-18 Roland McGrath <roland@hack.frob.com>
16613
16614 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16615 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16616 ($(objpfx)rtld-%.os rules): Use them.
16617
e55a9b25
AZ
166182013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16619
16620 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16621 fields.
16622
346d65b3
RM
166232013-06-17 Roland McGrath <roland@hack.frob.com>
16624
12086fb4
RM
16625 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16626 length of target pattern, then descending length of dependency pattern.
16627 * configure.in (AWK): Require gawk 3.1.2 or newer.
16628 * manual/install.texi (Tools for Compilation): Say that we do.
16629 * configure: Regenerated.
16630
346d65b3
RM
16631 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16632 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16633 * scripts/sysd-rules.awk: ... this new script.
16634 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16635 than a glob-style pattern.
16636
1a846317
JM
166372013-06-17 Joseph Myers <joseph@codesourcery.com>
16638
16639 * math/test-misc.c (main): Do not treat incorrectly rounded
16640 conversions as failure unless ROUNDING_TESTS passes.
16641
8fc75e6f
JM
166422013-06-15 Joseph Myers <joseph@codesourcery.com>
16643
3711a167
JM
16644 [BZ #15631]
16645 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16646 restore exception state around main square root computation, then
16647 check for inexactness explicitly.
16648
8fc75e6f
JM
16649 * math/libm-test.inc (fma_test_data): Add another test.
16650
61dd6208
SP
166512013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16652
adf23d2c
SP
16653 * manual/threads.texi (Non-POSIX Extensions): New document
16654 node. Document pthread_getattr_default_np and
16655 pthread_setattr_default_np.
16656
61dd6208
SP
16657 * Versions.def (libpthread): Add GLIBC_2.18.
16658 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16660 Likewise.
16661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16662 Likewise.
16663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16664 Likewise.
16665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16666 Likewise.
16667 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16668 Likewise.
16669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16670 Likewise.
16671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16672 Likewise.
16673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16674 Likewise.
16675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16676 Likewise.
16677
d086fc7b
LD
166782013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16679
16680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16681 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16682
747ef469
SP
166832013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16684 H.J. Lu <hjl.tools@gmail.com>
16685
16686 [BZ #15627]
16687 * sysdeps/x86_64/rtld-memset.c: Remove file.
16688 * sysdeps/x86_64/rtld-memset.S: New file.
16689
1b2feed2
JM
166902013-06-14 Joseph Myers <joseph@codesourcery.com>
16691
16692 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16693 (test_in_one_mode): Take arguments for whether the rounding mode
16694 is supported for each floating-point type.
16695 (do_test): Pass new arguments to test_in_one_mode using
16696 ROUNDING_TESTS.
16697
a58ad3f8
RM
166982013-06-13 Roland McGrath <roland@hack.frob.com>
16699
16700 * posix/tst-waitid.c (do_test): Distinguish different instances of
16701 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16702 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16703 before entering the kernel for waitpid.
16704
c204ab28
SP
167052013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16706
16707 * NEWS: Fix note on clock function precision. Text by Roland
16708 McGrath.
16709
f4a29fba
RM
167102013-06-13 Roland McGrath <roland@hack.frob.com>
16711
16712 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16713 it into place only when and if the sanity check passes.
16714
1f24b9ad
JM
167152013-06-13 Joseph Myers <joseph@codesourcery.com>
16716
16717 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16718 output for whether conversion result is exact. Take argument
16719 indicating whether type is IBM long double.
16720 (round_for_all): Change need_exact field to ibm_ld.
16721 * stdlib/tst-strtod-round.c (struct exactness): New type.
16722 (struct test): Change bool ld_ok field to struct exactness exact.
16723 (TEST): Update all definitions for change to field.
16724 (tests): Regenerate array contents.
16725 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16726 field value. Check for IBM long double here.
16727 (do_test): Update calls to test_in_one_mode.
16728
58206c68
SP
167292013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16730
16731 [BZ #12515]
16732 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16733 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16734
2d6f4c5b 167352013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
16736
16737 [BZ #15605]
16738 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16739 generated by the compiler on loop optimizations.
16740 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16741 general definitions.
16742
94f2c076
JM
167432013-06-12 Joseph Myers <joseph@codesourcery.com>
16744
16745 * math/bug-nextafter.c: Include <math-tests.h>.
16746 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16747 the relevant type.
16748 * math/bug-nexttoward.c: Include <math-tests.h>.
16749 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16750 the relevant type.
16751 * math/test-misc.c: Include <math-tests.h>.
16752 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16753 the relevant type.
16754
e0e50a0a
AJ
167552013-06-12 Andreas Jaeger <aj@suse.de>
16756
16757 * po/ia.po: Update Interlingua translation from translation
16758 project.
16759
25061094
SP
167602013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16761
16762 * include/fenv.h: Include stdbool.h.
16763 (struct rm_ctx): New structure.
16764 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16765 Define macro.
16766 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16767 (SET_RESTORE_ROUNDF): Likewise.
16768 (SET_RESTORE_ROUNDL): Likewise.
16769 (SET_RESTORE_ROUND_NOEX): Likewise.
16770 (SET_RESTORE_ROUND_NOEXF): Likewise.
16771 (SET_RESTORE_ROUND_NOEXL): Likewise.
16772 (SET_RESTORE_ROUND_53BIT): Likewise.
16773 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16774 (libc_feresetround_noexf_ctx): Likewise.
16775 (libc_feresetround_noexl_ctx): Likewise.
16776 (libc_feholdsetround_53bit_ctx): Likewise.
16777 (libc_feresetround_53bit_ctx): Likewise.
16778 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16779 (libc_feholdexcept_setround_sse_ctx): New function.
16780 (libc_fesetenv_sse_ctx): Likewise.
16781 (libc_feupdateenv_sse_ctx): Likewise.
16782 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16783 (libc_feholdexcept_setround_387_ctx): Likewise.
16784 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16785 (libc_feholdsetround_387_prec_ctx): Likewise.
16786 (libc_feholdsetround_387_ctx): Likewise.
16787 (libc_feholdsetround_387_53bit_ctx): Likewise.
16788 (libc_feholdsetround_sse_ctx): Likewise.
16789 (libc_feresetround_sse_ctx): Likewise.
16790 (libc_feresetround_387_ctx): Likewise.
16791 (libc_feupdateenv_387_ctx): Likewise.
16792 (libc_feholdexcept_setroundf_ctx): Define macro.
16793 (libc_fesetenvf_ctx): Likewise.
16794 (libc_feupdateenvf_ctx): Likewise.
16795 (libc_feholdsetroundf_ctx): Likewise.
16796 (libc_feresetroundf_ctx): Likewise.
16797 (libc_feholdexcept_setround_ctx): Likewise.
16798 (libc_fesetenv_ctx): Likewise.
16799 (libc_feupdateenv_ctx): Likewise.
16800 (libc_feholdsetround_ctx): Likewise.
16801 (libc_feresetround_ctx): Likewise.
16802 (libc_feholdexcept_setroundl_ctx): Likewise.
16803 (libc_feupdateenvl_ctx): Likewise.
16804 (libc_feholdsetroundl_ctx): Likewise.
16805 (libc_feresetroundl_ctx): Likewise.
16806 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16807 (libc_feresetround_53bit_ctx): Likewise.
16808
59b30555
SP
168092013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16810
16811 * locale/iso-639.def: Convert to UTF-8.
16812
f1d73d30
JM
168132013-06-11 Joseph Myers <joseph@codesourcery.com>
16814
16815 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16816 (EXCEPTION_TESTS_double): Likewise.
16817 (EXCEPTION_TESTS_long_double): Likewise.
16818 (EXCEPTION_TESTS): Likewise.
16819 * math/libm-test.inc (test_exceptions): Only test exceptions if
16820 EXCEPTION_TESTS (FLOAT).
16821
94aca5e7
SP
168222013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16823
16824 * benchtests/Makefile (string-bench): Add strcpy_chk and
16825 stpcpy_chk.
16826 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16827 * benchtests/bench-stpcpy_chk.c: New file.
16828 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16829 * benchtests/bench-strcpy_chk.c: New file.
16830 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16831 code.
16832 (do_test): Likewise.
16833
fac0c5f2
RA
168342013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16835
16836 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16837 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16838 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16839 with tabs where appropriate.
16840 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16841 dl-procinfo.h.
16842 [PPC_PLATFORM_PPC440]: Likewise.
16843 [PPC_PLATFORM_PPC464]: Likewise.
16844 [PPC_PLATFORM_PPC476]: Likewise.
16845 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16846 ppc464, and ppc476 platform strings merging from ports/
16847 dl-procinfo.h.
16848
f22bc486
AS
168492013-06-11 Andreas Schwab <schwab@suse.de>
16850
16851 [BZ #14991]
16852 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16853 (from_ucs4_idx): Regenerate.
16854 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16855 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16856 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16857 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16858 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16859 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16860 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16861 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16862 from FROM_LOOP and TO_LOOP specific macros.
16863 (BODY): Handle combining characters.
16864 * iconvdata/BIG5HKSCS.irreversible: Update.
16865 * iconvdata/BIG5HKSCS.precomposed: New file.
16866 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16867 characters.
16868 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16869
c1f75dc3
SP
168702013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16871
4eacded2
SP
16872 * include/sys/time.h: Fix indentation and add copyright header.
16873
fec799f8
SP
16874 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16875 (do_test): Likewise.
16876 * string/test-memchr.c (do_one_test): Likewise.
16877 (do_test): Likewise.
16878 * string/test-memcmp.c (do_one_test): Likewise.
16879 (do_test): Likewise.
16880 * string/test-memcpy.c (do_one_test): Likewise.
16881 (do_test): Likewise.
16882 * string/test-memmem.c (do_one_test): Likewise.
16883 (do_test): Likewise.
16884 (do_random_tests): Likewise.
16885 * string/test-memmove.c (do_one_test): Likewise.
16886 (do_test): Likewise.
16887 * string/test-memset.c (do_one_test): Likewise.
16888 (do_test): Likewise.
16889 * string/test-rawmemchr.c (do_one_test): Likewise.
16890 (do_test): Likewise.
16891 * string/test-strcasecmp.c (do_one_test): Likewise.
16892 (do_test): Likewise.
16893 * string/test-strcasestr.c (do_one_test): Likewise.
16894 (do_test): Likewise.
16895 * string/test-strcat.c (do_one_test): Likewise.
16896 (do_test): Likewise.
16897 * string/test-strchr.c (do_one_test): Likewise.
16898 (do_test): Likewise.
16899 * string/test-strcmp.c (do_one_test): Likewise.
16900 (do_test): Likewise.
16901 * string/test-strcpy.c (do_one_test): Likewise.
16902 (do_test): Likewise.
16903 * string/test-string.h: Likewise.
16904 (test_init): Likewise.
16905 * string/test-strlen.c (do_one_test): Likewise.
16906 (do_test): Likewise.
16907 * string/test-strncasecmp.c (do_one_test): Likewise.
16908 (do_test): Likewise.
16909 * string/test-strncat.c (do_one_test): Likewise.
16910 (do_test): Likewise.
16911 * string/test-strncmp.c (do_one_test): Likewise.
16912 (do_test_limit): Likewise.
16913 (do_test): Likewise.
16914 * string/test-strncpy.c (do_one_test): Likewise.
16915 (do_test): Likewise.
16916 * string/test-strnlen.c (do_one_test): Likewise.
16917 (do_test): Likewise.
16918 * string/test-strpbrk.c (do_one_test): Likewise.
16919 (do_test): Likewise.
16920 * string/test-strrchr.c (do_one_test): Likewise.
16921 (do_test): Likewise.
16922 * string/test-strspn.c (do_one_test): Likewise.
16923 (do_test): Likewise.
16924 * string/test-strstr.c (do_one_test): Likewise.
16925 (do_test): Likewise.
16926
97020474
SP
16927 * benchtests/Makefile (string-bench): Add string benchmarks.
16928 * benchtests/bench-bcopy-ifunc.c: New file.
16929 * benchtests/bench-bcopy.c: New file.
16930 * benchtests/bench-bzero-ifunc.c: New file.
16931 * benchtests/bench-bzero.c: New file.
16932 * benchtests/bench-memccpy-ifunc.c: New file.
16933 * benchtests/bench-memccpy.c: New file.
16934 * benchtests/bench-memchr-ifunc.c: New file.
16935 * benchtests/bench-memchr.c: New file.
16936 * benchtests/bench-memcmp-ifunc.c: New file.
16937 * benchtests/bench-memcmp.c: New file.
16938 * benchtests/bench-memmem-ifunc.c: New file.
16939 * benchtests/bench-memmem.c: New file.
16940 * benchtests/bench-memmove-ifunc.c: New file.
16941 * benchtests/bench-memmove.c: New file.
16942 * benchtests/bench-mempcpy-ifunc.c: New file.
16943 * benchtests/bench-mempcpy.c: New file.
16944 * benchtests/bench-memset-ifunc.c: New file.
16945 * benchtests/bench-memset.c: New file.
16946 * benchtests/bench-rawmemchr-ifunc.c: New file.
16947 * benchtests/bench-rawmemchr.c: New file.
16948 * benchtests/bench-stpcpy-ifunc.c: New file.
16949 * benchtests/bench-stpcpy.c: New file.
16950 * benchtests/bench-stpncpy-ifunc.c: New file.
16951 * benchtests/bench-stpncpy.c: New file.
16952 * benchtests/bench-strcasecmp-ifunc.c: New file.
16953 * benchtests/bench-strcasecmp.c: New file.
16954 * benchtests/bench-strcasestr-ifunc.c: New file.
16955 * benchtests/bench-strcasestr.c: New file.
16956 * benchtests/bench-strcat-ifunc.c: New file.
16957 * benchtests/bench-strcat.c: New file.
16958 * benchtests/bench-strchr-ifunc.c: New file.
16959 * benchtests/bench-strchr.c: New file.
16960 * benchtests/bench-strchrnul-ifunc.c: New file.
16961 * benchtests/bench-strchrnul.c: New file.
16962 * benchtests/bench-strcmp-ifunc.c: New file.
16963 * benchtests/bench-strcmp.c: New file.
16964 * benchtests/bench-strcpy-ifunc.c: New file.
16965 * benchtests/bench-strcpy.c: New file.
16966 * benchtests/bench-strcspn-ifunc.c: New file.
16967 * benchtests/bench-strcspn.c: New file.
16968 * benchtests/bench-strlen-ifunc.c: New file.
16969 * benchtests/bench-strlen.c: New file.
16970 * benchtests/bench-strncasecmp-ifunc.c: New file.
16971 * benchtests/bench-strncasecmp.c: New file.
16972 * benchtests/bench-strncat-ifunc.c: New file.
16973 * benchtests/bench-strncat.c: New file.
16974 * benchtests/bench-strncmp-ifunc.c: New file.
16975 * benchtests/bench-strncmp.c: New file.
16976 * benchtests/bench-strncpy-ifunc.c: New file.
16977 * benchtests/bench-strncpy.c: New file.
16978 * benchtests/bench-strnlen-ifunc.c: New file.
16979 * benchtests/bench-strnlen.c: New file.
16980 * benchtests/bench-strpbrk-ifunc.c: New file.
16981 * benchtests/bench-strpbrk.c: New file.
16982 * benchtests/bench-strrchr-ifunc.c: New file.
16983 * benchtests/bench-strrchr.c: New file.
16984 * benchtests/bench-strspn-ifunc.c: New file.
16985 * benchtests/bench-strspn.c: New file.
16986 * benchtests/bench-strstr-ifunc.c: New file.
16987 * benchtests/bench-strstr.c: New file.
16988
c1f75dc3
SP
16989 * benchtests/Makefile: Disable parallel execution of targets.
16990 (string-bench): Add memcpy.
16991 (benchset): New variable to store a list of benchmark sets.
16992 (bench-func): Renamed from bench.
16993 (bench-set): New target.
16994 (bench): Depend on bench-func and bench-set.
16995 * benchtests/README: Add section on benchmark sets.
16996 * benchtests/bench-memcpy-ifunc.c: New file.
16997 * benchtests/bench-memcpy.c: New file.
16998 * benchtests/bench-string.h: New file.
16999
50fd745b
AS
170002013-06-11 Andreas Schwab <schwab@suse.de>
17001
17002 [BZ #15577]
17003 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17004 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17005 values in the triple.
17006 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17007 terminator in the group key.
17008
3ee7e9fe
AJ
170092013-06-11 Andreas Jaeger <aj@suse.de>
17010
17011 * po/zh_TW.po: Update Chinese (traditional) translation from
17012 translation project.
17013
89fb6835
SP
170142013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17015
17016 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17017 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17018 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17019 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17020 (clock_getcpuclockid): Likewise.
17021 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17022 Add weak_alias and libc_hidden_def.
17023 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17024 * rt/clock_gettime.c (clock_gettime): Rename to
17025 __clock_gettime. Add weak_alias and libc_hidden_def.
17026 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17027 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17028 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17029 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17030 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17031 Likewise.
17032 * rt/clock_settime.c (clock_settime): Rename to
17033 __clock_settime. Add weak_alias and libc_hidden_def.
17034 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17035
0efa6f8b
JM
170362013-06-10 Joseph Myers <joseph@codesourcery.com>
17037
b8c61b4b
JM
17038 * mach/err_boot.sub: Remove trailing whitespace.
17039 * mach/err_ipc.sub: Likewise.
17040 * mach/err_mach.sub: Likewise.
17041
0efa6f8b
JM
17042 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17043 (ROUNDING_TESTS_double): Likewise.
17044 (ROUNDING_TESTS_long_double): Likewise.
17045 (ROUNDING_TESTS): Likewise.
17046 * math/libm-test.inc: Include <math-tests.h>.
17047 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17048 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17049 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17050 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17051
50b818bf
SP
170522013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17053
17054 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17055 of assigning.
17056
60d2f8f3
JM
170572013-06-08 Joseph Myers <joseph@codesourcery.com>
17058
4902d2c3
JM
17059 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17060 otherwise empty TRANS lines.
17061 * sysdeps/gnu/errlist.c: Regenerated.
17062
60d2f8f3
JM
17063 * catgets/gencat.c (error_print): Use (void) in function
17064 definition.
17065 * crypt/crypt_util.c (__init_des): Likewise.
17066 * crypt/speeds.c (Stop): Likewise.
17067 (main): Likewise.
17068 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17069 * inet/ruserpass.c (token): Likewise.
17070 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17071 * intl/localealias.c (extend_alias_table): Likewise.
17072 * intl/plural-exp.c (init_germanic_plural): Likewise.
17073 * libio/fcloseall.c (__fcloseall): Likewise.
17074 * libio/genops.c (_IO_flush_all): Likewise.
17075 (_IO_flush_all_linebuffered): Likewise.
17076 (_IO_cleanup): Likewise.
17077 (_IO_iter_begin): Likewise.
17078 (_IO_iter_end): Likewise.
17079 (_IO_list_lock): Likewise.
17080 (_IO_list_unlock): Likewise.
17081 (_IO_list_resetlock): Likewise.
17082 * libio/getchar.c (getchar): Likewise.
17083 * libio/getchar_u.c (getchar_unlocked): Likewise.
17084 * libio/getwchar.c (getwchar): Likewise.
17085 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17086 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17087 * login/getpt.c (__getpt): Likewise.
17088 * login/tst-utmp.c (main): Likewise.
17089 * malloc/hooks.c (__malloc_check_init): Likewise.
17090 * malloc/malloc.c (__malloc_stats): Likewise.
17091 * malloc/mtrace.c (tr_break): Likewise.
17092 (mtrace): Likewise.
17093 (muntrace): Likewise.
17094 * misc/fstab.c (endfsent): Likewise.
17095 * misc/getclktck.c (__getclktck): Likewise.
17096 * misc/getdtsz.c (__getdtablesize): Likewise.
17097 * misc/gethostid.c (gethostid): Likewise.
17098 * misc/getpagesize.c (__getpagesize): Likewise.
17099 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17100 (__get_nprocs): Likewise.
17101 (__get_phys_pages): Likewise.
17102 (__get_avphys_pages): Likewise.
17103 * misc/getttyent.c (getttyent): Likewise.
17104 (setttyent): Likewise.
17105 (endttyent): Likewise.
17106 * misc/getusershell.c (getusershell): Likewise.
17107 (endusershell): Likewise.
17108 (setusershell): Likewise.
17109 (initshells): Likewise.
17110 * misc/hsearch.c (__hdestroy): Likewise.
17111 * misc/sync.c (sync): Likewise.
17112 * misc/syslog.c (closelog_internal): Likewise.
17113 (closelog): Likewise.
17114 * misc/ttyslot.c (ttyslot): Likewise.
17115 * misc/vhangup.c (vhangup): Likewise.
17116 * posix/fork.c (__fork): Likewise.
17117 * posix/getegid.c (__getegid): Likewise.
17118 * posix/geteuid.c (__geteuid): Likewise.
17119 * posix/getgid.c (__getgid): Likewise.
17120 * posix/getpid.c (__getpid): Likewise.
17121 * posix/getppid.c (__getppid): Likewise.
17122 * posix/getuid.c (__getuid): Likewise.
17123 * posix/pause.c (pause): Likewise.
17124 * posix/setpgrp.c (setpgrp): Likewise.
17125 * posix/setsid.c (__setsid): Likewise.
17126 * posix/test-vfork.c (noop): Likewise.
17127 * resolv/gethnamaddr.c (_endhtent): Likewise.
17128 (_gethtent): Likewise.
17129 (ht_endhostent): Likewise.
17130 (gethostent): Likewise.
17131 (dns_service): Likewise.
17132 * stdlib/drand48.c (drand48): Likewise.
17133 * stdlib/lrand48.c (lrand48): Likewise.
17134 * stdlib/mrand48.c (mrand48): Likewise.
17135 * stdlib/rand.c (rand): Likewise.
17136 * stdlib/random.c (__random): Likewise.
17137 * stdlib/setenv.c (clearenv): Likewise.
17138 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17139 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17140 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17141 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17142 (__get_nprocs): Likewise.
17143 (__get_phys_pages): Likewise.
17144 (__get_avphys_pages): Likewise.
17145 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17146 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17147 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17148 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17149 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17150 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17151 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17152 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17153 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17154 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17155 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17156 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17157 * sysdeps/posix/clock.c (clock): Likewise.
17158 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17159 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17160 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17161 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17162 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17163 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17164 (__get_nprocs_conf): Likewise.
17165 (__get_phys_pages): Likewise.
17166 (__get_avphys_pages): Likewise.
17167 * time/clock.c (clock): Likewise.
17168 * time/tzset.c (__tzname_max): Likewise.
17169
2e09a79a
JM
171702013-06-07 Joseph Myers <joseph@codesourcery.com>
17171
17172 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17173 (__bswap_32): Do not use "register".
17174 * crypt/crypt.c (_ufc_doit_r): Likewise.
17175 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17176 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17177 * gmon/gmon.c (__monstartup): Likewise.
17178 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17179 * hurd/hurdmalloc.c (more_memory): Likewise.
17180 (malloc): Likewise.
17181 (free): Likewise.
17182 (realloc): Likewise.
17183 (malloc_fork_prepare): Likewise.
17184 (malloc_fork_parent): Likewise.
17185 (malloc_fork_child): Likewise.
17186 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17187 (_svcauth_des): Likewise.
17188 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17189 * inet/inet_net.c (inet_network): Likewise.
17190 * inet/inet_netof.c (inet_netof): Likewise.
17191 * inet/rcmd.c (__validuser2_sa): Likewise.
17192 * io/fts.c (fts_open): Likewise.
17193 (fts_load): Likewise.
17194 (fts_close): Likewise.
17195 (fts_read): Likewise.
17196 (fts_children): Likewise.
17197 (fts_build): Likewise.
17198 (fts_stat): Likewise.
17199 (fts_sort): Likewise.
17200 (fts_alloc): Likewise.
17201 (fts_lfree): Likewise.
17202 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17203 (_IO_file_xsgetn): Likewise.
17204 (_IO_file_xsgetn_mmap): Likewise.
17205 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17206 (_IO_cookie_write): Likewise.
17207 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17208 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17209 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17210 * malloc/obstack.c (_obstack_begin): Likewise.
17211 (_obstack_begin_1): Likewise.
17212 (_obstack_newchunk): Likewise.
17213 (_obstack_allocated_p): Likewise.
17214 (obstack_free): Likewise.
17215 (_obstack_memory_used): Likewise.
17216 * misc/getttyent.c (getttynam): Likewise.
17217 (getttyent): Likewise.
17218 (skip): Likewise.
17219 (value): Likewise.
17220 * misc/getusershell.c (initshells): Likewise.
17221 * misc/syslog.c (__vsyslog_chk): Likewise.
17222 * misc/ttyslot.c (ttyslot): Likewise.
17223 * nis/nis_hash.c (__nis_hash): Likewise.
17224 * posix/fnmatch_loop.c (FCT): Likewise.
17225 * posix/getconf.c (print_all): Likewise.
17226 (main): Likewise.
17227 * posix/getopt.c (exchange): Likewise.
17228 * posix/glob.c (globfree): Likewise.
17229 (prefix_array): Likewise.
17230 (__glob_pattern_type): Likewise.
17231 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17232 (NS_GET32): Likewise.
17233 (NS_PUT16): Likewise.
17234 (NS_PUT32): Likewise.
17235 * resolv/gethnamaddr.c (getanswer): Likewise.
17236 (gethostbyname2): Likewise.
17237 (gethostbyaddr): Likewise.
17238 (_gethtent): Likewise.
17239 (_gethtbyname2): Likewise.
17240 (_gethtbyaddr): Likewise.
17241 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17242 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17243 * resolv/res_init.c (__res_vinit): Likewise.
17244 (net_mask): Likewise.
17245 * resolv/res_mkquery.c (outchar): Likewise.
17246 (PRINT): Likewise.
17247 * stdio-common/printf_fp.c (outchar): Likewise.
17248 (PRINT): Likewise.
17249 * stdio-common/printf_fphex.c (outchar): Likewise.
17250 (PRINT): Likewise.
17251 * stdio-common/printf_size.c (outchar): Likewise.
17252 (PRINT): Likewise.
17253 * stdio-common/test_rdwr.c (main): Likewise.
17254 * stdio-common/tfformat.c (matches): Likewise.
17255 * stdio-common/vfprintf.c (outchar): Likewise.
17256 (printf_unknown): Likewise.
17257 (buffered_vfprintf): Likewise.
17258 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17259 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17260 (ReadFile): Likewise.
17261 * stdlib/qsort.c (SWAP): Likewise.
17262 (_quicksort): Likewise.
17263 * stdlib/setenv.c (__add_to_environ): Likewise.
17264 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17265 * stdlib/strtol_l.c (__strtol_l): Likewise.
17266 * stdlib/tst-strtod.c (main): Likewise.
17267 * stdlib/tst-strtol.c (main): Likewise.
17268 * stdlib/tst-strtoll.c (main): Likewise.
17269 * string/bits/string2.h (__strcmp_cc): Likewise.
17270 (__strcmp_cg): Likewise.
17271 (__strcspn_c1): Likewise.
17272 (__strcspn_c2): Likewise.
17273 (__strcspn_c3): Likewise.
17274 (__strspn_c1): Likewise.
17275 (__strspn_c2): Likewise.
17276 (__strspn_c3): Likewise.
17277 (__strsep_1c): Likewise.
17278 (__strsep_2c): Likewise.
17279 (__strsep_3c): Likewise.
17280 * string/memccpy.c (__memccpy): Likewise.
17281 * string/stpcpy.c (__stpcpy): Likewise.
17282 * string/strcmp.c (strcmp): Likewise.
17283 * string/strrchr.c (strrchr): Likewise.
17284 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17285 Likewise.
17286 * sysdeps/mach/hurd/getcwd.c
17287 (_hurd_canonicalize_directory_name_internal): Likewise.
17288 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17289 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17290 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17291 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17292 Likewise, in both definitions.
17293 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17294 definitions.
17295 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17296 64] (__bswap_64): Likewise.
17297 * time/test_time.c (main): Likewise.
17298 * time/tzfile.c (__tzfile_read): Likewise.
17299 (__tzfile_compute): Likewise.
17300 * time/tzset.c (__tzset_parse_tz): Likewise.
17301 (tzset_internal): Likewise.
17302 (compute_change): Likewise.
17303 * wcsmbs/wcscat.c (__wcscat): Likewise.
17304 * wcsmbs/wcschr.c (wcschr): Likewise.
17305 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17306 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17307 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17308 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17309 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17310 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17311 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17312 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17313 * wcsmbs/wmemset.c (wmemset): Likewise.
17314
9e54314b
JM
173152013-06-06 Joseph Myers <joseph@codesourcery.com>
17316
17317 * scripts/config.guess: Update to version 2013-05-16.
17318 * scripts/config.sub: Update to version 2013-04-24.
17319 * scripts/install-sh: Update to version 2011-11-20.07.
17320 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17321 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17322
350635a5
OB
173232013-06-06 Ondřej Bílka <neleai@seznam.cz>
17324
17325 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17326 * elf/sln.c: Likewise.
17327 * hurd/hurd/ioctl.h: Likewise.
17328 * hurd/hurdmalloc.c: Likewise.
17329 * hurd/xattr.c: Likewise.
17330 * include/shlib-compat.h: Likewise.
17331 * inet/ruserpass.c: Likewise.
17332 * libio/iofgets_u.c: Likewise.
17333 * libio/iofgetws_u.c: Likewise.
17334 * locale/programs/ld-identification.c: Likewise.
17335 * locale/programs/ld-time.c: Likewise.
17336 * mach/msg-destroy.c: Likewise.
17337 * nss/nss_files/files-netgrp.c: Likewise.
17338 * resolv/res_data.c: Likewise.
17339 * soft-fp/op-1.h: Likewise.
17340 * soft-fp/op-2.h: Likewise.
17341 * soft-fp/op-4.h: Likewise.
17342 * soft-fp/op-common.h: Likewise.
17343 * stdio-common/printf_fphex.c: Likewise.
17344 * stdlib/strtod_l.c: Likewise.
17345 * sunrpc/rpc/clnt.h: Likewise.
17346 * sysdeps/generic/framestate.c: Likewise.
17347 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17348 * sysdeps/i386/bsd-setjmp.S: Likewise.
17349 * sysdeps/i386/__longjmp.S: Likewise.
17350 * sysdeps/i386/setjmp.S: Likewise.
17351 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17352 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17353 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17354 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17355 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17356 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17357 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17358 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17359 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17360 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17361 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17362 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17363 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17364 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17365 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17366 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17367 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17368 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17369 * sysdeps/ieee754/support.c: Likewise.
17370 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17371 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17372 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17373 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17374 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17375 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17376 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17377 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17378 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17379 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17380 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17381 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17382 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17383 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17384 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17385 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17386 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17388
44a988af
OB
173892013-06-05 Ondřej Bílka <neleai@seznam.cz>
17390
25506f09 17391 * posix/transbug.c: Remove executable mode.
44a988af 17392
9c84384c
JM
173932013-06-05 Joseph Myers <joseph@codesourcery.com>
17394
17395 * crypt/speeds.c: Remove trailing whitespace.
17396 * dlfcn/default.c: Likewise.
17397 * elf/ifuncdep2.c: Likewise.
17398 * elf/ifuncmain1.c: Likewise.
17399 * elf/ifuncmain1vis.c: Likewise.
17400 * elf/testobj.h: Likewise.
17401 * elf/tst-stackguard1.c: Likewise.
17402 * gmon/sys/gmon.h: Likewise.
17403 * hurd/hurdmsg.c: Likewise.
17404 * hurd/new-fd.c: Likewise.
17405 * hurd/ports-get.c: Likewise.
17406 * iconvdata/ibm1008_420.c: Likewise.
17407 * inet/tst-getni1.c: Likewise.
17408 * inet/tst-getni2.c: Likewise.
17409 * libio/ioungetc.c: Likewise.
17410 * libio/wfiledoalloc.c: Likewise.
17411 * manual/libm-err-tab.pl: Likewise.
17412 * math/w_dremf.c: Likewise.
17413 * misc/ftruncate.c: Likewise.
17414 * posix/bug-glob2.c: Likewise.
17415 * posix/tst-pcre.c: Likewise.
17416 * posix/wait4.c: Likewise.
17417 * resolv/README: Likewise.
17418 * resolv/res_debug.h: Likewise.
17419 * resolv/tst-inet_ntop.c: Likewise.
17420 * setjmp/bug269-setjmp.c: Likewise.
17421 * soft-fp/extended.h: Likewise.
17422 * soft-fp/op-1.h: Likewise.
17423 * soft-fp/op-2.h: Likewise.
17424 * soft-fp/op-4.h: Likewise.
17425 * soft-fp/op-8.h: Likewise.
17426 * soft-fp/testit.c: Likewise.
17427 * stdio-common/bug16.c: Likewise.
17428 * stdlib/random.c: Likewise.
17429 * sunrpc/rpcsvc/rquota.x: Likewise.
17430 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17431 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17432 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17433 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17434 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17435 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17436 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17437 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17438 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17439 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17440 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17441 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17442 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17443 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17444 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17445 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17446 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17447 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17448 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17449 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17450 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17451 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17452 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17453 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17454 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17455 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17456 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17457 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17458 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17459 * sysdeps/ieee754/s_lib_version.c: Likewise.
17460 * sysdeps/mach/hurd/check_fds.c: Likewise.
17461 * sysdeps/mach/hurd/getsockname.c: Likewise.
17462 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17463 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17464 * sysdeps/powerpc/bits/link.h: Likewise.
17465 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17466 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17467 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17468 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17469 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17470 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17471 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17472 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17473 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17474 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17475 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17476 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17477 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17478 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17479 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17480 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17481 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17482 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17483 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17484 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17485 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17486 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17487 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17488 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17489 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17490 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17491 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17492 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17493 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17494 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17495 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17496 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17497 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17498 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17499 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17500 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17501 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17502 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17503 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17504 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17505 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17506 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17507 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17508 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17509 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17510 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17511 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17512 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17513 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17514 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17515 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17516 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17517 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17518 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17519 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17520 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17521 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17522 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17523 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17524 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17525 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17526 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17527 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17528 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17529 * sysdeps/powerpc/sysdep.h: Likewise.
17530 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17531 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17532 * sysdeps/sh/dl-trampoline.S: Likewise.
17533 * sysdeps/sh/memset.S: Likewise.
17534 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17535 * sysdeps/sh/strlen.S: Likewise.
17536 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17537 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17538 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17539 * sysdeps/sparc/sparc32/rem.S: Likewise.
17540 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17541 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17542 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17543 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17544 * sysdeps/sparc/sparc32/urem.S: Likewise.
17545 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17546 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17547 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17548 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17549 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17550 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17551 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17552 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17553 * sysdeps/unix/bsd/times.c: Likewise.
17554 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17555 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17559 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17560 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17561 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17562 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17563 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17564 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17565 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17566 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17567 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17568 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17569 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17570 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17571 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17572 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17573 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17574 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17575 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17576 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17577 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17578 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17579 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17580 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17581 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17582 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17583 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17584 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17585 * sysdeps/x86_64/strcspn.S: Likewise.
17586
869378a5
RA
175872013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17588
17589 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17590 generated file. Regenerate properly from gen-translit.pl.
17591 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17592 locale/C-translit.h.
17593
840e2943
AS
175942013-06-05 Andreas Schwab <schwab@suse.de>
17595
17596 [BZ #15100]
17597 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17598 week as 6 instead of -1.
17599 * time/tst-strptime.c (day_tests): Add test case.
17600
4c60cb0c
SP
176012013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17602
17603 * sysdeps/generic/math_private.h
17604 (libc_feholdexcept_setround_53bit): Replace with
17605 libc_feholdsetround_53bit.
17606 (libc_feupdateenv_53bit): Replace with
17607 libc_feresetround_53bit.
17608 (SET_RESTORE_ROUND_53BIT): Adjust.
17609
d180203e
SP
176102013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17611
96df079a
SP
17612 * string/test-strchrnul.c: Add copyright header.
17613
d180203e
SP
17614 * posix/tst-getaddrinfo4.c: Increase test timeout.
17615
8b0ccb2d
CD
176162013-06-03 Carlos O'Donell <carlos@redhat.com>
17617
17618 [BZ #15536]
17619 * math/libm-test.inc (MAX_EXP): Remove
17620 (MIN_EXP): Define.
17621 (ulp): Use MIN_EXP - MANT_DIG.
17622 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17623
3b3c4d40
CD
176242013-05-31 Carlos O'Donell <carlos@redhat.com>
17625
17626 * po/be.po: Revert last change.
17627 * po/zh_CN.po: Likewise.
17628 * po/header.pot: Likewise.
17629
fab7ce3f
JM
176302013-05-31 Joseph Myers <joseph@codesourcery.com>
17631
17632 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17633 link-libc-deps to empty as target-specific variable.
17634 * Makerules (link-libc-args): New variable.
17635 (libc-for-link): Likewise.
17636 (link-libc-deps): Likewise.
17637 (lib%.so): Depend on $(link-libc-deps). Link with
17638 $(link-libc-args).
17639 (build-module): Link with $(link-libc-args).
17640 (build-module-asneeded): Likewise.
17641 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17642 list of objects.
17643 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17644 target-specific variable.
17645 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17646 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17647 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17648 libc.
17649 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17650 libc and ld.so.
17651 ($(objpfx)libpcprofile.so): Likewise.
17652 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17653 libc_nonshared.a.
17654 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17655 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17656 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17657 $(link-libc-deps).
17658 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17659 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17660 * login/Makefile ($(objpfx)libutil.so): Likewise.
17661 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17662 * math/Makefile ($(objpfx)libm.so): Likewise.
17663 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17664 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17665 variable instead of depending directly on libc.
17666 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17667 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17668 $(link-libc-deps).
17669 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17670 libc.
17671 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17672 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17673 ($(objpfx)libanl.so): Likewise.
17674 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17675 ld.so.
17676 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17677 $(link-libc-deps).
17678 * sysdeps/i386/fpu/Makefile: Remove file.
17679 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17680 ($(objpfx)libm.so): Remove dependency on ld.so.
17681
eca5920c
PF
176822013-05-30 Patsy Franklin <pfrankli@redhat.com>
17683
17684 [BZ # 15553]
17685 * nis/yp_xdr.c (XDRMAXNAME): Define.
17686 (XDRMAXRECORD): Define.
17687 (xdr_domainname): Use XDRMAXNAME.
17688 (xdr_mapname): Likewise.
17689 (xdr_peername): Likewise.
17690 (xdr_keydat): Use XDRMAXRECORD.
17691 (xdr_valdat): Likewise.
17692
176932013-05-30 Jeff Law <law@redhat.com>
96945714
JL
17694
17695 [BZ #14256]
17696 * manual/errno.texi (ESTALE): Update to account for more than
17697 just NFS file systems.
17698 * sysdeps/gnu/errlist.c: Regenerated.
17699
b9375348
SP
177002013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17701
17702 [BZ #15465]
17703 * elf/Makefile (tests): Add tst-null-argv.
17704 (modules-names): Add tst-null-argv-lib.
17705 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17706 (tst-null-argv-ENV): Set environment for tst-null-argv.
17707 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17708 (RTLD_PROGNAME): New macro.
17709 * elf/tst-null-argv.c: New test case.
17710 * elf/tst-null-argv-lib.c: Library for test case.
17711 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17712 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17713 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17714 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17715 * elf/dl-init.c (call_init): Likewise.
17716 (_dl_init): Likewise.
17717 * elf/dl-load.c (print_search_path): Likewise.
17718 (_dl_map_object): Likewise.
17719 * elf/dl-lookup.c (do_lookup_x): Likewise.
17720 (add_dependency): Likewise.
17721 (_dl_lookup_symbol_x): Likewise.
17722 (_dl_debug_bindings): Likewise.
17723 * elf/dl-open.c (_dl_show_scope): Likewise.
17724 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17725 * elf/dl-version.c (match_symbol): Likewise.
17726 (_dl_check_map_versions): Likewise.
17727 * elf/rtld.c (dl_main): Likewise.
17728 (print_unresolved): Use RTLD_PROGNAME.
17729 (print_missing_version): Likewise.
17730 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17731 (elf_machine_rela): Likewise.
17732 * sysdeps/powerpc/powerpc32/dl-machine.c
17733 (__process_machine_rela): Likewise.
17734 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17735 Likewise.
17736 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17737 Likewise.
17738 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17739 Likewise.
17740 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17741 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17742 Likewise.
17743 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17744 Likewise.
17745 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17746
8a9f20c8
CD
177472013-05-28 Carlos O'Donell <carlos@redhat.com>
17748
17749 * po/be.po: Add descriptive title.
17750 * po/zh_CN.po: Likewise.
17751 * po/header.pot: Likewise.
17752
0e60d68e
MF
177532013-05-28 Mike Frysinger <vapier@gentoo.org>
17754
17755 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17756 error message.
17757 (enlarge_archive): Likewise.
17758
56b672e9
BN
177592013-05-28 Ben North <ben@redfrontdoor.org>
17760
17761 * manual/arith.texi (frexp): It is the magnitude of the return
17762 value which lies in [0.5, 1), not the return value itself.
17763
5e056687
AZ
177642013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17765
17766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17767
2b66ef5d
TS
177682013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17769
528c2405
TS
17770 * stdio-common/bug26.c (main): Correct fscanf template.
17771
07b4c13d
TS
17772 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17773 declare _dl_skip_args.
17774
ec9dd97c
TS
17775 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17776 Don't declare.
17777
2b66ef5d
TS
17778 * manual/platform.texi: Add missing @end deftypefun.
17779
4f8dfe27
JM
177802013-05-24 Joseph Myers <joseph@codesourcery.com>
17781
0323d086
JM
17782 [BZ #15529]
17783 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17784 bit of mantissa of 2^16382.
17785 * math/libm-test.inc (hypot_test_data): Add more tests.
17786
dd4259b9
JM
17787 * math/libm-test.inc: Add drem and pow10 to list of tested
17788 functions.
17789 (pow10_test): New function.
17790 (drem_test): Likewise.
17791 (drem_test_tonearest): Likewise.
17792 (drem_test_towardzero): Likewise.
17793 (drem_test_downward): Likewise.
17794 (drem_test_upward): Likewise.
17795 (main): Call the new functions.
17796
4f8dfe27
JM
17797 * math/libm-test.inc (finite_test_data): Remove.
17798 (finite_test): Run tests from isfinite_test_data.
17799 (gamma_test_data): Remove.
17800 (gamma_test): Run tests from lgamma_test_data.
17801 * sysdeps/i386/fpu/libm-test-ulps: Update.
17802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17803
d116b7c4
AZ
178042013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17805
17806 * manual/platform.texi: Add PowerPC PPR function set documentation.
17807 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17808 implementation.
17809
e96e3767
CD
178102013-05-24 Carlos O'Donell <carlos@redhat.com>
17811
17812 * math/libm-test.inc (MAX_EXP): Define.
17813 (ULPDIFF): Define.
17814 (ulp): New function.
17815 (check_float_internal): Use ULPDIFF.
17816 (cpow_test): Disable failing test.
17817 (check_ulp): Test ulp() implemetnation.
17818 (main): Call check_ulp before starting tests.
17819
b679a606
JM
178202013-05-24 Joseph Myers <joseph@codesourcery.com>
17821
e8bdba36
JM
17822 * math/gen-libm-test.pl (generate_testfile): Do not handle
17823 START_DATA and END_DATA.
17824 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17825 END_DATA.
17826 (acos_tonearest_test_data): Likewise.
17827 (acos_towardzero_test_data): Likewise.
17828 (acos_downward_test_data): Likewise.
17829 (acos_upward_test_data): Likewise.
17830 (acosh_test_data): Likewise.
17831 (asin_test_data): Likewise.
17832 (asin_tonearest_test_data): Likewise.
17833 (asin_towardzero_test_data): Likewise.
17834 (asin_downward_test_data): Likewise.
17835 (asin_upward_test_data): Likewise.
17836 (asinh_test_data): Likewise.
17837 (atan_test_data): Likewise.
17838 (atanh_test_data): Likewise.
17839 (atan2_test_data): Likewise.
17840 (cabs_test_data): Likewise.
17841 (cacos_test_data): Likewise.
17842 (cacosh_test_data): Likewise.
17843 (carg_test_data): Likewise.
17844 (casin_test_data): Likewise.
17845 (casinh_test_data): Likewise.
17846 (catan_test_data): Likewise.
17847 (catanh_test_data): Likewise.
17848 (cbrt_test_data): Likewise.
17849 (ccos_test_data): Likewise.
17850 (ccosh_test_data): Likewise.
17851 (ceil_test_data): Likewise.
17852 (cexp_test_data): Likewise.
17853 (cimag_test_data): Likewise.
17854 (clog_test_data): Likewise.
17855 (clog10_test_data): Likewise.
17856 (conj_test_data): Likewise.
17857 (copysign_test_data): Likewise.
17858 (cos_test_data): Likewise.
17859 (cos_tonearest_test_data): Likewise.
17860 (cos_towardzero_test_data): Likewise.
17861 (cos_downward_test_data): Likewise.
17862 (cos_upward_test_data): Likewise.
17863 (cosh_test_data): Likewise.
17864 (cosh_tonearest_test_data): Likewise.
17865 (cosh_towardzero_test_data): Likewise.
17866 (cosh_downward_test_data): Likewise.
17867 (cosh_upward_test_data): Likewise.
17868 (cpow_test_data): Likewise.
17869 (cproj_test_data): Likewise.
17870 (creal_test_data): Likewise.
17871 (csin_test_data): Likewise.
17872 (csinh_test_data): Likewise.
17873 (csqrt_test_data): Likewise.
17874 (ctan_test_data): Likewise.
17875 (ctan_tonearest_test_data): Likewise.
17876 (ctan_towardzero_test_data): Likewise.
17877 (ctan_downward_test_data): Likewise.
17878 (ctan_upward_test_data): Likewise.
17879 (ctanh_test_data): Likewise.
17880 (ctanh_tonearest_test_data): Likewise.
17881 (ctanh_towardzero_test_data): Likewise.
17882 (ctanh_downward_test_data): Likewise.
17883 (ctanh_upward_test_data): Likewise.
17884 (erf_test_data): Likewise.
17885 (erfc_test_data): Likewise.
17886 (exp_test_data): Likewise.
17887 (exp_tonearest_test_data): Likewise.
17888 (exp_towardzero_test_data): Likewise.
17889 (exp_downward_test_data): Likewise.
17890 (exp_upward_test_data): Likewise.
17891 (exp10_test_data): Likewise.
17892 (exp2_test_data): Likewise.
17893 (expm1_test_data): Likewise.
17894 (fabs_test_data): Likewise.
17895 (fdim_test_data): Likewise.
17896 (finite_test_data): Likewise.
17897 (floor_test_data): Likewise.
17898 (fma_test_data): Likewise.
17899 (fma_towardzero_test_data): Likewise.
17900 (fma_downward_test_data): Likewise.
17901 (fma_upward_test_data): Likewise.
17902 (fmax_test_data): Likewise.
17903 (fmin_test_data): Likewise.
17904 (fmod_test_data): Likewise.
17905 (fpclassify_test_data): Likewise.
17906 (frexp_test_data): Likewise.
17907 (gamma_test_data): Likewise.
17908 (hypot_test_data): Likewise.
17909 (ilogb_test_data): Likewise.
17910 (isfinite_test_data): Likewise.
17911 (isgreater_test_data): Likewise.
17912 (isgreaterequal_test_data): Likewise.
17913 (isinf_test_data): Likewise.
17914 (isless_test_data): Likewise.
17915 (islessequal_test_data): Likewise.
17916 (islessgreater_test_data): Likewise.
17917 (isnan_test_data): Likewise.
17918 (isnormal_test_data): Likewise.
17919 (issignaling_test_data): Likewise.
17920 (isunordered_test_data): Likewise.
17921 (j0_test_data): Likewise.
17922 (j1_test_data): Likewise.
17923 (jn_test_data): Likewise.
17924 (ldexp_test_data): Likewise.
17925 (lgamma_test_data): Likewise.
17926 (lrint_test_data): Likewise.
17927 (lrint_tonearest_test_data): Likewise.
17928 (lrint_towardzero_test_data): Likewise.
17929 (lrint_downward_test_data): Likewise.
17930 (lrint_upward_test_data): Likewise.
17931 (llrint_test_data): Likewise.
17932 (llrint_tonearest_test_data): Likewise.
17933 (llrint_towardzero_test_data): Likewise.
17934 (llrint_downward_test_data): Likewise.
17935 (llrint_upward_test_data): Likewise.
17936 (log_test_data): Likewise.
17937 (log10_test_data): Likewise.
17938 (log1p_test_data): Likewise.
17939 (log2_test_data): Likewise.
17940 (logb_test_data): Likewise.
17941 (logb_downward_test_data): Likewise.
17942 (lround_test_data): Likewise.
17943 (llround_test_data): Likewise.
17944 (modf_test_data): Likewise.
17945 (nearbyint_test_data): Likewise.
17946 (nextafter_test_data): Likewise.
17947 (nexttoward_test_data): Likewise.
17948 (pow_test_data): Likewise.
17949 (pow_tonearest_test_data): Likewise.
17950 (pow_towardzero_test_data): Likewise.
17951 (pow_downward_test_data): Likewise.
17952 (pow_upward_test_data): Likewise.
17953 (remainder_test_data): Likewise.
17954 (remainder_tonearest_test_data): Likewise.
17955 (remainder_towardzero_test_data): Likewise.
17956 (remainder_downward_test_data): Likewise.
17957 (remainder_upward_test_data): Likewise.
17958 (remquo_test_data): Likewise.
17959 (rint_test_data): Likewise.
17960 (rint_tonearest_test_data): Likewise.
17961 (rint_towardzero_test_data): Likewise.
17962 (rint_downward_test_data): Likewise.
17963 (rint_upward_test_data): Likewise.
17964 (round_test_data): Likewise.
17965 (scalb_test_data): Likewise.
17966 (scalbn_test_data): Likewise.
17967 (scalbln_test_data): Likewise.
17968 (signbit_test_data): Likewise.
17969 (sin_test_data): Likewise.
17970 (sin_tonearest_test_data): Likewise.
17971 (sin_towardzero_test_data): Likewise.
17972 (sin_downward_test_data): Likewise.
17973 (sin_upward_test_data): Likewise.
17974 (sincos_test_data): Likewise.
17975 (sinh_test_data): Likewise.
17976 (sinh_tonearest_test_data): Likewise.
17977 (sinh_towardzero_test_data): Likewise.
17978 (sinh_downward_test_data): Likewise.
17979 (sinh_upward_test_data): Likewise.
17980 (sqrt_test_data): Likewise.
17981 (tan_test_data): Likewise.
17982 (tan_tonearest_test_data): Likewise.
17983 (tan_towardzero_test_data): Likewise.
17984 (tan_downward_test_data): Likewise.
17985 (tan_upward_test_data): Likewise.
17986 (tanh_test_data): Likewise.
17987 (tgamma_test_data): Likewise.
17988 (trunc_test_data): Likewise.
17989 (y0_test_data): Likewise.
17990 (y1_test_data): Likewise.
17991 (yn_test_data): Likewise.
17992 (significand_test_data): Likewise.
17993
b679a606
JM
17994 * math/gen-libm-test.pl (@functions): Remove variable.
17995 (generate_testfile): Don't handle START and END lines.
17996 * math/libm-test.inc (START): New macro.
17997 (END): Likewise.
17998 (END_COMPLEX): Likewise.
17999 (acos_test): Use END macro without arguments.
18000 (acos_test_tonearest): Likewise.
18001 (acos_test_towardzero): Likewise.
18002 (acos_test_downward): Likewise.
18003 (acos_test_upward): Likewise.
18004 (acosh_test): Likewise.
18005 (asin_test): Likewise.
18006 (asin_test_tonearest): Likewise.
18007 (asin_test_towardzero): Likewise.
18008 (asin_test_downward): Likewise.
18009 (asin_test_upward): Likewise.
18010 (asinh_test): Likewise.
18011 (atan_test): Likewise.
18012 (atanh_test): Likewise.
18013 (atan2_test): Likewise.
18014 (cabs_test): Likewise.
18015 (cacos_test): Use END_COMPLEX macro without arguments.
18016 (cacosh_test): Likewise.
18017 (carg_test): Use END macro without arguments.
18018 (casin_test): Use END_COMPLEX macro without arguments.
18019 (casinh_test): Likewise.
18020 (catan_test): Likewise.
18021 (catanh_test): Likewise.
18022 (cbrt_test): Use END macro without arguments.
18023 (ccos_test): Use END_COMPLEX macro without arguments.
18024 (ccosh_test): Likewise.
18025 (ceil_test): Use END macro without arguments.
18026 (cexp_test): Use END_COMPLEX macro without arguments.
18027 (cimag_test): Use END macro without arguments.
18028 (clog_test): Use END_COMPLEX macro without arguments.
18029 (clog10_test): Likewise.
18030 (conj_test): Likewise.
18031 (copysign_test): Use END macro without arguments.
18032 (cos_test): Likewise.
18033 (cos_test_tonearest): Likewise.
18034 (cos_test_towardzero): Likewise.
18035 (cos_test_downward): Likewise.
18036 (cos_test_upward): Likewise.
18037 (cosh_test): Likewise.
18038 (cosh_test_tonearest): Likewise.
18039 (cosh_test_towardzero): Likewise.
18040 (cosh_test_downward): Likewise.
18041 (cosh_test_upward): Likewise.
18042 (cpow_test): Use END_COMPLEX macro without arguments.
18043 (cproj_test): Likewise.
18044 (creal_test): Use END macro without arguments.
18045 (csin_test): Use END_COMPLEX macro without arguments.
18046 (csinh_test): Likewise.
18047 (csqrt_test): Likewise.
18048 (ctan_test): Likewise.
18049 (ctan_test_tonearest): Likewise.
18050 (ctan_test_towardzero): Likewise.
18051 (ctan_test_downward): Likewise.
18052 (ctan_test_upward): Likewise.
18053 (ctanh_test): Likewise.
18054 (ctanh_test_tonearest): Likewise.
18055 (ctanh_test_towardzero): Likewise.
18056 (ctanh_test_downward): Likewise.
18057 (ctanh_test_upward): Likewise.
18058 (erf_test): Use END macro without arguments.
18059 (erfc_test): Likewise.
18060 (exp_test): Likewise.
18061 (exp_test_tonearest): Likewise.
18062 (exp_test_towardzero): Likewise.
18063 (exp_test_downward): Likewise.
18064 (exp_test_upward): Likewise.
18065 (exp10_test): Likewise.
18066 (exp2_test): Likewise.
18067 (expm1_test): Likewise.
18068 (fabs_test): Likewise.
18069 (fdim_test): Likewise.
18070 (finite_test): Likewise.
18071 (floor_test): Likewise.
18072 (fma_test): Likewise.
18073 (fma_test_towardzero): Likewise.
18074 (fma_test_downward): Likewise.
18075 (fma_test_upward): Likewise.
18076 (fmax_test): Likewise.
18077 (fmin_test): Likewise.
18078 (fmod_test): Likewise.
18079 (fpclassify_test): Likewise.
18080 (frexp_test): Likewise.
18081 (gamma_test): Likewise.
18082 (hypot_test): Likewise.
18083 (ilogb_test): Likewise.
18084 (isfinite_test): Likewise.
18085 (isgreater_test): Likewise.
18086 (isgreaterequal_test): Likewise.
18087 (isinf_test): Likewise.
18088 (isless_test): Likewise.
18089 (islessequal_test): Likewise.
18090 (islessgreater_test): Likewise.
18091 (isnan_test): Likewise.
18092 (isnormal_test): Likewise.
18093 (issignaling_test): Likewise.
18094 (isunordered_test): Likewise.
18095 (j0_test): Likewise.
18096 (j1_test): Likewise.
18097 (jn_test): Likewise.
18098 (ldexp_test): Likewise.
18099 (lgamma_test): Likewise.
18100 (lrint_test): Likewise.
18101 (lrint_test_tonearest): Likewise.
18102 (lrint_test_towardzero): Likewise.
18103 (lrint_test_downward): Likewise.
18104 (lrint_test_upward): Likewise.
18105 (llrint_test): Likewise.
18106 (llrint_test_tonearest): Likewise.
18107 (llrint_test_towardzero): Likewise.
18108 (llrint_test_downward): Likewise.
18109 (llrint_test_upward): Likewise.
18110 (log_test): Likewise.
18111 (log10_test): Likewise.
18112 (log1p_test): Likewise.
18113 (log2_test): Likewise.
18114 (logb_test): Likewise.
18115 (logb_test_downward): Likewise.
18116 (lround_test): Likewise.
18117 (llround_test): Likewise.
18118 (modf_test): Likewise.
18119 (nearbyint_test): Likewise.
18120 (nextafter_test): Likewise.
18121 (nexttoward_test): Likewise.
18122 (pow_test): Likewise.
18123 (pow_test_tonearest): Likewise.
18124 (pow_test_towardzero): Likewise.
18125 (pow_test_downward): Likewise.
18126 (pow_test_upward): Likewise.
18127 (remainder_test): Likewise.
18128 (remainder_test_tonearest): Likewise.
18129 (remainder_test_towardzero): Likewise.
18130 (remainder_test_downward): Likewise.
18131 (remainder_test_upward): Likewise.
18132 (remquo_test): Likewise.
18133 (rint_test): Likewise.
18134 (rint_test_tonearest): Likewise.
18135 (rint_test_towardzero): Likewise.
18136 (rint_test_downward): Likewise.
18137 (rint_test_upward): Likewise.
18138 (round_test): Likewise.
18139 (scalb_test): Likewise.
18140 (scalbn_test): Likewise.
18141 (scalbln_test): Likewise.
18142 (signbit_test): Likewise.
18143 (sin_test): Likewise.
18144 (sin_test_tonearest): Likewise.
18145 (sin_test_towardzero): Likewise.
18146 (sin_test_downward): Likewise.
18147 (sin_test_upward): Likewise.
18148 (sincos_test): Likewise.
18149 (sinh_test): Likewise.
18150 (sinh_test_tonearest): Likewise.
18151 (sinh_test_towardzero): Likewise.
18152 (sinh_test_downward): Likewise.
18153 (sinh_test_upward): Likewise.
18154 (sqrt_test): Likewise.
18155 (tan_test): Likewise.
18156 (tan_test_tonearest): Likewise.
18157 (tan_test_towardzero): Likewise.
18158 (tan_test_downward): Likewise.
18159 (tan_test_upward): Likewise.
18160 (tanh_test): Likewise.
18161 (tgamma_test): Likewise.
18162 (trunc_test): Likewise.
18163 (y0_test): Likewise.
18164 (y1_test): Likewise.
18165 (yn_test): Likewise.
18166 (significand_test): Likewise.
18167
bae143d2
OB
181682013-05-24 Ondřej Bílka <neleai@seznam.cz>
18169
18170 [BZ #15381]
18171 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18172
9323d39b
EM
181732013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18174
d4ea44a0 18175 [BZ #14894]
9323d39b
EM
18176 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18177 __ppc_mdoio and __ppc_mdoom.
18178 * manual/platform.texi: Document new functions __ppc_yield,
18179 __ppc_mdoio and __ppc_mdoom.
18180
13e23af7
CD
181812013-05-22 Carlos O'Donell <carlos@redhat.com>
18182
18183 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18184 (main): Mention "tls" pseudo-hwcap is legacy.
18185 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18186
351fe550
JM
181872013-05-22 Joseph Myers <joseph@codesourcery.com>
18188
18189 * math/gen-libm-test.pl (parse_args): Output only string of
18190 arguments as text for test name, not full call or descriptions of
18191 tests for extra outputs.
18192 (generate_testfile): Do not pass function name to parse_args.
18193 Generate this_func variable from START.
18194 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18195 field to arg_str.
18196 (struct test_ff_f_data): Likewise.
18197 (test_ff_f_data_nexttoward): Likewise.
18198 (struct test_fi_f_data): Likewise.
18199 (struct test_fl_f_data): Likewise.
18200 (struct test_if_f_data): Likewise.
18201 (struct test_fff_f_data): Likewise.
18202 (struct test_c_f_data): Likewise.
18203 (struct test_f_f1_data): Likewise. Remove field extra_name.
18204 (struct test_fF_f1_data): Likewise.
18205 (struct test_ffI_f1_data): Likewise.
18206 (struct test_c_c_data): Rename test_name field to arg_str.
18207 (struct test_cc_c_data): Likewise.
18208 (struct test_f_i_data): Likewise.
18209 (struct test_ff_i_data): Likewise.
18210 (struct test_f_l_data): Likewise.
18211 (struct test_f_L_data): Likewise.
18212 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18213 and extra2_name.
18214 (COMMON_TEST_SETUP): New macro.
18215 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18216 (COMMON_TEST_CLEANUP): Likewise.
18217 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18218 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18219 macros.
18220 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18221 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18222 macros.
18223 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18224 (RUN_TEST_fff_f): Take argument string. Call new setup and
18225 cleanup macros.
18226 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18227 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18228 macros.
18229 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18230 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18231 macros.
18232 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18233 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18234 cleanup macros.
18235 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18236 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18237 cleanup macros.
18238 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18239 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18240 cleanup macros.
18241 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18242 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18243 macros.
18244 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18245 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18246 macros.
18247 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18248 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18249 macros.
18250 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18251 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18252 cleanup macros.
18253 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18254 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18255 cleanup macros.
18256 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18257 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18258 macros.
18259 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18260 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18261 cleanup macros.
18262 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18263 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18264 macros.
18265 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18266 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18267 macros.
18268 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18269 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18270 cleanup macros.
18271 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18272
85118d4d
EBM
182732013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18274
18275 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18276 to _sifields.sigfault.
18277 (si_addr_lsb): Define new macro.
18278 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18279 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18280 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18281
7a44c18f
CD
182822013-05-03 Carlos O'Donell <carlos at redhat.com>
18283
18284 [BZ #15441]
18285 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18286 returns -1.
18287 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18288 null return -1.
18289 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18290 loading the domain.
18291
b50a7181
JM
182922013-05-22 Joseph Myers <joseph@codesourcery.com>
18293
18294 * math/gen-libm-test.pl (parse_args): Do not include expected
18295 result in test name.
18296 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18297 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18298 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18299 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18300 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18302
051063c8
SP
183032013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18304
3ce9e010
SP
18305 * benchtests/Makefile: Sort function entries.
18306
051063c8
SP
18307 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18308 tanh, asinh, acosh, atanh.
18309 * benchtests/acos-inputs: New file.
18310 * benchtests/acosh-inputs: New file.
18311 * benchtests/asin-inputs: New file.
18312 * benchtests/asinh-inputs: New file.
18313 * benchtests/atanh-inputs: New file.
18314 * benchtests/cosh-inputs: New file.
18315 * benchtests/log-inputs: New file.
18316 * benchtests/sinh-inputs: New file.
18317 * benchtests/tanh-inputs: New file.
18318
47c22455
DL
183192013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18320
18321 [BZ #15339]
18322 * posix/tst-getaddrinfo4.c: New test.
18323 * posix/Makefile (tests): Add it.
18324
3d04f5db
SP
183252013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18326
18327 [BZ #15339]
18328 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18329 when no services were used.
18330 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18331 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18332
d5dd6189
AS
183332013-05-21 Andreas Schwab <schwab@suse.de>
18334
18335 [BZ #15014]
18336 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18337 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18338 successful.
18339 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18340 redundant variable declarations and reallocation of buffer when
18341 parsing as IPv6 address. Always set NSS status when called from
18342 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18343 buffer too small. Correct computation of needed size.
18344 * nss/Makefile (tests): Add test-digits-dots.
18345 * nss/test-digits-dots.c: New test.
18346
fef94eab
SP
183472013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18348
18349 * benchtests/Makefile: Remove instructions for adding
18350 benchmark tests.
18351 * benchtests/README: New file to explain how to execute and
18352 enhance the benchmark tests.
18353
e39adf43
AS
183542013-05-21 Andreas Schwab <schwab@suse.de>
18355
18356 [BZ #15493]
18357 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18358 * setjmp/tst-sigsetjmp.c: New test.
18359
b2b671b6
OB
183602013-05-20 Ondřej Bílka <neleai@seznam.cz>
18361
18362 * sysdeps/x86_64/memset.S (memset): New implementation.
18363 (__bzero): Likewise.
18364 (__memset_tail): New function.
18365
2d48b41c
OB
183662013-05-20 Ondřej Bílka <neleai@seznam.cz>
18367
18368 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18369 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18370 __memcpy_sse2_unaligned ifunc selection.
18371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18372 Add memcpy-sse2-unaligned.S.
18373 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18374 Add: __memcpy_sse2_unaligned.
18375
f16cc3eb
JM
183762013-05-19 Joseph Myers <joseph@codesourcery.com>
18377
3e694268
JM
18378 [BZ #15490]
18379 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18380 math_force_eval before restoring floating-point envrionment.
18381 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18382 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18383 Likewise.
18384 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18385 <math_private.h>.
18386 (__nearbyintl): Use math_force_eval before restoring
18387 floating-point environment.
18388 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18389
db62a907
JM
18390 * math/gen-libm-test.pl (special_functions): Remove.
18391 (parse_args): Don't handle TEST_extra. Handle functions with no
18392 return value.
18393 * math/libm-test.inc (struct test_sincos_data): Replace with
18394 struct test_fFF_11_data.
18395 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18396 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18397 (sincos_test_data): Change element type to struct
18398 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18399 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18400 RUN_TEST_LOOP_sincos.
18401 * math/README.libm-test: Don't mention special handling of
18402 individual functions.
18403 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18404 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18405 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18406 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18407 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18409
f16cc3eb
JM
18410 * math/gen-libm-test.pl (get_variable): Remove function.
18411 (parse_args): Don't show pointer parameters to call in test
18412 names. Use "extra output N" in test names for extra outputs
18413 rather than naming variables.
18414
3779b5b6
JM
184152013-05-18 Joseph Myers <joseph@codesourcery.com>
18416
2ee094ff
JM
18417 [BZ #15488]
18418 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18419 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18420 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18421 double tests.
18422 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18423 disable.
18424 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18425 check_long_double.
18426
3779b5b6
JM
18427 * math/gen-libm-test.pl (@tests): Remove variable.
18428 ($count): Likewise.
18429 (new_test): Remove function.
18430 (show_exceptions): New function.
18431 (special_functions): Use show_exceptions instead of new_test.
18432 (parse_args): Likewise.
18433 (generate_testfile): Pass only function name in generated call to
18434 print_max_error or print_complex_max_error.
18435 (get_ulps): Do not handle complex tests specially.
18436 (output_test): Rename to ...
18437 (get_all_ulps_for_test): ... this. Return a string rather than
18438 printing to a file. Require ulps to be present.
18439 (output_ulps): Generate arrays rather than #defines.
18440 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18441 (struct ulp_data): New type.
18442 (BUILD_COMPLEX_ULP): Remove macro.
18443 (compare_ulp_data): New function.
18444 (find_ulps): Likewise.
18445 (find_test_ulps): Likewise.
18446 (find_function_ulps): Likewise.
18447 (find_complex_function_ulps): Likewise.
18448 (print_max_error): Determine allowed ulps using
18449 find_function_ulps.
18450 (print_complex_max_error): Determine allowed ulps using
18451 find_complex_function_ulps.
18452 (check_float_internal): Determine max ulps using find_test_ulps.
18453 (check_float): Do not take max_ulp parameter. Update call to
18454 check_float_internal.
18455 (check_complex): Likewise.
18456 (check_int): Do not take max_ulp parameter.
18457 (check_long): Likewise.
18458 (check_bool): Likewise.
18459 (check_longlong): Likewise.
18460 (struct test_f_f_data): Remove max_ulp field.
18461 (struct test_ff_f_data): Likewise.
18462 (struct test_ff_f_data_nexttoward): Likewise.
18463 (struct test_fi_f_data): Likewise.
18464 (struct test_fl_f_data): Likewise.
18465 (struct test_if_f_data): Likewise.
18466 (struct test_fff_f_data): Likewise.
18467 (struct test_c_f_data): Likewise.
18468 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18469 (struct test_fF_f1_data): Likewise.
18470 (struct test_ffI_f1_data): Likewise.
18471 (struct test_c_c_data): Remove max_ulp field.
18472 (struct test_cc_c_data): Likewise.
18473 (struct test_f_i_data): Likewise.
18474 (struct test_ff_i_data): Likewise.
18475 (struct test_f_l_data): Likewise.
18476 (struct test_f_L_data): Likewise.
18477 (struct test_sincos_data): Likewise.
18478 (RUN_TEST_f_f): Do not handle ulps.
18479 (RUN_TEST_LOOP_f_f): Likewise.
18480 (RUN_TEST_2_f): Likewise.
18481 (RUN_TEST_LOOP_2_f): Likewise.
18482 (RUN_TEST_fff_f): Likewise.
18483 (RUN_TEST_LOOP_fff_f): Likewise.
18484 (RUN_TEST_c_f): Likewise.
18485 (RUN_TEST_LOOP_c_f): Likewise.
18486 (RUN_TEST_f_f1): Likewise.
18487 (RUN_TEST_LOOP_f_f1): Likewise.
18488 (RUN_TEST_fF_f1): Likewise.
18489 (RUN_TEST_LOOP_fF_f1): Likewise.
18490 (RUN_TEST_fI_f1): Likewise.
18491 (RUN_TEST_LOOP_fI_f1): Likewise.
18492 (RUN_TEST_ffI_f1): Likewise.
18493 (RUN_TEST_LOOP_ffI_f1): Likewise.
18494 (RUN_TEST_c_c): Likewise.
18495 (RUN_TEST_LOOP_c_c): Likewise.
18496 (RUN_TEST_cc_c): Likewise.
18497 (RUN_TEST_LOOP_cc_c): Likewise.
18498 (RUN_TEST_f_i): Likewise.
18499 (RUN_TEST_LOOP_f_i): Likewise.
18500 (RUN_TEST_f_i_tg): Likewise.
18501 (RUN_TEST_LOOP_f_i_tg): Likewise.
18502 (RUN_TEST_ff_i_tg): Likewise.
18503 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18504 (RUN_TEST_f_b): Likewise.
18505 (RUN_TEST_LOOP_f_b): Likewise.
18506 (RUN_TEST_f_b_tg): Likewise.
18507 (RUN_TEST_LOOP_f_b_tg): Likewise.
18508 (RUN_TEST_f_l): Likewise.
18509 (RUN_TEST_LOOP_f_l): Likewise.
18510 (RUN_TEST_f_L): Likewise.
18511 (RUN_TEST_LOOP_f_L): Likewise.
18512 (RUN_TEST_sincos): Likewise.
18513 (RUN_TEST_LOOP_sincos): Likewise.
18514
8269107f
JM
185152013-05-17 Joseph Myers <joseph@codesourcery.com>
18516
bb38759d
JM
18517 [BZ #15480]
18518 [BZ #15485]
18519 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18520 main case of finite arguments, set rounding mode to FE_TONEAREST
18521 and discard exceptions.
18522 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18523 exceptions.
18524 (remainder_tonearest_test_data): New variable.
18525 (remainder_test_tonearest): New function.
18526 (remainder_towardzero_test_data): New variable.
18527 (remainder_test_towardzero): New function.
18528 (remainder_downward_test_data): New variable.
18529 (remainder_test_downward): New function.
18530 (remainder_upward_test_data): New variable.
18531 (remainder_test_upward): New function.
18532 (main): Call the new test functions.
18533
a00bdcf0
JM
18534 * math/libm-test.inc (struct test_f_f1_data): Remove field
18535 extra_init.
18536 (struct test_fF_f1_data): Likewise.
18537 (struct test_ffI_f1_data): Likewise.
18538 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18539 based on value of EXTRA_EXPECTED.
18540 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18541 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18542 EXTRA_VAR based on value of EXTRA_EXPECTED.
18543 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18544 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18545 EXTRA_VAR based on value of EXTRA_EXPECTED.
18546 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18547 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18548 EXTRA_VAR based on value of EXTRA_EXPECTED.
18549 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18550 * math/gen-libm-test.pl (parse_args): Don't output initializers
18551 for extra output values.
18552
de407f79
JM
18553 * math/libm-test.inc (check_int): Expect result to be exactly
18554 equal to expected value and do not handle ulps.
18555 (check_long): Likewise.
18556 (check_longlong): Likewise.
18557
8269107f
JM
18558 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18559 exceptions.
18560 (cimag_test_data): Likewise.
18561 (conj_test_data): Likewise.
18562 (copysign_test_data): Likewise.
18563 (cproj_test_data): Likewise.
18564 (creal_test_data): Likewise.
18565 (fabs_test_data): Likewise.
18566 (fdim_test_data): Likewise.
18567 (finite_test_data): Likewise.
18568 (floor_test_data): Likewise.
18569 (fmax_test_data): Likewise.
18570 (fmin_test_data): Likewise.
18571 (fmod_test_data): Likewise.
18572 (fpclassify_test_data): Likewise.
18573 (frexp_test_data): Likewise.
18574 (ilogb_test_data): Likewise.
18575 (isfinite_test_data): Likewise.
18576 (isgreater_test_data): Likewise.
18577 (isgreaterequal_test_data): Likewise.
18578 (isinf_test_data): Likewise.
18579 (isless_test_data): Likewise.
18580 (islessequal_test_data): Likewise.
18581 (islessgreater_test_data): Likewise.
18582 (isnan_test_data): Likewise.
18583 (isnormal_test_data): Likewise.
18584 (issignaling_test_data): Likewise.
18585 (isunordered_test_data): Likewise.
18586 (ldexp_test_data): Likewise.
18587 (lrint_test_data): Likewise.
18588 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18589 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18590 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18591 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18592 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18593 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18594 test input.
18595 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18596 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18597 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18598 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18599 that test input.
18600 (lrint_downward_test_data): Test for "inexact" exceptions.
18601 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18602 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18603 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18604 test input.
18605 (lrint_upward_test_data): Test for "inexact" exceptions.
18606 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18607 test input.
18608 (llrint_test_data): Test for "inexact" exceptions.
18609 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18610 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18611 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18612 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18613 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18614 (llrint_downward_test_data): Test for "inexact" exceptions.
18615 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18616 (llrint_upward_test_data): Test for "inexact" exceptions.
18617 (logb_test_data): Likewise.
18618 (logb_downward_test_data): Likewise.
18619 (nextafter_test_data): Likewise.
18620 (nexttoward_test_data): Likewise.
18621 (remainder_test_data): Likewise.
18622 (remquo_test_data): Likewise.
18623 (scalbn_test_data): Likewise.
18624 (scalbln_test_data): Likewise.
18625 (signbit_test_data): Likewise.
18626 (sqrt_test_data): Likewise.
18627 (significand_test_data): Likewise.
18628
48a18de1
SP
186292013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18630
18631 [BZ #15424]
18632 * benchtests/bench-modf.c (struct args): Mark arg0 as
18633 volatile.
18634 * scripts/bench.pl: Mark members of struct args as volatile.
18635
13d3b41a
AZ
186362013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18637
68191c1d 18638 [BZ # 15497]
13d3b41a
AZ
18639 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18640 negative infinity on POWER6 or lower.
18641 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18642
2848b105
MR
186432013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18644
18645 [BZ #15442]
18646 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18647 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18648 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18649 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18650 (_FP_SETQNAN): New macro.
18651 (_FP_SETQNAN_SEMIRAW): Likewise.
18652 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18653 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18654 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18655 (FP_EXTEND): Use _FP_FRAC_SNANP.
18656 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18657 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18658 into account.
18659 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18660 New macro.
18661 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18662 Likewise.
18663
323e5cb7
JM
186642013-05-16 Joseph Myers <joseph@codesourcery.com>
18665
c58b274f
JM
18666 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18667 with DIVIDE_BY_ZERO_EXCEPTION.
18668 (gamma_test_data): Likewise.
18669 (lgamma_test_data): Likewise.
18670 (log_test_data): Likewise.
18671 (log10_test_data): Likewise.
18672 (log2_test_data): Likewise.
18673 (tgamma_test_data): Likewise.
18674
0ab34904
JM
18675 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18676 (acos_test_tonearest): Likewise.
18677 (acos_test_towardzero): Likewise.
18678 (acos_test_downward): Likewise.
18679 (acos_test_upward): Likewise.
18680 (acosh_test): Likewise.
18681 (asin_test): Likewise.
18682 (asin_test_tonearest): Likewise.
18683 (asin_test_towardzero): Likewise.
18684 (asin_test_downward): Likewise.
18685 (asin_test_upward): Likewise.
18686 (asinh_test): Likewise.
18687 (atan_test): Likewise.
18688 (atanh_test): Likewise.
18689 (atan2_test): Likewise.
18690 (cabs_test): Likewise.
18691 (cacos_test): Likewise.
18692 (cacosh_test): Likewise.
18693 (casin_test): Likewise.
18694 (casinh_test): Likewise.
18695 (catan_test): Likewise.
18696 (catanh_test): Likewise.
18697 (cbrt_test): Likewise.
18698 (ccos_test): Likewise.
18699 (ccosh_test): Likewise.
18700 (cexp_test): Likewise.
18701 (clog_test): Likewise.
18702 (clog10_test): Likewise.
18703 (cos_test): Likewise.
18704 (cos_test_tonearest): Likewise.
18705 (cos_test_towardzero): Likewise.
18706 (cos_test_downward): Likewise.
18707 (cos_test_upward): Likewise.
18708 (cosh_test): Likewise.
18709 (cosh_test_tonearest): Likewise.
18710 (cosh_test_towardzero): Likewise.
18711 (cosh_test_downward): Likewise.
18712 (cosh_test_upward): Likewise.
18713 (cpow_test): Likewise.
18714 (csin_test): Likewise.
18715 (csinh_test): Likewise.
18716 (csqrt_test): Likewise.
18717 (ctan_test): Likewise.
18718 (ctan_test_tonearest): Likewise.
18719 (ctan_test_towardzero): Likewise.
18720 (ctan_test_downward): Likewise.
18721 (ctan_test_upward): Likewise.
18722 (ctanh_test): Likewise.
18723 (ctanh_test_tonearest): Likewise.
18724 (ctanh_test_towardzero): Likewise.
18725 (ctanh_test_downward): Likewise.
18726 (ctanh_test_upward): Likewise.
18727 (erf_test): Likewise.
18728 (erfc_test): Likewise.
18729 (exp_test): Likewise.
18730 (exp_test_tonearest): Likewise.
18731 (exp_test_towardzero): Likewise.
18732 (exp_test_downward): Likewise.
18733 (exp_test_upward): Likewise.
18734 (exp10_test): Likewise.
18735 (exp2_test): Likewise.
18736 (expm1_test): Likewise.
18737 (fmod_test): Likewise.
18738 (gamma_test): Likewise.
18739 (hypot_test): Likewise.
18740 (j0_test): Likewise.
18741 (j1_test): Likewise.
18742 (jn_test): Likewise.
18743 (lgamma_test): Likewise.
18744 (log_test): Likewise.
18745 (log10_test): Likewise.
18746 (log1p_test): Likewise.
18747 (log2_test): Likewise.
18748 (logb_test_downward): Likewise.
18749 (pow_test): Likewise.
18750 (pow_test_tonearest): Likewise.
18751 (pow_test_towardzero): Likewise.
18752 (pow_test_downward): Likewise.
18753 (pow_test_upward): Likewise.
18754 (remainder_test): Likewise.
18755 (remquo_test): Likewise.
18756 (sin_test): Likewise.
18757 (sin_test_tonearest): Likewise.
18758 (sin_test_towardzero): Likewise.
18759 (sin_test_downward): Likewise.
18760 (sin_test_upward): Likewise.
18761 (sincos_test): Likewise.
18762 (sinh_test): Likewise.
18763 (sinh_test_tonearest): Likewise.
18764 (sinh_test_towardzero): Likewise.
18765 (sinh_test_downward): Likewise.
18766 (sinh_test_upward): Likewise.
18767 (sqrt_test): Likewise.
18768 (tan_test): Likewise.
18769 (tan_test_tonearest): Likewise.
18770 (tan_test_towardzero): Likewise.
18771 (tan_test_downward): Likewise.
18772 (tan_test_upward): Likewise.
18773 (tanh_test): Likewise.
18774 (tgamma_test): Likewise.
18775 (y0_test): Likewise.
18776 (y1_test): Likewise.
18777 (yn_test): Likewise.
18778
323e5cb7
JM
18779 * math/gen-libm-test.pl (adjust_arg): Remove function.
18780 (special_function): Remove argument $in_func. Only handle
18781 generating output for tables of tests, not inside functions.
18782 (parse_args): Likewise.
18783 (generate_testfile): Remove variable $in_func. Update call to
18784 parse_args.
18785 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18786 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18787 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18788 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18789 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18790 (MAX_VALUE_INIT): Rename macro to max_value.
18791 (MIN_VALUE_INIT): Rename macro to min_value.
18792 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18793 (plus_zero): Remove variable.
18794 (minus_zero): Likewise.
18795 (plus_infty): Likewise.
18796 (minus_infty): Likewise.
18797 (qnan_value): Likewise.
18798 (max_value): Likewise.
18799 (min_value): Likewise.
18800 (min_subnorm_value): Likewise.
18801
e054f494
RA
188022013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18803
18804 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18805 uint64_t or uint32_t usage.
18806 * crypt/sha256-block.c: Likewise.
18807 * crypt/sha256-crypt.c: Likewise.
18808 * crypt/sha256.c: Likewise.
18809 * crypt/sha512-block.c: Likewise.
18810 * crypt/sha512-crypt.c: Likewise.
18811 * crypt/sha512.c: Likewise.
18812 * debug/backtrace-tst.c: Likewise.
18813 * debug/pcprofiledump.c: Likewise.
18814 * elf/cache.c: Likewise.
18815 * elf/dl-cache.c: Likewise.
18816 * elf/dl-misc.c: Likewise.
18817 * elf/dl-profile.c: Likewise.
18818 * elf/dl-support.c: Likewise.
18819 * elf/ldconfig.c: Likewise.
18820 * elf/sprof.c: Likewise.
18821 * iconv/dummy-repertoire.c: Likewise.
18822 * iconv/iconv_charmap.c: Likewise.
18823 * iconv/skeleton.c: Likewise.
18824 * iconvdata/8bit-generic.c: Likewise.
18825 * iconvdata/cp737.h: Likewise.
18826 * iconvdata/cp775.h: Likewise.
18827 * iconvdata/ibm1008.h: Likewise.
18828 * iconvdata/ibm1025.h: Likewise.
18829 * iconvdata/ibm1046.h: Likewise.
18830 * iconvdata/ibm1097.h: Likewise.
18831 * iconvdata/ibm1112.h: Likewise.
18832 * iconvdata/ibm1122.h: Likewise.
18833 * iconvdata/ibm1123.h: Likewise.
18834 * iconvdata/ibm1124.h: Likewise.
18835 * iconvdata/ibm1129.h: Likewise.
18836 * iconvdata/ibm1130.h: Likewise.
18837 * iconvdata/ibm1132.h: Likewise.
18838 * iconvdata/ibm1133.h: Likewise.
18839 * iconvdata/ibm1137.h: Likewise.
18840 * iconvdata/ibm1140.h: Likewise.
18841 * iconvdata/ibm1141.h: Likewise.
18842 * iconvdata/ibm1142.h: Likewise.
18843 * iconvdata/ibm1143.h: Likewise.
18844 * iconvdata/ibm1144.h: Likewise.
18845 * iconvdata/ibm1145.h: Likewise.
18846 * iconvdata/ibm1146.h: Likewise.
18847 * iconvdata/ibm1147.h: Likewise.
18848 * iconvdata/ibm1148.h: Likewise.
18849 * iconvdata/ibm1149.h: Likewise.
18850 * iconvdata/ibm1153.h: Likewise.
18851 * iconvdata/ibm1154.h: Likewise.
18852 * iconvdata/ibm1155.h: Likewise.
18853 * iconvdata/ibm1156.h: Likewise.
18854 * iconvdata/ibm1157.h: Likewise.
18855 * iconvdata/ibm1158.h: Likewise.
18856 * iconvdata/ibm1160.h: Likewise.
18857 * iconvdata/ibm1161.h: Likewise.
18858 * iconvdata/ibm1162.h: Likewise.
18859 * iconvdata/ibm1163.h: Likewise.
18860 * iconvdata/ibm1164.h: Likewise.
18861 * iconvdata/ibm1166.h: Likewise.
18862 * iconvdata/ibm1167.h: Likewise.
18863 * iconvdata/ibm12712.h: Likewise.
18864 * iconvdata/ibm1390.h: Likewise.
18865 * iconvdata/ibm1399.h: Likewise.
18866 * iconvdata/ibm16804.h: Likewise.
18867 * iconvdata/ibm4517.h: Likewise.
18868 * iconvdata/ibm4899.h: Likewise.
18869 * iconvdata/ibm4909.h: Likewise.
18870 * iconvdata/ibm4971.h: Likewise.
18871 * iconvdata/ibm5347.h: Likewise.
18872 * iconvdata/ibm803.h: Likewise.
18873 * iconvdata/ibm856.h: Likewise.
18874 * iconvdata/ibm901.h: Likewise.
18875 * iconvdata/ibm902.h: Likewise.
18876 * iconvdata/ibm9030.h: Likewise.
18877 * iconvdata/ibm9066.h: Likewise.
18878 * iconvdata/ibm921.h: Likewise.
18879 * iconvdata/ibm922.h: Likewise.
18880 * iconvdata/ibm9448.h: Likewise.
18881 * iconvdata/isiri-3342.h: Likewise.
18882 * iconvdata/jis0201.h: Likewise.
18883 * include/link.h: Likewise.
18884 * include/netdb.h: Likewise.
18885 * inet/check_native.c: Likewise.
18886 * inet/check_pf.c: Likewise.
18887 * inet/getipv4sourcefilter.c: Likewise.
18888 * inet/getnameinfo.c: Likewise.
18889 * inet/getsourcefilter.c: Likewise.
18890 * inet/htonl.c: Likewise.
18891 * inet/setipv4sourcefilter.c: Likewise.
18892 * inet/setsourcefilter.c: Likewise.
18893 * inet/test-inet6_opt.c: Likewise.
18894 * inet/tst-network.c: Likewise.
18895 * locale/C-collate.c: Likewise.
18896 * locale/C-ctype.c: Likewise.
18897 * locale/C-time.c: Likewise.
18898 * locale/C-translit.h: Likewise.
18899 * locale/loadarchive.c: Likewise.
18900 * locale/programs/3level.h: Likewise.
18901 * locale/programs/charmap.c: Likewise.
18902 * locale/programs/charmap.h: Likewise.
18903 * locale/programs/ld-address.c: Likewise.
18904 * locale/programs/ld-collate.c: Likewise.
18905 * locale/programs/ld-ctype.c: Likewise.
18906 * locale/programs/ld-identification.c: Likewise.
18907 * locale/programs/ld-measurement.c: Likewise.
18908 * locale/programs/ld-messages.c: Likewise.
18909 * locale/programs/ld-monetary.c: Likewise.
18910 * locale/programs/ld-name.c: Likewise.
18911 * locale/programs/ld-numeric.c: Likewise.
18912 * locale/programs/ld-paper.c: Likewise.
18913 * locale/programs/ld-telephone.c: Likewise.
18914 * locale/programs/ld-time.c: Likewise.
18915 * locale/programs/linereader.c: Likewise.
18916 * locale/programs/locale.c: Likewise.
18917 * locale/programs/locarchive.c: Likewise.
18918 * locale/programs/locfile.h: Likewise.
18919 * locale/programs/repertoire.c: Likewise.
18920 * locale/programs/simple-hash.c: Likewise.
18921 * locale/programs/simple-hash.h: Likewise.
18922 * malloc/memusage.c: Likewise.
18923 * malloc/memusagestat.c: Likewise.
18924 * nis/nis_defaults.c: Likewise.
18925 * nis/nis_hash.c: Likewise.
18926 * nis/nis_print.c: Likewise.
18927 * nis/nis_xdr.c: Likewise.
18928 * nscd/connections.c: Likewise.
18929 * nscd/hstcache.c: Likewise.
18930 * nscd/nscd_gethst_r.c: Likewise.
18931 * nscd/nscd_getserv_r.c: Likewise.
18932 * nscd/nscd_helper.c: Likewise.
18933 * nscd/servicescache.c: Likewise.
18934 * nss/makedb.c: Likewise.
18935 * nss/nss_db/db-XXX.c: Likewise.
18936 * nss/nss_db/db-initgroups.c: Likewise.
18937 * nss/nss_db/db-netgrp.c: Likewise.
18938 * nss/nss_files/files-network.c: Likewise.
18939 * nss/nss_files/files-parse.c: Likewise.
18940 * posix/bug-regex5.c: Likewise.
18941 * posix/fnmatch_loop.c: Likewise.
18942 * posix/regcomp.c: Likewise.
18943 * posix/regexec.c: Likewise.
18944 * posix/tst-rfc3484-2.c: Likewise.
18945 * posix/tst-rfc3484-3.c: Likewise.
18946 * posix/tst-rfc3484.c: Likewise.
18947 * resolv/nss_dns/dns-canon.c: Likewise.
18948 * resolv/nss_dns/dns-network.c: Likewise.
18949 * resolv/res_init.c: Likewise.
18950 * resolv/res_mkquery.c: Likewise.
18951 * resolv/tst-aton.c: Likewise.
18952 * stdlib/cxa_atexit.c: Likewise.
18953 * stdlib/cxa_finalize.c: Likewise.
18954 * stdlib/gen-fpioconst.c: Likewise.
18955 * stdlib/strtol_l.c: Likewise.
18956 * string/tst-endian.c: Likewise.
18957 * sunrpc/auth_des.c: Likewise.
18958 * sunrpc/clnt_udp.c: Likewise.
18959 * sunrpc/rtime.c: Likewise.
18960 * sunrpc/svcauth_des.c: Likewise.
18961 * sunrpc/xdr.c: Likewise.
18962 * sunrpc/xdr_intXX_t.c: Likewise.
18963 * sunrpc/xdr_rec.c: Likewise.
18964 * sysdeps/generic/ldconfig.h: Likewise.
18965 * sysdeps/generic/ldsodefs.h: Likewise.
18966 * sysdeps/generic/memusage.h: Likewise.
18967 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18968 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18969 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18970 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18971 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18972 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18973 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18974 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18975 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18976 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18977 * sysdeps/posix/getaddrinfo.c: Likewise.
18978 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18979 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18980 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18981 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18982 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18983 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18984 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18985 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18986 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18987 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18988 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18989 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18990 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18991 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18992 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18993 * sysdeps/x86_64/dl-tls.h: Likewise.
18994 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18995 * time/alt_digit.c: Likewise.
18996 * time/era.c: Likewise.
18997 * wcsmbs/tst-c16c32-1.c: Likewise.
18998
8c75f674
JM
189992013-05-16 Joseph Myers <joseph@codesourcery.com>
19000
19001 * math/libm-test.inc (struct test_sincos_data): New type.
19002 (RUN_TEST_LOOP_sincos): New macro.
19003 (sincos_test_data): New variable.
19004 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19005
e6e49e59
RH
190062013-05-16 Richard Henderson <rth@redhat.com>
19007
19008 * math/atest-exp2.c (LIMB64): New macro.
19009 (CONSTSZ): New macro.
19010 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19011 (hexdig): Move ...
19012 (print_mpn_fp): ... to function scope.
19013 (read_mpn_hex): Remove.
19014 (get_log2): Remove.
19015 (exp2_mpn): Use mp_log2.
19016 (main): Use mp_exp1.
19017
15c7c18d
JM
190182013-05-16 Joseph Myers <joseph@codesourcery.com>
19019
105a07df
JM
19020 * math/libm-test.inc: Remove comment about not testing "inexact"
19021 exceptions.
19022 (INEXACT_EXCEPTION): New macro.
19023 (NO_INEXACT_EXCEPTION): Likewise.
19024 (INVALID_EXCEPTION_OK): Update value.
19025 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19026 (OVERFLOW_EXCEPTION_OK): Likewise.
19027 (UNDERFLOW_EXCEPTION_OK): Likewise.
19028 (IGNORE_ZERO_INF_SIGN): Likewise.
19029 (ERRNO_UNCHANGED): Likewise.
19030 (ERRNO_EDOM): Likewise.
19031 (ERRNO_ERANGE): Likewise.
19032 (test_exceptions): Handle testing "inexact" exceptions.
19033 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19034 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19035 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19036 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19037 INEXACT_EXCEPTION.
19038 (rint_towardzero_test_data): Likewise.
19039 (rint_downward_test_data): Likewise.
19040 (rint_upward_test_data): Likewise.
19041
e9eee333
JM
19042 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19043 with OVERFLOW_EXCEPTION.
19044 (exp10_test_data): Likewise.
19045 (exp2_test_data): Likewise.
19046 (expm1_test_data): Likewise.
19047 (lgamma_test_data): Likewise.
19048 (pow_test_data): Likewise.
19049 (tgamma_test_data): Likewise.
19050 (yn_test_data): Remove duplicate test of overflow.
19051
1c38ff73
JM
19052 * math/libm-test.inc (struct test_cc_c_data): New type.
19053 (RUN_TEST_LOOP_cc_c): New macro.
19054 (cpow_test_data): New variable.
19055 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19056
15c7c18d
JM
19057 * math/libm-test.inc (struct test_f_L_data): New type.
19058 (RUN_TEST_LOOP_f_L): New macro.
19059 (llrint_test_data): New variable.
19060 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19061 (llrint_tonearest_test_data): New variable.
19062 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19063 (llrint_towardzero_test_data): New variable.
19064 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19065 (llrint_downward_test_data): New variable.
19066 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19067 (llrint_upward_test_data): New variable.
19068 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19069 (llround_test_data): New variable.
19070 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19071
f137ff13
PC
190722013-05-13 Peter Collingbourne <pcc@google.com>
19073
19074 * math/atest-exp2.c (get_log2): Remove const attribute.
19075
3608cb24
JM
190762013-05-15 Joseph Myers <joseph@codesourcery.com>
19077
19078 * math/libm-test.inc (struct test_f_l_data): New type.
19079 (RUN_TEST_LOOP_f_l): New macro.
19080 (lrint_test_data): New variable.
19081 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19082 (lrint_tonearest_test_data): New variable.
19083 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19084 (lrint_towardzero_test_data): New variable.
19085 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19086 (lrint_downward_test_data): New variable.
19087 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19088 (lrint_upward_test_data): New variable.
19089 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19090 (lround_test_data): New variable.
19091 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19092
39b1f617
PC
190932013-05-15 Peter Collingbourne <pcc@google.com>
19094
1deff3dc
PC
19095 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19096 (EXTRACT_WORDS64) Use where appropriate.
19097 (INSERT_WORDS64) Likewise.
19098
791f3ba0
PC
19099 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19100 constraints with x constraints.
19101 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19102
39b1f617
PC
19103 * malloc/obstack.c (_obstack_compat): Add initializer.
19104
12fba011
EM
191052013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19106
19107 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19108 si_trapno and add si_addr_lsb to _sifields.sigfault.
19109 (si_trapno): Remove macro.
19110 (si_addr_lsb): Define new macro.
19111 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19112
d369f531
JM
191132013-05-15 Joseph Myers <joseph@codesourcery.com>
19114
b861c6c4
JM
19115 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19116 instead of TEST_f_l.
19117 (llrint_test_tonearest): Likewise.
19118 (llrint_test_towardzero): Likewise.
19119 (llrint_test_downward): Likewise.
19120 (llrint_test_upward): Likewise.
19121 (llround_test): Likewise.
19122
7abeee12
JM
19123 * math/libm-test.inc (struct test_f_i_data): Add comment.
19124 (RUN_TEST_LOOP_f_b): New macro.
19125 (RUN_TEST_LOOP_f_b_tg): Likewise.
19126 (finite_test_data): New variable.
19127 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19128 (isfinite_test_data): New variable.
19129 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19130 (isinf_test_data): New variable.
19131 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19132 (isnan_test_data): New variable.
19133 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19134 (isnormal_test_data): New variable.
19135 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19136 (issignaling_test_data): New variable.
19137 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19138 (signbit_test_data): New variable.
19139 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19140
cbe8c4d3
JM
19141 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19142 with INVALID_EXCEPTION.
19143 (acosh_test_data): Likewise.
19144 (asin_test_data): Likewise.
19145 (atanh_test_data): Likewise.
19146 (fmod_test_data): Likewise.
19147 (log_test_data): Likewise.
19148 (log10_test_data): Likewise.
19149 (log2_test_data): Likewise.
19150 (pow_test_data): Likewise.
19151 (sqrt_test_data): Likewise.
19152 (y0_test_data): Likewise.
19153 (y1_test_data): Likewise.
19154 (yn_test_data): Likewise.
19155
5575c0e5
JM
19156 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19157 function contents.
19158
d369f531
JM
19159 * math/libm-test.inc (struct test_ff_i_data): New type.
19160 (RUN_TEST_LOOP_ff_i_tg): New macro.
19161 (isgreater_test_data): New variable.
19162 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19163 (isgreaterequal_test_data): New variable.
19164 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19165 (isless_test_data): New variable.
19166 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19167 (islessequal_test_data): New variable.
19168 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19169 (islessgreater_test_data): New variable.
19170 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19171 (isunordered_test_data): New variable.
19172 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19173
781fd748
DM
191742013-05-14 David S. Miller <davem@davemloft.net>
19175
19176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19177
87aa21df
JM
191782013-05-14 Joseph Myers <joseph@codesourcery.com>
19179
5e908270
JM
19180 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19181
f71172e5
JM
19182 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19183 extra_test to int.
19184 (struct test_f_i_data): Change type of max_ulp to int.
19185
8cfa635a
JM
19186 * math/libm-test.inc (test_ffI_f1_data): New type.
19187 (RUN_TEST_LOOP_ffI_f1): New macro.
19188 (remquo_test_data): New variable.
19189 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19190
2bcb36b2
JM
19191 * setjmp/tst-setjmp-fp.c: New file.
19192 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19193 (link-libm): New variable.
19194 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19195
acbd839a
JM
19196 * math/libm-test.inc (struct test_f_i_data): New type.
19197 (RUN_TEST_LOOP_f_i): New macro.
19198 (RUN_TEST_LOOP_f_i_tg): Likewise.
19199 (fpclassify_test_data): New variable.
19200 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19201 (ilogb_test_data): New variable.
19202 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19203
e414d745
JM
19204 * math/libm-test.inc (scalbln_test): Correct function name in END
19205 call.
19206
d9c2a0fd
JM
19207 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19208 (RUN_TEST_LOOP_fI_f1): New macro.
19209 (frexp_test_data): New variable.
19210 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19211
9dc9095d
JM
19212 * math/libm-test.inc (struct test_fF_f1_data): New type.
19213 (RUN_TEST_LOOP_fF_f1): New macro.
19214 (modf_test_data): New variable.
19215 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19216
87aa21df
JM
19217 * math/libm-test.inc (struct test_f_f1_data): New type.
19218 (RUN_TEST_LOOP_f_f1): New macro.
19219 (gamma_test_data): New variable.
19220 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19221 (lgamma_test_data): New variable.
19222 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19223
141af660
CD
192242013-05-13 Carlos O'Donell <carlos@redhat.com>
19225
19226 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19227 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19228 (main): Comment "tls" pseudo-hwcap.
19229
6d33265c
JM
192302013-05-13 Joseph Myers <joseph@codesourcery.com>
19231
68fc074c
JM
19232 * math/libm-test.inc (struct test_fl_f_data): New type.
19233 (RUN_TEST_LOOP_fl_f): New variable.
19234 (scalbln_test_data): New variable.
19235 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19236
243216e1
JM
19237 * math/libm-test.inc (struct test_fi_f_data): New type.
19238 (RUN_TEST_LOOP_fi_f): New macro.
19239 (ldexp_test_data): New variable.
19240 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19241 (scalbn_test_data): New variable.
19242 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19243
6a1992e2
JM
19244 * math/libm-test.inc (struct test_c_f_data): New type.
19245 (RUN_TEST_LOOP_c_f): New macro.
19246 (cabs_test_data): New variable.
19247 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19248 (carg_test_data): New variable.
19249 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19250 (cimag_test_data): New variable.
19251 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19252 (creal_test_data): New variable.
19253 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19254
0e400df5
JM
19255 * math/libm-test.inc (struct test_if_f_data): New type.
19256 (RUN_TEST_LOOP_if_f): New macro.
19257 (jn_test_data): New variable.
19258 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19259 (yn_test_data): New variable.
19260 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19261
6d33265c
JM
19262 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19263
f98ece5f
AZ
192642013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19265
19266 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19267 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19268
0f7d347b
SP
192692013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19270
43fe811b
SP
19271 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19272 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19273 (bench-deps): Add bench-timing.h.
19274 * benchtests-bench-skeleton.c: Include bench-timing.h.
19275 (main): Use TIMING_* macros instead of clock_gettime.
19276 * benchtests/bench-timing.h: New file.
19277
0f7d347b
SP
19278 [BZ #14582]
19279 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19280 Renamed from _LIB_VERSION.
19281 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19282
601a3a5f
JM
192832013-05-12 Joseph Myers <joseph@codesourcery.com>
19284
4f184d30
JM
19285 * math/libm-test.inc (struct test_fff_f_data): New type.
19286 (RUN_TEST_LOOP_fff_f): New macro.
19287 (fma_test_data): New variable.
19288 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19289 (fma_towardzero_test_data): New variable.
19290 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19291 (fma_downward_test_data): New variable.
19292 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19293 (fma_upward_test_data): New variable.
19294 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19295
08198877
JM
19296 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19297 (struct test_c_c_data): New type.
19298 (RUN_TEST_LOOP_c_c): New macro.
19299 (cacos_test_data): New variable.
19300 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19301 (cacosh_test_data): New variable.
19302 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19303 (casin_test_data): New variable.
19304 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19305 (casinh_test_data): New variable.
19306 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19307 (catan_test_data): New variable.
19308 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19309 (catanh_test_data): New variable.
19310 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19311 (ccos_test_data): New variable.
19312 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19313 (ccosh_test_data): New variable.
19314 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19315 (cexp_test_data): New variable.
19316 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19317 (clog_test_data): New variable.
19318 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19319 (clog10_test_data): New variable.
19320 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19321 (conj_test_data): New variable.
19322 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19323 (cproj_test_data): New variable.
19324 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19325 (csin_test_data): New variable.
19326 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19327 (csinh_test_data): New variable.
19328 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19329 (csqrt_test_data): New variable.
19330 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19331 (ctan_test_data): New variable.
19332 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19333 (ctan_tonearest_test_data): New variable.
19334 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19335 (ctan_towardzero_test_data): New variable.
19336 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19337 (ctan_downward_test_data): New variable.
19338 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19339 (ctan_upward_test_data): New variable.
19340 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19341 (ctanh_test_data): New variable.
19342 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19343 (ctanh_tonearest_test_data): New variable.
19344 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19345 (ctanh_towardzero_test_data): New variable.
19346 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19347 (ctanh_downward_test_data): New variable.
19348 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19349 (ctanh_upward_test_data): New variable.
19350 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19351 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19352 of BUILD_COMPLEX.
19353
601a3a5f
JM
19354 * math/libm-test.inc (struct test_ff_f_data): New type.
19355 (struct test_ff_f_data_nexttoward): Likewise.
19356 (RUN_TEST_LOOP_2_f): New macro.
19357 (RUN_TEST_LOOP_ff_f): Likewise.
19358 (atan2_test_data): New variable.
19359 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19360 (copysign_test_data): New variable.
19361 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19362 (fdim_test_data): New variable.
19363 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19364 (fmax_test_data): New variable.
19365 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19366 (fmin_test_data): New variable.
19367 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19368 (fmod_test_data): New variable.
19369 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19370 (hypot_test_data): New variable.
19371 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19372 (nextafter_test_data): New variable.
19373 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19374 (nexttoward_test_data): New variable.
19375 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19376 (pow_test_data): New variable.
19377 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19378 (pow_tonearest_test_data): New variable.
19379 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19380 (pow_towardzero_test_data): New variable.
19381 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19382 (pow_downward_test_data): New variable.
19383 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19384 (pow_upward_test_data): New variable.
19385 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19386 (remainder_test_data): New variable.
19387 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19388 (scalb_test_data): New variable.
19389 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19390 * sysdeps/i386/fpu/libm-test-ulps: Update.
19391
74c57478
JM
193922013-05-11 Joseph Myers <joseph@codesourcery.com>
19393
8329e4da
JM
19394 * math/libm-test.inc (fma_test): Use max_value instead of local
19395 variable fltmax.
19396 (nextafter_test): Likewise.
19397
74c57478
JM
19398 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19399 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19400 (acos_downward_test_data): New variable.
19401 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19402 (acos_upward_test_data): New variable.
19403 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19404 (acosh_test_data): New variable.
19405 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19406 (asin_test_data): New variable.
19407 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19408 (asin_tonearest_test_data): New variable.
19409 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19410 (asin_towardzero_test_data): New variable.
19411 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19412 (asin_downward_test_data): New variable.
19413 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19414 (asin_upward_test_data): New variable.
19415 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19416 (asinh_test_data): New variable.
19417 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19418 (atan_test_data): New variable.
19419 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19420 (atanh_test_data): New variable.
19421 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19422 (cbrt_test_data): New variable.
19423 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19424 (ceil_test_data): New variable.
19425 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19426 (cos_test_data): New variable.
19427 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19428 (cos_tonearest_test_data): New variable.
19429 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19430 (cos_towardzero_test_data): New variable.
19431 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19432 (cos_downward_test_data): New variable.
19433 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19434 (cos_upward_test_data): New variable.
19435 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19436 (cosh_test_data): New variable.
19437 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19438 (cosh_tonearest_test_data): New variable.
19439 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19440 (cosh_towardzero_test_data): New variable.
19441 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19442 (cosh_downward_test_data): New variable.
19443 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19444 (cosh_upward_test_data): New variable.
19445 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19446 (erf_test_data): New variable.
19447 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19448 (erfc_test_data): New variable.
19449 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19450 (exp_test_data): New variable.
19451 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19452 (exp_tonearest_test_data): New variable.
19453 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19454 (exp_towardzero_test_data): New variable.
19455 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19456 (exp_downward_test_data): New variable.
19457 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19458 (exp_upward_test_data): New variable.
19459 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19460 (exp10_test_data): New variable.
19461 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19462 (exp2_test_data): New variable.
19463 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19464 (expm1_test_data): New variable.
19465 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19466 (fabs_test_data): New variable.
19467 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19468 (floor_test_data): New variable.
19469 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19470 (j0_test_data): New variable.
19471 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19472 (j1_test_data): New variable.
19473 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19474 (log_test_data): New variable.
19475 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19476 (log10_test_data): New variable.
19477 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19478 (log1p_test_data): New variable.
19479 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19480 (log2_test_data): New variable.
19481 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19482 (logb_test_data): New variable.
19483 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19484 (logb_downward_test_data): New variable.
19485 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19486 (nearbyint_test_data): New variable.
19487 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19488 (rint_test_data): New variable.
19489 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19490 (rint_tonearest_test_data): New variable.
19491 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19492 (rint_towardzero_test_data): New variable.
19493 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19494 (rint_downward_test_data): New variable.
19495 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19496 (rint_upward_test_data): New variable.
19497 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19498 (round_test_data): New variable.
19499 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19500 (sin_test_data): New variable.
19501 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19502 (sin_tonearest_test_data): New variable.
19503 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19504 (sin_towardzero_test_data): New variable.
19505 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19506 (sin_downward_test_data): New variable.
19507 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19508 (sin_upward_test_data): New variable.
19509 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19510 (sinh_test_data): New variable.
19511 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19512 (sinh_tonearest_test_data): New variable.
19513 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19514 (sinh_towardzero_test_data): New variable.
19515 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19516 (sinh_downward_test_data): New variable.
19517 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19518 (sinh_upward_test_data): New variable.
19519 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19520 (sqrt_test_data): New variable.
19521 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19522 (tan_test_data): New variable.
19523 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19524 (tan_tonearest_test_data): New variable.
19525 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19526 (tan_towardzero_test_data): New variable.
19527 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19528 (tan_downward_test_data): New variable.
19529 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19530 (tan_upward_test_data): New variable.
19531 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19532 (tanh_test_data): New variable.
19533 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19534 (tgamma_test_data): New variable.
19535 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19536 (trunc_test_data): New variable.
19537 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19538 (y0_test_data): New variable.
19539 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19540 (y1_test_data): New variable.
19541 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19542 (significand_test_data): New variable.
19543 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19544
7187d844
CG
195452013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19546
19547 [BZ #12387]
19548 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19549
f63fae73
PT
195502013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19551
19552 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19553
8a67a4b3
AJ
195542013-05-10 Andreas Jaeger <aj@suse.de>
19555
19556 [BZ #15448]
19557 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19558 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19559
51df539d
JM
195602013-05-10 Joseph Myers <joseph@codesourcery.com>
19561
19562 * math/gen-libm-test.pl (adjust_arg): New function.
19563 (special_functions): Handle generating output in both functions
19564 and arrays.
19565 (parse_args): Likewise.
19566 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19567 $in_func argument to parse_args.
19568 * math/libm-test.inc (struct test_f_f_data): New type.
19569 (IF_ROUND_INIT_): New macro.
19570 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19571 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19572 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19573 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19574 (ROUND_RESTORE_): Likewise.
19575 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19576 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19577 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19578 (ROUND_RESTORE_FE_UPWARD): Likewise.
19579 (RUN_TEST_LOOP_f_f): New macro.
19580 (acos_test_data): New variable.
19581 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19582 (acos_tonearest_test_data): New variable.
19583 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19584
5c637fe5
SP
195852013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19586
19587 * benchtests/bench-skeleton.c (startup): Fix coding style.
19588
ab2b9461
JM
195892013-05-10 Joseph Myers <joseph@codesourcery.com>
19590
19591 [BZ #6809]
19592 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19593 negative infinity argument.
19594 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19595 negative infinity argument.
19596 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19597 negative infinity argument.
19598 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19599 domain errors.
19600
4c0fe6fe
FW
196012013-05-10 Florian Weimer <fweimer@redhat.com>
19602
19603 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19604 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19605 * iconv/iconv_prog.c (main): Likewise.
19606 * locale/programs/charmap-dir.c (charmap_readdir)
19607 (fopen_uncompressed): Likewise.
19608 * locale/programs/locfile.c (siblings_uncached)
19609 (write_locale_data): Use lstat64 instead of lstat.
19610 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19611 stat.
19612
a3375d29
AJ
196132013-05-10 Andreas Jaeger <aj@suse.de>
19614
19615 [BZ #15395]
19616 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19617 localization.
19618 Include <locale.h>.
19619
36129722
CD
196202013-05-09 Carlos O'Donell <carlos@redhat.com>
19621
19622 * elf/dl-close.c (_dl_close_worker): Add comments.
19623
faa7f811
JM
196242013-05-09 Joseph Myers <joseph@codesourcery.com>
19625
ed41ffef
JM
19626 [BZ #15359]
19627 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19628 high part of pi/2.
19629 (__ieee754_rem_pio2l): Update comments.
19630
d0213cd0
JM
19631 [BZ #15429]
19632 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19633 high part of pi/2.
19634 (__ieee754_rem_pio2l): Update comments.
19635
0d3e777a
JM
19636 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19637 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19638
24f56066
JM
19639 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19640 M_PI_4l.
19641
faa7f811
JM
19642 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19643 (M_PI_34_LOG10El): Likewise.
19644 (M_PI2_LOG10El): Likewise.
19645 (M_PI4_LOG10El): Likewise.
19646 (M_PI_LOG10El): Likewise.
19647
e9a5e0fd
AZ
196482013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19649
19650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19651
d8cd06db
JM
196522013-05-08 Joseph Myers <joseph@codesourcery.com>
19653
a0d9f9d7
JM
19654 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19655 (MINUS_ZERO_INIT): Likewise.
19656 (PLUS_INFTY_INIT): Likewise.
19657 (MINUS_INFTY_INIT): Likewise.
19658 (QNAN_VALUE_INIT): Likewise.
19659 (MAX_VALUE_INIT): Likewise.
19660 (MIN_VALUE_INIT): Likewise.
19661 (MIN_SUBNORM_VALUE_INIT): Likewise.
19662 (plus_zero): Initialize with PLUS_ZERO_INIT.
19663 (minus_zero): Initialize with MINUS_ZERO_INIT.
19664 (plus_infty): Initialize with PLUS_INFTY_INIT.
19665 (minus_infty): Initialize with MINUS_INFTY_INIT.
19666 (qnan_value): Initialize with QNAN_VALUE_INIT.
19667 (max_value): Initialize with MAX_VALUE_INIT.
19668 (min_value): Initialize with MIN_VALUE_INIT.
19669 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19670
ae08db3b
JM
19671 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19672 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19673 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19674 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19675
f44bf14a
JM
19676 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19677 (RUN_TEST_2_f): Likewise.
19678 (RUN_TEST_ff_f): Likewise.
19679 (RUN_TEST_fi_f): Likewise.
19680 (RUN_TEST_fl_f): Likewise.
19681 (RUN_TEST_fff_f): Likewise.
19682 (RUN_TEST_c_f): Likewise.
19683 (RUN_TEST_f_f1): Likewise.
19684 (RUN_TEST_fF_f1): Likewise.
19685 (RUN_TEST_fI_f1): Likewise.
19686 (RUN_TEST_ffI_f1): Likewise.
19687 (RUN_TEST_c_c): Likewise.
19688 (RUN_TEST_cc_c): Likewise.
19689 (RUN_TEST_f_i): Likewise.
19690 (RUN_TEST_f_i_tg): Likewise.
19691 (RUN_TEST_ff_i_tg): Likewise.
19692 (RUN_TEST_f_b): Likewise.
19693 (RUN_TEST_f_b_tg): Likewise.
19694 (RUN_TEST_f_l): Likewise.
19695 (RUN_TEST_f_L): Likewise.
19696 (RUN_TEST_sincos): Likewise.
19697 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19698 whether to show exceptions. Do not include ");\n" in return
19699 value.
19700 (special_functions): Output call to RUN_TEST_sincos instead of
19701 check_float calls. Update calls to new_test.
19702 (parse_args): Output call to single RUN_TEST_* macro instead of
19703 check_* calls and other assignments. Update calls to new_test.
19704
d8cd06db
JM
19705 [BZ #2546]
19706 [BZ #2560]
19707 [BZ #5159]
19708 [BZ #15426]
19709 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19710 input to result for tgamma overflow.
19711 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19712 (gamma_coeff): New variable.
19713 (NCOEFF): New macro.
19714 (gamma_positive): New function.
19715 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19716 underflow here. Use gamma_positive instead of exp (lgamma) for
19717 other arguments.
19718 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19719 (gamma_coeff): New variable.
19720 (NCOEFF): New macro.
19721 (gammaf_positive): New function.
19722 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19723 underflow here. Use gamma_positive instead of exp (lgamma) for
19724 other arguments.
19725 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19726 (gamma_coeff): New variable.
19727 (NCOEFF): New macro.
19728 (gammal_positive): New function.
19729 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19730 underflow here. Use gamma_positive instead of exp (lgamma) for
19731 other arguments.
19732 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19733 (gamma_coeff): New variable.
19734 (NCOEFF): New macro.
19735 (gammal_positive): New function.
19736 (__ieee754_gammal_r): Handle positive infinity, overflow and
19737 underflow here. Handle NaN the same as positive infinity. Remove
19738 check x < 0xffffffff for negative integers. Use gamma_positive
19739 instead of exp (lgamma) for other arguments.
19740 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19741 (gamma_coeff): New variable.
19742 (NCOEFF): New macro.
19743 (gammal_positive): New function.
19744 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19745 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19746 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19747 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19748 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19749 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19750 * sysdeps/generic/math_private.h (__gamma_productf): New
19751 prototype.
19752 (__gamma_product): Likewise.
19753 (__gamma_productl): Likewise.
19754 * math/Makefile (libm-calls): Add gamma_product.
19755 * math/libm-test.inc (tgamma_test): Add more tests.
19756 * sysdeps/i386/fpu/libm-test-ulps: Update.
19757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19758
bb7cf681
OB
197592013-05-08 Ondřej Bílka <neleai@seznam.cz>
19760
19761 * benchtests/bench-skeleton.c (main): Preheat CPU.
19762
ba853947
AJ
197632013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19764
19765 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19766
8347c74c
RM
197672013-05-07 Roland McGrath <roland@hack.frob.com>
19768
19769 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19770 and _dl_skip_args_internal.
19771
e8dd4791
CD
197722013-05-07 Carlos O'Donell <carlos@redhat.com>
19773
19774 * manual/message.texi (Message Translation): Talk about users.
19775 Message to key mapping impacts design.
19776
c7405830
RM
197772013-05-06 Roland McGrath <roland@hack.frob.com>
19778
a9173057
RM
19779 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19780
976e2f03
RM
19781 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19782
9723ffc5
RM
19783 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19784 * sysdeps/wordsize-64/glob64.c: ... here.
19785
962e6658
RM
19786 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19787 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19788 New macros.
19789
ee586a6d
RM
19790 * debug/getlogin_r_chk.c: Moved to ...
19791 * login/getlogin_r_chk.c: ... here.
19792 * debug/Makefile (routines): Move getlogin_r_chk to ...
19793 * login/Makefile (routines): ... here.
19794 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19795 * login/Versions (libc: GLIBC_2.4): ... here.
19796
355f9165
RM
19797 * io/poll.c (__poll): Renamed from poll.
19798 Add libc_hidden_def.
19799 (poll): Define as weak alias.
19800
bd9ffde6
RM
19801 * debug/ptsname_r_chk.c: Moved to ...
19802 * login/ptsname_r_chk.c: ... here.
19803 * debug/Makefile (routines): Move ptsname_r_chk to ...
19804 * login/Makefile (routines): ... here.
19805 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19806 * login/Versions (libc: GLIBC_2.4): ... here.
19807
8fb16a04
RM
19808 * posix/getlogin.c: Moved to ...
19809 * login/getlogin.c: ... here.
19810 * posix/getlogin_r.c: Moved to ...
19811 * login/getlogin_r.c: ... here.
19812 * posix/getlogin_r.c: Moved to ...
19813 * login/getlogin_r.c: ... here.
19814 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19815 * login/Makefile (routines): ... here.
19816 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19817 * login/Versions (libc: GLIBC_2.0): ... here.
19818
b99b892f
RM
19819 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19820 (setrlimit): Define as weak alias.
19821
c7405830
RM
19822 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19823 Call __ names for open, ftruncate, and close.
19824 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19825 (truncate): Define as weak alias.
19826
5bf96de5
JM
198272013-05-06 Joseph Myers <joseph@codesourcery.com>
19828
9ea3513c
JM
19829 * math/gen-libm-test.pl (parse_args): Initialize x before each
19830 test of frexp, modf and remquo.
19831
5bf96de5
JM
19832 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19833 test signgam value.
19834
16e616a7
AZ
198352013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19836
19837 [BZ #15418]
19838 [BZ #15419]
19839 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19840 internal tests.
19841 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19842
d5e82754
RM
198432013-05-06 Roland McGrath <roland@hack.frob.com>
19844
19845 * elf/dl-writev.h: New file.
19846 * elf/dl-misc.c: Include it.
19847 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19848 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19849
a7548d41
JM
198502013-05-04 Joseph Myers <joseph@codesourcery.com>
19851
b7dab1e4
JM
19852 * math/libm-test.inc (noXFails): Remove variable.
19853 (noXPasses): Likewise.
19854 (BUILD_COMPLEX_INT): Remove macro.
19855 (print_screen): Remove xfail argument.
19856 (print_screen_max_error): Likewise.
19857 (update_stats): Likewise.
19858 (print_max_error): Likewise. Update calls to other affected
19859 functions.
19860 (print_complex_max_error): Likewise.
19861 (test_single_exception): Update calls to print_screen.
19862 (test_single_errno): Likewise.
19863 (check_float_internal): Remove xfail argument. Update calls to
19864 other affected functions.
19865 (check_float): Likewise.
19866 (check_complex): Likewise.
19867 (check_int): Likewise.
19868 (check_long): Likewise.
19869 (check_bool): Likewise.
19870 (check_longlong): Likewise.
19871 (main): Don't print noXFails and noXPasses.
19872 * math/gen-libm-test.pl (top level): Don't mention expected
19873 failure handling in comment.
19874 (new_test): Don't handle expected failures.
19875 (parse_args): Don't mention expected failure handling in comment.
19876 (generate_testfile): Don't handle expected failures.
19877 (parse_ulps): Likewise.
19878 (print_ulps_file): Likewise.
19879 (get_failure): Remove function.
19880 (output_test): Don't handle expected failures.
19881 * make/README.libm-test: Don't mention expected failure handling.
19882
a7548d41
JM
19883 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19884 (minus_zero): Likewise.
19885 (plus_infty): Likewise.
19886 (minus_infty): Likewise.
19887 (qnan_value): Likewise.
19888 (max_value): Likewise.
19889 (min_value): Likewise.
19890 (min_subnorm_value): Likewise.
19891 (initialize): Do not initialize those variables dynamically.
19892
60bfd54c
RM
198932013-05-03 Roland McGrath <roland@hack.frob.com>
19894
cc0e6ed8
RM
19895 * io/open.c (__open_2): Moved to ...
19896 * io/open_2.c: ... this new file.
19897 * io/open64.c (__open64_2): Moved to ...
19898 * io/open64_2.c: ... this new file.
19899 * io/openat.c (__openat_2): Moved to ...
19900 * io/openat_2.c: ... this new file.
19901 * io/openat64.c (__openat64_2): Moved to ...
19902 * io/openat64_2.c: ... this new file.
19903 * io/Makefile (routines): Add them.
19904 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19905 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19906 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19907 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19908 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19909 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19910 (__openat64): Add hidden_ver.
19911 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19912 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19913
60bfd54c
RM
19914 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19915 Separately conditionalize setting of GLRO(dl_sysinfo) so
19916 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19917 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19918
83e7640f
AZ
199192013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19920
19921 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19922 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19923 definition.
19924 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19925 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19926 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19927 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19928 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19929
d5dc2af3
JM
199302013-05-03 Joseph Myers <joseph@codesourcery.com>
19931
c31a5b1e
JM
19932 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19933 test signgam value.
19934
d5dc2af3
JM
19935 * math/libm-test.inc (hypot_test): Do not use
19936 IGNORE_ZERO_INF_SIGN.
19937
164fd39d
AJ
199382013-05-03 Andreas Jaeger <aj@suse.de>
19939
19940 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19941 Linux 3.9.
19942 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19943 (PF_MAX): Adjust for VSOCK change.
19944
8237f48c
AZ
199452013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19946
19947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19948
9df02941
CD
199492013-05-02 Carlos O'Donell <carlos@redhat.com>
19950
19951 [BZ #15264]
19952 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19953 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19954 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19955
d422395e
DM
199562013-05-02 David S. Miller <davem@davemloft.net>
19957
19958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19959
a07c5731
OB
199602013-05-01 Ondřej Bílka <neleai@seznam.cz>
19961
19962 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19963
1324e37f
RM
199642013-05-01 Roland McGrath <roland@hack.frob.com>
19965
19966 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19967
0695940b
RS
199682013-05-01 Richard Smith <richard@metafoo.co.uk>
19969
bb5f27ad 19970 [BZ #14952]
0695940b
RS
19971 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19972 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19973 Use __attribute__ ((__gnu_inline__)).
19974 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19975 Don't use __attribute__ ((__gnu_inline__)).
19976
10de07f5
JM
199772013-05-01 Joseph Myers <joseph@codesourcery.com>
19978
19979 [BZ #15423]
19980 * math/s_catan.c (__catan): Handle small real or imaginary part of
19981 input specially to avoid spurious underflow.
19982 * math/s_catanf.c (__catanf): Likewise.
19983 * math/s_catanh.c (__catanh): Likewise.
19984 * math/s_catanhf.c (__catanhf): Likewise.
19985 * math/s_catanhl.c (__catanhl): Likewise.
19986 * math/s_catanl.c (__catanl): Likewise.
19987 * math/libm-test.inc (catan_test): Add more tests.
19988 (catanh_test): Likewise.
19989 * sysdeps/i386/fpu/libm-test-ulps: Update.
19990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19991
cb4d5414
AZ
199922013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19993
19994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19995
caf84319
JM
199962013-04-30 Joseph Myers <joseph@codesourcery.com>
19997
19998 [BZ #15416]
19999 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20000 accurately for denominator in atan2.
20001 * math/s_catanf.c (__catanf): Likewise.
20002 * math/s_catanh.c (__catanh): Likewise.
20003 * math/s_catanhf.c (__catanhf): Likewise.
20004 * math/s_catanhl.c (__catanhl): Likewise.
20005 * math/s_catanl.c (__catanl): Likewise.
20006 * math/libm-test.inc (catan_test): Add more tests.
20007 (catanh_test): Likewise.
20008 * sysdeps/i386/fpu/libm-test-ulps: Update.
20009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20010
d569c6ee
SP
200112013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20012
6dbe713d
SP
20013 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20014
f0ee064b
SP
20015 * benchtests/Makefile (bench): Remove slow benchmarks.
20016 * benchtests/atan-inputs: Add slow benchmark inputs.
20017 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20018 (BENCH_FUNC): Accept variant offset.
20019 (VARIANT): Define.
20020 * benchtests/bench-skeleton.c (main): Run benchmark for each
20021 variant.
20022 * benchtests/cos-inputs: Add slow benchmark inputs.
20023 * benchtests/exp-inputs: Likewise.
20024 * benchtests/pow-inputs: Likewise.
20025 * benchtests/sin-inputs: Likewise.
20026 * benchtests/slowatan-inputs: Remove.
20027 * benchtests/slowatan.c: Remove.
20028 * benchtests/slowcos-inputs: Remove.
20029 * benchtests/slowcos.c: Remove.
20030 * benchtests/slowexp-inputs: Remove.
20031 * benchtests/slowexp.c: Remove.
20032 * benchtests/slowpow-inputs: Remove.
20033 * benchtests/slowpow.c: Remove.
20034 * benchtests/slowsin-inputs: Remove.
20035 * benchtests/slowsin.c: Remove.
20036 * benchtests/slowtan-inputs: Remove.
20037 * benchtests/slowtan.c: Remove.
20038 * benchtests/tan-inputs: Add slow benchmark inputs.
20039 * scripts/bench.pl: Parse comments and directives.
20040
d569c6ee
SP
20041 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20042 in CPPFLAGS.
20043 ($(objpfx)bench-%.c): Remove *-ITER.
20044 * benchtests/bench-modf.c: Remove definition of ITER.
20045 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20046 (main): Loop for DURATION seconds instead of fixed number of
20047 iterations.
20048 * scripts/bench.pl: Don't expect iterations in parameters.
20049
a6a242fe
RM
200502013-04-29 Roland McGrath <roland@hack.frob.com>
20051
20052 * io/fchdir.c (__fchdir): Renamed from fchdir.
20053 (fchdir): Define as weak alias.
20054
f2da7793
JM
200552013-04-29 Joseph Myers <joseph@codesourcery.com>
20056
20057 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20058 (ERRNO_EDOM): Likewise.
20059 (ERRNO_ERANGE): Likewise.
20060 (noErrnoTests): New variable.
20061 (init_max_error): Set errno to 0.
20062 (test_single_errno): New function.
20063 (test_errno): Likewise.
20064 (check_float_internal): Call test_errno. Set errno to 0.
20065 (check_complex): Refer to errno tests in comment.
20066 (check_int): Call test_errno. Set errno to 0.
20067 (check_long): Likewise.
20068 (check_bool): Likewise.
20069 (check_longlong): Likewise.
20070 (cos_test): Use ERRNO_* flags for errno tests instead of
20071 check_int.
20072 (expm1_test): Likewise.
20073 (fmod_test): Likewise.
20074 (ilogb_test): Likewise.
20075 (lgamma_test): Likewise.
20076 (pow_test): Likewise.
20077 (remainder_test): Likewise.
20078 (sin_test): Likewise.
20079 (tan_test): Likewise.
20080 (yn_test): Likewise.
20081 (initialize): Set errno to 0.
20082 (main): Print number of errno tests.
20083 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20084
b1a36ceb
AJ
200852013-04-29 Andreas Jaeger <aj@suse.de>
20086
c3ed8088
AJ
20087 [BZ #15084]
20088 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20089 and RES_USEVC.
20090
f1a24198
AJ
20091 [BZ #15085]
20092 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20093 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20094 unimplemented.
20095
9ce3b2cb
AJ
20096 [BZ #15380]
20097 * stdlib/random.c (__initstate): Return NULL if
20098 __initstate fails.
20099
f1a24198 20100 [BZ #15086]
b1a36ceb
AJ
20101 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20102 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20103 RES_SNGLKUPREOP.
20104
7e7b6f36
AZ
201052013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20106
20107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20108
4d14f449
JM
201092013-04-29 Joseph Myers <joseph@codesourcery.com>
20110
20111 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20112 of individual tests.
20113 (casin_test): Likewise.
20114 (casinh_test): Likewise.
20115
5b4217d7
JM
201162013-04-27 Joseph Myers <joseph@codesourcery.com>
20117
20118 [BZ #15409]
20119 * math/s_catan.c (__catan): Handle arguments with large real or
20120 imaginary part separately without squaring.
20121 * math/s_catanf.c (__catanf): Likewise.
20122 * math/s_catanh.c (__catanh): Likewise.
20123 * math/s_catanhf.c (__catanhf): Likewise.
20124 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20125 and redefine.
20126 (__catanhl): Handle arguments with large real or imaginary part
20127 separately without squaring.
20128 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20129 and redefine.
20130 (__catanl): Handle arguments with large real or imaginary part
20131 separately without squaring.
20132 * math/libm-test.inc (catan_test): Add more tests.
20133 (catanh_test): Likewise.
20134 * sysdeps/i386/fpu/libm-test-ulps: Update.
20135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20136
4220c3ef
AJ
201372013-04-27 Andreas Jaeger <aj@suse.de>
20138
20139 [BZ #15007]
20140 * stdlib/stdlib.h: Update guards for qecvt.
20141 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20142 <stdlib.h>.
20143
4721b2d1
AM
201442013-04-27 Allan McRae <allan@archlinux.org>
20145
20146 * sysdeps/i386/fpu/libm-test-ulps: Update.
20147
f0302940
JM
201482013-04-26 Joseph Myers <joseph@codesourcery.com>
20149
9457fd95
JM
20150 [BZ #15406]
20151 * math/s_catan.c: Include <float.h>.
20152 (__catan): Ensure underflow exception occurs for underflowed
20153 result.
20154 * math/s_catanf.c: Include <float.h>.
20155 (__catanf): Ensure underflow exception occurs for underflowed
20156 result.
20157 * math/s_catanh.c: Include <float.h>.
20158 (__catanh): Ensure underflow exception occurs for underflowed
20159 result.
20160 * math/s_catanhf.c: Include <float.h>.
20161 (__catanhf): Ensure underflow exception occurs for underflowed
20162 result.
20163 * math/s_catanhl.c: Include <float.h>.
20164 (__catanhl): Ensure underflow exception occurs for underflowed
20165 result.
20166 * math/s_catanl.c: Include <float.h>.
20167 (__catanl): Ensure underflow exception occurs for underflowed
20168 result.
20169 * math/libm-test.inc (catan_test): Add more tests.
20170 (catanh_test): Likewise.
20171
f0302940
JM
20172 [BZ #15405]
20173 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20174 underflowed result.
20175 * math/s_ccoshf.c (__ccoshf): Likewise.
20176 * math/s_ccoshl.c (__ccoshl): Likewise.
20177 * math/s_csin.c (__csin): Likewise.
20178 * math/s_csinf.c (__csinf): Likewise.
20179 * math/s_csinh.c (__csinh): Likewise.
20180 * math/s_csinhf.c (__csinhf): Likewise.
20181 * math/s_csinhl.c (__csinhl): Likewise.
20182 * math/s_csinl.c (__csinl): Likewise.
20183 * math/libm-test.inc (ccos_test): Add more tests.
20184 (ccosh_test): Likewise.
20185 (csin_test): Likewise.
20186 (csinh_test): Likewise.
20187
aa630f59
AZ
201882013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20189
20190 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20191 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20192 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20193 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20194 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20195 powerpc/power5+/fpu folders.
20196 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20197
20198
1b835983
MT
201992013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20200
20201 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20202
73709b26
JM
202032013-04-25 Joseph Myers <joseph@codesourcery.com>
20204
20205 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20206 additions to variable.
20207 [$(config-machine) = x86_64] (modules-names): Likewise.
20208 ($(objpfx)tst-audit3): Remove dependency.
20209 ($(objpfx)tst-audit3.out): Likewise.
20210 ($(objpfx)tst-audit4): Likewise.
20211 ($(objpfx)tst-audit4.out): Likewise.
20212 ($(objpfx)tst-audit5): Likewise.
20213 ($(objpfx)tst-audit5.out): Likewise.
20214 ($(objpfx)tst-audit6): Likewise.
20215 ($(objpfx)tst-audit6.out): Likewise.
20216 ($(objpfx)tst-audit7): Likewise.
20217 ($(objpfx)tst-audit7.out): Likewise.
20218 (tst-audit3-ENV): Remove variable.
20219 (tst-audit4-ENV): Likewise.
20220 (tst-audit5-ENV): Likewise.
20221 (tst-audit6-ENV): Likewise.
20222 (tst-audit7-ENV): Likewise.
20223 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20224 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20225 addition to variable.
20226 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20227 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20228 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20229 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20230 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20231 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20232 tst-audit3, tst-audit4 and tst-audit5.
20233 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20234 tst-audit6 and tst-audit7.
20235 [$(subdir) = elf] (modules-names): Add audit modules for those
20236 tests.
20237 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20238 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20239 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20240 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20241 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20242 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20243 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20244 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20245 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20246 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20247 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20248 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20249 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20250 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20251 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20252 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20253 Likewise.
20254 [$(subdir) = elf && $(config-cflags-avx) = yes]
20255 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20256 [$(subdir) = elf && $(config-cflags-avx) = yes]
20257 (CFLAGS-tst-auditmod4a.c): Likewise.
20258 [$(subdir) = elf && $(config-cflags-avx) = yes]
20259 (CFLAGS-tst-auditmod4b.c): Likewise.
20260 [$(subdir) = elf && $(config-cflags-avx) = yes]
20261 (CFLAGS-tst-auditmod6b.c): Likewise.
20262 [$(subdir) = elf && $(config-cflags-avx) = yes]
20263 (CFLAGS-tst-auditmod6c.c): Likewise.
20264 [$(subdir) = elf && $(config-cflags-avx) = yes]
20265 (CFLAGS-tst-auditmod7b.c): Likewise.
20266 * elf/tst-audit3.c: Move to ...
20267 * sysdeps/x86_64/tst-audit3.c: ... here.
20268 * elf/tst-audit4.c: Move to ...
20269 * sysdeps/x86_64/tst-audit4.c: ... here.
20270 * elf/tst-audit5.c: Move to ...
20271 * sysdeps/x86_64/tst-audit5.c: ... here.
20272 * elf/tst-audit6.c: Move to ...
20273 * sysdeps/x86_64/tst-audit6.c: ... here.
20274 * elf/tst-audit7.c: Move to ...
20275 * sysdeps/x86_64/tst-audit7.c: ... here.
20276 * elf/tst-auditmod3a.c: Move to ...
20277 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20278 * elf/tst-auditmod3b.c: Move to ...
20279 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20280 * elf/tst-auditmod4a.c: Move to ...
20281 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20282 * elf/tst-auditmod4b.c: Move to ...
20283 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20284 * elf/tst-auditmod5a.c: Move to ...
20285 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20286 * elf/tst-auditmod5b.c: Move to ...
20287 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20288 * elf/tst-auditmod6a.c: Move to ...
20289 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20290 * elf/tst-auditmod6b.c: Move to ...
20291 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20292 * elf/tst-auditmod6c.c: Move to ...
20293 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20294 * elf/tst-auditmod7a.c: Move to ...
20295 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20296 * elf/tst-auditmod7b.c: Move to ...
20297 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20298
1ef74943
PP
202992013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20300
20301 [BZ #15366]
20302 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20303 define unconditionally.
20304 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20305 define unconditionally.
20306 (INT8_C, INT16_C, etc.): Likewise.
20307
93fd48c5
MR
203082013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20309
ae9552cf
MR
20310 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20311 __ehdr_start with hidden visibility.
20312
93fd48c5
MR
20313 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20314
418601aa
CD
203152013-04-24 Carlos O'Donell <carlos@redhat.com>
20316
20317 * math/libm-test.inc (cos_test): Use accurate hex constants.
20318 (sincost_test): Likewise.
20319
2f38fbfe
JM
203202013-04-24 Joseph Myers <joseph@codesourcery.com>
20321
5e221800
JM
20322 * math/libm-test.inc (catan_test): Add more tests.
20323 (catanh_test): Likewise.
20324
77f143fd
JM
20325 * math/s_catanf.c (__catanf): Use suffixed floating-point
20326 constants.
20327 * math/s_catanhf.c (__catanhf): Likewise.
20328 * math/s_catanhl.c (__catanhl): Likewise.
20329 * math/s_catanl.c (__catanl): Likewise.
20330
2f38fbfe
JM
20331 [BZ #15394]
20332 * math/s_catan.c (__catan): Calculate imaginary part of result
20333 with log1p not log unless computing log of number close to 0.
20334 * math/s_catanf.c (__catanf): Likewise.
20335 * math/s_catanl.c (__catanl): Likewise.
20336 * math/s_catanh.c (__catanh): Calculate real part of result with
20337 log1p not log unless computing log of number close to 0.
20338 * math/s_catanhf.c (__catanhf): Likewise.
20339 * math/s_catanhl.c (__catanhl): Likewise.
20340 * math/libm-test.inc (catan_test): Add more tests.
20341 (catanh_test): Likewise.
20342 * sysdeps/i386/fpu/libm-test-ulps: Update.
20343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20344
45d69176
SP
203452013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20346
20347 * benchtests/Makefile: Mention files in which fast and slow
20348 paths of math functions are implemented.
20349
87f51853
RM
203502013-04-23 Roland McGrath <roland@hack.frob.com>
20351
20352 * sysdeps/posix/timespec_get.c: New file.
20353
3c026539
AZ
203542013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20355
20356 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20357 POWER.
20358 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20359 for POWER.
20360 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20361 powerpc/power5/fpu folders.
20362 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20363 * benchtests/Makefile: Add modf testcase.
20364 * benchtests/bench-modf.c: New file: Benchmark test for mo
20365
ff491d14
SP
203662013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20367
20368 [BZ #14888]
20369 * time/Makefile (tests): Add tst-strptime-whitespace.
20370 * time/strptime_l.c (get_number): Use ISSPACE.
20371 (__strptime_internal): Likewise.
20372 * time/tst-strptime-whitespace.c: New test case.
20373
7ed3f4e8
AS
203742013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20375
20376 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20377 member.
20378 (_nss_files_init): Set it here.
20379
5c95f7b6
HC
203802013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20381
20382 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20383 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20384 unsigned.
20385
d34c9158
JBG
203862013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20387
20388 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20389
2169712d
SP
203902013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20391
20392 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20393 size just once.
20394
29c5de99
DM
203952013-04-21 David S. Miller <davem@davemloft.net>
20396
20397 * po/ru.po: Update Russion translation from translation project.
20398
ccdad15d
AC
203992013-04-17 Adam Conrad <adconrad@0c3.net>
20400
20401 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20402 and setfsgid.
20403
0f122b8d
CD
204042013-04-17 Carlos O'Donell <carlos@redhat.com>
20405
5c5b07da 20406 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 20407 * configure: Regenerate.
5c5b07da 20408 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
20409 Add example to error message.
20410 * sysdeps/i386/configure: Regenerate.
20411
037714dd
SP
204122013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20413
20414 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20415 slowtan.
20416 * benchtests/cos-inputs: New file.
20417 * benchtests/slowcos-inputs: New file.
20418 * benchtests/slowcos.c: New file.
20419 * benchtests/slowtan-inputs: New file.
20420 * benchtests/slowtan.c: New file.
20421 * benchtests/tan-inputs: New file.
20422
e913141d
RM
204232013-04-16 Roland McGrath <roland@hack.frob.com>
20424
20425 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20426 considered kosher.
20427
a2964074
SP
204282013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20429
4856bcd2
SP
20430 * benchtests/Makefile: Include cppflags-iterator.mk to add
20431 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20432
a2964074
SP
20433 * Makefile.in (bench-clean): New target.
20434 * benchtests/Makefile (bench-clean): Likewise.
20435
9fbf9aca
DH
204362013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20437
20438 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20439
207d1e2a
TS
204402013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20441
20442 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20443
306dfba9
AS
204442013-04-15 Andreas Schwab <schwab@suse.de>
20445
20446 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20447 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20448 * nscd/pwdcache.c (cache_addpw): Likewise.
20449 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20450 more than recsize.
20451
206a6699
SP
204522013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20453
20454 * benchtests/Makefile (bench): Write all output to
20455 bench-out.tmp together.
20456
0582f6b3
AS
204572013-04-15 Andreas Schwab <schwab@suse.de>
20458
20459 * nscd/nscd.c (main): Don't fork again after closing files.
20460
acb4325f
SP
204612013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20462
5cb26d0a
SP
20463 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20464
acb4325f
SP
20465 * benchtests/Rules (bench-deps): Collect dependencies into a
20466 single variable. Add Makefile to dependencies.
20467 ($(objpfx)bench-%.c): Depend on bench-deps.
20468
47792506
RM
204692013-04-12 Roland McGrath <roland@hack.frob.com>
20470 Xavier Roche <roche+kml2@exalead.com>
20471
20472 [BZ #15361]
20473 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20474 just that it's a file descriptor.
20475 * manual/llio.texi (Synchronizing AIO Operations): Update description
20476 for EBADF error from aio_fsync.
20477
8fc1bee5
SP
204782013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20479
20480 * Rules (bench): Move target definition...
20481 * benchtests/Makefile: ... here.
20482
aba5e333
CD
204832013-04-11 Carlos O'Donell <carlos@redhat.com>
20484
20485 * math/libm-test.inc (cos_test): Fix PI/2 test.
20486 (sincos_test): Likewise.
20487 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20488 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20489
273cdee8
AS
204902013-04-11 Andreas Schwab <schwab@suse.de>
20491
6ecec3b6
AS
20492 [BZ #13988]
20493 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20494 accept exponent character only when digits were seen.
20495 * stdio-common/Makefile (tests): Add bug26.
20496 * stdio-common/bug26.c: New file.
20497
273cdee8
AS
20498 [BZ #14293]
20499 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20500 non-freeable.
20501
8da491f5
SP
205022013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20503
01dc6df9
SP
20504 * Makeconfig (rtld-prefix): Define built linker prefix.
20505 * Rules (run-bench): Use it.
20506 * math/Makefile (run-regen-ulps): Likewise.
20507
8da491f5
SP
20508 * Rules (bench): Remove eval.
20509
abe7f530
SP
205102013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20511 Roland McGrath <roland@hack.frob.com>
20512 Ondrej Bilka <neleai@seznam.cz>
20513
20514 [BZ #15346]
20515 * time/getdate.c: Include ctype.h and alloca.h.
20516 (__getdate_r): Trim leading and trailing spaces of input.
20517 * time/tst-getdate.c (tests): Add tests with leading and
20518 trailing spaces.
20519
61c23e62
RM
205202013-04-08 Roland McGrath <roland@hack.frob.com>
20521
20522 [BZ #14280]
20523 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20524 when computing value.
20525
7208a313
CD
205262013-04-06 Carlos O'Donell <carlos@redhat.com>
20527
085b2d41
CD
20528 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20529 Use testrun.sh to run libm tests.
20530
7208a313
CD
20531 [BZ #15309]
20532 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20533
872c0acd
MM
205342013-04-06 Marko Myllynen <myllynen@redhat.com>
20535
20536 [BZ #15264]
20537 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20538
26510bdd
CD
205392013-04-06 Carlos O'Donell <carlos@redhat.com>
20540
20541 * Makefile.in (regen-ulps): New target.
20542 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20543 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20544 [ifneq (no,$(PERL)] (regen-ulps): New target.
20545 [ifeq (no,$(PERL)] (regen-ulps): New target.
20546 * math/libm-test.inc (ulps_file_name): Define.
20547 (output_dir): New variable.
20548 (options): Add "output-dir" option.
20549 (parse_opt): Handle 'o' case.
20550 (main): If output_dir is non-NULL use it as a prefix
20551 otherwise use "".
20552 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20553
a01f19c8
CD
205542013-04-06 Carlos O'Donell <carlos@redhat.com>
20555
20556 [BZ #10060, #10062]
20557 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20558 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20559 fail configure if __sync_val_compare_and_swap is not inlined.
20560 * sysdeps/i386/configure: Regenerate.
20561 * configure.in: Build for i686 when configured for i386.
20562 * configure: Regenerate.
20563 * README: Remove i386 reference.
20564
b7a329a5
CD
205652013-04-06 Carlos O'Donell <carlos@redhat.com>
20566
20567 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20568 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20569
bf0f50df
TS
205702013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20571
ee091edf
TS
20572 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20573 (lmsnanval): New variables.
20574 (F): Add conversion tests.
20575 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20576 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20577
a8b792d6
TS
20578 * stdio-common/tstdiomisc.c (F): Properly collect individual
20579 tests' results.
20580
a1cbf437
TS
20581 [BZ #14686, #15336]
20582 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20583 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20584 Instead, use input NaN values or generate a qNaN by arithmetic
20585 operation. Also fix bugs to comply with the standard.
20586 * math/libm-test.inc (remainder_test): Add more tests.
20587
8b43a0c9
TS
20588 [BZ #15335, #15342]
20589 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20590 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20591 input NaN values or generate a qNaN by arithmetic operation.
20592
d91da4ce
TS
20593 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20594 unreachable code.
20595
bf0f50df
TS
20596 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20597 definitions.
20598
05e166c8
JM
205992013-04-03 Joseph Myers <joseph@codesourcery.com>
20600
20601 [BZ #14478]
20602 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20603 underflowed result.
20604 * math/s_cexpf.c (__cexpf): Likewise.
20605 * math/s_cexpl.c (__cexpl): Likewise.
20606 * math/libm-test.inc (cexp_test): Add more tests.
20607
1cef1b19
AS
206082013-04-03 Andreas Schwab <schwab@suse.de>
20609
20610 [BZ #15330]
20611 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20612 order arrays from heap if bigger than alloca cutoff.
20613
74d87055
TS
206142013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20615
20616 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20617 (SNAN_TESTS_double): Refer to GCC PR56831.
20618 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20619 GCC PR56828.
20620
d755bba4
SP
206212013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20622
90d5d5bb
SP
20623 * Rules (bench): Move bench.out after the run is complete.
20624
73e0cd5d
SP
20625 * Rules (bench): Echo currently running benchmark.
20626
64aabd4b
SP
20627 * benchtests/Makefile (bench): Add atan and slowatan.
20628 * benchtests/atan-inputs: New file.
20629 * benchtests/slowatan-inputs: New file.
20630 * benchtests/slowatan.c: New file.
20631
c871eccd
SP
20632 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20633 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20634 its value.
20635
d755bba4
SP
20636 [BZ #15305]
20637 * sysdeps/unix/sysv/linux/kernel-features.h
20638 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20639 __ASSUME_XFS_RESTRICTED_CHOWN.
20640 * sysdeps/unix/sysv/linux/pathconf.c
20641 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20642 Save and restore errno.
20643
52ce4860
JM
206442013-04-02 Joseph Myers <joseph@codesourcery.com>
20645
20646 [BZ #15327]
20647 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20648 arguments using __kernel_casinh.
20649 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20650 arguments using __kernel_casinhf.
20651 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20652 arguments using __kernel_casinhl.
20653 * math/libm-test.inc (cacosh_test): Add more tests.
20654 * sysdeps/i386/fpu/libm-test-ulps: Update.
20655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20656
81f311c2
SP
206572013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20658
e7906a47
SP
20659 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20660 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20661
92e3664b
SP
20662 * bench/Makefile (bench): Add sin and slowsin.
20663 * benchtests/sin-inputs: New file.
20664 * benchtests/slowsin-inputs: New file.
20665 * benchtests/slowsin.c: New file.
20666
81f311c2
SP
20667 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20668 (bench): Add slowexp and slowpow.
20669 (exp-ITER): Increase iterations.
20670 (pow-ITER): Likewise.
20671 * benchtests/exp-inputs: Change input.
20672 * benchtests/pow-inputs: Likewise.
20673 * benchtests/slowexp-inputs: New file.
20674 * benchtests/slowexp.c: New file.
20675 * benchtests/slowpow-inputs: New file.
20676 * benchtests/slowpow.c: New file.
20677
ab0f1aa9
AZ
206782013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20679
20680 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20681 instructions.
20682 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20683 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20684 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20685 * benchtests/Makefile: Add rint benchtest.
20686 * benchtests/rint-inputs: Input for rint benchtest.
20687
57267616
TS
206882013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20689
20690 * Versions.def (libm): Add GLIBC_2.18.
20691 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20692 hidden libm prototypes.
20693 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20694 * math/Makefile (libm-calls): Add s_issignaling.
20695 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20696 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20697 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20698 declaration.
20699 * math/math.h [__USE_GNU] (issignaling): New macro.
20700 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20701 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20702 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20703 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20704 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20705 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20706 * manual/arith.texi (issignaling): New section.
20707 * manual/libm-err-tab.pl (@all_functions): Update comment.
20708 * math/gen-libm-test.pl (parse_args): Apply special handling for
20709 issignaling.
20710 * math/libm-test.inc (print_float, issignaling_test): New
20711 functions.
20712 (check_float_internal): Add issignaling checks.
20713 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20714 default definition.
20715 * sysdeps/powerpc/math-tests.h: New file.
20716 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20717 tests.
20718 * math/test-snan.c (TEST_FUNC): Likewise.
20719
6142896d
DM
207202013-03-30 David S. Miller <davem@davemloft.net>
20721
20722 * po/de.po: Update from translation team.
20723
ccc8cadf
JM
207242013-03-30 Joseph Myers <joseph@codesourcery.com>
20725
20726 [BZ #10357]
20727 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20728 imaginary part less than 1.0 and real part less than 0.5
20729 specially.
20730 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20731 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20732 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20733 (cacos_test): Add more tests.
20734 (casin_test): Likewise.
20735 (casinh_test): Likewise.
20736 * sysdeps/i386/fpu/libm-test-ulps: Update.
20737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20738
0f6a8d4b
SP
207392013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20740
0d1029de
SP
20741 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20742 ONE with its value.
20743
c2d94018
SP
20744 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20745 (__pow_mp): Replace ONE and MONE with their values.
20746 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20747 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20748 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20749 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20750 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20751 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20752
27ec37f1
SP
20753 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20754
a64d7e0e
SP
20755 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20756 (__pow_mp): Replace ZERO and MZERO with their values.
20757 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20758 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20759 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20760 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20761 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20762 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20763 (__sqr): Likewise.
20764
d26dd3eb
SP
20765 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20766
0f6a8d4b
SP
20767 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20768
e57b0c61
RM
207692013-03-28 Roland McGrath <roland@hack.frob.com>
20770
20771 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20772 Declare with __attribute__ ((weak)).
20773 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20774 Call __call_tls_dtors only if it's not NULL.
20775
356b3480
RM
207762013-03-28 Roland McGrath <roland@hack.frob.com>
20777
288f7d79
RM
20778 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20779 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20780 magic __ehdr_start linker symbol if it's defined.
20781 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20782 them up here if it was already done.
20783
dc0a0263
RM
20784 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20785 (_dl_aux_init): Use const in cast when setting it.
20786 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20787 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20788 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20789
3d3436ae
RM
20790 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20791 Declare them here.
20792 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20793 * csu/libc-tls.c: Nor here.
20794 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20795
356b3480
RM
20796 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20797 (__libc_message): Never call vsyslog.
20798
b0f1246a
AM
207992013-03-28 Alan Modra <amodra@gmail.com>
20800
20801 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20802 Define as empty.
20803 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20804 Likewise.
20805
fbbe2b9a
AZ
208062013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20807
20808 [BZ #15214]
20809 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20810 underflow.
20811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20812
1728ab37
SP
208132013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20814
7a86be6e
SP
20815 [BZ #15304]
20816 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20817 Don't add gid passed as argument.
20818
1728ab37
SP
20819 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20820
3a7182a1
JM
208212013-03-27 Joseph Myers <joseph@codesourcery.com>
20822
20823 [BZ #15307]
20824 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20825 imaginary part between 1.0 and 1.5 and real part less than 0.5
20826 specially.
20827 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20828 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20829 * math/libm-test.inc (cacos_test): Add more tests.
20830 (casin_test): Likewise.
20831 (casinh_test): Likewise.
20832 * sysdeps/i386/fpu/libm-test-ulps: Update.
20833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20834
6f2e90e7
SP
208352013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20836
5739f705
SP
20837 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20838 constants.
20839 (norm): Likewise.
20840 (denorm): Likewise.
20841 (__dbl_mp): Likewise.
20842 (add_magnitudes): Likewise.
20843 (sub_magnitudes): Likewise.
20844 (__add): Likewise.
20845 (__sub): Likewise.
20846 (__mul): Likewise.
20847 (__sqr): Likewise.
20848 (__inv): Likewise.
20849 (__dvd): Likewise.
20850
e375e83d
SP
20851 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20852 commented code.
20853 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20854 (__dubcos): Likewise.
20855 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20856 (__ieee754_acos): Likewise.
20857 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20858 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20859 (__exp1): Likewise.
20860 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20861 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20862 (log1): Likewise.
20863 (my_log2): Likewise.
20864 (checkint): Likewise.
20865 * sysdeps/ieee754/dbl-64/e_remainder.c
20866 (__ieee754_remainder): Likewise.
20867 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20868 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20869 (bsloww): Likewise.
20870 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20871
6f2e90e7
SP
20872 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20873 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20874 MANTISSA_STORE_T to store computations on mantissa. Use
20875 macros for rounding and division.
20876 (denorm): Likewise.
20877 (__dbl_mp): Likewise.
20878 (add_magnitudes): Likewise.
20879 (sub_magnitudes): Likewise.
20880 (__mul): Likewise.
20881 (__sqr): Likewise.
20882 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20883 powers of two in terms of TWOPOW macro.
20884 (mp_no): Make type of mantissa as MANTISSA_T.
20885 [!RADIXI]: Define RADIXI.
20886 [!TWO52]: Define TWO52.
20887 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20888
fce14d4e
AZ
208892013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20890
20891 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20892 llroundl symbol when building for PPC32.
20893
9ad027fb
MW
208942013-03-24 Mark H Weaver <mhw@netris.org>
20895
20896 * manual/arith.texi (Normalization Functions): Fix prototypes for
20897 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20898
e42a38dd
AZ
208992013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20900
20901 [BZ #13889]
20902 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20903 high value to check if expl overflow.
20904 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20905 to check for underflow and overflow.
20906 * math/libm-test.inc: Add exp test.
20907
2e0fb521
DL
209082013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20909
20910 [BZ #11120]
20911 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20912 with NOT_IN_libc.
20913
b5784d95
AZ
209142013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20915
20916 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20917 symbol.
20918
5aa4a1a1
TS
209192013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20920
bdef0be7
TS
20921 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20922 wrap blocks consisting of several statements.
20923
5aa4a1a1
TS
20924 * sysdeps/generic/math-tests.h: New file.
20925 * sysdeps/i386/fpu/math-tests.h: Likewise.
20926 * math/test-snan.c: Include it.
20927 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20928
98c48fe5
JM
209292013-03-21 Joseph Myers <joseph@codesourcery.com>
20930
20931 [BZ #15285]
20932 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20933 (__ieee754_j0l): Do not improve calculations using cos of twice
20934 input for inputs above LDBL_MAX / 2.0L.
20935 (__ieee754_y0l): Likewise.
20936 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20937 (__ieee754_j1l): Do not improve calculations using cos of twice
20938 input for inputs above LDBL_MAX / 2.0L.
20939 (__ieee754_y1l): Likewise.
20940 * math/libm-test.inc (j0_test): Add another test.
20941 (j1_test): Likewise.
20942 (y0_test): Likewise.
20943 (y1_test): Likewise.
20944 * sysdeps/i386/fpu/libm-test-ulps: Update.
20945
3775a8bc
SP
209462013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20947
20948 * Rules ($(objpfx)bench-%.c): Include code from a C source
20949 file.
20950
0a1b2ae6
JM
209512013-03-21 Joseph Myers <joseph@codesourcery.com>
20952
20953 [BZ #15287]
20954 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20955 imaginary part 1.0 and real part less than 0.5 specially.
20956 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20957 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20958 * math/libm-test.inc (cacos_test): Add more tests.
20959 (casin_test): Likewise.
20960 (casinh_test): Likewise.
20961 * sysdeps/i386/fpu/libm-test-ulps: Update.
20962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20963
b33d4ce4
SP
209642013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20965
20966 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20967 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20968
bef0b507
JM
209692013-03-20 Joseph Myers <joseph@codesourcery.com>
20970
20971 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20972 * config.make.in (config-cflags-sse4): Remove variable.
20973 (config-cflags-avx): Likewise.
20974 (config-cflags-sse2avx): Likewise.
20975 (config-cflags-novzeroupper): Likewise.
20976 (config-asflags-i686): Likewise.
20977 (have-mfma4): Likewise.
20978 (have-as-vis3): Likewise.
20979 (MIG): Likewise.
20980 * configure.in (MIG): Do not AC_SUBST.
20981 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20982 (libc_cv_cc_sse4): Do not AC_SUBST.
20983 (libc_cv_cc_avx): Likewise.
20984 (libc_cv_cc_sse2avx): Likewise.
20985 (libc_cv_cc_novzeroupper): Likewise.
20986 (libc_cv_cc_fma4): Likewise.
20987 (libc_cv_as_i686): Likewise.
20988 (libc_cv_sparc_as_vis3): Likewise.
20989 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20990 LIBC_CONFIG_VAR.
20991 (config-asflags-i686): Likewise.
20992 (config-cflags-avx): Likewise.
20993 (config-cflags-sse2avx): Likewise.
20994 (have-mfma4): Likewise.
20995 (config-cflags-novzeroupper): Likewise.
20996 * sysdeps/mach/configure.in (MIG): Likewise.
20997 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20998 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20999 LIBC_CONFIG_VAR.
21000 (config-cflags-avx): Likewise.
21001 (config-cflags-sse2avx): Likewise.
21002 (have-mfma4): Likewise.
21003 (config-cflags-novzeroupper): Likewise.
21004 * configure: Regenerated.
21005 * sysdeps/i386/configure: Likewise.
21006 * sysdeps/mach/configure: Likewise.
21007 * sysdeps/sparc/configure: Likewise.
21008 * sysdeps/x86_64/configure: Likewise.
21009
912cc4b3
RM
210102013-03-20 Roland McGrath <roland@hack.frob.com>
21011
21012 [BZ #14812]
21013 * locale/programs/localedef.c (options): Put N_ translation marker
21014 on argument names, not just descriptions.
21015
04eed2b0
MS
210162013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21017
21018 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21019
a065ceff
OB
210202013-03-20 Ondřej Bílka <neleai@seznam.cz>
21021
9bb2a810 21022 [BZ #14176]
a065ceff
OB
21023 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21024
a600e5ce
RM
210252013-03-19 Roland McGrath <roland@hack.frob.com>
21026
21027 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21028 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21029 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21030 [!BEFORE_ABORT] (before_abort): New function.
21031 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21032 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21033 (writev_for_fatal): New function.
21034 (WRITEV_FOR_FATAL): New macro; call that.
21035 (backtrace_and_maps): New function.
21036 (BEFORE_ABORT): New macro; call that.
21037 (struct str_list): Type removed.
21038 (__libc_message, __libc_fatal): Functions removed.
21039 Include <sysdeps/posix/libc_fatal.c> instead.
21040
6b18bea6
JM
210412013-03-19 Joseph Myers <joseph@codesourcery.com>
21042
21043 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21044 constants.
21045 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21046 double constants.
21047
aaa8cb4b
AS
210482013-03-19 Andreas Schwab <schwab@suse.de>
21049
44673770
AS
21050 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21051 * sysdeps/gnu/configure: Regenerate.
21052
aaa8cb4b
AS
21053 * configure.in: Substitute libc_cv_rtlddir.
21054 * configure: Regenerate.
21055 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21056 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21057 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21058 * elf/Makefile (install-others, CFLAGS-interp.c)
21059 (ldso_install, common-ldd-rewrite): Likewise.
21060 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21061 $(inst_slibdir)/$(rtld-installed-name).
21062 * scripts/rellns-sh: Add -p option.
21063 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21064 for source.
21065
d3cfc668
SP
210662013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21067
21068 * manual/nptl.texi: Renamed to ...
21069 * manual/threads.texi: ... this.
21070 * manual/Makefile (chapters): Update.
21071
0e2b9cdd
RM
210722013-03-18 Roland McGrath <roland@hack.frob.com>
21073
21074 [BZ #14812]
21075 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21076 on argument names, not just descriptions.
0e2b9cdd
RM
21077 * malloc/memusagestat.c (options): Likewise.
21078 * nss/getent.c (options): Likewise.
63270c24
RM
21079
210802013-03-18 Benno Schulenberg <bensberg@justemail.net>
21081
21082 [BZ #14812]
21083 * iconv/iconv_prog.c (options): Put N_ translation marker
21084 on argument names, not just descriptions.
21085 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 21086
b2e1393c
OB
210872013-03-18 Ondrej Bilka <neleai@seznam.cz>
21088
21089 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21090 implementation which is faster on all x86_64 architectures.
21091 Tested on AMD, Intel Nehalem, SNB, IVB.
21092 * sysdeps/x86_64/strnlen.S: Likewise.
21093
21094 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21095 Remove all multiarch strlen and strnlen versions.
21096 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21097 Remove strlen and strnlen related parts.
21098
21099 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21100 Inline strlen part.
21101 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21102
21103 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21104 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21105 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21106 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21107 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21108 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21109
ec4ff04d
CD
211102013-03-17 Carlos O'Donell <carlos@redhat.com>
21111
21112 * manual/memory.texi (Malloc Tunable Parameters):
21113 Sort parameters alphabetically. Add comments for missing entries.
21114
cd18e90a
DM
211152013-03-17 David S. Miller <davem@davemloft.net>
21116
21117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21118
2a185d32
JM
211192013-03-16 Joseph Myers <joseph@codesourcery.com>
21120
d2f9799e
JM
21121 [BZ #15283]
21122 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21123 for arguments at most half maximum finite value.
21124 * math/libm-test.inc (j0_test): Add more tests.
21125 (j1_test): Likewise.
21126 (y0_test): Likewise.
21127 (y1_test): Likewise.
21128 * sysdeps/i386/fpu/libm-test-ulps: Update.
21129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21130
2a185d32
JM
21131 [BZ #14155]
21132 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21133 1 / x and functions P and Q for arguments above 0x1p256L.
21134 (__ieee754_y0l): Likewise.
21135 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21136 (__ieee754_y1l): Likewise.
21137 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21138 (j1_test): Likewise.
21139 (y0_test): Likewise.
21140 (y1_test): Likewise.
21141
6cbec759
TS
211422013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21143
21144 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21145 variable.
21146
bc16e260
RM
211472013-03-15 Roland McGrath <roland@hack.frob.com>
21148
aefc9b8c
RM
21149 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21150 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21151 zero since it's initialized to EXEC_PAGESIZE.
21152
bc16e260
RM
21153 * sysdeps/unix/sysv/linux/ldsodefs.h
21154 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21155 * sysdeps/generic/ldsodefs.h: ... here.
21156
a57da955
TS
211572013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21158
af00a34d
TS
21159 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21160
495ded2c
TS
21161 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21162 math/test-snan.c.
21163 * math/test-snan.c: Renamed from
21164 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21165 * math/Makefile (tests): Add test-snan.
21166 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21167 test-powerpc-snan.
21168
777b0332
TS
21169 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21170 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21171 functions.
21172 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21173 __builtin_nan family of functions.
21174 * math/libm-test.inc (initialize): Initialize qnan_value with
21175 __builtin_nan family of functions.
21176 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21177 Remove variables.
21178 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21179 Remove functions.
21180 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21181 storage class. Initialize qNaN_var and sNaN_var with
21182 __builtin_nan and __builtin_nans families of functions,
21183 respectively.
21184
64d063b8
TS
21185 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21186 (sqrt_test): Remove duplicate test with qNaN input.
21187 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21188 (round_test, signbit_test, significand_test): Note missing +/-Inf
21189 as well as qNaN tests.
21190
67e971f1
TS
21191 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21192 qNaN_var. Fix a few strings, too.
21193 * math/libm-test.inc (nan_value): Rename to qnan_value.
21194 * math/gen-libm-test.pl (%beautify): Adjust to that.
21195 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21196 * math/test-misc.c (main): Likewise.
21197 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21198 to __qnan_bytes, and __qnan_union, respectively.
21199 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21200 Likewise.
21201 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21202 and lqnanval, respectively.
21203 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21204 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21205 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21206 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21207
64487e12
TS
21208 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21209 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21210 doubles.
21211
e015e27b
TS
21212 * math/test-misc.c (main): Fix copy'n'pastos.
21213 * misc/tst-efgcvt.c (special): Likewise.
21214
a57da955
TS
21215 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21216 Remove declarations.
21217
1e380345
SP
212182013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21219
21220 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21221 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21222 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21223 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21224
ef26eece
AZ
212252013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21226
21227 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21228 macro to return vdso values correctly in IFUNC implementations.
21229 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21230 Optimization by using IFUNC.
21231
8cfdb7e0
SP
212322013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21233 Richard Henderson <rth@redhat.com>
21234 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21235
21236 * Makefile.in (bench): New target.
21237 * NEWS: Mention the benchmark framework.
21238 * Rules (bench): Likewise.
21239 (binaries-bench): Generate binaries for functions to
21240 benchmark.
21241 * benchtests/Makefile: New makefile for benchmark tests.
21242 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21243 programs.
21244 * benchtests/exp-inputs: New input file for EXP function.
21245 * benchtests/pow-inputs: New input file for POW function.
21246 * scripts/bench.pl: New script to generate source files for
21247 benchmark programs.
21248
bcda9880
SP
212492013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21250
d22ca8cd
SP
21251 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21252 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21253 computations on mantissa. Use macros for rounding and
21254 division.
21255 (denorm): Likewise.
21256 (__dbl_mp): Likewise.
21257 (add_magnitudes): Likewise.
21258 (sub_magnitudes): Likewise.
21259 (__mul): Likewise.
21260 (__sqr): Likewise.
21261 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21262 powers of two in terms of TWOPOW macro.
21263 (mp_no): Make type of mantissa as MANTISSA_T.
21264 [!RADIXI]: Define RADIXI.
21265 [!TWO52]: Define TWO52.
21266 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21267
bcda9880
SP
21268 * manual/nptl.texi (cindex): Modify threads to pthreads.
21269
06d5adfb
JM
212702013-03-15 Joseph Myers <joseph@codesourcery.com>
21271
21272 * sysdeps/x86_64/preconfigure: Regenerated.
21273
41c7328e
JM
212742013-03-14 Joseph Myers <joseph@codesourcery.com>
21275
21276 [BZ #14155]
21277 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21278 0x1p28 and above.
21279 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21280 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21281 0x1p28 and above.
21282 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21283 * math/libm-test.inc (j0_test): Do not allow one spurious
21284 underflow exception.
21285 (y1_test): Likewise.
21286
e25cfa60
SP
212872013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21288
0409959c
SP
21289 * manual/Makefile (chapters): Add nptl.
21290 * manual/debug.texi (Debugging Support): Add link to Threads
21291 chapter.
21292 * manual/nptl.texi: New file.
21293
e25cfa60
SP
21294 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21295
58a1335e
PB
212962013-03-14 Petr Baudis <pasky@ucw.cz>
21297
21298 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21299 for non-NULL pointer before the memory validity test. Pointed
21300 out by Holger Brunck <holger.brunck@keymile.com>.
21301
9dc7c64f
AS
213022013-03-13 Andreas Schwab <schwab@suse.de>
21303
21304 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21305 instead of .os.
21306
54206aa6
JM
213072013-03-13 Joseph Myers <joseph@codesourcery.com>
21308
21309 * timezone/zic.c: Update from tzcode 2013b.
21310
e98cdb38
CD
213112013-03-12 Carlos O'Donell <carlos@redhat.com>
21312
21313 * manual/install.texi (Configuring and compiling):
21314 Mention i686 and i586.
21315 * INSTALL: Regenerate.
21316
9967e003
RM
213172013-03-12 Roland McGrath <roland@hack.frob.com>
21318
21319 * sysdeps/init_array/elf-init.c: New file.
21320 * csu/elf-init.c
21321 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21322 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21323
21324 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21325 __gmon_start__ as global, but as static with a .preinit_array pointer.
21326 * sysdeps/init_array/gmon-start.c: New file. Use that.
21327 * sysdeps/init_array/crti.S: New file, empty except for comments.
21328 * sysdeps/init_array/crtn.S: Likewise.
21329
e6b5a293 213302013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
21331
21332 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21333 definining bcopy.
80f844c9
OB
21334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21335 Remove Prefer_SSE_for_memop.
21336 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21337 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21338 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
21339 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21340 memset-x86-64.
80f844c9 21341 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 21342 Remove bzero, memset ifunc support.
80f844c9
OB
21343 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21344 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21345 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21346 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21347
fb6b0fcb
AS
213482013-03-11 Andreas Schwab <schwab@suse.de>
21349
21350 [BZ #15234]
21351 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21352 by SHLIB_COMPAT.
21353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21354 (GLIBC_2.16): Remove pthread_atfork.
21355
3e6bd4b1
PP
213562013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21357
21358 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21359 (ptestcases.h): Likewise.
21360
222d7f00
RM
213612013-03-08 Roland McGrath <roland@hack.frob.com>
21362
21363 * Makeconfig ($(common-objpfx)config.status): Depend on
21364 sysdeps/*/preconfigure{,.in} too.
21365
1ba4f030
JM
213662013-03-08 Joseph Myers <joseph@codesourcery.com>
21367
a222d91a
JM
21368 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21369 (__free_hook): Use void * instead of __malloc_ptr_t.
21370 (__malloc_hook): Likewise.
21371 (__realloc_hook): Likewise.
21372 (__memalign_hook): Likewise.
21373 (__after_morecore_hook): Likewise.
21374 * malloc/arena.c (save_malloc_hook): Likewise.
21375 (save_free_hook): Likewise.
21376 * malloc/hooks.c (malloc_hook_ini): Likewise.
21377 (realloc_hook_ini): Likewise.
21378 (memalign_hook_ini): Likewise.
21379 * malloc/malloc.c (malloc_hook_ini): Likewise.
21380 (realloc_hook_ini): Likewise.
21381 (memalign_hook_ini): Likewise.
21382 (__free_hook): Likewise.
21383 (__malloc_hook): Likewise.
21384 (__realloc_hook): Likewise.
21385 (__memalign_hook): Likewise.
21386 (__libc_malloc): Likewise.
21387 (__libc_free): Likewise.
21388 (__libc_realloc): Likewise.
21389 (__libc_memalign): Likewise.
21390 (__libc_valloc): Likewise.
21391 (__libc_pvalloc): Likewise.
21392 (__libc_calloc): Likewise.
21393 (__posix_memalign): Likewise.
21394 * malloc/morecore.c (__sbrk): Likewise.
21395 (__default_morecore): Likewise.
21396
5cc45e10
JM
21397 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21398
dd54b864
JM
21399 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21400 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21401 __malloc_ptrdiff_t.
21402
1ba4f030
JM
21403 * malloc/malloc.h (__malloc_size_t): Remove macro.
21404 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21405 __malloc_size_t.
21406 (old_memalign_hook): Likewise.
21407 (old_realloc_hook): Likewise.
21408 (struct hdr): Likewise.
21409 (flood): Likewise.
21410 (mallochook): Likewise.
21411 (memalignhook): Likewise.
21412 (reallochook): Likewise.
21413 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21414 (tr_old_realloc_hook): Likewise.
21415 (tr_old_memalign_hook): Likewise.
21416 (tr_mallochook): Likewise.
21417 (tr_reallochook): Likewise.
21418 (tr_memalignhook): Likewise.
21419
edf66e57
AZ
214202013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21421
21422 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21423 default_ldbl_pack and using as default implementation.
21424 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21425 implementation.
21426 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21427 redundant definition.
21428 (ldbl_insert_mantissa): Likewise.
21429 (ldbl_canonicalize): Likewise.
21430 (ldbl_nearbyint): Likewise.
21431 (ldbl_pack): Rename to ldbl_pack_ppc.
21432 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21433 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21434 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21435
6d9145d8
SP
214362013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21437
21438 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21439 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21440 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21441 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21442 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21443 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21444 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21445 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21446
4dd4e157
AJ
214472013-03-07 Andreas Jaeger <aj@suse.de>
21448
21449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21450 bits/mman-linux.h.
21451
adbb8027
SP
214522013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21453
ce544b5b
SP
21454 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21455 Include mpa.h and declare __MPEXP.
21456 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21457 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21458 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21459 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21460 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21461 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21462 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21463
4cc149fd
SP
21464 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21465 (__slowpow): Use long double EXPL and LOGL functions to
21466 compute POW.
21467 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21468 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21469 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21470 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21471 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21472 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21473
e6ebd4a7
SP
21474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21475 intermediate variable to calculate exponent.
21476 (__sqr): Likewise.
21477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21478 Likewise.
21479 (__sqr): Likewise.
21480
82a9811d
SP
21481 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21482 [!NO__SQR]: Define __sqr.
21483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21484 and NO__SQR. Remove all code except __mul and __sqr. Include
21485 sysdeps/ieee754/dbl-64/mpa.c.
21486 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21487
adbb8027
SP
21488 [BZ #12723]
21489 * posix/Makefile (tests): Add tst-pathconf.
21490 * posix/tst-pathconf.c: New test case.
21491 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21492 _PC_PIPE_BUF.
21493 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21494
39120df9
PF
214952013-03-06 Patsy Franklin <pfrankli@redhat.com>
21496
21497 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21498
67525cb8
AJ
214992013-03-06 Andreas Jaeger <aj@suse.de>
21500
664a9ce4
AJ
21501 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21502 definition via __MAP_ANONYMOUS.
21503
8e39047d
AJ
21504 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21505 it's not part of Linux headers.
21506
67525cb8
AJ
21507 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21508 (MAP_HUGE_MASK): Define.
21509
21510 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21511 Define.
21512 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21513 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21514 Define.
21515 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21516 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21517 Define.
21518 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21519 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21520 Define.
21521 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21522
21523 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21524 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21525 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21526 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21527 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21528 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21529
21530 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21531 Handle f2fs.
21532
21533 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21534 Handle f2fs and efivarfs.
21535
21536 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21537 f2fs.
21538
21539 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21540 (EFIVARFS_MAGIC): Add.
21541 (F2FS_LINK_MAX): Add.
21542
e1b42695
PP
215432013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21544
21545 * stdio-common/vfprintf.c: Replace __builtin_expect with
21546 __glibc_unlikely.
21547
2d67d91a
JM
215482013-03-06 Joseph Myers <joseph@codesourcery.com>
21549
21550 [BZ #13550]
21551 * sysdeps/generic/bp-sym.h: Remove file.
21552 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21553 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21554 <bp-sym.h> and <bp-asm.h>.
21555 (__longjmp): Don't use BP_SYM.
21556 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21557 and <bp-asm.h>.
21558 (memcpy): Don't use BP_SYM.
21559 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21560 <bp-sym.h> and <bp-asm.h>.
21561 (memcpy): Don't use BP_SYM.
21562 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21563 <bp-asm.h>.
21564 (memcpy): Don't use BP_SYM.
21565 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21566 <bp-asm.h>.
21567 (memset): Don't use BP_SYM.
21568 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21569 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21570 (__bzero): Don't use BP_SYM.
21571 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21572 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21573 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21574 <bp-sym.h> and <bp-asm.h>.
21575 (memcmp): Don't use BP_SYM. Remove comment about bounded
21576 pointers.
21577 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21578 <bp-sym.h> and <bp-asm.h>.
21579 (memcpy): Don't use BP_SYM.
21580 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21581 <bp-sym.h> and <bp-asm.h>.
21582 (memset): Don't use BP_SYM.
21583 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21584 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21585 (__bzero): Don't use BP_SYM.
21586 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21587 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21588 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21589 <bp-sym.h> and <bp-asm.h>.
21590 (strncmp): Don't use BP_SYM. Remove comment about bounded
21591 pointers.
21592 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21593 <bp-sym.h> and <bp-asm.h>.
21594 (memcpy): Don't use BP_SYM.
21595 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21596 <bp-sym.h> and <bp-asm.h>.
21597 (memset): Don't use BP_SYM.
21598 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21599 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21600 (__bzero): Don't use BP_SYM.
21601 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21602 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21603 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21604 <bp-sym.h> and <bp-asm.h>.
21605 (__memchr): Don't use BP_SYM.
21606 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21607 <bp-sym.h> and <bp-asm.h>.
21608 (memcmp): Don't use BP_SYM. Remove comment about bounded
21609 pointers.
21610 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21611 <bp-sym.h> and <bp-asm.h>.
21612 (memcpy): Don't use BP_SYM.
21613 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21614 <bp-sym.h> and <bp-asm.h>.
21615 (__mempcpy): Don't use BP_SYM.
21616 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21617 <bp-sym.h> and <bp-asm.h>.
21618 (__memrchr): Don't use BP_SYM.
21619 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21620 <bp-sym.h> and <bp-asm.h>.
21621 (memset): Don't use BP_SYM.
21622 (__bzero): Likewise.
21623 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21624 <bp-sym.h> and <bp-asm.h>.
21625 (__rawmemchr): Don't use BP_SYM.
21626 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21627 <bp-sym.h> and <bp-asm.h>.
21628 (__STRCMP): Don't use BP_SYM.
21629 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21630 <bp-sym.h> and <bp-asm.h>.
21631 (strchr): Don't use BP_SYM.
21632 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21633 <bp-sym.h> and <bp-asm.h>.
21634 (__strchrnul): Don't use BP_SYM.
21635 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21636 <bp-sym.h> and <bp-asm.h>.
21637 (strlen): Don't use BP_SYM.
21638 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21639 <bp-sym.h> and <bp-asm.h>.
21640 (strncmp): Don't use BP_SYM. Remove comment about bounded
21641 pointers.
21642 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21643 <bp-sym.h> and <bp-asm.h>.
21644 (__strnlen): Don't use BP_SYM.
21645 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21646 <bp-sym.h> and <bp-asm.h>.
21647 (__GI__setjmp): Don't use BP_SYM.
21648 (_setjmp): Likewise.
21649 (__sigsetjmp): Likewise.
21650 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21651 (L(start_addresses)): Don't use BP_SYM.
21652 (_start): Likewise.
21653 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21654 <bp-asm.h>.
21655 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21656 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21657 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21658 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21659 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21660 <bp-asm.h>.
21661 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21662 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21663 about bounded pointers.
21664 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21665 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21666 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21667 <bp-asm.h>.
21668 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21669 about bounded pointers. Remove GKM FIXME comments.
21670 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21671 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21672 <bp-asm.h>.
21673 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21674 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21675 Remove GKM FIXME comments.
21676 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21677 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21678 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21679 <bp-asm.h>.
21680 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21681 about bounded pointers. Remove GKM FIXME comment.
21682 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21683 and <bp-asm.h>.
21684 (strncmp): Don't use BP_SYM. Remove comment about bounded
21685 pointers.
21686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21687 <bp-sym.h> and <bp-asm.h>.
21688 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21690 <bp-sym.h> and <bp-asm.h>.
21691 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21692 comment.
21693
cdcf361f
PP
216942013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21695
21696 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21697 call free(NULL).
21698
3c4a2b15
DM
216992013-03-05 David S. Miller <davem@davemloft.net>
21700
21701 * po/es.po: Update from translation team.
21702
cdcf361f 217032013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
21704
21705 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21706 <bits/mman-linux.h>.
21707 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21708 is fine.
21709 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21710 <bits/mman-linux.h> to end of file.
21711 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21712 is fine.
21713 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21714 <bits/mman-linux.h> to end of file.
21715 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21716 is fine.
21717 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21718 <bits/mman-linux.h> to end of file.
21719
21720 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21721 (MCL_CURRENT, MCL_FUTURE): Define here.
21722
5f67c04f
AK
217232013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21724
8a4473cc 21725 [BZ #15232]
5f67c04f
AK
21726 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21727 attribute_hidden.
21728 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21729
c3e94a95
AK
217302013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21731
21732 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21733 fourth parameter needed for rt_sigprocmask syscall.
21734 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21735 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21736 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21737 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21738 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21739 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21740
cfb6382a
JM
217412013-03-04 Joseph Myers <joseph@codesourcery.com>
21742
21743 [BZ #13550]
21744 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21745 comment about bounded pointers.
21746 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21747 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21748
539d8e01
AJ
217492013-03-04 Andreas Jaeger <aj@suse.de>
21750
21751 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21752 common definitions.
21753
21754 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21755 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21756 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21757 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21758 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
21759 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21760
2e167a70 217612013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
21762
21763 [BZ #15055]
21764 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21765 __ieee754_sqrl instead of __sqrl.
21766
68508633
JM
217672013-03-01 Joseph Myers <joseph@codesourcery.com>
21768
21769 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21770 * sysdeps/powerpc/fpu_control.h: ... here.
21771 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21772 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21773 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21774 * sysdeps/powerpc/bits/mathinline.h: ... here.
21775
7775448e
RM
217762013-03-01 Roland McGrath <roland@hack.frob.com>
21777
21778 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21779 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21780 to just [NEED_DL_SYSINFO_DSO].
21781 * elf/dl-support.c: Likewise.
21782 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21783 * elf/rtld.c (dl_main): Likewise.
21784 * elf/setup-vdso.h (setup_vdso): Likewise.
21785 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21786 * sysdeps/unix/sysv/linux/dl-sysdep.c
21787 (_dl_discover_osversion): Likewise.
21788
4e9b5995
CD
217892013-03-01 Carlos O'Donell <carlos@redhat.com>
21790
21791 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21792 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21793
e23872c8
SP
217942013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21795
e5c74c63
SP
21796 * NEWS: Mention libm performance improvements and non-x86 PI
21797 futex support.
21798
e23872c8
SP
21799 * csu/libc-start.c (__pthread_initialize_minimal): Change
21800 function arguments.
21801 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21802
b5510883
JM
218032013-02-28 Joseph Myers <joseph@codesourcery.com>
21804
21805 [BZ #13550]
21806 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21807 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21808 <bp-sym.h> and <bp-asm.h>.
21809 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21810 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21811 and <bp-asm.h>.
21812 (memcpy): Don't use BP_SYM.
21813 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21814 <bp-asm.h>.
21815 (__mpn_add_n): Don't use BP_SYM.
21816 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21817 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21818 and <bp-asm.h>.
21819 (__mpn_addmul_1): Don't use BP_SYM.
21820 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21821 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21822 <bp-sym.h>.
21823 (_setjmp): Don't use BP_SYM.
21824 (__novmx_setjmp): Likewise.
21825 (__GI__setjmp): Likewise.
21826 (__vmx_setjmp): Likewise.
21827 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21828 <bp-sym.h>.
21829 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21830 (__bzero): Don't use BP_SYM.
21831 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21832 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21833 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21834 <bp-sym.h> and <bp-asm.h>.
21835 (memcpy): Don't use BP_SYM.
21836 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21837 <bp-sym.h> and <bp-asm.h>.
21838 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21839 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21840 <bp-sym.h> and <bp-asm.h>.
21841 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21842 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21843 <bp-asm.h>.
21844 (__mpn_lshift): Don't use BP_SYM.
21845 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21846 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21847 <bp-asm.h>.
21848 (memset): Don't use BP_SYM.
21849 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21850 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21851 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21852 <bp-asm.h>.
21853 (__mpn_mul_1): Don't use BP_SYM.
21854 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21855 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21856 <bp-sym.h> and <bp-asm.h>.
21857 (memcmp): Don't use BP_SYM.
21858 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21859 <bp-sym.h> and <bp-asm.h>.
21860 (memcpy): Don't use BP_SYM.
21861 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21862 <bp-sym.h> and <bp-asm.h>.
21863 (memset): Don't use BP_SYM.
21864 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21865 <bp-sym.h> and <bp-asm.h>.
21866 (strncmp): Don't use BP_SYM.
21867 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21868 <bp-sym.h> and <bp-asm.h>.
21869 (memcpy): Don't use BP_SYM.
21870 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21871 <bp-sym.h> and <bp-asm.h>.
21872 (memset): Don't use BP_SYM.
21873 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21874 <bp-sym.h> and <bp-asm.h>.
21875 (__memchr): Don't use BP_SYM.
21876 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21877 <bp-sym.h> and <bp-asm.h>.
21878 (memcmp): Don't use BP_SYM.
21879 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21880 <bp-sym.h> and <bp-asm.h>.
21881 (memcpy): Don't use BP_SYM.
21882 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21883 <bp-sym.h> and <bp-asm.h>.
21884 (__mempcpy): Don't use BP_SYM.
21885 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21886 <bp-sym.h> and <bp-asm.h>.
21887 (__memrchr): Don't use BP_SYM.
21888 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21889 <bp-sym.h> and <bp-asm.h>.
21890 (memset): Don't use BP_SYM.
21891 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21892 <bp-sym.h> and <bp-asm.h>.
21893 (__rawmemchr): Don't use BP_SYM.
21894 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21895 <bp-sym.h> and <bp-asm.h>.
21896 (__STRCMP): Don't use BP_SYM.
21897 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21898 <bp-sym.h> and <bp-asm.h>.
21899 (strchr): Don't use BP_SYM.
21900 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21901 <bp-sym.h> and <bp-asm.h>.
21902 (__strchrnul): Don't use BP_SYM.
21903 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21904 <bp-sym.h> and <bp-asm.h>.
21905 (strlen): Don't use BP_SYM.
21906 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21907 <bp-sym.h> and <bp-asm.h>.
21908 (strncmp): Don't use BP_SYM.
21909 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21910 <bp-sym.h> and <bp-asm.h>.
21911 (__strnlen): Don't use BP_SYM.
21912 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21913 <bp-asm.h>.
21914 (__mpn_rshift): Don't use BP_SYM.
21915 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21916 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21917 <bp-sym.h> and <bp-asm.h>.
21918 (__sigsetjmp): Don't use BP_SYM.
21919 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21920 (L(start_addresses)): Don't use BP_SYM.
21921 (_start): Likewise.
21922 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21923 <bp-asm.h>.
21924 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21925 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21926 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21927 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21928 <bp-asm.h>.
21929 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21930 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21931 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21932 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21933 <bp-asm.h>.
21934 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21935 comments.
21936 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21937 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21938 <bp-asm.h>.
21939 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21940 FIXME comments.
21941 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21942 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21943 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21944 <bp-asm.h>.
21945 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21946 comment.
21947 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21948 and <bp-asm.h>.
21949 (strncmp): Don't use BP_SYM,
21950 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21951 <bp-asm.h>.
21952 (__mpn_sub_n): Don't use BP_SYM.
21953 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21954 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21955 and <bp-asm.h>.
21956 (__mpn_submul_1): Don't use BP_SYM.
21957 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21959 <bp-sym.h> and <bp-asm.h>.
21960 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21962 <bp-sym.h> and <bp-asm.h>.
21963 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21964 comment.
21965
8d19fe64
SP
219662013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21967
21968 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21969 Use ZK to minimize writes to Z.
21970 (sub_magnitudes): Simplify code a bit.
21971 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21972 Use ZK to minimize writes to Z.
21973 (sub_magnitudes): Simplify code a bit.
21974
85bd816a
RM
219752013-02-27 Roland McGrath <roland@hack.frob.com>
21976
21977 * csu/gmon-start.c: Add special exception to license text.
21978
b5977bf2
RH
219792013-02-27 Richard Henderson <rth@redhat.com>
21980
21981 * scripts/config.guess: Update from config.git.
21982 * scripts/config.sub: Likewise.
21983
11d6e2f2
SP
219842013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21985
09c14ed2
SP
21986 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21987
a688864e
SP
21988 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21989
6295157a
SP
21990 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21991
b8de2202
SP
21992 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21993
11d6e2f2
SP
21994 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21995
7e80ddb8
RM
219962013-02-26 Roland McGrath <roland@hack.frob.com>
21997
21998 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21999 [$(build-shared = yes].
7e80ddb8 22000
7da6d9ed
SP
220012013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22002
45f05884
SP
22003 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22004 (__mul): Reduce iterations for calculating mantissa.
22005
2236d359
SP
22006 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22007 MPTWO.
22008 (__mpranred): Likewise.
22009
7da6d9ed
SP
22010 [BZ #15160]
22011 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22012 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22013
b7688c42
PE
220142013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22015
22016 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22017 Define __attribute__.
22018
53a5c423
SP
220192013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22020
22021 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22022 unused.
22023 * posix/regex_internal.h (__attribute): Remove.
22024 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22025 (re_string_context_at): Likewise.
22026 (bitset_not): Use __attribute__ and mark function as possibly
22027 unused.
22028 (bitset_merge): Likewise.
22029 (bitset_mask): Likewise.
22030 (re_string_char_size_at): Likewise.
22031 (re_string_wchar_at): Likewise.
22032 (re_string_elem_size_at): Likewise.
22033
60f5a8b5
SP
220342013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22035
2a983a2e
SP
22036 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22037 code.
22038 (cc32): Likewise.
22039
e69804d1
SP
22040 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22041 (__acr): Likewise.
22042 (__cpy): Likewise.
22043 (norm): Likewise.
22044 (denorm): Likewise.
22045 (__dbl_mp): Likewise.
22046 (add_magnitudes): Likewise.
22047 (sub_magnitudes): Likewise.
22048 (__mul): Likewise.
22049 (__inv): Likewise.
22050
2f22a1e8
SP
22051 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22052 style.
22053
8930ddc7
SP
22054 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22055 style.
22056
dc60cb11
SP
22057 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22058 code.
22059
60f5a8b5
SP
22060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22061 up changes with default code.
22062 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22063 Likewise.
22064
b4d1fd33
AM
220652013-02-24 Allan McRae <allan@archlinux.org>
22066
faf6f8bc
AM
22067 * manual/socket.texi (The Internet Namespace): Order menu items
22068 to match that in the file.
22069
b4d1fd33
AM
22070 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22071 node listing of the info page menu.
22072
2366713d
JM
220732013-02-21 Joseph Myers <joseph@codesourcery.com>
22074
22075 [BZ #13550]
22076 * sysdeps/i386/bp-asm.h: Remove file.
22077 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22078 (PARMS): Do not use macros from bp-asm.h.
22079 (S1): Likewise.
22080 (S2): Likewise.
22081 (SIZE): Likewise.
22082 (__mpn_add_n): Do not use BP_SYM
22083 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22084 "bp-asm.h".
22085 (PARMS): Do not use macros from bp-asm.h.
22086 (S1): Likewise.
22087 (SIZE): Likewise.
22088 (__mpn_addmul_1): Do not use BP_SYM
22089 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22090 "bp-asm.h".
22091 (PARMS): Do not use macros from bp-asm.h.
22092 (SIGMSK): Likewise.
22093 (_setjmp): Likewise. Do not use BP_SYM.
22094 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22095 "bp-asm.h".
22096 (PARMS): Do not use macros from bp-asm.h.
22097 (SIGMSK): Likewise.
22098 (setjmp): Likewise. Do not use BP_SYM.
22099 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22100 "bp-asm.h".
22101 (PARMS): Do not use macros from bp-asm.h.
22102 (__frexp): Do not use BP_SYM.
22103 (frexp): Likewise.
22104 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22105 "bp-asm.h".
22106 (PARMS): Do not use macros from bp-asm.h.
22107 (__frexpf): Do not use BP_SYM.
22108 (frexpf): Likewise.
22109 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22110 "bp-asm.h".
22111 (PARMS): Do not use macros from bp-asm.h.
22112 (__frexpl): Do not use BP_SYM.
22113 (frexpl): Likewise.
22114 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22115 "bp-asm.h".
22116 (PARMS): Do not use macros from bp-asm.h.
22117 (__remquo): Do not use BP_SYM.
22118 (remquo): Likewise.
22119 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22120 "bp-asm.h".
22121 (PARMS): Do not use macros from bp-asm.h.
22122 (__remquof): Do not use BP_SYM.
22123 (remquof): Likewise.
22124 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22125 "bp-asm.h".
22126 (PARMS): Do not use macros from bp-asm.h.
22127 (__remquol): Do not use BP_SYM.
22128 (remquol): Likewise.
22129 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22130 "bp-asm.h".
22131 (PARMS): Do not use macros from bp-asm.h.
22132 (DEST): Likewise.
22133 (SRC): Likewise.
22134 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22135 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22136 "bp-asm.h".
22137 (PARMS): Do not use macros from bp-asm.h.
22138 (strlen): Do not use BP_SYM.
22139 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22140 "bp-asm.h".
22141 (PARMS): Do not use macros from bp-asm.h.
22142 (S1): Likewise.
22143 (S2): Likewise.
22144 (SIZE): Likewise.
22145 (__mpn_add_n): Do not use BP_SYM.
22146 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22147 "bp-asm.h".
22148 (PARMS): Do not use macros from bp-asm.h.
22149 (S1): Likewise.
22150 (SIZE): Likewise.
22151 (__mpn_addmul_1): Do not use BP_SYM.
22152 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22153 weak_alias.
22154 (bzero): Likewise.
22155 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22156 "bp-asm.h".
22157 (PARMS): Do not use macros from bp-asm.h.
22158 (S): Likewise.
22159 (SIZE): Likewise.
22160 (__mpn_lshift): Do not use BP_SYM.
22161 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22162 "bp-asm.h".
22163 (PARMS): Do not use macros from bp-asm.h.
22164 (DEST): Likewise.
22165 (SRC): Likewise.
22166 (LEN): Likewise.
22167 (memcpy): Likewise. Do not use BP_SYM.
22168 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22169 libc_hidden_def and weak_alias.
22170 (mempcpy): Do not use BP_SYM in weak_alias.
22171 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22172 "bp-asm.h".
22173 (PARMS): Do not use macros from bp-asm.h.
22174 (DEST): Likewise.
22175 (LEN): Likewise.
22176 [!BZERO_P] (CHR): Likewise.
22177 (memset): Likewise. Do not use BP_SYM.
22178 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22179 "bp-asm.h".
22180 (PARMS): Do not use macros from bp-asm.h.
22181 (S1): Likewise.
22182 (SIZE): Likewise.
22183 (__mpn_mul_1): Do not use BP_SYM.
22184 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22185 "bp-asm.h".
22186 (PARMS): Do not use macros from bp-asm.h.
22187 (S): Likewise.
22188 (SIZE): Likewise.
22189 (__mpn_rshift): Do not use BP_SYM.
22190 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22191 "bp-asm.h".
22192 (PARMS): Do not use macros from bp-asm.h.
22193 (STR): Likewise.
22194 (CHR): Likewise.
22195 (strchr): Likewise. Do not use BP_SYM.
22196 (index): Do not use BP_SYM in weak_alias.
22197 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22198 "bp-asm.h".
22199 (PARMS): Do not use macros from bp-asm.h.
22200 (DEST): Likewise.
22201 (SRC): Likewise.
22202 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22203 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22204 "bp-asm.h".
22205 (PARMS): Do not use macros from bp-asm.h.
22206 (strlen): Do not use BP_SYM.
22207 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22208 "bp-asm.h".
22209 (PARMS): Do not use macros from bp-asm.h.
22210 (S1): Likewise.
22211 (S2): Likewise.
22212 (SIZE): Likewise.
22213 (__mpn_sub_n): Do not use BP_SYM.
22214 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22215 "bp-asm.h".
22216 (PARMS): Do not use macros from bp-asm.h.
22217 (S1): Likewise.
22218 (SIZE): Likewise.
22219 (__mpn_submul_1): Do not use BP_SYM.
22220 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22221 "bp-asm.h".
22222 (PARMS): Do not use macros from bp-asm.h.
22223 (S1): Likewise.
22224 (S2): Likewise.
22225 (SIZE): Likewise.
22226 (__mpn_add_n): Do not use BP_SYM.
22227 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22228 weak_alias.
22229 (bzero): Likewise.
22230 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22231 "bp-asm.h".
22232 (PARMS): Do not use macros from bp-asm.h.
22233 (BLK2): Likewise.
22234 (LEN): Likewise.
22235 (memcmp): Do not use BP_SYM.
22236 (bcmp): Do not use BP_SYM in weak_alias.
22237 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22238 "bp-asm.h".
22239 (PARMS): Do not use macros from bp-asm.h.
22240 (DEST): Likewise.
22241 (SRC): Likewise.
22242 (LEN): Likewise.
22243 (memcpy): Likewise. Do not use BP_SYM.
22244 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22245 "bp-asm.h".
22246 (PARMS): Do not use macros from bp-asm.h.
22247 (DEST): Likewise.
22248 (SRC): Likewise.
22249 (LEN): Likewise.
22250 (memmove): Likewise. Do not use BP_SYM.
22251 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22252 "bp-asm.h".
22253 (PARMS): Do not use macros from bp-asm.h.
22254 (DEST): Likewise.
22255 (SRC): Likewise.
22256 (LEN): Likewise.
22257 (__mempcpy): Likewise. Do not use BP_SYM.
22258 (mempcpy): Do not use BP_SYM in weak_alias.
22259 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22260 "bp-asm.h".
22261 (PARMS): Do not use macros from bp-asm.h.
22262 (DEST): Likewise.
22263 (LEN): Likewise.
22264 [!BZERO_P] (CHR): Likewise.
22265 (memset): Likewise. Do not use BP_SYM.
22266 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22267 "bp-asm.h".
22268 (PARMS): Do not use macros from bp-asm.h.
22269 (STR2): Likewise.
22270 (strcmp): Do not use BP_SYM.
22271 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22272 "bp-asm.h".
22273 (PARMS): Do not use macros from bp-asm.h.
22274 (STR): Likewise.
22275 (DELIM): Likewise.
22276 [USE_AS_STRTOK_R] (SAVE): Likewise.
22277 (FUNCTION): Likewise. Do not use BP_SYM.
22278 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22279 aliases.
22280 (strtok_r): Likewise.
22281 (__GI___strtok_r): Likewise.
22282 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22283 (PARMS): Do not use macros from bp-asm.h.
22284 (S): Likewise.
22285 (SIZE): Likewise.
22286 (__mpn_lshift): Do not use BP_SYM.
22287 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22288 (PARMS): Do not use macros from bp-asm.h.
22289 (STR): Likewise.
22290 (CHR): Likewise.
22291 (__memchr): Do not use BP_SYM.
22292 (memchr): Do not use BP_SYM in weak_alias.
22293 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22294 (PARMS): Do not use macros from bp-asm.h.
22295 (BLK2): Likewise.
22296 (LEN): Likewise.
22297 (memcmp): Do not use BP_SYM.
22298 (bcmp): Do not use BP_SYM in weak_alias.
22299 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22300 (PARMS): Do not use macros from bp-asm.h.
22301 (S1): Likewise.
22302 (SIZE): Likewise.
22303 (__mpn_mul_1): Do not use BP_SYM.
22304 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22305 "bp-asm.h".
22306 (PARMS): Do not use macros from bp-asm.h.
22307 (STR): Likewise.
22308 (CHR): Likewise.
22309 (__rawmemchr): Do not use BP_SYM.
22310 (rawmemchr): Do not use BP_SYM in weak_alias.
22311 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22312 (PARMS): Do not use macros from bp-asm.h.
22313 (S): Likewise.
22314 (SIZE): Likewise.
22315 (__mpn_rshift): Do not use BP_SYM.
22316 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22317 (PARMS): Do not use macros from bp-asm.h.
22318 (SIGMSK): Likewise.
22319 (__sigsetjmp): Likewise. Do not use BP_SYM.
22320 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22321 (_start): Do not use BP_SYM.
22322 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22323 (PARMS): Do not use macros from bp-asm.h.
22324 (DEST): Likewise.
22325 (SRC): Likewise.
22326 (__stpcpy): Likewise. Do not use BP_SYM.
22327 (stpcpy): Do not use BP_SYM in weak_alias.
22328 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22329 "bp-asm.h".
22330 (PARMS): Do not use macros from bp-asm.h.
22331 (DEST): Likewise.
22332 (SRC): Likewise.
22333 (LEN): Likewise.
22334 (__stpncpy): Likewise. Do not use BP_SYM.
22335 (stpncpy): Do not use BP_SYM in weak_alias.
22336 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22337 (PARMS): Do not use macros from bp-asm.h.
22338 (STR): Likewise.
22339 (CHR): Likewise.
22340 (strchr): Likewise. Do not use BP_SYM.
22341 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22342 "bp-asm.h".
22343 (PARMS): Do not use macros from bp-asm.h.
22344 (STR): Likewise.
22345 (CHR): Likewise.
22346 (__strchrnul): Likewise. Do not use BP_SYM.
22347 (strchrnul): Do not use BP_SYM in weak_alias.
22348 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22349 "bp-asm.h".
22350 (PARMS): Do not use macros from bp-asm.h.
22351 (STOP): Likewise.
22352 (strcspn): Do not use BP_SYM.
22353 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22354 "bp-asm.h".
22355 (PARMS): Do not use macros from bp-asm.h.
22356 (STR): Likewise.
22357 (STOP): Likewise.
22358 (strpbrk): Likewise. Do not use BP_SYM.
22359 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22360 "bp-asm.h".
22361 (PARMS): Do not use macros from bp-asm.h.
22362 (STR): Likewise.
22363 (CHR): Likewise.
22364 (strrchr): Likewise. Do not use BP_SYM.
22365 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22366 (PARMS): Do not use macros from bp-asm.h.
22367 (SKIP): Likewise.
22368 (strspn): Do not use BP_SYM.
22369 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22370 (PARMS): Do not use macros from bp-asm.h.
22371 (STR): Likewise.
22372 (DELIM): Likewise.
22373 (SAVE): Likewise.
22374 (FUNCTION): Likewise. Do not use BP_SYM.
22375 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22376 aliases.
22377 (strtok_r): Likewise.
22378 (__GI___strtok_r): Likewise.
22379 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22380 (PARMS): Do not use macros from bp-asm.h.
22381 (S1): Likewise.
22382 (S2): Likewise.
22383 (SIZE): Likewise.
22384 (__mpn_sub_n): Do not use BP_SYM.
22385 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22386 "bp-asm.h".
22387 (PARMS): Do not use macros from bp-asm.h.
22388 (S1): Likewise.
22389 (SIZE): Likewise.
22390 (__mpn_submul_1): Do not use BP_SYM.
22391 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22392 <bp-sym.h>.
22393 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22394 and <bp-asm.h>.
22395 (PARMS): Do not use macros from bp-asm.h.
22396 (FLAGS): Likewise.
22397 (PTID): Likewise.
22398 (TLS): Likewise.
22399 (CTID): Likewise.
22400 (__clone): Do not use BP_SYM.
22401 (clone): Do not use BP_SYM in weak_alias.
22402 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22403 and <bp-asm.h>.
22404 (PARMS): Do not use macros from bp-asm.h.
22405 (LEN): Likewise.
22406 (__mmap64): Do not use BP_SYM.
22407 (mmap64): Do not use BP_SYM in weak_alias.
22408 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22409 <bp-sym.h> and <bp-asm.h>.
22410 (PARMS): Do not use macros from bp-asm.h.
22411 (__posix_fadvise64_l64): Do not use BP_SYM.
22412 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22413 (PARMS): Do not use macros from bp-asm.h.
22414 (NSOPS): Likewise.
22415 (semtimedop): Do not use BP_SYM.
22416 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22417 and <bp-asm.h>.
22418
582a3cff
AM
224192013-02-21 Allan McRae <allan@archlinux.org>
22420
22421 * manual/message.texi (Charset conversion in gettext):
22422 Move @end statement to beginning of line.
22423
bab8a695
SP
224242013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22425
80945231
SP
22426 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22427 static.
22428 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22429 Likewise.
22430
bab8a695
SP
22431 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22432 (denorm): Likewise.
22433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22435
e21d7aa7
AK
224362013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22437
22438 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22439 tail-call to the resolved function if pltexit isn't needed.
22440
4c7a4263
SP
224412013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22442
22443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22444 or Y being zero as being unlikely.
22445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22446 Likewise.
22447
41f49342
CD
224482013-02-20 Carlos O'Donell <carlos@redhat.com>
22449
22450 * manual/nss.texi (System Databases and Name Service Switch):
22451 Remove frobnicate @pxref.
22452
50022a93
TS
224532013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22454
22455 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22456 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22457
08cbd996
PM
224582013-02-20 Petr Machata <pmachata@redhat.com>
22459
22460 * elf/elf.h (R_ARM_TARGET1): New macro.
22461 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22462 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22463 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22464 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22465 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22466 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22467 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22468 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22469 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22470 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22471 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22472 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22473 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22474 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22475 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22476 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22477 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22478 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22479 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22480 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22481 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22482 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22483 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22484 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22485 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22486 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22487 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22488 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22489 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22490 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22491 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22492 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22493 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22494 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22495 (R_ARM_THM_GOT_BREL12): Likewise.
22496 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22497 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22498 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22499 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22500 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22501 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22502 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22503 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22504 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22505
c7b275d6
TS
225062013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22507
22508 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22509 __attribute_used__ to __attribute__ ((unused)).
22510
20cd7fb3
SP
225112013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22512
22513 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22514 powerpc mpa.c.
22515 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22516 comment formatting.
22517 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22518
92945b52
JM
225192013-02-19 Joseph Myers <joseph@codesourcery.com>
22520
22521 [BZ #13550]
22522 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22523 Remove macro.
22524 (ENTER): Remove both macro definitions.
22525 (LEAVE): Likewise.
22526 (CHECK_BOUNDS_LOW): Likewise.
22527 (CHECK_BOUNDS_HIGH): Likewise.
22528 (CHECK_BOUNDS_BOTH): Likewise.
22529 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22530 (RETURN_BOUNDED_POINTER): Likewise.
22531 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22532 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22533 (POP_ERRNO_LOCATION_RETURN): Likewise.
22534 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22535 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22536 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22537 macros.
22538 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22539 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22540 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22541 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22542 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22543 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22544 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22545 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22546 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22547 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22548 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22549 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22550 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22551 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22552 removed macros.
22553 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22554 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22555 macros.
22556 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22557 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22558 * sysdeps/i386/i586/memset.S (memset): Likewise.
22559 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22560 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22561 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22562 macros.
22563 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22564 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22565 Change uses of L(2) to L(out).
22566 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22567 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22568 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22569 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22570 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22571 removed macros.
22572 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22573 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22574 macros.
22575 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22576 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22577 (RETURN): Do not use macro LEAVE.
22578 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22579 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22580 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22581 * sysdeps/i386/i686/memset.S (memset): Likewise.
22582 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22583 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22584 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22585 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22586 Likewise.
22587 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22588 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22589 L(1_2) and L(1_3) into L(1).
22590 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22591 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22592 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22593 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22594 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22595 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22596 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22597 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22598 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22599 macros.
22600 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22601 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22602 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22603 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22604 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22605 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22606 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22607 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22608 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22609 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22610 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22611 * sysdeps/i386/strspn.S (strspn): Likewise.
22612 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22613 conditional code.
22614 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22615 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22616 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22617 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22618 L(1_3) into L(1_1).
22619 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22620 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22621 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22622 macros.
22623 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22624
2389741a
JJ
226252013-02-19 Jakub Jelinek <jakub@redhat.com>
22626
22627 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22628 macro.
22629
2016b3cd
SP
226302013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22631
e4f22324
SP
22632 * math/atest-exp.c (exp_mpn): Remove ROUND.
22633 * math/atest-exp2.c (exp_mpn): Likewise.
22634 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22635
2016b3cd
SP
22636 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22637 * stdlib/tst-tls-atexit-lib.c: Likewise.
22638 * stdlib/tst-tls-atexit.c: Likewise.
22639
4be9b544
MF
226402013-02-18 Mike Frysinger <vapier@gentoo.org>
22641
22642 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22643 and __attribute_alloc_size__.
22644
2f62b9ee
MF
226452013-02-18 Mike Frysinger <vapier@gentoo.org>
22646
22647 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22648 __attribute_alloc_size__.
22649 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22650 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22651
6ff444c4
MF
226522013-02-18 Mike Frysinger <vapier@gentoo.org>
22653
22654 * include/programs/xmalloc.h: New file.
22655 * catgets/gencat.c: Include it.
22656 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22657 * elf/pldd.c: Likewise.
22658 * iconv/iconv_charmap.c: Likewise.
22659 * iconv/iconvconfig.c: Likewise.
22660 * iconv/strtab.c: Likewise.
22661 * locale/programs/locale.c: Likewise.
22662 * locale/programs/localedef.h: Likewise.
22663 * locale/programs/simple-hash.c: Likewise.
22664 * nscd/nscd.h: Likewise.
22665 * nss/makedb.c: Likewise.
22666 * sysdeps/generic/ldconfig.h: Likewise.
22667
be179c8a
SP
226682013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22669
ba384f6e
SP
22670 * Versions.def: Add GLIBC_2.18.
22671 * include/link.h (struct link_map): New member l_tls_dtor_count.
22672 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22673 (__call_tls_dtors): Likewise.
22674 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22675 __cxa_thread_atexit_impl.
22676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22677 Likewise.
22678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22679 Likewise.
22680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22681 Likewise.
22682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22683 Likewise.
22684 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22686 Likewise.
22687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22688 Likewise.
22689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22691 Likewise.
22692 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22693 (tests): Add test case tst-tls-atexit.
22694 (modules-names): Add shared library for tst-tls-atexit.
85891aca 22695 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
22696 (GLIBC_PRIVATE): Add __call_tls_dtors.
22697 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22698 for libstdc++.
22699 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22700 * stdlib/tst-tls-atexit.c: New test case.
22701 * stdlib/tst-tls-atexit-lib.c: New test case.
22702
ffaa74cf 22703 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 22704
be179c8a
SP
22705 * elf/Versions (ld): Add _dl_find_dso_for_object.
22706 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22707 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22708 (dl_open_worker): Use _dl_find_dso_for_object.
22709 * elf/dl-sym.c (do_sym): Likewise.
22710 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22711
f78b5caa
AK
227122013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22713
22714 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22715 Syntactic changes only.
22716 (_dl_runtime_profile): Do a tail-call to the resolved function.
22717
29691210
JM
227182013-02-17 Joseph Myers <joseph@codesourcery.com>
22719
22720 [BZ #13550]
22721 * sysdeps/x86_64/bp-asm.h: Remove file.
22722 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22723 <bp-sym.h> and <bp-asm.h>.
22724 (__clone): Do not use BP_SYM.
22725 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22726 <bp-sym.h> and <bp-asm.h>.
22727 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22728 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22729 "bp-asm.h".
22730 (_setjmp): Do not use BP_SYM.
22731 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22732 "bp-asm.h".
22733 (setjmp): Do not use BP_SYM.
22734 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22735 libc_hidden_def.
22736 (mempcpy): Do not use BP_SYM in weak_alias.
22737 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22738 "bp-asm.h".
22739 (strchr): Do not use BP_SYM.
22740 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22741 "bp-asm.h".
22742 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22743 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22744 (_start): Do not use BP_SYM.
22745 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22746 "bp-asm.h".
22747 (strcat): Do not use BP_SYM.
22748 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22749 "bp-asm.h".
22750 (STRCMP): Do not use BP_SYM.
22751 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22752 "bp-asm.h".
22753 (STRCPY): Do not use BP_SYM.
22754 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22755 "bp-asm.h".
22756 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22757 "bp-asm.h".
22758 (FUNCTION): Do not use BP_SYM.
22759 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22760 weak_alias.
22761 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22762
f238fd19
AJ
227632013-02-17 Andreas Jaeger <aj@suse.de>
22764
22765 * time/Versions: Sort entries.
22766 * string/Versions: Likewise.
22767 * resolv/Versions: Likewise.
22768 * posix/Versions: Likewise.
22769 * iconv/Versions: Likewise.
22770 * elf/Versions: Likewise.
22771 * wcsmbs/Versions: Likewise.
22772
bd07f23c 227732013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 22774
22af19f9
SP
22775 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22776 loop termination condition.
22777
4709fe76
SP
22778 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22779 variable to calculate EZ.
22780 (__sqr): Likewise.
2d0e0f29
SP
22781
22782 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22783 the lower precision input.
22784
daaa7713
JM
227852013-02-15 Joseph Myers <joseph@codesourcery.com>
22786
22787 [BZ #13550]
22788 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22789 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22790 (run-via-rtld-prefix): Do not handle %-bp tests.
22791 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22792 (all-object-suffixes): Remove .ob.
22793 (bppfx): Remove variable.
22794 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22795 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22796 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22797 [$(build-bounded) = yes] (libtype.ob): Likewise.
22798 * Makerules (elide-routines.ob): Remove variable.
22799 (do-tests-clean): Do not handle *-bp.out.
22800 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22801 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22802 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22803 (tests): Do not include $(tests-bp.out).
22804 (xtests): Do not include $(xtests-bp.out).
22805 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22806 [$(build-bounded) = yes] ($(addprefix
22807 $(objpfx),$(binaries-bounded))): Remove rule.
22808 ($(objpfx)%-bp.out): Remove rule.
22809 * config.make.in (build-bounded): Remove variable.
22810 * crypt/Makefile [$(build-bounded) = yes]
22811 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22812 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22813 append to variable.
22814 [$(build-bounded) = yes] (install-lib): Likewise.
22815 [$(build-bounded) = yes] (generated): Likewise.
22816 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22817 Remove rule.
22818 * intl/Makefile [$(build-bounded) = yes]
22819 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22820 * math/Makefile [$(build-bounded) = yes]
22821 ($(tests:%=$(objpfx)%-bp): Likewise.
22822 * misc/Makefile [$(build-bounded) = yes]
22823 ($(objpfx)tst-tsearch-bp): Likewise.
22824 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22825 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22826 Remove dependency.
22827 * string/Makefile (o-objects.ob): Remove variable.
22828 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22829 (CFLAGS-.ob): Remove variable.
22830 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22831 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22832 both definitions of variable.
22833 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22834 (ASFLAGS-.ob): Remove variable.
22835
e97ed6dd
JM
228362013-02-14 Joseph Myers <joseph@codesourcery.com>
22837
2bdd4ca6
JM
22838 [BZ #13550]
22839 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22840 Remove __BOUNDED_POINTERS__ from condition.
22841 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22842 * string/bits/string2.h [!__NO_STRING_INLINES &&
22843 !__BOUNDED_POINTERS__]: Likewise.
22844 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22845 Likewise.
22846 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22847 Remove conditional code.
22848 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22849 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22850 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22851 condition.
22852
e97ed6dd
JM
22853 [BZ #13550]
22854 * csu/libc-start.c: Do not include <bp-sym.h>.
22855 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22856 * elf/dl-open.c: Do not include <bp-sym.h>.
22857 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22858 * math/fegetenv.c: Do not include <bp-sym.h>.
22859 (fegetenv): Do not use BP_SYM in versioned symbols.
22860 * nptl/sysdeps/pthread/bits/libc-lockP.h
22861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22862 <bp-sym.h>.
22863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22864 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22866 (__pthread_mutex_destroy): Likewise.
22867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22868 (__pthread_mutex_lock): Likewise.
22869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22870 (__pthread_mutex_trylock): Likewise.
22871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22872 (__pthread_mutex_unlock): Likewise.
22873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22874 (__pthread_mutexattr_init): Likewise.
22875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22876 (__pthread_mutexattr_destroy): Likewise.
22877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22878 (__pthread_mutexattr_settype): Likewise.
22879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22880 (__pthread_rwlock_init): Likewise.
22881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22882 (__pthread_rwlock_destroy): Likewise.
22883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22884 (__pthread_rwlock_rdlock): Likewise.
22885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22886 (__pthread_rwlock_tryrdlock): Likewise.
22887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22888 (__pthread_rwlock_wrlock): Likewise.
22889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22890 (__pthread_rwlock_trywrlock): Likewise.
22891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22892 (__pthread_rwlock_unlock): Likewise.
22893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22894 (__pthread_key_create): Likewise.
22895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22896 (__pthread_setspecific): Likewise.
22897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22898 (__pthread_getspecific): Likewise.
22899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22900 Likewise.
22901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22902 (_pthread_cleanup_push_defer): Likewise.
22903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22904 (_pthread_cleanup_pop_restore): Likewise.
22905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22906 (pthread_setcancelstate): Likewise.
22907 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22908 <bp-sym.h>.
22909 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22910 (memchr): Do not use BP_SYM in weak_alias.
22911 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22912 (fegetenv): Do not use BP_SYM in versioned symbols.
22913 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22914 (fesetenv): Do not use BP_SYM in versioned symbols.
22915 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22916 (feupdateenv): Do not use BP_SYM in versioned symbols.
22917 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22918 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22919 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22920 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22921 (open64): Do not use BP_SYM in weak_alias.
22922 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22923 (fegetenv): Do not use BP_SYM in versioned symbols.
22924 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22925 (fesetenv): Do not use BP_SYM in versioned symbols.
22926 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22927 (feupdateenv): Do not use BP_SYM in versioned symbols.
22928 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22929 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22930 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22931 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22932 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22933 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22934 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22935 <bp-sym.h>.
22936 (__libc_start_main): Do not use BP_SYM.
22937
d6752ccd
SP
229382013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22939
cb57ce60
SP
22940 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22941 redundant return line.
22942 (norm): Likewise.
22943 (denorm): Likewise.
22944 (dbl_mp): Likewise.
22945 (sub_magnitudes): Likewise.
22946 (__add): Likewise.
22947 (__sub): Likewise.
22948 (__mul): Likewise.
22949 (__inv): Likewise.
22950 (__dvd): Likewise.
22951 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22952 (norm): Likewise.
22953 (denorm): Likewise.
22954 (dbl_mp): Likewise.
22955 (sub_magnitudes): Likewise.
22956 (__add): Likewise.
22957 (__sub): Likewise.
22958 (__mul): Likewise.
22959 (__inv): Likewise.
22960 (__dvd): Likewise.
22961
f414520d
SP
22962 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22963 instead of __mul.
22964 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22965 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22966 (cc32): Likewise.
22967
d6752ccd
SP
22968 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22969 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22970 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22971 of __mul for squares.
22972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22973 function
22974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22975 Likewise.
22976 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22977 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22978
70d9946a
JM
229792013-02-13 Joseph Myers <joseph@codesourcery.com>
22980
22981 [BZ #13550]
22982 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22983 code.
22984 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22985 prototype or function definition. Rename ubp_* variables and
22986 parameters. Remove argv definitions conditional on
22987 [__BOUNDED_POINTERS__].
22988 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22989 * elf/dl-runtime.c (_dl_fixup): Likewise.
22990 * include/set-hooks.h (RUN_HOOK): Likewise.
22991 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22992 definition.
22993 * string/strcpy.c (strcpy): Do not use __unbounded.
22994 * sysdeps/generic/frame.h (struct layout): Likewise.
22995 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22996 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22997 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22998 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22999 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23000 (__backtrace): Likewise.
23001 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23002 use __ptrvalue.
23003 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23004 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23005 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23006 Likewise.
23007 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23008 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23009 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23010 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23011 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23012 Do not use __unbounded.
23013 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23014 Rename __unboundedrlimits parameter to rlimits in prototype.
23015 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23016 Do not use __unbounded.
23017 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23018 not use __ptrvalue.
23019 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23020 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23021 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23022 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23023 __ptrvalue or __unbounded.
23024 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23025 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23026 use __unbounded.
23027 (__new_msgctl): Do not use __ptrvalue.
23028 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23029 __unbounded.
23030 (__libc_msgrcv): Do not use __ptrvalue.
23031 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23032 startup_info): Do not use __unbounded.
23033 (__libc_start_main): Likewise. Rename ubp_* variables and
23034 parameters. Remove argv definitions conditional on
23035 [__BOUNDED_POINTERS__].
23036 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23037 __ptrvalue.
23038 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23039 use __unbounded.
23040 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23041 or __ptrvalue.
23042 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23043 use __unbounded.
23044 (__new_shmctl): Do not use __ptrvalue.
23045 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23046 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23047 Likewise.
23048 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23049 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23050 (__libc_sigaction): Likewise.
23051 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23052 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23053 Likewise.
23054 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23055
cc7834d6
OB
230562013-02-13 Ondřej Bílka <neleai@seznam.cz>
23057
ffb1ec7b 23058 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
23059
23060 * string/mempcpy.c: Implement by calling memcpy.
23061
bdf02814
SP
230622013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23063
c2af38aa
SP
23064 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23065
4e92d59e
SP
23066 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23067 evaluation.
23068
909279a5
SP
23069 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23070 values in the mantissa.
23071
bdf02814
SP
23072 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23073 minimize writes to Z.
23074 (sub_magnitudes): Simplify code a bit.
23075
cd525923
RM
230762013-02-12 Roland McGrath <roland@hack.frob.com>
23077
23078 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23079 from the message. The linker prefixes all warnings with that already.
23080
7e2f0d2d
AS
230812013-02-12 Andreas Schwab <schwab@suse.de>
23082
a445af0b
AS
23083 [BZ #15078]
23084 * posix/regexec.c (extend_buffers): Add parameter min_len.
23085 (check_matching): Pass minimum needed length.
23086 (clean_state_log_if_needed): Likewise.
23087 (get_subexp): Likewise.
23088 * posix/Makefile (tests): Add bug-regex34.
23089 (bug-regex34-ENV): Define.
23090 * posix/bug-regex34.c: New file.
23091
7e2f0d2d
AS
23092 [BZ #11561]
23093 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23094 elements compare against the byte sequence of it, not its name.
23095 * posix/Makefile (tests): Add bug-regex35.
23096 (bug-regex35-ENV): Define.
23097 * posix/bug-regex35.c: New file.
23098
a175b684
TV
230992013-02-11 Tom de Vries <tom@codesourcery.com>
23100
23101 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23102 comment.
23103 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23104 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23105 (CHECK_EOL): Add undef.
23106
310998fe 231072013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
23108
23109 * bits/stdlib-bsearch.h: New file.
23110 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 23111 * stdlib/stdlib.h: Likewise.
41eda41d 23112
8ded91fb
RM
231132013-02-11 Roland McGrath <roland@hack.frob.com>
23114
23115 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23116 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23117 declaration.
23118 * manual/search.texi (Array Search Function): Add missing const in
23119 lfind prototype.
23120 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23121 declaration to use rlim_t.
23122 (Basic Scheduling Functions): Remove erroneous const from
23123 sched_getparam prototype. Remove erroneous * from
23124 sched_get_priority_max and sched_get_priority_min prototypes.
23125 (Resource Usage): Fix summary @comment on vtimes to refer to
23126 sys/vtimes.h rather than vtimes.h.
23127 Add missing *s in vtimes prototype.
23128 (Limits on Resources): Fix ulimit prototype to return long int.
23129 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23130 prototypes to use long int rather than double.
23131 (BSD Random): Fix initstate and setstate to use char *, not void *.
23132 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23133 prototype to make second argument 'struct aiocb64 *const[]'.
23134 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23135 (Status of AIO Operations): Remove erroneous const in aio_return and
23136 aio_return64 prototypes.
23137 (Synchronizing I/O): Fix sync prototype to return void.
23138 * manual/startup.texi (Suboptions): Remove an erroneous const in
23139 getsubopt prototype.
23140 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23141 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23142 use size_t rather than int.
23143 (Scanning All Users): Likewise for getpwent_r.
23144 (Setting Groups): Add missing const to setgroups prototype.
23145 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23146 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23147 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23148 'const void *' rather than 'const char *'.
23149 (Host Address Functions): Likewise for inet_ntop.
23150 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23151 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23152 ssize_t for return value.
23153 (Sending Data): Likewise for send, sendto, sendmsg.
23154 (Socket Option Functions): Add a missing const in setsockopt prototype.
23155 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23156 use wchar_t for the argument.
23157 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23158 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23159 take no arguments.
23160 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23161 double/float/long double for second argument.
23162 Fix return types of significand, significandf, significandl.
23163 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23164 argument in fchmod prototype.
23165 (File Owner): Use uid_t and gid_t in fchown prototype.
23166 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23167 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23168 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23169 use 'const struct dirent **' as argument types to CMP function pointer
23170 argument.
23171 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23172 (File Times): Fix summary magic @comment for struct utimbuf and utime
23173 to refer to utime.h, not time.h.
23174 * manual/string.texi (Argz Functions): Add missing const in
23175 argz_extract and argz_next prototypes.
23176 (Finding Tokens in a String): Likewise for basename.
23177 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23178 (Copying and Concatenation): Fix typo in wmemmove prototype.
23179 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23180 (Signal Stack): Remove erroneous const in sigstack prototype.
23181 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23182 prototype.
23183 (Simple Calendar Time): Likewise for stime.
23184 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23185 prototype.
23186 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23187 say sys/sysctl.h instead.
23188 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23189 and vsyslog prototypes.
23190
fe77fe6d
TV
231912013-02-11 Tom de Vries <tom@codesourcery.com>
23192
23193 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23194 Remove.
23195
3a09b620
RM
231962013-02-11 Roland McGrath <roland@hack.frob.com>
23197
23198 * misc/sys/mman.h: Fix typo in mremap comment.
23199
550a0b89
RM
232002013-02-08 Roland McGrath <roland@hack.frob.com>
23201
23202 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23203 the '\0' terminator.
23204
a2da1673
JM
232052013-02-08 Joseph Myers <joseph@codesourcery.com>
23206
23207 [BZ #13550]
23208 * debug/segfault.c: Don't include <bp-checks.h>.
23209 * sysdeps/generic/bp-checks.h: Remove file.
23210 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23211 (__GETDENTS): Don't use CHECK_N.
23212 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23213 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23214 (__getgroups): Don't use CHECK_N.
23215 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23216 (setgroups): Don't use CHECK_N.
23217 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23218 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23219 (__libc_msgrcv): Don't use CHECK_N.
23220 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23221 (__libc_msgsnd): Don't use CHECK_N.
23222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23223 <bp-checks.h>.
23224 (__libc_pread): Don't use CHECK_N.
23225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23226 include <bp-checks.h>.
23227 (__libc_pread64): Don't use CHECK_N.
23228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23229 include <bp-checks.h>.
23230 (__libc_pwrite): Don't use CHECK_N.
23231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23232 include <bp-checks.h>.
23233 (__libc_pwrite64): Don't use CHECK_N.
23234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23235 <bp-checks.h>.
23236 (__libc_pread): Don't use CHECK_N.
23237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23238 include <bp-checks.h>.
23239 (__libc_pread64): Don't use CHECK_N.
23240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23241 include <bp-checks.h>.
23242 (__libc_pwrite): Don't use CHECK_N.
23243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23244 include <bp-checks.h>.
23245 (__libc_pwrite64): Don't use CHECK_N.
23246 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23247 (do_pread): Don't use CHECK_N.
23248 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23249 (do_pread64): Don't use CHECK_N.
23250 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23251 (do_pwrite): Don't use CHECK_N.
23252 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23253 (do_pwrite64): Don't use CHECK_N.
23254 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23255 (__libc_readv): Don't use CHECK_N.
23256 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23257 (semop): Don't use CHECK_N.
23258 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23259 <bp-checks.h>.
23260 (semtimedop): Don't use CHECK_N.
23261 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23262 (__libc_pread): Don't use CHECK_N.
23263 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23264 <bp-checks.h>.
23265 (__libc_pread64): Don't use CHECK_N.
23266 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23267 <bp-checks.h>.
23268 (__libc_pwrite): Don't use CHECK_N.
23269 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23270 <bp-checks.h>.
23271 (__libc_pwrite64): Don't use CHECK_N.
23272 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23273 <bp-checks.h>.
23274 (__libc_msgrcv): Don't use CHECK_N.
23275 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23276 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23277 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23278 (__libc_writev): Don't use CHECK_N.
23279
b84660a8
RM
232802013-02-08 Roland McGrath <roland@hack.frob.com>
23281
7f3e75f8
RM
23282 * string/strcpy.c: Removed unused variable.
23283
b84660a8
RM
23284 * Makeconfig (+sysdep-includes): Define with := rather than =.
23285 Use an existing include/ subdir of each sysdeps dir before it.
23286
471514d3
CD
232872013-02-08 Carlos O'Donell <carlos@redhat.com>
23288
23289 * nscd/connection.c (register_traced_file): Comment function.
23290 [HAVE_INOTIFY] (union __inev): Define.
23291 [HAVE_INOTIFY] (inotify_check_files): New function.
23292 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23293 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23294 clear_db_cache.
23295 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23296
b2d3c3be
CD
232972013-02-08 Carlos O'Donell <carlos@redhat.com>
23298
23299 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23300 loaded if not already and that a failure is permanent.
23301
b39949d2
CD
233022013-02-08 Carlos O'Donell <carlos@redhat.com>
23303
ddacd1db 23304 [BZ #15006]
b39949d2
CD
23305 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23306 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23307
b2c9eff4
JM
233082013-02-08 Joseph Myers <joseph@codesourcery.com>
23309
f3aae3f3
JM
23310 [BZ #13550]
23311 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23312 (CHECK_1_NULL_OK): Likewise.
23313 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23314 (__fxstat): Do not use CHECK_1.
23315 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23316 <bp-checks.h>.
23317 (___fxstat64): Do not use CHECK_1.
23318 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23319 <bp-checks.h>.
23320 (__fxstatat): Do not use CHECK_1.
23321 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23322 <bp-checks.h>.
23323 (__fxstatat64): Do not use CHECK_1.
23324 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23325 <bp-checks.h>.
23326 (__fxstat): Do not use CHECK_1.
23327 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23328 <bp-checks.h>.
23329 (__fxstatat): Do not use CHECK_1.
23330 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23331 <bp-checks.h>.
23332 (__getresgid): Do not use CHECK_1.
23333 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23334 <bp-checks.h>.
23335 (__getresuid): Do not use CHECK_1.
23336 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23337 <bp-checks.h>.
23338 (__lxstat): Do not use CHECK_1.
23339 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23340 <bp-checks.h>.
23341 (__old_msgctl): Do not use CHECK_1.
23342 (__new_msgctl): Likewise.
23343 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23344 <bp-checks.h>.
23345 (__new_setrlimit): Do not use CHECK_1.
23346 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23347 <bp-checks.h>.
23348 (__old_shmctl): Do not use CHECK_1.
23349 (__new_shmctl): Likewise.
23350 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23351 <bp-checks.h>.
23352 (__xstat): Do not use CHECK_1.
23353 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23354 (__lxstat): Do not use CHECK_1.
23355 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23356 <bp-checks.h>.
23357 (___lxstat64): Do not use CHECK_1.
23358 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23359 (__old_msgctl): Do not use CHECK_1.
23360 (__new_msgctl): Likewise.
23361 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23362 <bp-checks.h>.
23363 (__gettimeofday): Do not use CHECK_1.
23364 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23365 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23366 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23367 <bp-checks.h>.
23368 (__gettimeofday): Do not use CHECK_1.
23369 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23370 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23371 (__new_shmctl): Do not use CHECK_1.
23372 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23373 <bp-checks.h>.
23374 (do_sigtimedwait): Do not use CHECK_1.
23375 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23376 <bp-checks.h>.
23377 (do_sigwaitinfo): Do not use CHECK_1.
23378 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23379 <bp-checks.h>.
23380 (msgctl): Do not use CHECK_1.
23381 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23382 <bp-checks.h>.
23383 (shmctl): Do not use CHECK_1.
23384 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23385 (ustat): Do not use CHECK_1.
23386 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23387 <bp-checks.h>.
23388 (__fxstat): Do not use CHECK_1.
23389 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23390 <bp-checks.h>.
23391 (__fxstatat): Do not use CHECK_1.
23392 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23393 <bp-checks.h>.
23394 (__lxstat): Do not use CHECK_1.
23395 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23396 <bp-checks.h>.
23397 (__xstat): Do not use CHECK_1.
23398 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23399 (__xstat): Do not use CHECK_1.
23400 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23401 (___xstat64): Do not use CHECK_1.
23402
b2c9eff4
JM
23403 [BZ #13550]
23404 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23405 definitions.
23406 (CHECK_BOUNDS_HIGH): Likewise.
23407 * string/strcpy.c: Do not include <bp-checks.h>.
23408 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23409
f1d70dad
RM
234102013-02-07 Roland McGrath <roland@hack.frob.com>
23411
23412 * nscd/nscd-client.h (__nscd_drop_map_ref):
23413 Add __attribute__ ((unused)).
23414 * nis/nss-nisplus.h (niserr2nss): Likewise.
23415
23416 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23417 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23418
23419 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23420 Remove inline keyword.
23421 * include/rounding-mode.h (round_away): Likewise.
23422 * libio/wfileops.c (adjust_wide_data): Likewise.
23423 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23424 (__m128i_strloadu_tolower): Likewise.
23425 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23426 (__m128i_strloadu_tolower): Likewise.
23427 * time/mktime.c (ydhms_diff): Likewise.
23428 * locale/elem-hash.h (elem_hash): Likewise.
23429 * locale/setlocale.c (setdata): Likewise.
23430 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23431 (re_string_wchar_at): Likewise.
23432 (bitset_not, bitset_merge, bitset_mask): Likewise.
23433 [!(__GNUC__ > 3)] (inline): Remove macro.
23434 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23435 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23436 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23437 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23438 * string/memcmp.c (memcmp_bytes): Likewise.
23439 * locale/programs/locarchive.c (compute_hashval): Likewise.
23440 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23441 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23442 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23443 * nss/getent.c (print_rpc, print_protocols): Likewise.
23444 (print_passwd, print_group, print_aliases): Likewise.
23445 * nis/nss-nisplus.h (niserr2nss): Likewise.
23446 * nscd/connections.c (restart_p): Likewise.
23447 Change return type to bool.
23448
eab55bfb
RM
234492013-02-05 Roland McGrath <roland@hack.frob.com>
23450
7bd642f5
RM
23451 * Makeconfig (all-Depend-files): Add existing
23452 $(sorted-subdirs:=/Depend) files.
23453 (all-subdirs): Remove nss.
23454 * sysdeps/unix/inet/Subdirs: Add it here instead.
23455 * hesiod/Depend: New file.
23456
573c29b2
RM
23457 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23458 instead of calling alloca.
23459
b2e25af0
RM
23460 * io/lseek.c (__lseek): Rename to __libc_lseek.
23461 Define __lseek as an alias.
23462
eab55bfb
RM
23463 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23464
9a0d1941
CD
234652013-02-04 Carlos O'Donell <carlos@redhat.com>
23466
23467 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23468 else clause and remove check for non-standard endianness.
23469
b83bbec4
DM
234702013-02-04 David S. Miller <davem@davemloft.net>
23471
23472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23473
6277fdab
JM
234742013-02-04 Joseph Myers <joseph@codesourcery.com>
23475
23476 [BZ #13550]
23477 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23478 (__ubp_memchr): Remove prototype.
23479 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23480 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23481 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23482 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23483 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23484 Remove alias.
23485 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23486 (__ubp_memchr): Likewise.
23487 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23488 (__ubp_memchr): Likewise.
23489 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23490 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23491 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23492 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23493 CHECK_STRING.
23494 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23495 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23496 (__getcwd): Do not use CHECK_STRING.
23497 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23498 <bp-checks.h>.
23499 (__real_chown): Do not use CHECK_STRING.
23500 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23501 <bp-checks.h>.
23502 (fchownat): Do not use CHECK_STRING.
23503 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23504 CHECK_STRING.
23505 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23506 <bp-checks.h>.
23507 (__lchown): Do not use CHECK_STRING.
23508 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23509 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23510 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23511 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23513 include <bp-checks.h>.
23514 (truncate64): Do not use CHECK_STRING.
23515 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23516 <bp-checks.h>.
23517 (__real_chown): Do not use CHECK_STRING.
23518 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23519 <bp-checks.h>.
23520 (__lchown): Do not use CHECK_STRING.
23521 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23522 <bp-checks.h>.
23523 (__chown): Do not use CHECK_STRING.
23524 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23525 <bp-checks.h>.
23526 (truncate64): Do not use CHECK_STRING.
23527 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23528 Likewise.
23529 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23530 (__xmknod): Do not use CHECK_STRING.
23531 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23532 <bp-checks.h>.
23533 (__xmknodat): Do not use CHECK_STRING.
23534 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23535 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23536
903ae060
AS
235372013-02-04 Andreas Schwab <schwab@suse.de>
23538
23539 [BZ #14142]
23540 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23541 * include/netdb.h: Likewise for h_errno.
23542 * elf/tst-stackguard1.c: Include <tls.h>.
23543
542f9466
JK
235442013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23545
23546 * elf/link.h (struct link_map): Extend the l_addr comment.
23547 * include/link.h (struct link_map): Likewise.
23548
e782a927
JM
235492013-02-01 Joseph Myers <joseph@codesourcery.com>
23550
23551 [BZ #13550]
23552 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23553 (BOUNDED_1): Remove macro.
23554 * debug/backtrace.c: Don't include <bp-checks.h>.
23555 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23556 (__backtrace): Likewise.
23557 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23558 <bp-checks.h>.
23559 (__backtrace): Don't use BOUNDED_1.
23560 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23561 <bp-checks.h>.
23562 (__backtrace): Don't use BOUNDED_1.
23563 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23564 (__backtrace): Don't use BOUNDED_1.
23565 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23566 (shmat): Don't use BOUNDED_N.
23567
8cf28c5e
JM
235682013-01-31 Joseph Myers <joseph@codesourcery.com>
23569
3a7ac8a0
JM
23570 [BZ #13550]
23571 * sysdeps/generic/bp-start.h: Remove file.
23572 * csu/libc-start.c: Don't include <bp-start.h>.
23573 (LIBC_START_MAIN): Set up __environ directly instead of using
23574 INIT_ARGV_and_ENVIRON.
23575 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23576 <bp-start.h>.
23577
f3499f95
JM
23578 [BZ #13550]
23579 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23580 definitions.
23581 (CHECK_FCNTL): Likewise.
23582 (CHECK_N_PAGES): Likewise.
23583
32a45bea
JM
23584 [BZ #13550]
23585 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23586 definitions.
23587 (CHECK_SIGSET_NULL_OK): Likewise.
23588 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23589 <bp-checks.h>.
23590 (sigpending): Don't use CHECK_SIGSET.
23591 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23592 <bp-checks.h>.
23593 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23594 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23595 <bp-checks.h>.
23596 (do_sigsuspend): Don't use CHECK_SIGSET.
23597 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23598 use CHECK_SIGSET.
23599 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23600 (do_sigwait): Don't use CHECK_SIGSET.
23601 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23602 use CHECK_SIGSET.
23603 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23604 include <bp-checks.h>.
23605 (sigpending): Don't use CHECK_SIGSET.
23606 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23607 include <bp-checks.h>.
23608 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23609 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23610 <bp-checks.h>.
23611 (sigpending): Don't use CHECK_SIGSET.
23612 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23613 <bp-checks.h>.
23614 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23615
2e8a5c8c
JM
23616 [BZ #13550]
23617 * sysdeps/generic/bp-semctl.h: Remove file.
23618 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23619 <bp-checks.h> and <bp-semctl.h>.
23620 (__old_semctl): Don't use CHECK_SEMCTL.
23621 (__new_semctl): Likewise.
23622 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23623 and <bp-semctl.h>.
23624 (__old_semctl): Don't use CHECK_SEMCTL.
23625 (__new_semctl): Likewise.
23626 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23627 <bp-checks.h> and <bp-semctl.h>.
23628 (__old_semctl): Don't use CHECK_SEMCTL.
23629 (__new_semctl): Likewise.
23630 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23631 <bp-checks.h> and <bp-semctl.h>.
23632 (semctl): Don't use CHECK_SEMCTL.
23633
c2d54929
JM
23634 [BZ #13550]
23635 * Makerules (elide-bp-thunks): Remove variable.
23636 (elide-routines.oS): Don't use $(elide-bp-thunks).
23637 (elide-routines.os): Likewise.
23638 (elide-routines.o): Likewise.
23639 (elide-routines.op): Likewise.
23640 (elide-routines.og): Likewise.
23641 (objects): Don't use $(bp-thunks).
23642 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23643 include.
23644 (common-generated): Do not add s-proto-bp.d.
23645 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23646 (int): Likewise.
23647 (typ): Likewise.
23648 Do not generate makefile rules for bounded-pointer thunks.
23649 * sysdeps/generic/bp-thunks.h: Remove file.
23650 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23651 * sysdeps/unix/s-proto-bp.S: Likewise.
23652
8cf28c5e
JM
23653 [BZ #15062]
23654 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23655 parts of result separately when argument is not close to line from
23656 -i to i and one part of argument is small.
23657 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23658 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23659 * math/libm-test.inc (cacos_test): Add more tests.
23660 (casin_test): Likewise.
23661 (casinh_test): Likewise.
23662 * sysdeps/i386/fpu/libm-test-ulps: Update.
23663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23664
c4e33b8d
DM
236652013-01-31 David S. Miller <davem@davemloft.net>
23666
23667 * po/de.po: Update from translation team.
23668
3b60b421
MK
236692013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23670
23671 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23672
bb931195
TS
236732013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23674
b5a5da23
TS
23675 * configure.in (_AC_PROG_CC_C89): New definition.
23676 * configure: Regenerate.
23677
bb931195
TS
23678 * configure.in (AC_PROG_CPP): New definition.
23679 * configure: Regenerate.
23680
8c53a12c
JM
236812013-01-23 Joseph Myers <joseph@codesourcery.com>
23682
23683 * debug/tst-backtrace.h: New file.
23684 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23685 (ret): Remove variable.
23686 (x): Likewise.
23687 (FAIL): Remove macro.
23688 (NO_INLINE): Likewise.
23689 (fn1): Use match function instead of strstr.
23690 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23691 (ret): Remove variable.
23692 (x): Likewise.
23693 (FAIL): Remove macro.
23694 (NO_INLINE): Likewise.
23695 (fn): Use match function instead of strstr.
23696 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23697 (ret): Remove variable.
23698 (x): Likewise.
23699 (FAIL): Remove macro.
23700 (NO_INLINE): Likewise.
23701 (handle_signal): Use match function instead of strstr.
23702 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23703 (ret): Remove variable.
23704 (x): Likewise.
23705 (FAIL): Remove macro.
23706 (NO_INLINE): Likewise.
23707 (handle_signal): Use match function instead of strstr.
23708
4858fa2a
RM
237092013-01-23 Roland McGrath <roland@hack.frob.com>
23710
23711 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23712
bae8e7f5
DM
237132013-01-23 David S. Miller <davem@davemloft.net>
23714
23715 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23716 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23717 argument of CAS if possible.
23718 * sysdeps/sparc/sparc64/bits/atomic.h
23719 (__arch_compare_and_exchange_val_32_acq): Likewise.
23720 (__arch_compare_and_exchange_val_64_acq): Likewise.
23721
9cbbc4ae
PT
237222013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23723
23724 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23725 * sysdeps/posix/ulimit.c: ... this.
92a601b8 23726 Include <limits.h>.
67b3f58c 23727 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 23728
5655a0b5
AC
237292013-01-23 Adam Conrad <adconrad@0c3.net>
23730
23731 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23732 (LDFLAGS-tst-array5): Likewise.
23733
052aff95
JM
237342013-01-23 Joseph Myers <joseph@codesourcery.com>
23735
23736 [BZ #15036]
23737 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23738 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23739 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23740 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23741
7c1e01aa
DM
237422013-01-21 David S. Miller <davem@davemloft.net>
23743
23744 * sysdeps/sparc/backtrace.c: New file.
23745 * sysdeps/sparc/sparc32/backtrace.h: New file.
23746 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23747 * sysdeps/sparc/sparc64/backtrace.h: New file.
23748 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23749 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23750 -funwind-tables.
23751
ab087e0a
AS
237522013-01-21 Andreas Schwab <schwab@suse.de>
23753
23754 [BZ #15020]
23755 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23756 closed its stdout.
23757
ed689c2f
AS
237582013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23759
23760 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23761 "mpa2.h".
23762 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23763
31d470ac
JM
237642013-01-18 Joseph Myers <joseph@codesourcery.com>
23765 Mark Mitchell <mark@codesourcery.com>
23766 Tom de Vries <tom@codesourcery.com>
23767 Paul Pluzhnikov <ppluzhnikov@google.com>
23768
23769 * debug/tst-backtrace2.c: New file.
23770 * debug/tst-backtrace3.c: Likewise.
23771 * debug/tst-backtrace4.c: Likewise.
23772 * debug/tst-backtrace5.c: Likewise.
23773 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23774 (CFLAGS-tst-backtrace3.c): Likewise.
23775 (CFLAGS-tst-backtrace4.c): Likewise.
23776 (CFLAGS-tst-backtrace5.c): Likewise.
23777 (LDFLAGS-tst-backtrace2): Likewise.
23778 (LDFLAGS-tst-backtrace3): Likewise.
23779 (LDFLAGS-tst-backtrace4): Likewise.
23780 (LDFLAGS-tst-backtrace5): Likewise.
23781 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23782 tst-backtrace4 and tst-backtrace5.
23783
90567f30 237842013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
23785 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23786
23787 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23788 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23789 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23790 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23792 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23793 "+r" and remove output regs list as redundant. Add explicit inline
23794 asm to specify register of return val to work around compiler codegen
23795 bug. Remove (int) cast on return value. Add return type parameter to
23796 use in macro so that this macro does not truncate return value for
23797 64-bit values.
23798 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23799 pass to INTERNAL_VSYSCALL_NCS.
23800 (INLINE_VSYSCALL): Add 'long int' as return type to
23801 INTERNAL_VSYSCALL_NCS macro invocation.
23802 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23803 INTERNAL_VSYSCALL_NCS macro invocation.
23804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23805
d3b9ea61
SP
238062013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23807
0b57daeb
SP
23808 [BZ #14496]
23809 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23810 Fix application of SIMD FP exception mask.
23811
caa99d06
SP
23812 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23813 mp_no from a power of two.
23814 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23815 __mpexp_twomm1. Use __pow_mp.
23816
d3b9ea61
SP
23817 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23818 multiplication.
23819
1dbaee3c
DM
238202013-01-17 David S. Miller <davem@davemloft.net>
23821
23822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23823
728d7b43
JM
238242013-01-17 Joseph Myers <joseph@codesourcery.com>
23825
23826 [BZ #15023]
23827 * include/complex.h: Condition contents on [!_COMPLEX_H].
23828 (__kernel_casinhf): New prototype.
23829 (__kernel_casinh): Likewise.
23830 (__kernel_casinhl): Likewise.
23831 * math/Makefile (libm_calls): Add k_casinh.
23832 * math/k_casinh.c: New file.
23833 * math/k_casinhf.c: Likewise.
23834 * math/k_casinhl.c: Likewise.
23835 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23836 finite nonzero arguments.
23837 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23838 finite nonzero arguments.
23839 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23840 finite nonzero arguments.
23841 * math/s_casinh.c: Do not include <float.h>.
23842 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23843 * math/s_casinhf.c: Do not include <float.h>.
23844 (__casinhf): Move code for finite nonzero arguments to
23845 k_casinhf.c.
23846 * math/s_casinhl.c: Do not include <float.h>.
23847 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23848 redefine.
23849 (__casinhl): Move code for finite nonzero arguments to
23850 k_casinhl.c.
23851 * math/libm-test.inc (cacos_test): Add more tests.
23852 * sysdeps/i386/fpu/libm-test-ulps: Update.
23853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23854
2a26ef3a
PT
238552013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23856
23857 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23858 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23859 [!HAVE_MREMAP]: Remove [defined linux] case.
23860 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23861
a897655d
SP
238622013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23863
23864 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23865
881ebe89 238662013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
23867
23868 * elf/elf.h (R_386_SIZE32): New relocation.
23869 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23870 R_386_SIZE32.
23871 (elf_machine_rela): Likewise.
23872 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23873 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23874
59981e9b
JM
238752013-01-17 Joseph Myers <joseph@codesourcery.com>
23876
23877 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23878 (FP_FAST_FMA): Do not define.
23879 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23880 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23881 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23882 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23883 !_SOFT_FLOAT]: Likewise.
23884 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23885 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23886 value.
23887 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23888 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23889 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23890 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23891 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23892 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23893 file.
23894
cfa8054f
AS
238952013-01-16 Andreas Schwab <schwab@suse.de>
23896
23897 [BZ #14327]
23898 * include/stdlib.h (__mktemp): Add declaration.
23899 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23900 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23901
dd930cc5
SP
239022013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23903
881ebe89
SP
23904 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23905 definitions.
23906 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23907 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23908 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23909 definitions here.
23910 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23911 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23912 definitions.
23913 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23914 and ONE.
23915 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23916 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23917 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23918 definitions.
23919 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23920 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23921 definitions.
23922 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 23923
dd930cc5
SP
23924 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23925
c19a9f89
DM
239262013-01-15 David S. Miller <davem@davemloft.net>
23927
1aa61767
DM
23928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23929 trunc{,f} to libm-sysdep_routes.
23930 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23932 file.
23933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23935 file.
23936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23937 file.
23938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23940 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23941 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23942 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23943 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23944 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23945 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23946
c42d5e98
DM
23947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23948 nearbyint{,f} to libm-sysdep_routes.
23949 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23951 New file.
23952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23953 file.
23954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23955 New file.
23956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23957 file.
23958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23960 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23961 file.
23962 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23963 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23964 file.
23965 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23966 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23967 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23968
c19a9f89
DM
23969 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23970 libc_feholdexcept and libc_fesetenv.
23971
357679d2
MF
239722013-01-15 Mike Frysinger <vapier@gentoo.org>
23973
23974 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23975
65a82e3d
DM
239762013-01-14 David S. Miller <davem@davemloft.net>
23977
8b954ab9
DM
23978 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23979 (SPARC_ASM_VIS2_IFUNC): Likewise.
23980 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23982 use of 'siam' instruction.
23983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23984 Likewise.
23985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23986 Likewise.
23987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23988 Likewise.
23989 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23990 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23992 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23994 file.
23995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23996 file.
23997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23998 file.
23999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24000 file.
24001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24002 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24006 new VIS2 routines.
24007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24010 Likewise.
24011 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24012 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24013 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24014 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24016 routines to libm-sysdep_routines.
24017 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24018
65a82e3d
DM
24019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24020 fdim/fdimf to libm-sysdep_routines.
24021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24022 file.
24023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24025 file.
24026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24029 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24030 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24031 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24032 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24033
e34ab705
SP
240342013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24035
2a91b573
SP
24036 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24037 to optimize copies.
24038
1066a534
SP
24039 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24040 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24041 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24042
e34ab705
SP
24043 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24044 local variable MPTWO.
24045 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24046 Likewise.
24047
aba5e596
MF
240482013-01-13 Mike Frysinger <vapier@gentoo.org>
24049
24050 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24051 GLOB_NOESCAPE.
24052
e557e9e5
MF
240532013-01-13 Mike Frysinger <vapier@gentoo.org>
24054
24055 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24056
0428cec9
MF
240572013-01-13 Mike Frysinger <vapier@gentoo.org>
24058
24059 * manual/pattern.texi (glob_t): Document gl_flags.
24060 (glob64_t): Likewise.
24061
8794a964
DM
240622013-01-11 David S. Miller <davem@davemloft.net>
24063
66438c3f
RM
24064 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24065 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24066 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
24067 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24068 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24069 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24070 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24071 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24072 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24073 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24074 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24075 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24076 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24077
4ae4244d
DM
24078 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24079 sparc V9 rather than using V8 code.
24080 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24081 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24082
8794a964
DM
24083 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24084 Move to...
24085 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24086 Here.
24087
6270516e
RM
240882013-01-11 Roland McGrath <roland@hack.frob.com>
24089
24090 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24091 not in the main loop.
24092 * configure: Regenerated.
24093
6a57d931
JM
240942013-01-11 Joseph Myers <joseph@codesourcery.com>
24095
24096 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24097 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24098 to just #else.
24099 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24100 [!__GLIBC_HAVE_LONG_LONG] case.
24101 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24102 condition to just #else.
24103 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24104 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24105 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24106 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24107 unconditional.
24108 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24109 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24110 #elif condition to just #else.
24111 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24112 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24113 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24114 #elif condition to just #else.
24115
0e8529e9
SE
241162013-01-11 Steve Ellcey <sellcey@mips.com>
24117
24118 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24119 (EF_MIPS_ARCH_64): Fix value.
24120 (EF_MIPS_ARCH_32R2): New.
24121 (EF_MIPS_ARCH_64R2): New.
24122
740b3dbe
L
241232013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24124
24125 * Makeconfig (+link-pie-before-libc): New.
24126 (+link-pie-after-libc): Likewise.
24127 (+link-pie-tests): Likewise.
24128 (+link-pie): Rewritten.
24129 (link-before-libc): Remove $(config-LDFLAGS).
24130 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24131 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24132 (config-LDFLAGS): Renamed to ...
24133 (rtld-LDFLAGS): This.
24134 (rtld-tests-LDFLAGS): New macro.
24135 (link-libc-rpath-link): Likewise.
24136 (link-libc-tests-rpath-link): Likewise.
24137 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24138 (link-libc): Prepand $(link-libc-rpath-link).
24139 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24140 (test-program-prefix): New macro.
24141 (test-via-rtld-prefix): Likewise.
24142 (test-program-cmd): Likewise.
24143 (host-test-program-cmd): Likewise.
24144 * Makefile ($(common-objpfx)testrun.sh): Replace
24145 $(run-program-prefix) with $(test-program-prefix).
24146 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24147 $(rtld-LDFLAGS).
24148 ($(common-objpfx)shlib.lds): Likewise.
24149 (build-module-helper): Likewise.
24150 ($(common-objpfx)format.lds): Likewise.
24151 * Rules (binaries-pie-tests): New.
24152 (binaries-pie-notests): Likewise.
24153 (binaries-pie): Rewritten.
24154 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24155 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24156 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24157 (make-test-out): Replace $(host-built-program-cmd) with
24158 $(host-test-program-cmd).
24159 * config.make.in (build-hardcoded-path-in-tests): New variable.
24160 * configure.in (--enable-hardcoded-path-in-tests): New configure
24161 option.
24162 (hardcoded_path_in_tests): New AC_SUBST.
24163 * configure: Regenerated.
24164 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24165 $(built-program-cmd) with $(test-program-cmd).
24166 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24167 (test_program_cmd): This.
24168 * elf/Makefile ($(objpfx)order.out): Run test with
24169 $(test-program-prefix).
24170 ($(objpfx)order2.out): Likewise.
24171 ($(objpfx)tst-initorder.out): Likewise.
24172 ($(objpfx)tst-initorder2.out): Likewise.
24173 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24174 $(test-program-cmd).
24175 ($(objpfx)tst-array1-static.out): Likewise.
24176 ($(objpfx)tst-array2.out): Likewise.
24177 ($(objpfx)tst-array3.out): Likewise.
24178 ($(objpfx)tst-array4.out): Likewise.
24179 ($(objpfx)tst-array5.out): Likewise.
24180 ($(objpfx)tst-array5-static.out): Likewise.
24181 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24182 $(test-program-cmd).
24183 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24184 $(run-program-prefix) with $(test-program-prefix).
24185 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24186 (test_program_prefix): This.
24187 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24188 $(run-program-prefix) with $(test-program-prefix).
24189 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24190 (test_program_prefix): This.
24191 * iconvdata/tst-tables.sh: Likewise.
24192 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24193 $(run-program-prefix) with $(test-program-prefix).
24194 ($(objpfx)tst-translit.out): Likewise.
24195 ($(objpfx)tst-gettext2.out): Likewise.
24196 ($(objpfx)tst-gettext4.out): Likewise.
24197 ($(objpfx)tst-gettext6.out): Likewise.
24198 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24199 (test_program_prefix): This.
24200 * intl/tst-gettext2.sh: Likewise.
24201 * intl/tst-gettext4.sh Likewise.
24202 * intl/tst-gettext6.sh: Likewise.
24203 * intl/tst-translit.sh: Likewise.
24204 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24205 with $(test-program-cmd).
24206 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24207 $(run-program-prefix) with $(test-program-prefix).
24208 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24209 (test_program_prefix): This.
24210 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24211 $(run-program-prefix) with $(test-program-prefix).
24212 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24213 (test_program_prefix): This.
24214 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24215 * posix/Makefile ($(objpfx)globtest.out): Replace
24216 $(run-via-rtld-prefix) and $(test-wrapper) with
24217 $(test-program-prefix) and $(test-via-rtld-prefix).
24218 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24219 $(test-program-prefix).
24220 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24221 $(host-test-program-cmd).
24222 (tst-spawn-ARGS): Likewise.
24223 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24224 $(test-program-prefix).
24225 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24226 (test_via_rtld_prefix): This.
24227 (test_wrapper): Renamed to ...
24228 (test_program_prefix): This.
24229 (run_program_prefix): Replaced by test_program_prefix.
24230 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24231 (test_program_prefix): This.
24232 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24233 with $(host-test-program-cmd).
24234 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24235 $(run-program-prefix) with $(test-program-prefix).
24236 ($(objpfx)tst-printf.out): Likewise.
24237 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24238 $(test-program-cmd).
24239 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24240 (test_program_prefix): This.
24241 * stdio-common/tst-unbputc.sh: Likewise.
24242 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24243 $(run-program-prefix) with $(test-program-prefix).
24244 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24245 (test_program_prefix): This.
24246 * string/Makefile ($(objpfx)tst-svc.out): Replace
24247 $(built-program-cmd) with $(test-program-cmd).
24248
c6fe55cf
AJ
242492013-01-11 Andreas Jaeger <aj@suse.de>
24250
24251 [BZ #15003]
24252 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24253 value. Sync with Linux 3.7.
24254
9e6919c8
DM
242552013-01-10 David S. Miller <davem@davemloft.net>
24256
24257 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24258 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24259 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24260
1c9f1a02
RM
242612013-01-10 Roland McGrath <roland@hack.frob.com>
24262
24263 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24264 never set.
24265 * configure: Regenerated.
24266
b9de2dde
DM
242672013-01-10 David S. Miller <davem@davemloft.net>
24268
24269 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24270 sparc V9 rather than using V8 code.
24271 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24272 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24273
e7f68ef4
RM
242742013-01-10 Roland McGrath <roland@hack.frob.com>
24275
24276 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24277 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24278 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24279 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24280 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24281 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24282 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24283 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24284 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24285 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24286 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24287 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24288 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24289 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24290 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24291 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24292 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24293 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24294 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24295 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24296 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24297 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24298 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24299 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24300 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24301 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24302 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24303
5a47cc9c
DM
243042013-01-10 David S. Miller <davem@davemloft.net>
24305
24306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24307
4cf8f209
L
243082013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24309
24310 * posix/Makefile (tests-static): New variable.
24311 (tests): Add $(tests-static).
24312 (tst-exec-static-ARGS): New variable.
24313 (tst-spawn-static-ARGS): Likewise.
24314 * posix/tst-exec-static.c: New file.
24315 * posix/tst-spawn-static.c: Likewise.
24316 * posix/tst-exec.c: Support run directly.
24317 * posix/tst-spawn.c: Likewise.
24318
fed0faa1
JM
243192013-01-10 Joseph Myers <joseph@codesourcery.com>
24320
828beb13
JM
24321 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24322 long.
24323 * math/bits/mathcalls.h (llrint): Likewise.
24324 (llround): Likewise.
24325 * stdlib/stdlib.h (struct drand48_data): Likewise.
24326 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24327 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24328 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24329 Likewise.
24330 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24331 Likewise.
24332 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24333 (elf_greg_t): Likewise.
24334 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24335 (__jmp_buf): Likewise.
24336 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24337 definitions.
24338 (llrint): Likewise, for all definitions.
24339 (llrintl): Likewise.
24340
fed0faa1
JM
24341 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24342 Remove [__GNUC__] condition.
24343 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24344 condition to just [__USE_ISOC99].
24345 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24346
1a20cb20
L
243472013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24348
24349 [BZ #14200]
24350 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24351 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24352 defined.
24353 (_POSIX_V6_ILP32_OFF32): Likewise.
24354 (_XBS5_ILP32_OFF32): Likewise.
24355 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24356 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24357
751b85f7
SP
243582013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24359
7490eb81
SP
24360 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24361
751b85f7
SP
24362 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24363 doubles __mpexp_twomm1. Adjust usage.
24364 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24365 Remove.
24366
988197f0
AS
243672013-01-10 Andreas Schwab <schwab@suse.de>
24368
24369 [BZ #14964]
24370 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24371 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24372
e83d7298
DM
243732013-01-09 David S. Miller <davem@davemloft.net>
24374
034ed64b 24375 [BZ #15003]
57f41c40
AS
24376 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24377 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24378 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24379 (TCP_FASTOPEN): Define.
e83d7298
DM
24380 (tcp_repair_opt): New structure.
24381 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24382 enum values.
57f41c40
AS
24383 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24384 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24385 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
24386 (tcp_cookie_transactions): New structure.
24387
d5e0b9bd
AB
243882013-01-09 Anton Blanchard <anton@samba.org>
24389
24390 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24391 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24392 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24393 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24394
0c07e3ea
JM
243952013-01-09 Joseph Myers <joseph@codesourcery.com>
24396
24397 * include/features.h (__USE_ANSI): Remove.
24398
232f7002
RM
243992013-01-09 Roland McGrath <roland@hack.frob.com>
24400
ad98e30c
RM
24401 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24402
232f7002
RM
24403 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24404
950c99ca
SP
244052013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24406
b5792741
SP
24407 * sysdeps/s390/fpu/libm-test-ulps: Update.
24408
47cf2278
SP
24409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24410
950c99ca
SP
24411 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24412 (__acr): Likewise.
24413 (__cpy): Likewise.
24414 (norm): Likewise.
24415 (denorm): Likewise.
24416 (__mp_dbl): Likewise.
24417 (__dbl_mp): Likewise.
24418 (add_magnitudes): Likewise.
24419 (sub_magnitudes): Likewise.
24420 (__add): Likewise.
24421 (__sub): Likewise.
24422 (__mul): Likewise.
24423 (__inv): Likewise.
24424 (__dvd): Likewise.
24425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24426 (__acr): Likewise.
24427 (__cpy): Likewise.
24428 (norm): Likewise.
24429 (denorm): Likewise.
24430 (__mp_dbl): Likewise.
24431 (__dbl_mp): Likewise.
24432 (add_magnitudes): Likewise.
24433 (sub_magnitudes): Likewise.
24434 (__add): Likewise.
24435 (__sub): Likewise.
24436 (__mul): Likewise.
24437 (__inv): Likewise.
24438 (__dvd): Likewise.
24439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24440 (__acr): Likewise.
24441 (__cpy): Likewise.
24442 (norm): Likewise.
24443 (denorm): Likewise.
24444 (__mp_dbl): Likewise.
24445 (__dbl_mp): Likewise.
24446 (add_magnitudes): Likewise.
24447 (sub_magnitudes): Likewise.
24448 (__add): Likewise.
24449 (__sub): Likewise.
24450 (__mul): Likewise.
24451 (__inv): Likewise.
24452 (__dvd): Likewise.
24453
eede9df9
JM
244542013-01-08 Joseph Myers <joseph@codesourcery.com>
24455
24456 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24457 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24458 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24459 2 && __USE_EXTERN_INLINES]: Likewise.
24460
c40ea3d9
AJ
244612013-01-08 Andreas Jaeger <aj@suse.de>
24462
24463 [BZ# 14985]
24464 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24465 Remove.
24466 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24467 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24468
2ccdea26
AB
244692013-01-07 Anton Blanchard <anton@samba.org>
24470
24471 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24472 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24473 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24474 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24475 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24476 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24477 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24478 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24479 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24480 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24481 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24482 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24483 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24484 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24485 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24486 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24487 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24488 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24489 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24490 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24491 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24492 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24493 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24494 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24495 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24496 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24497 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24498 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24499 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24500 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24501 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24502 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24503 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24504 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24505 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24506 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24507 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24508 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24509 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24510 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24511 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24512 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24513 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24514
a9708fed
JM
245152013-01-07 Joseph Myers <joseph@codesourcery.com>
24516
375607b9
JM
24517 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24518 (__MALLOC_PMT): Likewise.
24519 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24520 [__GNUC__], only on [_LIBC].
24521 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24522 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24523 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24524 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24525 forward declaration.
24526 (realloc_hook_ini): Likewise.
24527 (memalign_hook_ini): Likewise.
24528 (__libc_memalign): Do not use __MALLOC_PMT in variable
24529 declaration.
24530 (__libc_valloc): Likewise.
24531 (__libc_pvalloc): Likewise.
24532 (__libc_calloc): Likewise.
24533 (__posix_memalign): Likewise.
24534
a9708fed
JM
24535 [BZ #14996]
24536 * math/s_casinh.c: Include <float.h>.
24537 (__casinh): Do not do computation with squaring and square root
24538 for large arguments.
24539 * math/s_casinhf.c: Include <float.h>.
24540 (__casinhf): Do not do computation with squaring and square root
24541 for large arguments.
24542 * math/s_casinhl.c: Include <float.h>.
24543 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24544 (__casinhl): Do not do computation with squaring and square root
24545 for large arguments.
24546 * math/libm-test.inc (casin_test): Add more tests.
24547 (casinh_test): Likewise.
24548 * sysdeps/i386/fpu/libm-test-ulps: Update.
24549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24550
afec409a
L
245512013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24552
24553 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24554 (__x86_64_raw_data_cache_size): Likewise.
24555 (__x86_64_data_cache_size_half): Likewise.
24556 (__x86_64_raw_data_cache_size_half): Likewise.
24557 (__x86_64_shared_cache_size): Likewise.
24558 (__x86_64_raw_shared_cache_size): Likewise.
24559 (__x86_64_shared_cache_size_half): Likewise.
24560 (__x86_64_raw_shared_cache_size_half): Likewise.
24561 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24562 to ...
24563 (__x86_data_cache_size): This.
24564 (__x86_64_raw_data_cache_size): Renamed to ...
24565 (__x86_raw_data_cache_size): This.
24566 (__x86_64_data_cache_size_half): Renamed to ...
24567 (__x86_data_cache_size_half): This.
24568 (__x86_64_raw_data_cache_size_half): Renamed to ...
24569 (__x86_raw_data_cache_size_half): This.
24570 (__x86_64_shared_cache_size): Renamed to ...
24571 (__x86_shared_cache_size): This.
24572 (__x86_64_raw_shared_cache_size): Renamed to ...
24573 (__x86_raw_shared_cache_size): This.
24574 (__x86_64_shared_cache_size_half): Renamed to ...
24575 (__x86_shared_cache_size_half): This.
24576 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24577 (__x86_raw_shared_cache_size_half): This.
24578 * sysdeps/x86_64/memcpy.S: Updated.
24579 * sysdeps/x86_64/memset.S: Likewise.
24580 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24581 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24582 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24583
0b3986d0
DM
245842013-01-04 David S. Miller <davem@davemloft.net>
24585
24586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24587
e47686e9
AS
245882013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24589
d643bac1
AS
24590 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24591 1 to avoid redefinition warning.
24592 (__USE_GNU): Don't define.
24593 (init_signaling_nan): Protoize.
24594
e47686e9
AS
24595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24596
b18decba
SP
245972013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24598
fffb407f
SP
24599 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24600 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24601 (__cpymn): Likewise.
24602 (norm): Remove commented code.
24603 (denorm): Likewise.
24604 (__mp_dbl): Likewise.
24605 (__inv): Likewise.
24606 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24607 (__cpymn): Likewise.
24608 (norm): Remove commented code.
24609 (denorm): Likewise.
24610 (__mp_dbl): Likewise.
24611 (__inv): Likewise.
24612
b18decba
SP
24613 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24614 mp_no value for 1.0 and 2.0.
24615 (norm): Use RADIXI instead of radixi.d.
24616 (denorm): Likewise.
24617 (__mul): Use 0.0 instead of zero.d.
24618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24619 mp_no value for 1.0 and 2.0.
24620 (norm): Use RADIXI instead of radixi.d.
24621 (denorm): Likewise.
24622 (__mul): Use 0.0 instead of zero.d.
24623
cdc1c96f
JM
246242013-01-04 Joseph Myers <joseph@codesourcery.com>
24625
24626 [BZ #14994]
24627 * math/s_casinh.c (__casinh): Reduce finite argument to first
24628 quadrant then set signs of results at the end.
24629 * math/s_casinhf.c (__casinhf): Likewise.
24630 * math/s_casinhl.c (__casinhl): Likewise.
24631 * math/libm-test.inc (casin_test): Add more tests.
24632 (casinh_test): Likewise.
24633 * sysdeps/i386/fpu/libm-test-ulps: Update.
24634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24635
302913e1
SP
246362013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24637
6420d207
SP
24638 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24639
a9e48ab4
SP
24640 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24641
b7837264
SP
24642 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24643 declarations.
24644 (denorm): Likewise.
24645 (__mp_dbl): Likewise.
24646 (__inv): Likewise.
24647
f8af25d2
SP
24648 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24649 and adjust the header comment.
24650
302913e1
SP
24651 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24652 variable name from declaration.
24653
5d7dd1ca
L
246542013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24655
24656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24657 Initialize COMMON_CPUID_INDEX_7 element.
24658 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24659 (CPUID_RTM): Likewise.
24660 (HAS_RTM): Likewise.
24661 (COMMON_CPUID_INDEX_7): New enum.
24662
2f5f40f4
AS
246632013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24664
24665 [BZ #14981]
24666 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24667 size is zero, record memory as freed.
24668
4056f4a0
AJ
246692013-01-03 Andreas Jaeger <aj@suse.de>
24670
24671 * po/ia.po: Add new Interlingua translation.
24672
ab15736f 246732012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
24674
24675 * locale/programs/localedef.c: Fix description of '--posix' flag.
24676
568035b7
JM
246772013-01-02 Joseph Myers <joseph@codesourcery.com>
24678
e6898b8d
JM
24679 * NEWS: Update dates in second copyright notice.
24680 * README: Update copyright dates in example.
24681 * manual/libc.texinfo: Update copyright dates.
24682 * scripts/test-installation.pl: Update copyright date in --version
24683 output.
24684
0e2f9562
JM
24685 * hurd/ctty-input.c: Fix copyright notice formatting.
24686 * hurd/ctty-output.c: Likewise.
24687 * hurd/dtable.c: Likewise.
24688 * hurd/hurd-raise.c: Likewise.
24689 * hurd/hurdprio.c: Likewise.
24690 * hurd/msgportdemux.c: Likewise.
24691 * misc/sys/file.h: Likewise.
24692 * misc/sys/ioctl.h: Likewise.
24693 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24694 * sysdeps/mach/hurd/chdir.c: Likewise.
24695 * sysdeps/mach/hurd/fchdir.c: Likewise.
24696 * sysdeps/mach/hurd/rename.c: Likewise.
24697 * sysdeps/mach/hurd/rmdir.c: Likewise.
24698 * sysdeps/mach/hurd/seekdir.c: Likewise.
24699 * sysdeps/mach/hurd/setsid.c: Likewise.
24700 * sysdeps/posix/wait3.c: Likewise.
24701
568035b7
JM
24702 * All files with FSF copyright notices: Update copyright dates
24703 using scripts/update-copyrights.
24704 * intl/plural.c: Regenerated.
24705 * locale/programs/charmap-kw.h: Likewise.
24706 * locale/programs/locfile-kw.h: Likewise.
24707
da08f647
SP
247082013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24709
0f5477af
SP
24710 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24711 four values.
24712
44e0d4c2
SP
24713 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24714 calculation loop and add branch prediction.
24715
4d55b4e5
SP
24716 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24717 check access beyond bounds of m1np.
24718
da08f647
SP
24719 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24720 MPTWO.
24721 (__inv): Remove local variable MPTWO to use the global
24722 constant.
24723 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24724 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24725 variable MPTWO.
24726 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24727 MP3HALFS static const.
24728
8e051029
DM
247292013-01-01 David S. Miller <davem@davemloft.net>
24730
24731 * po/ca.po: Update from translation team.
24732
f4cf5f2d
JM
247332013-01-01 Joseph Myers <joseph@codesourcery.com>
24734
24735 * scripts/update-copyrights: New file.
24736 * Makeconfig: Reformat copyright notice.
24737 * ctype/ctype.h: Likewise.
24738 * debug/swprintf_chk.c: Likewise.
24739 * elf/dl-cache.c: Likewise.
24740 * elf/dl-debug.c: Likewise.
24741 * elf/dl-object.c: Likewise.
24742 * grp/initgroups.c: Likewise.
24743 * hurd/Makefile: Likewise.
24744 * hurd/hurd/signal.h: Likewise.
24745 * hurd/hurdfault.c: Likewise.
24746 * hurd/hurdioctl.c: Likewise.
24747 * hurd/hurdlookup.c: Likewise.
24748 * hurd/intr-msg.c: Likewise.
24749 * iconv/gconv_open.c: Likewise.
24750 * libio/swprintf.c: Likewise.
24751 * locale/lc-ctype.c: Likewise.
24752 * locale/nl_langinfo.c: Likewise.
24753 * mach/Machrules: Likewise.
24754 * mach/Makefile: Likewise.
24755 * malloc/obstack.h: Likewise.
24756 * manual/Makefile: Likewise.
24757 * manual/tsort.awk: Likewise.
24758 * misc/bits/stab.def: Likewise.
24759 * nis/nis_print_group_entry.c: Likewise.
24760 * nis/nis_table.c: Likewise.
24761 * nis/nss_compat/compat-pwd.c: Likewise.
24762 * nis/nss_compat/compat-spwd.c: Likewise.
24763 * po/Makefile: Likewise.
24764 * posix/fnmatch.c: Likewise.
24765 * posix/regex.h: Likewise.
24766 * resolv/Makefile: Likewise.
24767 * resolv/nss_dns/dns-network.c: Likewise.
24768 * resolv/res_hconf.c: Likewise.
24769 * scripts/gen-sorted.awk: Likewise.
24770 * soft-fp/soft-fp.h: Likewise.
24771 * stdio-common/printf.h: Likewise.
24772 * stdlib/monetary.h: Likewise.
24773 * stdlib/random.c: Likewise.
24774 * stdlib/random_r.c: Likewise.
24775 * sysdeps/generic/Makefile: Likewise.
24776 * sysdeps/gnu/Makefile: Likewise.
24777 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24778 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24779 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24780 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24781 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24782 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24783 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24784 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24785 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24786 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24787 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24788 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24789 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24790 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24791 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24792 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24793 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24794 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24795 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24796 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24797 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24798 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24799 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24800 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24801 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24802 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24803 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24804 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24805 * sysdeps/mach/hurd/errnos.awk: Likewise.
24806 * sysdeps/mach/hurd/fork.c: Likewise.
24807 * sysdeps/mach/hurd/getcwd.c: Likewise.
24808 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24809 * sysdeps/mach/hurd/mmap.c: Likewise.
24810 * sysdeps/mach/hurd/utimes.c: Likewise.
24811 * sysdeps/mach/hurd/xmknod.c: Likewise.
24812 * sysdeps/posix/profil.c: Likewise.
24813 * sysdeps/posix/readdir_r.c: Likewise.
24814 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24815 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24816 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24817 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24818 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24819 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24820 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24821 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24823 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24824 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24825 * sysdeps/pthread/lio_listio.c: Likewise.
24826 * sysdeps/sparc/dl-procinfo.h: Likewise.
24827 * sysdeps/unix/i386/sysdep.S: Likewise.
24828 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24829 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24830 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24831 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24833 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24834 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24835 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24836 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24837 * sysdeps/wordsize-32/divdi3.c: Likewise.
24838 * time/sys/time.h: Likewise.
24839 * wcsmbs/Makefile: Likewise.
24840
0549fbba
DM
248412013-01-01 David S. Miller <davem@davemloft.net>
24842
a141f1a7
DM
24843 * po/fr.po: Update from translation team.
24844
0549fbba
DM
24845 * catgets/gencat.c: Update copyright year.
24846 * csu/version.c: Likewise.
24847 * debug/catchsegv.sh: Likewise.
24848 * debug/pcprofiledump.c: Likewise.
24849 * debug/xtrace.sh: Likewise.
24850 * elf/ldconfig.c: Likewise.
24851 * elf/ldd.bash.in: Likewise.
24852 * elf/pldd.c: Likewise.
24853 * elf/sotruss.ksh: Likewise.
24854 * elf/sprof.c: Likewise.
24855 * iconv/iconv_prog.c: Likewise.
24856 * iconv/iconvconfig.c: Likewise.
24857 * locale/programs/locale.c: Likewise.
24858 * locale/programs/localedef.c: Likewise.
24859 * login/programs/pt_chown.c: Likewise.
24860 * malloc/memusage.sh: Likewise.
24861 * malloc/memusagestat.c: Likewise.
24862 * malloc/mtrace.pl: Likewise.
24863 * nscd/nscd.c: Likewise.
24864 * nss/getent.c: Likewise.
24865 * nss/makedb.c: Likewise.
24866 * posix/getconf.c: Likewise.
24867
18ea052c
SP
248682012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24869
24870 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24871 numbers.
24872
9c89fca6
MF
248732012-12-30 Mike Frysinger <vapier@gentoo.org>
24874
24875 * math/bits/mathcalls.h (modf): Use __nonnull.
24876
085ec079
SP
248772012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24878
24879 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24880 (split): Use macro CN instead of the bare value.
24881 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24882 could be used.
24883 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24884 instead of the bare value.
24885 (power1): Likewise.
24886
6d9f97e1
SP
248872012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24888
d63f73be
SP
24889 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24890 __ATAN_TWOM.
24891 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24892
6d9f97e1
SP
24893 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24894 their values.
24895 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24896 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24897 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24898 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24899
4c4febf5
AJ
249002012-12-28 Andreas Jaeger <aj@suse.de>
24901
af5843ef
AJ
24902 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24903 values are from Linux 3.7.
24904
4c4febf5
AJ
24905 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24906 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24907
99136f82
SP
249082012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24909
2f216c3c 24910 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
24911 TRUE case.
24912
99136f82
SP
24913 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24914 (norm): Likewise.
24915 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24916 variables with preprocessor constants.
24917 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24918 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24919 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24920
7fffbdff
BH
249212012-12-27 Bruno Haible <bruno@clisp.org>
24922
24923 [BZ #14317]
24924 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24925 only if needed.
24926
b76eb5f0
SP
249272012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24928
31a7fe5c
SP
24929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24930 and use variable directly.
24931 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24932
b76eb5f0
SP
24933 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24934 MPONE.
24935 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24936 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24937 variable MPONE.
24938 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24939 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24940 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24941 include directive. Remove local variable MPONE.
24942 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24943 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24944 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24945
2c8bfe7d
DM
249462012-12-25 David S. Miller <davem@davemloft.net>
24947
24948 * version.h (RELEASE): Set to "development".
24949 (VERSION): Set to "2.17.90".
24950 * NEWS: Add 2.18 section.
24951
147d03b0
DM
249522012-12-21 David S. Miller <davem@davemloft.net>
24953
24954 * po/hr.po: Update from translation team.
24955
a8ebb2b9
AK
249562012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24957
24958 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24959
95b4f1b6
SE
249602012-12-19 Steve Ellcey <sellcey@mips.com>
24961
b2d94007 24962 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 24963
cedb2a90
MS
249642012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24965
24966 * manual/contrib.texi (Contributors): Spelling correction.
24967
bbf527d6
DM
249682012-12-15 David S. Miller <davem@davemloft.net>
24969
24970 * po/ru.po: Update from translation team.
24971
bc38c906
DM
249722012-12-13 David S. Miller <davem@davemloft.net>
24973
85429b1a
DM
24974 * NEWS: Mention IFUNC testsuite enhancements.
24975
d283e353
DM
24976 * po/pl.po: Update from translation team.
24977 * po/bg.po: Likewise.
24978
bc38c906
DM
24979 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24980 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24981
a181b0d7
DM
249822012-12-11 David S. Miller <davem@davemloft.net>
24983
4641d57e
DM
24984 * po/sv.po: Update from translation team.
24985
f7bc6495
DM
24986 * po/vi.po: Update from translation team.
24987
6fc9048f
DM
24988 * po/cs.po: Update from translation team.
24989
a181b0d7
DM
24990 * po/de.po: Update from translation team.
24991 * po/eo.po: Likewise.
24992 * po/nl.po: Likewise.
24993
f70bfe80
SP
249942012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24995
3c8b4190
SP
24996 [BZ #14246]
24997 * manual/argp.texi (Argp Helper Functions): Move node to follow
24998 Argp Parsing State.
24999
f70bfe80
SP
25000 [BZ #14872]
25001 * manual/conf.texi (Limits on File System Capacity): Mention if
25002 terminating null is included in the max size.
25003
188f0adf
AJ
250042012-12-10 Andreas Jaeger <aj@suse.de>
25005
25006 * po/cs.po: Update from translation team.
25007
56e7d3ad
SP
250082012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25009
25010 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25011 void pointer and cast to uintptr_t.
25012 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25013 path.
25014 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25015 * sysdeps/s390/s390-64/memset.S: Likewise.
25016
76f2d2ea 250172012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
25018
25019 [BZ #14833]
25020 * menual/message.texi (Message Translation): Fix typos.
25021 (Helper programs for gettext): Likewise.
25022
67cbf9a2
AS
250232012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25024
25025 [BZ #14898]
25026 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25027 Change to -1.
25028
682d0e9a
DM
250292012-12-07 David S. Miller <davem@davemloft.net>
25030
25031 * po/libc.pot: Update.
25032
573cd484
RH
250332012-12-07 Richard Henderson <rth@redhat.com>
25034
7e9da188 25035 [BZ #10114]
573cd484
RH
25036 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25037 normal/normal case to before the switch.
25038 (_FP_DIV): Likewise.
25039
e933a943
MF
250402012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25041 Mike Frysinger <vapier@gentoo.org>
25042
25043 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25044 check for __NR_fadvise64_64.
25045
82123268
CM
250462012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25047
25048 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25049 0, not just to plain "0" as a statement.
25050 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25051 with cw.
25052
d9814526
JM
250532012-12-06 Joseph Myers <joseph@codesourcery.com>
25054
25055 * NEWS: Use sourceware.org in Bugzilla URL.
25056
7728c574
SP
250572012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25058
f16946dd
SP
25059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25060 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25061
5704bbcb
SP
25062 * stdio-common/tst-put-error.c (do_test): Add newline to the
25063 padded test to ensure flush.
25064
17aa0516
JL
250652012-12-05 Jeff Law <law@redhat.com>
25066
25067 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25068
363313b5
JM
250692012-12-05 Joseph Myers <joseph@codesourcery.com>
25070
effbd42a
JM
25071 * README: Don't refer to ports add-on as distributed separately.
25072 Mention AArch64 in list of systems supported in the ports add-on.
25073
87600365
JM
25074 * LICENSES: Add more non-FSF copyright and license notices.
25075
a0d7066a
JM
25076 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25077 ((unused)).
25078
66ca5a5b
JM
25079 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25080
363313b5
JM
25081 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25082 10000 as width of padded output.
25083
b37984ad
JM
250842012-12-04 Joseph Myers <joseph@codesourcery.com>
25085
9003570a
JM
25086 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25087
b37984ad
JM
25088 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25089 variable LX with __attribute__ ((unused)).
25090 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25091 Likewise.
25092 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25093 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25094 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25095 with __attribute__ ((unused)).
25096
c8df52ec
DM
250972012-12-04 David S. Miller <davem@abraco.davemloft.net>
25098
25099 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25100
b3b099af
JM
251012012-12-04 Joseph Myers <joseph@codesourcery.com>
25102
c33aa6e3
JM
25103 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25104 (CFLAGS-nldbl-acos.c): New variable.
25105 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25106 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25107 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25108 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25109 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25110 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25111 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25112 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25113 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25114 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25115 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25116 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25117 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25118 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25119 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25120 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25121 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25122 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25123 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25124 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25125 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25126 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25127 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25128 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25129 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25130 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25131 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25132 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25133 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25134 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25135 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25136 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25137 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25138 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25139 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25140 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25141 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25142 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25143 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25144 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25145 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25146 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25147 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25148 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25149 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25150 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25151 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25152 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25153 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25154 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25155 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25156 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25157 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25158 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25159 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25160 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25161 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25162 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25163 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25164 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25165 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25166 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25167 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25168 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25169 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25170 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25171 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25172 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25173 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25174 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25175 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25176 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25177 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25178 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25179 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25180 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25181 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25182 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25183 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25184 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25185 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25186 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25187 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25188 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25189 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25190 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25191 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25192 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25193 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25194 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25195 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25196 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25197 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25198 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25199 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25200 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25201 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25202
20f0018d
JM
25203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25204 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25205
b3b099af
JM
25206 [BZ #14914]
25207 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25208 whole low double instead of just low 47 bits when splitting values
25209 into two parts.
25210
029264d1
AM
252112012-12-03 Allan McRae <allan@archlinux.org>
25212
25213 * manual/stdio.texi (Predefined Printf Handlers): Remove
25214 @hsep and @vsep usage.
25215
c9d6789e
MF
252162012-12-03 Mike Frysinger <vapier@gentoo.org>
25217
25218 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25219 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25220
4b7634a5
JL
252212012-12-03 Jeff Law <law@redhat.com>
25222
25223 * time/sys/time.h (settimeofday): Do not mark TV argument
25224 as __nonnull.
25225
eb6cbd24
MF
252262012-12-01 Mike Frysinger <vapier@gentoo.org>
25227
25228 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25229 when currently writing and seek to current position when not.
25230 * libio/Makefile (tests): Remove bug-fclose1.
25231 * libio/bug-fclose1.c: Delete.
25232
f638872a
JM
252332012-12-01 Joseph Myers <joseph@codesourcery.com>
25234
25235 * manual/arith.texi (feenableexcept): Fix typo.
25236 (fedisableexcept): Likewise.
25237
48085d14
RM
252382012-11-30 Roland McGrath <roland@hack.frob.com>
25239
25240 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25241 second, differently-typed declaration, rather than a cast.
25242
1a538b9f
SP
252432012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25244
25245 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25246 * include/rpc/svc.h: ... here.
25247
d07f2ff1 252482012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
25249
25250 [BZ #13013]
25251 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25252 depending n and resplen2 to catch cases where answer
25253 equals answerp2.
25254
c93ec1f0
CD
252552012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25256
25257 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25258 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25259
37db69de
MF
252602012-11-29 Mike Frysinger <vapier@gentoo.org>
25261
25262 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25263
e10c4e4f
RM
252642012-11-29 Roland McGrath <roland@hack.frob.com>
25265
25266 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25267
2af1b328
JL
252682012-11-28 Jeff Law <law@redhat.com>
25269
25270 [BZ #13761]
25271 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25272 dataset_temporary. Track alloca usage into alloca_used.
25273 If dataset is large allocate and release it via malloc/free.
25274
111db5b1
FW
252752012-06-04 Florian Weimer <fweimer@redhat.com>
25276
f06cc227 25277 [BZ #14197]
111db5b1
FW
25278 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25279
dd694abd
DM
252802012-11-28 David S. Miller <davem@davemloft.net>
25281
25282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25283
9984dd01
JM
252842012-11-28 Joseph Myers <joseph@codesourcery.com>
25285
25286 [BZ #14803]
25287 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25288 of pi/2 rounded to nearest to 64 bits.
25289 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25290 nearest to 64 bits.
25291 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25292 bits.
25293
14bc93a9
JL
252942012-11-28 Jeff Law <law@redhat.com>
25295 Martin Osvald <mosvald@redhat.com>
25296
25297 [BZ #14889]
25298 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25299 * sunrpc/svc.c: Include time.h.
25300 (__svc_accept_failed): New function.
25301 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25302 any reason other than EINTR, call __svc_accept_failed.
25303 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25304 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25305
e3c6aa3a
AS
253062012-11-28 Andreas Schwab <schwab@suse.de>
25307
25308 * scripts/abilist.awk: Also handle indirect functions in .opd
25309 section.
25310
1bead169
JM
253112012-11-28 Joseph Myers <joseph@codesourcery.com>
25312
25313 [BZ #13881]
25314 * sysdeps/x86/fpu/powl_helper.c: New file.
25315 * sysdeps/x86/fpu/Makefile: Likewise.
25316 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25317 (p3): New object.
25318 (__ieee754_powl): Use __powl_helper for finite arguments except
25319 integer exponents below 8.
25320 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25321 (p3): New object.
25322 (__ieee754_powl): Use __powl_helper for finite arguments except
25323 integer exponents below 8.
25324 * math/libm-test.inc (pow_test): Add more tests and enable some
25325 previously disabled tests.
25326 * sysdeps/i386/fpu/libm-test-ulps: Update.
25327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25328
0817d63d
SP
253292012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25330 Carlos O'Donell <carlos_odonell@mentor.com>
25331
25332 * nss/makedb.c (is_prime): Assert that input is odd and greater
25333 than 4. Note that fact in a comment too.
25334 (next_prime): Add 4 to input.
25335
de2fd463
SP
253362012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25337
25338 [BZ #11741]
25339 * libio/Makefile (tests): Add test case tst-fwrite-error.
25340 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25341 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25342 * libio/tst-fwrite-error.c: New test case.
25343
c515fb51
L
253442012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25345
25346 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25347 before casting to void *.
25348 * include/libc-internal.h (__pointer_type): New macro.
25349 (__integer_if_pointer_type_sub): Likewise.
25350 (__integer_if_pointer_type): Likewise.
25351 (cast_to_integer): Likewise.
25352 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25353 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25354 before casting to atomic64_t.
25355 (atomic_exchange_acq): Likewise.
25356 (__arch_exchange_and_add_body): Likewise.
25357 (__arch_add_body): Likewise.
25358 (atomic_add_negative): Likewise.
25359 (atomic_add_zero): Likewise.
25360
4cf77aa9
JM
253612012-11-26 Joseph Myers <joseph@codesourcery.com>
25362
25363 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25364 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25365 (add_fdes): Likewise.
25366 (linear_search_fdes): Likewise.
25367 (binary_search_unencoded_fdes): Likewise.
25368
d260b3b4
AS
253692012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25370
25371 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25372
67060746
AC
253732012-11-24 Adam Conrad <adconrad@0c3.net>
25374
25375 * configure.in: Autodetect C++ header directories.
25376 * configure: Regenerated.
25377
800938a1
MF
253782012-11-23 Mike Frysinger <vapier@gentoo.org>
25379
25380 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25381
4e6e34e6
AS
253822012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25383
25384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25385
7c7feb47
JM
253862012-11-22 Joseph Myers <joseph@codesourcery.com>
25387
7184dcdf
JM
25388 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25389 LDBL_MANT_DIG == 106]: Disable some tests.
25390 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25391 Likewise.
25392 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25393 Likewise.
25394
0a42601f
JM
25395 [BZ #14871]
25396 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25397 input for small inputs. Return +/- pi/2 for large inputs.
25398 * math/libm-test.inc (atan_test): Add more tests.
25399
79c9b9fe
JM
25400 * sysdeps/generic/unwind-dw2-fde-glibc.c
25401 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25402 __attribute__ ((unused)).
25403
c60d3bf2
JM
25404 [BZ #14645]
25405 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25406 x * y if x and y are nonzero and z is zero.
25407
ef1e0867
JM
25408 [BZ #14811]
25409 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25410 nonzero exponents with absolute value below 0x1p-117 to +/-
25411 0x1p-117.
25412
1468ded3
JM
25413 [BZ #14869]
25414 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25415 up arguments below 2**-450, not just those below 2**-500.
25416 * math/libm-test.inc (hypot_test): Add another test.
25417
8e27e3cc
JM
25418 [BZ #14868]
25419 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25420 Return a+b for ratio over 2**120, not 2**60.
25421 * math/libm-test.inc (hypot_test): Add another test.
25422
c9c0279b
JM
25423 * math/libm-test.inc (clog_test): Use
25424 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25425 (clog10_test): Likewise.
25426
7c7feb47
JM
25427 [BZ #6778]
25428 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25429
fff1530e
AS
254302012-11-22 Andreas Schwab <schwab@suse.de>
25431
25432 * sysdeps/i386/fpu/libm-test-ulps: Update.
25433
94558d30
PT
254342012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25435
25436 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25437 printf output with newline.
25438
7e1be741
L
254392012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25440
6bfea974
L
25441 [BZ #14865]
25442 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25443 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25444 -z nodlopen, -z initfirst and -z execstack support.
25445 * configure: Regenerated.
25446
7e1be741
L
25447 * elf/elf.h (DF_1_NODIRECT): New macro.
25448 (DF_1_IGNMULDEF): Likewise.
25449 (DF_1_NOKSYMS): Likewise.
25450 (DF_1_NOHDR): Likewise.
25451 (DF_1_EDITED): Likewise.
25452 (DF_1_NORELOC): Likewise.
25453 (DF_1_SYMINTPOSE): Likewise.
25454 (DF_1_GLOBAUDIT): Likewise.
25455 (DF_1_SINGLETON): Likewise.
25456 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25457 DT_1_SUPPORTED_MASK bits.
25458 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25459
105ce2ce
CD
254602012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25461
25462 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25463
123be9de
TS
254642012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25465
d072f3f7
TS
25466 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25467 macro.
25468
123be9de
TS
25469 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25470 (sendmmsg): Move declarations...
25471 * socket/sys/socket.h: ... here.
25472 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25473 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25474 include it from...
25475 * socket/recvmmsg.c: ... this new file.
25476 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25477 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25478 definition of __sendmmsg hidden.
25479 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25480 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25481 Move ENOSYS stub into and include it from...
25482 * socket/sendmmsg.c: ... this new file.
25483 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25484 (sysdep_routines): Move recvmmsg and sendmmsg...
25485 * socket/Makefile (routines): ... here.
25486 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25487 (GLIBC_PRIVATE): Add __sendmmsg.
25488 * include/sys/socket.h (__sendmmsg): Add declarations.
25489 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25490 sendmmsg.
25491
cf9a5d18
JM
254922012-11-20 Joseph Myers <joseph@codesourcery.com>
25493
25494 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25495 variable I1 with __attribute__ ((unused)).
25496 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25497
ecd4caf9
JM
254982012-11-19 Joseph Myers <joseph@codesourcery.com>
25499
be14d48f
JM
25500 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25501 DUMMY variables with __attribute__ ((unused)).
25502
ecd4caf9
JM
25503 * bits/byteswap.h: Include <bits/types.h>.
25504 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25505
986cab95
PT
255062012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25507
25508 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25509 string_t. Do not manually set errno.
25510 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25511 length with __strnlen. Make sure to both set errno and return it on
25512 failure.
25513
6d33cc9d
DM
255142012-11-19 David S. Miller <davem@davemloft.net>
25515
25516 With help from Joseph Myers.
25517 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25518 very large arguments properly.
25519 * math/libm-test.inc (atan_test): New tests.
25520 (atan2_test): New tests.
25521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25522 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25523
ee663277
JM
255242012-11-19 Joseph Myers <joseph@codesourcery.com>
25525
877f2d8e
JM
25526 [BZ #14856]
25527 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25528 Define to 3.
25529
116fc08a
JM
25530 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25531 [POSIX] (EADDRNOTAVAIL): Likewise.
25532 [POSIX] (EAFNOSUPPORT): Likewise.
25533 [POSIX] (EALREADY): Likewise.
25534 [POSIX] (ECONNABORTED): Likewise.
25535 [POSIX] (ECONNREFUSED): Likewise.
25536 [POSIX] (ECONNRESET): Likewise.
25537 [POSIX] (EDESTADDRREQ): Likewise.
25538 [POSIX] (EDQUOT): Likewise.
25539 [POSIX] (EHOSTUNREACH): Likewise.
25540 [POSIX] (EIDRM): Likewise.
25541 [POSIX] (EISCONN): Likewise.
25542 [POSIX] (ELOOP): Likewise.
25543 [POSIX] (EMULTIHOP): Likewise.
25544 [POSIX] (ENETDOWN): Likewise.
25545 [POSIX] (ENETUNREACH): Likewise.
25546 [POSIX] (ENOBUFS): Likewise.
25547 [POSIX] (ENODATA): Likewise.
25548 [POSIX] (ENOLINK): Likewise.
25549 [POSIX] (ENOMSG): Likewise.
25550 [POSIX] (ENOPROTOOPT): Likewise.
25551 [POSIX] (ENOSR): Likewise.
25552 [POSIX] (ENOSTR): Likewise.
25553 [POSIX] (ENOTCONN): Likewise.
25554 [POSIX] (ENOTSOCK): Likewise.
25555 [POSIX] (EOPNOTSUPP): Likewise.
25556 [POSIX] (EOVERFLOW): Likewise.
25557 [POSIX] (EPROTO): Likewise.
25558 [POSIX] (EPROTONOSUPPORT): Likewise.
25559 [POSIX] (EPROTOTYPE): Likewise.
25560 [POSIX] (ESTALE): Likewise.
25561 [POSIX] (ETIME): Likewise.
25562 [POSIX] (ETXTBSY): Likewise.
25563 [POSIX] (EWOULDBLOCK): Likewise.
25564 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25565 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25566 [POSIX] (SEEK_CUR): Likewise.
25567 [POSIX] (SEEK_END): Likewise.
25568 [POSIX || UNIX98] (mode_t): Do not require.
25569 [POSIX] (off_t): Likewise.
25570 [POSIX] (pid_t): Likewise.
25571 [POSIX] (sys/stat.h): Do not allow header.
25572 [POSIX] (unistd.h): Likewise.
25573 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25574 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25575 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25576 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25577 require.
25578 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25579 sigevent): Specify elements.
25580 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25581 entry.
25582 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25583 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25584
a483863f
JM
25585 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25586 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25587 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25588 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25589 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25590 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25591 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25592 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25593 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25594 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25595 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25596 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25597 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25598 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25599 Likewise.
25600 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25601 Likewise.
25602 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25603 Likewise.
25604 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25605 Likewise.
25606 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25607 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25608 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25609 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25610 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25611 Specify lower bound on value.
25612 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25613 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25614 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25615 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25616 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25617 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25618 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25619 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25620 value.
25621 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25622 as optional.
25623 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25624 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25625 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25626 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25627 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25628 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25629 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25630 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25631 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25632 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25633 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25634 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25635 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25636 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25637 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25638 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25639 entry.
25640 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25641 optional.
25642 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25643 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25644 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25645 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25646 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25647 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25648 Likewise.
25649 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25650 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25651 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25652 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25653 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25654 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25655 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25656 as optional.
25657 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25658 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25659 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25660 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25661 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25662 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25663 specify as optional.
25664 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25665 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25666 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25667 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25668 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25669 [XPG3] (NL_LANGMAX): Likewise.
25670 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25671 [POSIX || XPG3] (NL_NMAX): Likewise.
25672 [POSIX || XPG3] (NL_SETMAX): Likewise.
25673 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25674 [XPG3] (NZERO): Likewise.
25675 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25676 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25677 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25678 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25679 (REG_ERANGE): Expect.
25680 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25681 optional-constant.
25682 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25683 Use (void) in prototype.
25684 [POSIX] (*_t): Allow.
25685 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25686 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25687 (WRDE_BADVAL): Expect.
25688
5ba924e3
JM
25689 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25690 expect.
25691 [XPG3 || XPG4] (O_RSYNC): Likewise.
25692 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25693 Likewise.
25694 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25695 [XPG3 || XPG4] (sigqueue): Likewise.
25696 [XPG3 || XPG4] (sigtimedwait): Likewise.
25697 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25698 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25699 [XPG3 || XPG4] (vsnprintf): Likewise.
25700 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25701 Likewise.
25702 [XPG3 || XPG4] (blksize_t): Likewise.
25703 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25704 Likewise.
25705 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25706 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25707 [XPG3 || XPG4] (struct itimerspec): Likewise.
25708 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25709 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25710 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25711 [XPG3 || XPG4] (clockid_t): Likewise.
25712 [XPG3 || XPG4] (timer_t): Likewise.
25713 [XPG3 || XPG4] (clock_getres): Likewise.
25714 [XPG3 || XPG4] (clock_gettime): Likewise.
25715 [XPG3 || XPG4] (clock_settime): Likewise.
25716 [XPG3 || XPG4] (nanosleep): Likewise.
25717 [XPG3 || XPG4] (timer_create): Likewise.
25718 [XPG3 || XPG4] (timer_delete): Likewise.
25719 [XPG3 || XPG4] (timer_gettime): Likewise.
25720 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25721 [XPG3 || XPG4] (timer_settime): Likewise.
25722 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25723 [XPG3 || XPG4] (getlogin_r): Likewise.
25724 [XPG3 || XPG4] (pread): Likewise.
25725 [XPG3 || XPG4] (pthread_atfork): Likewise.
25726 [XPG3 || XPG4] (pwrite): Likewise.
25727
ee663277
JM
25728 [BZ #14835]
25729 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25730 <bits/siginfo.h>.
25731
942caa16
PT
257322012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25733
e19af380
PT
25734 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25735 finalizing MALLSTREAM.
25736
942caa16
PT
25737 * sysdeps/mach/hurd/syncfs.c: New file.
25738
cfde9b46
SP
257392012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25740
25741 [BZ #14719]
25742 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25743 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25744 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25745 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25746 (_nss_dns_gethostbyname4_r): Likewise.
25747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25748 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25749
f6da27e5
PH
257502012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25751
25752 [BZ #13763]
25753 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25754
6665d4a2
SM
257552012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25756
1f51ee92
SM
25757 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25758 * elf/cache.c (print_entry): Print ",AArch64" for
25759 FLAG_AARCH64_LIB64
25760
6665d4a2
SM
25761 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25762 * elf/cache.c (print_entry): Print ",hard-float" for
25763 FLAG_ARM_LIBHF.
25764
05b227bd
DM
257652012-11-18 David S. Miller <davem@davemloft.net>
25766
25767 With help from Joseph Myers.
25768 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25769 cutoff to 2**-13.
25770 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25771 cutoff to 2**-25.
25772 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25773 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25774 small.
25775 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25776 * math/libm-test.inc (y0_test): New tests.
25777 (y1_test): New tests.
25778 * sysdeps/i386/fpu/libm-test-ulps: Update.
25779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25781
786b0b67
AS
257822012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25783
25784 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25785 64-bit targets.
25786 * configure: Regenerated.
25787
8e18b86d
DM
257882012-11-17 David S. Miller <davem@davemloft.net>
25789
25790 [BZ #14811]
25791 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25792 nonzero exponents with absolute value below 0x1p-128 to +/-
25793 0x1p-128.
25794
531f1ae0
JM
257952012-11-17 Joseph Myers <joseph@codesourcery.com>
25796
12df29e2
JM
25797 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25798
150dc1a0
JM
25799 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25800
531f1ae0
JM
25801 * posix/getconf-speclist.c: New file.
25802 * posix/posix-envs.def: Likewise.
25803 * posix/confstr.c (START_ENV_GROUP): New macro.
25804 (END_ENV_GROUP): Likewise.
25805 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25806 (KNOWN_PRESENT_ENV_STRING): Likewise.
25807 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25808 (UNKNOWN_ENVIRONMENT): Likewise.
25809 (confstr): Include posix-envs.def instead of handling
25810 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25811 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25812 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25813 (END_ENV_GROUP): Likewise.
25814 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25815 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25816 (UNKNOWN_ENVIRONMENT): Likewise.
25817 (__sysconf): Include posix-envs.def instead of handling associated
25818 cases directly here.
25819 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25820 preprocessing getconf-speclist.c rather than running getconf or
25821 generating empty file.
25822
a93f9cbc
PT
258232012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25824
25825 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25826
d64d9f87
AL
258272012-11-16 Andrej Lajovic <natrij@gmail.com>
25828
25829 [BZ #14672]
25830 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25831
447885eb
DM
258322012-11-16 David S. Miller <davem@davemloft.net>
25833
25834 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25835 smaller than LDBL_EPSILON/2.0L, just return xm1.
25836
bcbf9830
L
258372012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25838
25839 * elf/tst-array1.c (init): Set constructor priority to 1000.
25840 (fini): Set destructor priority to 1000.
25841 * elf/tst-array2dep.c: Likewise.
25842
2b766585
SP
258432012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25844
25845 [BZ #11741]
25846 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25847 (_IO_new_file_xsputn): Also return EOF if none of the input
25848 data was written when overflow failed.
25849 * libio/iopadn.c (_IO_padn): Likewise.
25850 * libio/iowpadn.c (_IO_wpadn): Likewise.
25851 * stdio-common/tst-put-error.c: Add copyright notice.
25852 (do_test): Add case for printing padded string.
25853 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25854 _IO_padn returned error.
25855 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25856 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25857 return EOF.
25858
b1848fde
SP
258592012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25860
25861 * libio/libioP.h: Add comment note that the references to C++
25862 bits are now obsolete.
25863
2fd89785
MS
258642012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25865
25866 * math/libm-test.inc (check_complex): Use asprintf.
25867
e3ea5409
JM
258682012-11-14 Joseph Myers <joseph@codesourcery.com>
25869
25870 * debug/pcprofiledump.c (print_version): Update copyright year.
25871 * malloc/memusagestat.c (print_version): Likewise.
25872
2e64d265
L
258732012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25874
25875 [BZ #14831]
25876 * elf/Makefile (tests): Add tst-audit8.
25877 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25878 ($(objpfx)tst-audit8.out): New target.
25879 (tst-audit8-ENV): New variable.
25880 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25881 audit if l_reloc_result is NULL.
25882 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25883 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25884 * elf/tst-audit8.c: New file.
25885
c485e4d2
MS
258862012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25887
25888 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25889 * misc/Makefile (CFLAGS-select.c): Define.
25890 * posix/Makefile (CFLAGS-pause.c): Define.
25891
3a0d900a
DM
258922012-11-13 David S. Miller <davem@davemloft.net>
25893
25894 * crypt/Makefile: Move test targets after toplevel Rules
25895 inclusion. Grab any necessary sysdep routines when linking.
25896 * crypt/md5.c (md5_process_block): Remove define, we will always
25897 name it __md5_process_block.
25898 (md5_finish_ctx): Update md5_process_block call.
25899 (md5_stream): Likewise.
25900 (md5_process_bytes): Likewise.
25901 (md5_process_block): Rename to __md5_process_block and move to ...
25902 * crypt/md5-block.c: ... here.
25903 * crypt/sha256.c (sha256_process_block): Move to ...
25904 * crypt/sha256-block.c: ... here.
25905 * crypt/sha512.c (sha512_process_block): Move to ...
25906 * crypt/sha512-block.c: ... here.
25907 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25908 path.
25909 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25910 * sysdeps/sparc/sparc64/multiarch/Makefile
25911 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25912 crypt subdir.
25913 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25914 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25915 multiarch changes.
25916 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25917 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25918 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25919 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25920 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25921 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25922 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25923 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25924 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25925 file.
25926 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25927 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25928 file.
25929 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25930
8ca89318
JM
259312012-11-13 Joseph Myers <joseph@codesourcery.com>
25932
e27d476a
JM
25933 * timezone/tzselect.ksh: Update from tzcode git revision
25934 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25935 * timezone/zdump.c: Likewise.
25936 * timezone/zic.c: Likewise.
25937 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25938 in TZVERSION setting, not $(PKGVERSION).
25939 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25940 REPORT_BUGS_TO settings.
25941
8ca89318
JM
25942 [BZ #14838]
25943 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25944 macro.
25945
47594329
MS
259462012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25947
25948 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25949 detection to immediately after _FP_ROUND().
25950 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25951 bits are 0.
25952
640ac3f1
DM
259532012-11-11 David S. Miller <davem@davemloft.net>
25954
25955 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25956 inttypes.h
25957 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25958 __close rather than their public counterparts.
25959
3d2577bb
JM
259602012-11-10 Joseph Myers <joseph@codesourcery.com>
25961
25962 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25963 file.
25964 [UNIX98] (sem_timedwait): Do not expect.
25965 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25966 [XPG4 || UNIX98] (sockatmark): Do not expect.
25967 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25968 (clock_getcpuclockid): Do not expect.
25969 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25970 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25971 Do not expect.
25972 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25973 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25974 [UNIX98] (vwscanf): Likewise.
25975 [UNIX98] (vswscanf): Likewise.
25976
fb1ae1ee
JM
259772012-11-09 Joseph Myers <joseph@codesourcery.com>
25978
9ec6f8bd
JM
25979 * timezone/version.h: Remove file.
25980 * timezone/README: Do not refer to version.h.
25981 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25982 $(objpfx)version.h.
25983 ($(objpfx)zdump.o): Likewise.
c3f81911 25984 ($(objpfx)version.h): New target.
9ec6f8bd 25985
0aa8f8a1
JM
25986 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25987 2012i.
25988 * timezone/README: Don't mention modification to tzselect.ksh.
25989 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25990 work on unmodified tzselect.ksh. Substitute version numbers in
25991 tzselect.ksh.
25992
4e87147f
JM
25993 * Makefile (format-me): Remove.
25994 (INSTALL): Adjust indentation. Use commands directly instead of
25995 using $(format-me).
25996
8b748aed
JM
25997 * aclocal.m4 (ACX_PKGVERSION): New macro.
25998 (ACX_BUGURL): Likewise.
25999 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26000 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26001 (REPORT_BUGS_TO): Likewise.
26002 * configure: Regenerated.
26003 * config.h.in (PKGVERSION): New macro.
26004 (REPORT_BUGS_TO): Likewise.
26005 * config.make.in (PKGVERSION): New variable.
26006 (PKGVERSION_TEXI): Likewise.
26007 (REPORT_BUGS_TO): Likewise.
26008 (REPORT_BUGS_TEXI): Likewise.
26009 * Makefile (format-me): Use -I$(common-objpfx)manual.
26010 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26011 ($(common-objpfx)manual/%): New target.
26012 (manual/%): Remove target.
26013 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26014 (print_version): Use PKGVERSION.
26015 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26016 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26017 and REPORT_BUGS_TO.
26018 ($(objpfx)xtrace): Likewise.
26019 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26020 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26021 (print_version): Use PKGVERSION.
26022 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26023 (do_version): Use PKGVERSION.
26024 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26025 REPORT_BUGS_TO.
26026 (common-ldd-rewrite): Likewise.
26027 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26028 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26029 (print_version): Use PKGVERSION.
26030 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26031 * elf/pldd.c (argp_program_bug_address): Remove variable.
26032 (more_help): New function.
26033 (argp): Use more_help.
26034 (print_version): Use PKGVERSION.
26035 * elf/sln.c (main): Use PKGVERSION.
26036 (usage): Use REPORT_BUGS_TO.
26037 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26038 (top level): Use PKGVERSION.
26039 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26040 (print_version): Use PKGVERSION.
26041 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26042 (print_version): Use PKGVERSION.
26043 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26044 (print_version): Use PKGVERSION.
26045 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26046 (print_version): Use PKGVERSION.
26047 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26048 (print_version): Use PKGVERSION.
26049 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26050 (print_version): Use PKGVERSION.
26051 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26052 and BUGURL.
26053 ($(objpfx)memusage): Likewise.
26054 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26055 (do_version): Use PKGVERSION.
26056 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26057 (print_version): Use PKGVERSION.
26058 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26059 ($PKGVERSION): New variable.
26060 ($REPORT_BUGS_TO): Likewise.
26061 (usage): Use $REPORT_BUGS_TO.
26062 (top level): Use $PKGVERSION.
26063 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26064 ($(objpfx)pkgvers.texi): New rule.
26065 ($(objpfx)stamp-pkgvers): Likewise.
26066 * manual/install.texi: Include pkgvers.texi.
26067 (--with-pkgversion): Document new configure option.
26068 (--with-bugurl): Likewise.
26069 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26070 than necessarily for this particular distribution. Use
26071 REPORT_BUGS_TO for where to report bugs.
26072 * INSTALL: Regenerated.
26073 * manual/libc.texinfo: Include pkgvers.texi.
26074 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26075 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26076 (print_version): Use PKGVERSION.
26077 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26078 (print_version): Use PKGVERSION.
26079 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26080 (print_version): Use PKGVERSION.
26081 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26082 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26083 macro.
26084 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26085 (print_version): Use PKGVERSION.
26086 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26087 (print_version): Use PKGVERSION.
26088 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26089 and PKGVERSION.
26090
92e4b6a9
JM
26091 * timezone/checktab.awk: Update from tzcode 2012i.
26092 * timezone/ialloc.c: Likewise.
26093 * timezone/private.h: Likewise.
26094 * timezone/scheck.c: Likewise.
26095 * timezone/tzfile.h: Likewise.
26096 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26097 (TZVERSION): Hardcode tzcode version number.
26098 * timezone/zdump.c: Update from tzcode 2012i.
26099 * timezone/zic.c: Likewise.
26100 * timezone/version.h: New file.
26101 * timezone/README: Describe version.h. Update upstream location.
26102
9bde902c
JM
26103 [BZ #14824]
26104 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26105 (mktemp): Enable declaration.
26106 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26107 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26108 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26109 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26110 Likewise.
26111 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26112 Likewise.
26113 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26114 Likewise.
26115 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26116 Likewise.
26117 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26118 Likewise.
26119 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26120 Likewise.
26121
fb1ae1ee
JM
26122 [BZ #14821]
26123 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26124 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26125 for copies of such integer values.
26126 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26127 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26128
2c1adbcb
AJ
261292012-11-09 Andreas Jaeger <aj@suse.de>
26130
26131 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26132 definitions and declarations that are provided by
26133 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26134
d0f8457e
AK
261352012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26136
3a235abb 26137 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
26138 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26139 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26140 definition.
26141
57241e26
MS
261422012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26143
26144 * elf/elf.h: Update comment before AArch64 relocations.
26145
60e8270d
DM
261462012-11-07 David S. Miller <davem@davemloft.net>
26147
26148 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26149 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26150 (__start_context): Declare.
26151 (__makecontext_ret): Delete.
26152 (__makecontext): Hook up __start_context instead of
26153 __makecontext_ret.
26154 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26155 (sysdep_routines): Add __start_context when in stdlib.
26156
0fbb0fbc
JM
261572012-11-07 Joseph Myers <joseph@codesourcery.com>
26158
26159 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26160 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26161 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26162 hardcoded "nm".
26163 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26164 (READELF): New variable. Use it instead of hardcoded "readelf".
26165
eb48db7e
L
261662012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26167
26168 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26169 * sysdeps/x86/Makefile: Here.
26170 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26171 * sysdeps/x86/tst-xmmymm.sh: This.
26172
05bcf62a
JM
261732012-11-07 Joseph Myers <joseph@codesourcery.com>
26174
c4b6cf53
JM
26175 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26176 expectations.
26177 [UNIX98] (pthread_barrier_t): Do not expect.
26178 [UNIX98] (pthread_barrierattr_t): Likewise.
26179 [UNIX98] (pthread_spinlock_t): Likewise.
26180 [UNIX98] (pthread_barrier_destroy): Likewise.
26181 [UNIX98] (pthread_barrier_init): Likewise.
26182 [UNIX98] (pthread_barrier_wait): Likewise.
26183 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26184 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26185 [UNIX98] (pthread_barrierattr_init): Likewise.
26186 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26187 [UNIX98] (pthread_getcpuclockid): Likewise.
26188 [UNIX98] (pthread_mutex_timedlock): Likewise.
26189 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26190 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26191 [UNIX98] (pthread_sigmask): Likewise.
26192 [UNIX98] (pthread_spin_destroy): Likewise.
26193 [UNIX98] (pthread_spin_init): Likewise.
26194 [UNIX98] (pthread_spin_lock): Likewise.
26195 [UNIX98] (pthread_spin_trylock): Likewise.
26196 [UNIX98] (pthread_spin_unlock): Likewise.
26197 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26198 Do not expect.
26199 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26200 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26201 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26202 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26203 [XPG3 || XPG4] (pthread_key_t): Likewise.
26204 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26205 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26206 [XPG3 || XPG4] (pthread_once_t): Likewise.
26207 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26208 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26209 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26210 [XPG3 || XPG4] (pthread_t): Likewise.
26211
cbe6e120
JM
26212 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26213 not expect.
26214 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26215
1b126443
JM
26216 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26217 Change function return type to int.
26218
b961a573
JM
26219 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26220 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26221 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26222 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26223 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26224 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26225 [!POSIX] (posix_madvise): Likewise.
26226 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26227 && !UNIX98].
26228 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26229 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26230 (mode_t): Likewise.
26231 (posix_mem_offset): Likewise.
26232 (posix_typed_mem_get_info): Likewise.
26233 (posix_typed_mem_open): Likewise.
26234
9e188909
JM
26235 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26236 Change condition to [XOPEN2K8].
26237
05bcf62a
JM
26238 * conform/conformtest.pl: Preprocess allow-header data with -x c
26239 instead of from stdin.
26240 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26241 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26242 [C99-based standards] (cerfc): Likewise.
26243 [C99-based standards] (cexp2): Likewise.
26244 [C99-based standards] (cexpm1): Likewise.
26245 [C99-based standards] (clog10): Likewise.
26246 [C99-based standards] (clog1p): Likewise.
26247 [C99-based standards] (clog2): Likewise.
26248 [C99-based standards] (clgamma): Likewise.
26249 [C99-based standards] (ctgamma): Likewise.
26250 [C99-based standards] (cerff): Likewise.
26251 [C99-based standards] (cerfcf): Likewise.
26252 [C99-based standards] (cexp2f): Likewise.
26253 [C99-based standards] (cexpm1f): Likewise.
26254 [C99-based standards] (clog10f): Likewise.
26255 [C99-based standards] (clog1pf): Likewise.
26256 [C99-based standards] (clog2f): Likewise.
26257 [C99-based standards] (clgammaf): Likewise.
26258 [C99-based standards] (ctgammaf): Likewise.
26259 [C99-based standards] (cerfl): Likewise.
26260 [C99-based standards] (cerfcl): Likewise.
26261 [C99-based standards] (cexp2l): Likewise.
26262 [C99-based standards] (cexpm1l): Likewise.
26263 [C99-based standards] (clog10l): Likewise.
26264 [C99-based standards] (clog1pl): Likewise.
26265 [C99-based standards] (clog2l): Likewise.
26266 [C99-based standards] (clgammal): Likewise.
26267 [C99-based standards] (ctgammal): Likewise.
26268 * conform/data/inttypes.h-data [C99-based standards]: Include
26269 stdint.h-data. Remove all expectations for stdint.h contents.
26270 [C99-based standards] (PRI*): Do not allow.
26271 [C99-based standards] (SCN*): Likewise.
26272 [C99-based standards] (*_t): Likewise.
26273 [C99-based-standards] (PRId8): Expect macro.
26274 [C99-based-standards] (PRIi8): Likewise.
26275 [C99-based-standards] (PRIo8): Likewise.
26276 [C99-based-standards] (PRIu8): Likewise.
26277 [C99-based-standards] (PRIx8): Likewise.
26278 [C99-based-standards] (PRIX8): Likewise.
26279 [C99-based-standards] (SCNd8): Likewise.
26280 [C99-based-standards] (SCNi8): Likewise.
26281 [C99-based-standards] (SCNo8): Likewise.
26282 [C99-based-standards] (SCNu8): Likewise.
26283 [C99-based-standards] (SCNx8): Likewise.
26284 [C99-based-standards] (PRIdLEAST8): Likewise.
26285 [C99-based-standards] (PRIiLEAST8): Likewise.
26286 [C99-based-standards] (PRIoLEAST8): Likewise.
26287 [C99-based-standards] (PRIuLEAST8): Likewise.
26288 [C99-based-standards] (PRIxLEAST8): Likewise.
26289 [C99-based-standards] (PRIXLEAST8): Likewise.
26290 [C99-based-standards] (SCNdLEAST8): Likewise.
26291 [C99-based-standards] (SCNiLEAST8): Likewise.
26292 [C99-based-standards] (SCNoLEAST8): Likewise.
26293 [C99-based-standards] (SCNuLEAST8): Likewise.
26294 [C99-based-standards] (SCNxLEAST8): Likewise.
26295 [C99-based-standards] (PRIdFAST8): Likewise.
26296 [C99-based-standards] (PRIiFAST8): Likewise.
26297 [C99-based-standards] (PRIoFAST8): Likewise.
26298 [C99-based-standards] (PRIuFAST8): Likewise.
26299 [C99-based-standards] (PRIxFAST8): Likewise.
26300 [C99-based-standards] (PRIXFAST8): Likewise.
26301 [C99-based-standards] (SCNdFAST8): Likewise.
26302 [C99-based-standards] (SCNiFAST8): Likewise.
26303 [C99-based-standards] (SCNoFAST8): Likewise.
26304 [C99-based-standards] (SCNuFAST8): Likewise.
26305 [C99-based-standards] (SCNxFAST8): Likewise.
26306 [C99-based-standards] (PRId16): Likewise.
26307 [C99-based-standards] (PRIi16): Likewise.
26308 [C99-based-standards] (PRIo16): Likewise.
26309 [C99-based-standards] (PRIu16): Likewise.
26310 [C99-based-standards] (PRIx16): Likewise.
26311 [C99-based-standards] (PRIX16): Likewise.
26312 [C99-based-standards] (SCNd16): Likewise.
26313 [C99-based-standards] (SCNi16): Likewise.
26314 [C99-based-standards] (SCNo16): Likewise.
26315 [C99-based-standards] (SCNu16): Likewise.
26316 [C99-based-standards] (SCNx16): Likewise.
26317 [C99-based-standards] (PRIdLEAST16): Likewise.
26318 [C99-based-standards] (PRIiLEAST16): Likewise.
26319 [C99-based-standards] (PRIoLEAST16): Likewise.
26320 [C99-based-standards] (PRIuLEAST16): Likewise.
26321 [C99-based-standards] (PRIxLEAST16): Likewise.
26322 [C99-based-standards] (PRIXLEAST16): Likewise.
26323 [C99-based-standards] (SCNdLEAST16): Likewise.
26324 [C99-based-standards] (SCNiLEAST16): Likewise.
26325 [C99-based-standards] (SCNoLEAST16): Likewise.
26326 [C99-based-standards] (SCNuLEAST16): Likewise.
26327 [C99-based-standards] (SCNxLEAST16): Likewise.
26328 [C99-based-standards] (PRIdFAST16): Likewise.
26329 [C99-based-standards] (PRIiFAST16): Likewise.
26330 [C99-based-standards] (PRIoFAST16): Likewise.
26331 [C99-based-standards] (PRIuFAST16): Likewise.
26332 [C99-based-standards] (PRIxFAST16): Likewise.
26333 [C99-based-standards] (PRIXFAST16): Likewise.
26334 [C99-based-standards] (SCNdFAST16): Likewise.
26335 [C99-based-standards] (SCNiFAST16): Likewise.
26336 [C99-based-standards] (SCNoFAST16): Likewise.
26337 [C99-based-standards] (SCNuFAST16): Likewise.
26338 [C99-based-standards] (SCNxFAST16): Likewise.
26339 [C99-based-standards] (PRId32): Likewise.
26340 [C99-based-standards] (PRIi32): Likewise.
26341 [C99-based-standards] (PRIo32): Likewise.
26342 [C99-based-standards] (PRIu32): Likewise.
26343 [C99-based-standards] (PRIx32): Likewise.
26344 [C99-based-standards] (PRIX32): Likewise.
26345 [C99-based-standards] (SCNd32): Likewise.
26346 [C99-based-standards] (SCNi32): Likewise.
26347 [C99-based-standards] (SCNo32): Likewise.
26348 [C99-based-standards] (SCNu32): Likewise.
26349 [C99-based-standards] (SCNx32): Likewise.
26350 [C99-based-standards] (PRIdLEAST32): Likewise.
26351 [C99-based-standards] (PRIiLEAST32): Likewise.
26352 [C99-based-standards] (PRIoLEAST32): Likewise.
26353 [C99-based-standards] (PRIuLEAST32): Likewise.
26354 [C99-based-standards] (PRIxLEAST32): Likewise.
26355 [C99-based-standards] (PRIXLEAST32): Likewise.
26356 [C99-based-standards] (SCNdLEAST32): Likewise.
26357 [C99-based-standards] (SCNiLEAST32): Likewise.
26358 [C99-based-standards] (SCNoLEAST32): Likewise.
26359 [C99-based-standards] (SCNuLEAST32): Likewise.
26360 [C99-based-standards] (SCNxLEAST32): Likewise.
26361 [C99-based-standards] (PRIdFAST32): Likewise.
26362 [C99-based-standards] (PRIiFAST32): Likewise.
26363 [C99-based-standards] (PRIoFAST32): Likewise.
26364 [C99-based-standards] (PRIuFAST32): Likewise.
26365 [C99-based-standards] (PRIxFAST32): Likewise.
26366 [C99-based-standards] (PRIXFAST32): Likewise.
26367 [C99-based-standards] (SCNdFAST32): Likewise.
26368 [C99-based-standards] (SCNiFAST32): Likewise.
26369 [C99-based-standards] (SCNoFAST32): Likewise.
26370 [C99-based-standards] (SCNuFAST32): Likewise.
26371 [C99-based-standards] (SCNxFAST32): Likewise.
26372 [C99-based-standards] (PRId64): Likewise.
26373 [C99-based-standards] (PRIi64): Likewise.
26374 [C99-based-standards] (PRIo64): Likewise.
26375 [C99-based-standards] (PRIu64): Likewise.
26376 [C99-based-standards] (PRIx64): Likewise.
26377 [C99-based-standards] (PRIX64): Likewise.
26378 [C99-based-standards] (SCNd64): Likewise.
26379 [C99-based-standards] (SCNi64): Likewise.
26380 [C99-based-standards] (SCNo64): Likewise.
26381 [C99-based-standards] (SCNu64): Likewise.
26382 [C99-based-standards] (SCNx64): Likewise.
26383 [C99-based-standards] (PRIdLEAST64): Likewise.
26384 [C99-based-standards] (PRIiLEAST64): Likewise.
26385 [C99-based-standards] (PRIoLEAST64): Likewise.
26386 [C99-based-standards] (PRIuLEAST64): Likewise.
26387 [C99-based-standards] (PRIxLEAST64): Likewise.
26388 [C99-based-standards] (PRIXLEAST64): Likewise.
26389 [C99-based-standards] (SCNdLEAST64): Likewise.
26390 [C99-based-standards] (SCNiLEAST64): Likewise.
26391 [C99-based-standards] (SCNoLEAST64): Likewise.
26392 [C99-based-standards] (SCNuLEAST64): Likewise.
26393 [C99-based-standards] (SCNxLEAST64): Likewise.
26394 [C99-based-standards] (PRIdFAST64): Likewise.
26395 [C99-based-standards] (PRIiFAST64): Likewise.
26396 [C99-based-standards] (PRIoFAST64): Likewise.
26397 [C99-based-standards] (PRIuFAST64): Likewise.
26398 [C99-based-standards] (PRIxFAST64): Likewise.
26399 [C99-based-standards] (PRIXFAST64): Likewise.
26400 [C99-based-standards] (SCNdFAST64): Likewise.
26401 [C99-based-standards] (SCNiFAST64): Likewise.
26402 [C99-based-standards] (SCNoFAST64): Likewise.
26403 [C99-based-standards] (SCNuFAST64): Likewise.
26404 [C99-based-standards] (SCNxFAST64): Likewise.
26405 [C99-based-standards] (PRIdMAX): Likewise.
26406 [C99-based-standards] (PRIiMAX): Likewise.
26407 [C99-based-standards] (PRIoMAX): Likewise.
26408 [C99-based-standards] (PRIuMAX): Likewise.
26409 [C99-based-standards] (PRIxMAX): Likewise.
26410 [C99-based-standards] (PRIXMAX): Likewise.
26411 [C99-based-standards] (SCNdMAX): Likewise.
26412 [C99-based-standards] (SCNiMAX): Likewise.
26413 [C99-based-standards] (SCNoMAX): Likewise.
26414 [C99-based-standards] (SCNuMAX): Likewise.
26415 [C99-based-standards] (SCNxMAX): Likewise.
26416 [C99-based-standards] (PRIdPTR): Likewise.
26417 [C99-based-standards] (PRIiPTR): Likewise.
26418 [C99-based-standards] (PRIoPTR): Likewise.
26419 [C99-based-standards] (PRIuPTR): Likewise.
26420 [C99-based-standards] (PRIxPTR): Likewise.
26421 [C99-based-standards] (PRIXPTR): Likewise.
26422 [C99-based-standards] (SCNdPTR): Likewise.
26423 [C99-based-standards] (SCNiPTR): Likewise.
26424 [C99-based-standards] (SCNoPTR): Likewise.
26425 [C99-based-standards] (SCNuPTR): Likewise.
26426 [C99-based-standards] (SCNxPTR): Likewise.
26427 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26428 allow.
26429 * conform/data/stdint.h-data: Update comments to clarify
26430 requirements.
26431 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26432 type.
26433 [C99-based standards] (INT8_MAX): Likewise.
26434 [C99-based standards] (INT16_MIN): Likewise.
26435 [C99-based standards] (INT16_MAX): Likewise.
26436 [C99-based standards] (INT32_MIN): Likewise.
26437 [C99-based standards] (INT32_MAX): Likewise.
26438 [C99-based standards] (INT64_MIN): Likewise.
26439 [C99-based standards] (INT64_MAX): Likewise.
26440 [C99-based standards] (UINT8_MAX): Likewise.
26441 [C99-based standards] (UINT16_MAX): Likewise.
26442 [C99-based standards] (UINT32_MAX): Likewise.
26443 [C99-based standards] (UINT64_MAX): Likewise.
26444 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26445 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26446 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26447 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26448 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26449 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26450 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26451 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26452 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26453 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26454 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26455 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26456 [C99-based standards] (INT_FAST8_MIN): Likewise.
26457 [C99-based standards] (INT_FAST8_MAX): Likewise.
26458 [C99-based standards] (INT_FAST16_MIN): Likewise.
26459 [C99-based standards] (INT_FAST16_MAX): Likewise.
26460 [C99-based standards] (INT_FAST32_MIN): Likewise.
26461 [C99-based standards] (INT_FAST32_MAX): Likewise.
26462 [C99-based standards] (INT_FAST64_MIN): Likewise.
26463 [C99-based standards] (INT_FAST64_MAX): Likewise.
26464 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26465 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26466 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26467 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26468 [C99-based standards] (INTPTR_MIN): Likewise.
26469 [C99-based standards] (INTPTR_MAX): Likewise.
26470 [C99-based standards] (UINTPTR_MAX): Likewise.
26471 [C99-based standards] (INTMAX_MIN): Likewise.
26472 [C99-based standards] (INTMAX_MAX): Likewise.
26473 [C99-based standards] (UINTMAX_MAX): Likewise.
26474 [C99-based standards] (PTRDIFF_MIN): Likewise.
26475 [C99-based standards] (PTRDIFF_MAX): Likewise.
26476 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26477 [C99-based standards] (SIZE_MAX): Likewise.
26478 [C99-based standards] (WCHAR_MAX): Likewise.
26479 [C99-based standards] (WINT_MAX): Likewise.
26480 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26481 constraint on value.
26482 [C99-based standards] (WCHAR_MIN): Likewise.
26483 [C99-based standards] (WINT_MIN): Likewise.
26484 [C99-based standards] (*_t): Allow.
26485 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26486 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26487 Include math.h-data and complex.h-data. Remove all expectations
26488 of math.h and complex.h contents.
26489 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26490 at end of line.
26491 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26492 (struct tm): Expect tag.
26493 [C99-based-standards] (wcstof): Expect function.
26494 [C99-based-standards] (wcstold): Likewise.
26495 [C99-based-standards] (wcstoll): Likewise.
26496 [C99-based-standards] (wcstoull): Likewise.
26497 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26498 macro-int-constant. Specify type.
26499 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26500 constraint on value.
26501 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26502 Specify type.
26503 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26504 Specify value.
26505 [ISO C standards]: Do not allow headers.
26506 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26507 wcs[abcdefghijklmnopqrstuvwxyz]*.
26508 [ISO C standards] (*_t): Do not allow.
26509 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26510 Expect function.
26511 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26512 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26513 Specify type.
26514 [ISO C standards]: Do not allow headers.
26515 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26516 is[abcdefghijklmnopqrstuvwxyz]*.
26517 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26518 to[abcdefghijklmnopqrstuvwxyz]*.
26519 [ISO C standards] (*_t): Do not allow.
26520 * conform/data/stdalign.h-data: New file.
26521 * conform/data/stdbool.h-data: Likewise.
26522 * conform/data/stdnoreturn.h-data: Likewise.
26523
7514feb8
RM
265242012-11-07 Roland McGrath <roland@hack.frob.com>
26525
26526 [BZ #14815]
26527 * manual/filesys.texi (Directory Entries): Typo fix.
26528 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26529
19b2ecfc
MS
265302012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26531
26532 * elf/elf.h (EM_AARCH64): New macro.
26533 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26534 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26535 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26536 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26537 (R_AARCH64_TLSDESC): Likewise.
26538 (NT_ARM_TLS): Likewise.
26539 (NT_ARM_HW_BREAK): Likewise.
26540 (NT_ARM_HW_WATCH): Likewise.
26541
60e235ee
JM
265422012-11-07 Joseph Myers <joseph@codesourcery.com>
26543
26544 [BZ #14811]
26545 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26546 (__ieee754_powl): Saturate nonzero exponents with absolute value
26547 below 0x1p-79 to +/- 0x1p-79.
26548 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26549 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26550 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26551 nonzero exponents with absolute value below 0x1p-32 to +/-
26552 0x1p-32.
26553 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26554 (__ieee754_powl): Saturate nonzero exponents with absolute value
26555 below 0x1p-79 to +/- 0x1p-79.
26556 * math/libm-test.inc (pow_test): Add more tests.
26557
0ab234b7
AK
265582012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26559
26560 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26561 _dl_s390_cap_flags with kernel. Increase string length.
26562 (_dl_s390_platforms): Add z196 and zEC12.
26563
45832f74
JM
265642012-11-07 Joseph Myers <joseph@codesourcery.com>
26565
26566 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26567 Change XOPEN21K to XOPEN2K.
26568
19218757
MK
265692012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26570
26571 * string/memmove.c: Use memcpy when possible.
26572
c5f45721
AJ
265732012-11-06 Andreas Jaeger <aj@suse.de>
26574
26575 * po/eo.po: Update from translation team.
26576
82477c28
JM
265772012-11-06 Joseph Myers <joseph@codesourcery.com>
26578
26579 [BZ #14793]
26580 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26581 exponent and small x and y exponents, scale x or y up. Increase
26582 by 2 the exponent used in scaling up.
26583 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26584 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26585 * math/libm-test.inc (fma_test): Add more tests.
26586 (fma_test_towardzero): Likewise.
26587 (fma_test_downward): Likewise.
26588 (fma_test_upward): Likewise.
26589
99252c8c
JM
265902012-11-05 Joseph Myers <joseph@codesourcery.com>
26591
acfa885f
JM
26592 [BZ #14805]
26593 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26594 fenv_t *.
26595
99252c8c
JM
26596 [BZ #14801]
26597 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26598 namespace for names of struct fields.
26599 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26600 fenv_t fields.
26601 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26602 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26603
d6d98dea
ST
266042012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26605
26606 [BZ #3665]
26607 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26608
e10bb107
TS
266092012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26610
26611 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26612 PTR_DEMANGLE.
26613
26614 [BZ #5246]
26615 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26616 PTR_DEMANGLE.
26617
a0c2940d
JM
266182012-11-04 Joseph Myers <joseph@codesourcery.com>
26619
26620 [BZ #14797]
26621 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26622 definitely overflow as x * y not x * y + z.
26623 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26624 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26625 * math/libm-test.inc (fma_test): Add more tests.
26626 (fma_test_towardzero): Likewise.
26627 (fma_test_downward): Likewise.
26628 (fma_test_upward): Likewise.
26629
b830319d
TS
266302012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26631
26632 [BZ #157]
26633
26634 * include/stub-tag.h: Remove file.
26635 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26636 '#include' of it.
26637 * manual/maint.texi (Porting): Don't reference it.
26638 * Makerules ($(objpfx)stubs): Likewise.
26639 * dirent/closedir.c: Don't include <stub-tag.h>.
26640 * dirent/dirfd.c: Likewise.
26641 * dirent/fdopendir.c: Likewise.
26642 * dirent/getdents.c: Likewise.
26643 * dirent/getdents64.c: Likewise.
26644 * dirent/opendir.c: Likewise.
26645 * dirent/readdir.c: Likewise.
26646 * dirent/readdir64.c: Likewise.
26647 * dirent/readdir64_r.c: Likewise.
26648 * dirent/readdir_r.c: Likewise.
26649 * dirent/rewinddir.c: Likewise.
26650 * dirent/seekdir.c: Likewise.
26651 * dirent/telldir.c: Likewise.
26652 * gmon/profil.c: Likewise.
26653 * grp/setgroups.c: Likewise.
26654 * inet/if_index.c: Likewise.
26655 * io/access.c: Likewise.
26656 * io/chdir.c: Likewise.
26657 * io/chmod.c: Likewise.
26658 * io/chown.c: Likewise.
26659 * io/close.c: Likewise.
26660 * io/dup.c: Likewise.
26661 * io/dup2.c: Likewise.
26662 * io/dup3.c: Likewise.
26663 * io/euidaccess.c: Likewise.
26664 * io/faccessat.c: Likewise.
26665 * io/fchdir.c: Likewise.
26666 * io/fchmod.c: Likewise.
26667 * io/fchmodat.c: Likewise.
26668 * io/fchown.c: Likewise.
26669 * io/fchownat.c: Likewise.
26670 * io/fcntl.c: Likewise.
26671 * io/flock.c: Likewise.
26672 * io/fstatfs.c: Likewise.
26673 * io/fstatfs64.c: Likewise.
26674 * io/fstatvfs.c: Likewise.
26675 * io/fstatvfs64.c: Likewise.
26676 * io/futimens.c: Likewise.
26677 * io/fxstat.c: Likewise.
26678 * io/fxstat64.c: Likewise.
26679 * io/fxstatat.c: Likewise.
26680 * io/fxstatat64.c: Likewise.
26681 * io/getcwd.c: Likewise.
26682 * io/isatty.c: Likewise.
26683 * io/lchmod.c: Likewise.
26684 * io/lchown.c: Likewise.
26685 * io/link.c: Likewise.
26686 * io/linkat.c: Likewise.
26687 * io/lseek.c: Likewise.
26688 * io/lseek64.c: Likewise.
26689 * io/lxstat64.c: Likewise.
26690 * io/mkdir.c: Likewise.
26691 * io/mkdirat.c: Likewise.
26692 * io/mkfifo.c: Likewise.
26693 * io/mkfifoat.c: Likewise.
26694 * io/open.c: Likewise.
26695 * io/open64.c: Likewise.
26696 * io/openat.c: Likewise.
26697 * io/openat64.c: Likewise.
26698 * io/pipe.c: Likewise.
26699 * io/pipe2.c: Likewise.
26700 * io/poll.c: Likewise.
26701 * io/posix_fadvise.c: Likewise.
26702 * io/posix_fadvise64.c: Likewise.
26703 * io/posix_fallocate.c: Likewise.
26704 * io/posix_fallocate64.c: Likewise.
26705 * io/read.c: Likewise.
26706 * io/readlink.c: Likewise.
26707 * io/readlinkat.c: Likewise.
26708 * io/rmdir.c: Likewise.
26709 * io/sendfile.c: Likewise.
26710 * io/sendfile64.c: Likewise.
26711 * io/statfs.c: Likewise.
26712 * io/statfs64.c: Likewise.
26713 * io/statvfs.c: Likewise.
26714 * io/statvfs64.c: Likewise.
26715 * io/symlink.c: Likewise.
26716 * io/symlinkat.c: Likewise.
26717 * io/ttyname.c: Likewise.
26718 * io/ttyname_r.c: Likewise.
26719 * io/umask.c: Likewise.
26720 * io/unlink.c: Likewise.
26721 * io/unlinkat.c: Likewise.
26722 * io/utime.c: Likewise.
26723 * io/utimensat.c: Likewise.
26724 * io/write.c: Likewise.
26725 * io/xmknod.c: Likewise.
26726 * io/xmknodat.c: Likewise.
26727 * io/xstat.c: Likewise.
26728 * io/xstat64.c: Likewise.
26729 * login/getpt.c: Likewise.
26730 * login/grantpt.c: Likewise.
26731 * login/unlockpt.c: Likewise.
26732 * math/e_acoshl.c: Likewise.
26733 * math/e_acosl.c: Likewise.
26734 * math/e_asinl.c: Likewise.
26735 * math/e_atan2l.c: Likewise.
26736 * math/e_atanhl.c: Likewise.
26737 * math/e_coshl.c: Likewise.
26738 * math/e_expl.c: Likewise.
26739 * math/e_fmodl.c: Likewise.
26740 * math/e_gammal_r.c: Likewise.
26741 * math/e_hypotl.c: Likewise.
26742 * math/e_j0l.c: Likewise.
26743 * math/e_j1l.c: Likewise.
26744 * math/e_jnl.c: Likewise.
26745 * math/e_lgammal_r.c: Likewise.
26746 * math/e_log10l.c: Likewise.
26747 * math/e_log2l.c: Likewise.
26748 * math/e_logl.c: Likewise.
26749 * math/e_powl.c: Likewise.
26750 * math/e_rem_pio2l.c: Likewise.
26751 * math/e_sinhl.c: Likewise.
26752 * math/e_sqrtl.c: Likewise.
26753 * math/fclrexcpt.c: Likewise.
26754 * math/fedisblxcpt.c: Likewise.
26755 * math/feenablxcpt.c: Likewise.
26756 * math/fegetenv.c: Likewise.
26757 * math/fegetexcept.c: Likewise.
26758 * math/fegetround.c: Likewise.
26759 * math/feholdexcpt.c: Likewise.
26760 * math/fesetenv.c: Likewise.
26761 * math/fesetround.c: Likewise.
26762 * math/feupdateenv.c: Likewise.
26763 * math/fgetexcptflg.c: Likewise.
26764 * math/fraiseexcpt.c: Likewise.
26765 * math/fsetexcptflg.c: Likewise.
26766 * math/ftestexcept.c: Likewise.
26767 * math/k_cosl.c: Likewise.
26768 * math/k_rem_pio2l.c: Likewise.
26769 * math/k_sinl.c: Likewise.
26770 * math/k_tanl.c: Likewise.
26771 * math/s_asinhl.c: Likewise.
26772 * math/s_atanl.c: Likewise.
26773 * math/s_cbrtl.c: Likewise.
26774 * math/s_erfl.c: Likewise.
26775 * math/s_expm1l.c: Likewise.
26776 * math/s_log1pl.c: Likewise.
26777 * math/s_tanhl.c: Likewise.
26778 * misc/acct.c: Likewise.
26779 * misc/brk.c: Likewise.
26780 * misc/chflags.c: Likewise.
26781 * misc/chroot.c: Likewise.
26782 * misc/fchflags.c: Likewise.
26783 * misc/fgetxattr.c: Likewise.
26784 * misc/flistxattr.c: Likewise.
26785 * misc/fremovexattr.c: Likewise.
26786 * misc/fsetxattr.c: Likewise.
26787 * misc/fsync.c: Likewise.
26788 * misc/ftruncate.c: Likewise.
26789 * misc/futimes.c: Likewise.
26790 * misc/futimesat.c: Likewise.
26791 * misc/getdomain.c: Likewise.
26792 * misc/getdtsz.c: Likewise.
26793 * misc/gethostid.c: Likewise.
26794 * misc/gethostname.c: Likewise.
26795 * misc/getloadavg.c: Likewise.
26796 * misc/getpagesize.c: Likewise.
26797 * misc/getsysstats.c: Likewise.
26798 * misc/getxattr.c: Likewise.
26799 * misc/gtty.c: Likewise.
26800 * misc/ioctl.c: Likewise.
26801 * misc/lgetxattr.c: Likewise.
26802 * misc/listxattr.c: Likewise.
26803 * misc/llistxattr.c: Likewise.
26804 * misc/lremovexattr.c: Likewise.
26805 * misc/lsetxattr.c: Likewise.
26806 * misc/lutimes.c: Likewise.
26807 * misc/madvise.c: Likewise.
26808 * misc/mincore.c: Likewise.
26809 * misc/mlock.c: Likewise.
26810 * misc/mlockall.c: Likewise.
26811 * misc/mmap.c: Likewise.
26812 * misc/mprotect.c: Likewise.
26813 * misc/msync.c: Likewise.
26814 * misc/munlock.c: Likewise.
26815 * misc/munlockall.c: Likewise.
26816 * misc/munmap.c: Likewise.
26817 * misc/preadv.c: Likewise.
26818 * misc/preadv64.c: Likewise.
26819 * misc/ptrace.c: Likewise.
26820 * misc/pwritev.c: Likewise.
26821 * misc/pwritev64.c: Likewise.
26822 * misc/readv.c: Likewise.
26823 * misc/reboot.c: Likewise.
26824 * misc/remap_file_pages.c: Likewise.
26825 * misc/removexattr.c: Likewise.
26826 * misc/revoke.c: Likewise.
26827 * misc/select.c: Likewise.
26828 * misc/setdomain.c: Likewise.
26829 * misc/setegid.c: Likewise.
26830 * misc/seteuid.c: Likewise.
26831 * misc/sethostid.c: Likewise.
26832 * misc/sethostname.c: Likewise.
26833 * misc/setregid.c: Likewise.
26834 * misc/setreuid.c: Likewise.
26835 * misc/setxattr.c: Likewise.
26836 * misc/sstk.c: Likewise.
26837 * misc/stty.c: Likewise.
26838 * misc/swapoff.c: Likewise.
26839 * misc/swapon.c: Likewise.
26840 * misc/sync.c: Likewise.
26841 * misc/syncfs.c: Likewise.
26842 * misc/syscall.c: Likewise.
26843 * misc/truncate.c: Likewise.
26844 * misc/ualarm.c: Likewise.
26845 * misc/usleep.c: Likewise.
26846 * misc/ustat.c: Likewise.
26847 * misc/utimes.c: Likewise.
26848 * misc/vhangup.c: Likewise.
26849 * misc/writev.c: Likewise.
26850 * posix/_exit.c: Likewise.
26851 * posix/alarm.c: Likewise.
26852 * posix/execve.c: Likewise.
26853 * posix/fexecve.c: Likewise.
26854 * posix/fork.c: Likewise.
26855 * posix/fpathconf.c: Likewise.
26856 * posix/getaddrinfo.c: Likewise.
26857 * posix/getegid.c: Likewise.
26858 * posix/geteuid.c: Likewise.
26859 * posix/getgid.c: Likewise.
26860 * posix/getgroups.c: Likewise.
26861 * posix/getlogin.c: Likewise.
26862 * posix/getlogin_r.c: Likewise.
26863 * posix/getpgid.c: Likewise.
26864 * posix/getpid.c: Likewise.
26865 * posix/getppid.c: Likewise.
26866 * posix/getresgid.c: Likewise.
26867 * posix/getresuid.c: Likewise.
26868 * posix/getsid.c: Likewise.
26869 * posix/getuid.c: Likewise.
26870 * posix/glob64.c: Likewise.
26871 * posix/nanosleep.c: Likewise.
26872 * posix/pathconf.c: Likewise.
26873 * posix/pause.c: Likewise.
26874 * posix/posix_madvise.c: Likewise.
26875 * posix/pread.c: Likewise.
26876 * posix/pread64.c: Likewise.
26877 * posix/pwrite.c: Likewise.
26878 * posix/pwrite64.c: Likewise.
26879 * posix/sched_getaffinity.c: Likewise.
26880 * posix/sched_getp.c: Likewise.
26881 * posix/sched_gets.c: Likewise.
26882 * posix/sched_primax.c: Likewise.
26883 * posix/sched_primin.c: Likewise.
26884 * posix/sched_rr_gi.c: Likewise.
26885 * posix/sched_setaffinity.c: Likewise.
26886 * posix/sched_setp.c: Likewise.
26887 * posix/sched_sets.c: Likewise.
26888 * posix/sched_yield.c: Likewise.
26889 * posix/setgid.c: Likewise.
26890 * posix/setlogin.c: Likewise.
26891 * posix/setpgid.c: Likewise.
26892 * posix/setresgid.c: Likewise.
26893 * posix/setresuid.c: Likewise.
26894 * posix/setsid.c: Likewise.
26895 * posix/setuid.c: Likewise.
26896 * posix/sleep.c: Likewise.
26897 * posix/spawni.c: Likewise.
26898 * posix/sysconf.c: Likewise.
26899 * posix/times.c: Likewise.
26900 * posix/wait.c: Likewise.
26901 * posix/wait3.c: Likewise.
26902 * posix/wait4.c: Likewise.
26903 * posix/waitpid.c: Likewise.
26904 * resolv/gai_sigqueue.c: Likewise.
26905 * resource/getpriority.c: Likewise.
26906 * resource/getrlimit.c: Likewise.
26907 * resource/getrusage.c: Likewise.
26908 * resource/nice.c: Likewise.
26909 * resource/setpriority.c: Likewise.
26910 * resource/setrlimit.c: Likewise.
26911 * resource/ulimit.c: Likewise.
26912 * rt/aio_cancel.c: Likewise.
26913 * rt/aio_fsync.c: Likewise.
26914 * rt/aio_read.c: Likewise.
26915 * rt/aio_sigqueue.c: Likewise.
26916 * rt/aio_suspend.c: Likewise.
26917 * rt/aio_write.c: Likewise.
26918 * rt/clock_getres.c: Likewise.
26919 * rt/clock_gettime.c: Likewise.
26920 * rt/clock_nanosleep.c: Likewise.
26921 * rt/clock_settime.c: Likewise.
26922 * rt/lio_listio.c: Likewise.
26923 * rt/mq_close.c: Likewise.
26924 * rt/mq_getattr.c: Likewise.
26925 * rt/mq_notify.c: Likewise.
26926 * rt/mq_open.c: Likewise.
26927 * rt/mq_receive.c: Likewise.
26928 * rt/mq_send.c: Likewise.
26929 * rt/mq_setattr.c: Likewise.
26930 * rt/mq_timedreceive.c: Likewise.
26931 * rt/mq_timedsend.c: Likewise.
26932 * rt/mq_unlink.c: Likewise.
26933 * rt/shm_open.c: Likewise.
26934 * rt/shm_unlink.c: Likewise.
26935 * rt/timer_create.c: Likewise.
26936 * rt/timer_delete.c: Likewise.
26937 * rt/timer_getoverr.c: Likewise.
26938 * rt/timer_gettime.c: Likewise.
26939 * rt/timer_settime.c: Likewise.
26940 * setjmp/__longjmp.c: Likewise.
26941 * setjmp/setjmp.c: Likewise.
26942 * signal/kill.c: Likewise.
26943 * signal/killpg.c: Likewise.
26944 * signal/raise.c: Likewise.
26945 * signal/sigaction.c: Likewise.
26946 * signal/sigaltstack.c: Likewise.
26947 * signal/sigblock.c: Likewise.
26948 * signal/sigignore.c: Likewise.
26949 * signal/sigintr.c: Likewise.
26950 * signal/signal.c: Likewise.
26951 * signal/sigpause.c: Likewise.
26952 * signal/sigpending.c: Likewise.
26953 * signal/sigqueue.c: Likewise.
26954 * signal/sigreturn.c: Likewise.
26955 * signal/sigset.c: Likewise.
26956 * signal/sigsetmask.c: Likewise.
26957 * signal/sigstack.c: Likewise.
26958 * signal/sigsuspend.c: Likewise.
26959 * signal/sigtimedwait.c: Likewise.
26960 * signal/sigvec.c: Likewise.
26961 * signal/sigwait.c: Likewise.
26962 * signal/sigwaitinfo.c: Likewise.
26963 * signal/sysv_signal.c: Likewise.
26964 * socket/accept.c: Likewise.
26965 * socket/accept4.c: Likewise.
26966 * socket/bind.c: Likewise.
26967 * socket/connect.c: Likewise.
26968 * socket/getpeername.c: Likewise.
26969 * socket/getsockname.c: Likewise.
26970 * socket/getsockopt.c: Likewise.
26971 * socket/isfdtype.c: Likewise.
26972 * socket/listen.c: Likewise.
26973 * socket/recv.c: Likewise.
26974 * socket/recvfrom.c: Likewise.
26975 * socket/recvmsg.c: Likewise.
26976 * socket/send.c: Likewise.
26977 * socket/sendmsg.c: Likewise.
26978 * socket/sendto.c: Likewise.
26979 * socket/setsockopt.c: Likewise.
26980 * socket/shutdown.c: Likewise.
26981 * socket/sockatmark.c: Likewise.
26982 * socket/socket.c: Likewise.
26983 * socket/socketpair.c: Likewise.
26984 * stdio-common/ctermid.c: Likewise.
26985 * stdio-common/cuserid.c: Likewise.
26986 * stdio-common/remove.c: Likewise.
26987 * stdio-common/rename.c: Likewise.
26988 * stdio-common/renameat.c: Likewise.
26989 * stdio-common/tempname.c: Likewise.
26990 * stdlib/getcontext.c: Likewise.
26991 * stdlib/makecontext.c: Likewise.
26992 * stdlib/setcontext.c: Likewise.
26993 * stdlib/swapcontext.c: Likewise.
26994 * stdlib/system.c: Likewise.
26995 * streams/fattach.c: Likewise.
26996 * streams/fdetach.c: Likewise.
26997 * streams/getmsg.c: Likewise.
26998 * streams/getpmsg.c: Likewise.
26999 * streams/putmsg.c: Likewise.
27000 * streams/putpmsg.c: Likewise.
27001 * sysdeps/unix/bsd/getpt.c: Likewise.
27002 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27003 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27004 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27006 Likewise.
27007 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27008 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27009 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27010 * sysvipc/msgctl.c: Likewise.
27011 * sysvipc/msgget.c: Likewise.
27012 * sysvipc/msgrcv.c: Likewise.
27013 * sysvipc/msgsnd.c: Likewise.
27014 * sysvipc/semctl.c: Likewise.
27015 * sysvipc/semget.c: Likewise.
27016 * sysvipc/semop.c: Likewise.
27017 * sysvipc/semtimedop.c: Likewise.
27018 * sysvipc/shmat.c: Likewise.
27019 * sysvipc/shmctl.c: Likewise.
27020 * sysvipc/shmdt.c: Likewise.
27021 * sysvipc/shmget.c: Likewise.
27022 * termios/tcdrain.c: Likewise.
27023 * termios/tcflow.c: Likewise.
27024 * termios/tcflush.c: Likewise.
27025 * termios/tcgetattr.c: Likewise.
27026 * termios/tcgetpgrp.c: Likewise.
27027 * termios/tcsendbrk.c: Likewise.
27028 * termios/tcsetattr.c: Likewise.
27029 * termios/tcsetpgrp.c: Likewise.
27030 * time/adjtime.c: Likewise.
27031 * time/clock.c: Likewise.
27032 * time/getitimer.c: Likewise.
27033 * time/gettimeofday.c: Likewise.
27034 * time/setitimer.c: Likewise.
27035 * time/settimeofday.c: Likewise.
27036 * time/stime.c: Likewise.
27037 * time/time.c: Likewise.
27038
270392012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 27040
a20492cf
PT
27041 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27042 /usr/old/bin.
27043
72e182e3
PT
27044 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27045 instead of spaces.
27046 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27047
fbeafede
JM
270482012-11-03 Joseph Myers <joseph@codesourcery.com>
27049
5b5b04d6
JM
27050 [BZ #14796]
27051 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27052 FE_TONEAREST before applying Dekker multiplication and Knuth
27053 addition. Clear inexact exceptions and check for exact zero
27054 results afterwards.
27055 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27056 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27057 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27058 * math/libm-test.inc (fma_test): Add more tests.
27059 (fma_test_towardzero): Likewise.
27060 (fma_test_downward): Likewise.
27061 (fma_test_upward): Likewise.
27062 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27063 function.
27064 (libc_fesetround): New macro.
27065 (libc_fesetroundf): Likewise.
27066 (libc_fesetroundl): Likewise.
27067 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27068 function.
27069 (libc_fesetround_387): Likewise.
27070 (libc_fesetroundf): New macro.
27071 (libc_fesetround): Likewise.
27072 (libc_fesetroundl): Likewise.
27073 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27074 function.
27075 (libc_fesetroundf): New macro.
27076 (libc_fesetround): Likewise.
27077 (libc_fesetroundl): Likewise.
27078 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27079 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27080 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27081 libm_hidden_ver.
27082 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27083 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27084 libm_hidden_def.
27085 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27086 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27087 libm_hidden_ver.
27088 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27089 libm_hidden_def.
27090
fbeafede
JM
27091 [BZ #3439]
27092 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27093 integer constant usable in #if and use that to give value to enum
27094 constant.
27095 (FE_DIVBYZERO): Likewise.
27096 (FE_UNDERFLOW): Likewise.
27097 (FE_OVERFLOW): Likewise.
27098 (FE_INVALID): Likewise.
27099 (FE_INVALID_SNAN): Likewise.
27100 (FE_INVALID_ISI): Likewise.
27101 (FE_INVALID_IDI): Likewise.
27102 (FE_INVALID_ZDZ): Likewise.
27103 (FE_INVALID_IMZ): Likewise.
27104 (FE_INVALID_COMPARE): Likewise.
27105 (FE_INVALID_SOFTWARE): Likewise.
27106 (FE_INVALID_SQRT): Likewise.
27107 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27108 (FE_TONEAREST): Likewise.
27109 (FE_TOWARDZERO): Likewise.
27110 (FE_UPWARD): Likewise.
27111 (FE_DOWNWARD): Likewise.
27112 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27113 (FE_DIVBYZERO): Likewise.
27114 (FE_OVERFLOW): Likewise.
27115 (FE_UNDERFLOW): Likewise.
27116 (FE_INEXACT): Likewise.
27117 (FE_TONEAREST): Likewise.
27118 (FE_DOWNWARD): Likewise.
27119 (FE_UPWARD): Likewise.
27120 (FE_TOWARDZERO): Likewise.
27121 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27122 (FE_UNDERFLOW): Likewise.
27123 (FE_OVERFLOW): Likewise.
27124 (FE_DIVBYZERO): Likewise.
27125 (FE_INVALID): Likewise.
27126 (FE_TONEAREST): Likewise.
27127 (FE_TOWARDZERO): Likewise.
27128 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27129 (FE_OVERFLOW): Likewise.
27130 (FE_UNDERFLOW): Likewise.
27131 (FE_DIVBYZERO): Likewise.
27132 (FE_INEXACT): Likewise.
27133 (FE_TONEAREST): Likewise.
27134 (FE_TOWARDZERO): Likewise.
27135 (FE_UPWARD): Likewise.
27136 (FE_DOWNWARD): Likewise.
27137 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27138 (FE_DIVBYZERO): Likewise.
27139 (FE_OVERFLOW): Likewise.
27140 (FE_UNDERFLOW): Likewise.
27141 (FE_INEXACT): Likewise.
27142 (FE_TONEAREST): Likewise.
27143 (FE_DOWNWARD): Likewise.
27144 (FE_UPWARD): Likewise.
27145 (FE_TOWARDZERO): Likewise.
27146
105ca950
CM
271472012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27148
27149 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27150
a542b389
AS
271512012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27152
27153 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27154 commands. Quote $PWD.
27155 (blacklist_exports): Don't use remove_newlines. Replace "declare
27156 -x" by "export".
27157 (remove_newlines): Remove.
27158
f62c8abc
L
271592012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27160
27161 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27162 * stdlib/stdlib.h (atof): Moved to ...
27163 * include/bits/stdlib-float.h: Here. New file.
27164 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27165 * stdlib/bits/stdlib-float.h: New file.
27166 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27167 -mno-sse -mno-mmx.
27168 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27169 <xmmintrin.h>.
27170
0155d5b2
JM
271712012-11-02 Joseph Myers <joseph@codesourcery.com>
27172
a68d0680
JM
27173 * conform/conformtest.pl (@headers): Add fenv.h.
27174 * conform/data/fenv.h-data: New file.
27175 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27176 include of <math/fenv.h>.
27177
caf7f573
JM
27178 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27179 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27180 && !UNIX98]. Enables tests for XOPEN2K8.
27181 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27182 POSIX2008]: Likewise.
27183
6c073ad6
JM
27184 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27185 (struct rusage): Do not expect type or its members.
27186
0155d5b2
JM
27187 [BZ #3439]
27188 * math/math.h (FP_NAN): Define macro to integer constant usable in
27189 #if and use that to give value to enum constant.
27190 (FP_INFINITE): Likewise.
27191 (FP_ZERO): Likewise.
27192 (FP_SUBNORMAL): Likewise.
27193 (FP_NORMAL): Likewise.
27194
b5dcacb4
AS
271952012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27196
27197 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27198 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27199 arguments.
27200
f7934be8
RM
272012012-11-02 Roland McGrath <roland@hack.frob.com>
27202
27203 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27204 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27205 autoconf-time if not.
27206 * configure.in: Remove AC_PREREQ.
27207
d7d08bde
TMQMF
272082012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27209
27210 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27211 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27212 of the internal implementation.
27213
dcdae19a
JM
272142012-11-02 Joseph Myers <joseph@codesourcery.com>
27215
27216 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27217 except include of <misc/sys/syslog.h>.
27218
d6cffd3e
AS
272192012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27220
27221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27222 function returns with a NULL context exit with zero.
27223
b3563932
TMQMF
272242012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27225
27226 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27227
b288a93d
L
272282012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27229
27230 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27231 (run_program_cmd): This.
27232 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27233 (tst_langinfo): New variable. Use it.
27234
a2421a68
SAS
272352012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27236
27237 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27238 floating point opcodes.
27239
6f796e1b
TS
272402012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27241
7402596b
TS
27242 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27243 variable.
27244
d0d4f868
TS
27245 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27246
6f796e1b
TS
27247 * sysdeps/mach/hurd/powerpc: Remove directory.
27248 * sysdeps/mach/powerpc: Likewise.
27249
4da224a2
AS
272502012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27251
27252 * scripts/check-local-headers.sh: Ignore c++ headers.
27253
341dd673
TS
272542012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27255
27256 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27257 __libc_cleanup_region_start argument.
27258
473611b2
JM
272592012-11-01 Joseph Myers <joseph@codesourcery.com>
27260
27261 [BZ #14784]
27262 [BZ #14785]
27263 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27264 x * y using scaling, not as x * y + z.
27265 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27266 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27267 * math/libm-test.inc (fma_test): Add more tests.
27268 (fma_test_towardzero): Likewise.
27269 (fma_test_downward): Likewise.
27270 (fma_test_upward): Likewise.
27271
4078da3d
TS
272722012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27273
27274 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27275
903252aa
JM
272762012-10-31 Joseph Myers <joseph@codesourcery.com>
27277
27278 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27279 New variable.
27280
cbc818d0
TS
272812012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27282
27283 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27284
5a03cb1e
AS
272852012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27286
27287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27288 Fix sort order.
27289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27290 Likewise.
27291
90aff2ff
TMQMF
272922012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27293
27294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27295 Fix the order of the list for glibc 2.17.
27296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27297 Likewise.
27298
1818fcb7
AS
272992012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27300
27301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27302
ef82f4da
JM
273032012-10-31 Joseph Myers <joseph@codesourcery.com>
27304
16a0e2ec
JM
27305 [BZ #14610]
27306 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27307 for low part of x being zero before using __atanl (y).
27308 * math/libm-test.inc (atan2_test): Add another test.
27309
0eb69512
JM
27310 * manual/install.texi (Configuring and compiling): Document
27311 general use of test-wrapper and test-wrapper-env.
27312 * INSTALL: Regenerated.
27313
ef82f4da
JM
27314 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27315 (__fma): Do not extract and scale down low bits on after-rounding
27316 systems when result rounded to normal precision would have normal
27317 exponent.
27318 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27319 (__fmal): Do not extract and scale down low bits on after-rounding
27320 systems when result rounded to normal precision would have normal
27321 exponent.
27322 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27323 (__fmal): Do not extract and scale down low bits on after-rounding
27324 systems when result rounded to normal precision would have normal
27325 exponent.
27326 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27327 macro.
27328 (fma_test): Add more tests.
27329 (fma_test_towardzero): Likewise.
27330 (fma_test_downward): Likewise.
27331 (fma_test_upward): Likewise.
27332
954ef0d9
L
273332012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27334
27335 * sysdeps/i386/tininess.h: Renamed to ...
27336 * sysdeps/x86/tininess.h: This.
27337 * sysdeps/x86_64/tininess.h: Removed.
27338
df61ffb2
JM
273392012-10-30 Joseph Myers <joseph@codesourcery.com>
27340
27341 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27342 input. Use $(build-program-cmd).
27343 ($(objpfx)tst-array1-static.out): Likewise.
27344 ($(objpfx)tst-array2.out): Likewise.
27345 ($(objpfx)tst-array3.out): Likewise.
27346 ($(objpfx)tst-array4.out): Likewise.
27347 ($(objpfx)tst-array5.out): Likewise.
27348 ($(objpfx)tst-array5-static.out): Likewise.
27349
01767843
CM
273502012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27351
47cc1490
CM
27352 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27353 if defined.
27354
01767843
CM
27355 * nss/nsswitch.h (nss_interface_function): Provide new
27356 macro for use with NSS functions.
27357 * grp/initgroups.c: Use new macro.
27358 * nss/getXXbyYY.c: Likewise.
27359 * nss/getXXbyYY_r.c: Likewise.
27360 * nss/getXXent.c: Likewise.
27361 * nss/getXXent_r.c: Likewise.
27362 * sysdeps/posix/getaddrinfo.c: Likewise.
27363
8321aa97
AJ
273642012-10-30 Andreas Jaeger <aj@suse.de>
27365
27366 * po/ru.po: Update Russion translation from translation project.
27367
2a27fd6d
JM
273682012-10-30 Joseph Myers <joseph@codesourcery.com>
27369
8627a232
JM
27370 [BZ #14152]
27371 [BZ #14783]
27372 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27373 result and shift together with sticky bit instead of replicating
27374 round-to-nearest rounding.
27375 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27376 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27377 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27378 missing underflow exceptions.
27379 (fma_test_towardzero): Add more tests.
27380 (fma_test_downward): Likewise.
27381 (fma_test_upward): Likewise.
27382
2a27fd6d
JM
27383 [BZ #14047]
27384 * sysdeps/generic/tininess.h: New file.
27385 * sysdeps/i386/tininess.h: Likewise.
27386 * sysdeps/sh/tininess.h: Likewise.
27387 * sysdeps/x86_64/tininess.h: Likewise.
27388 * stdlib/tst-strtod-underflow.c: Likewise.
27389 * stdlib/tst-tininess.c: Likewise.
27390 * stdlib/strtod_l.c: Include <tininess.h>.
27391 (round_and_return): Do not set errno for exact underflow cases.
27392 Force an underflow exception when setting errno for underflow.
27393 Determine underflow based on rounding to normal precision if
27394 TININESS_AFTER_ROUNDING.
27395 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27396 ERANGE for exact underflow cases.
27397 * stdlib/Makefile (tests): Add tst-tininess and
27398 tst-strtod-underflow.
27399 ($(objpfx)tst-tininess): Use $(link-libm).
27400 ($(objpfx)tst-strtod-underflow): Likewise.
27401
e7170363
AJ
274022012-10-30 Andreas Jaeger <aj@suse.de>
27403
e5088dc6
AJ
27404 [BZ#14767]
27405 * elf/Makefile (tests): Remove conditional for have-initfini-array
27406 since this is now always required and the variable does not exist
27407 anymore.
27408 (tests-static): Likewise.
27409 (modules-names): Likewise.
27410
e7170363 27411 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
27412
27413 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27414 merged with constructor/destructor.
27415 (init_array): Likewise.
27416 * elf/tst-array2dep.c (fini_array): Likewise.
27417 (init_array): Likewise.
27418
60457d8a
MF
274192012-10-29 Mike Frysinger <vapier@gentoo.org>
27420
27421 * manual/message.texi: Delete @cartouche tags.
27422
8bece752
PT
274232012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27424
94ce799f
PT
27425 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27426 EOPNOTSUPP.
27427 * sysdeps/mach/hurd/fsync.c: Likewise.
27428
8bece752
PT
27429 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27430 [_POSIX_REALTIME_SIGNALS]: Change condition to
27431 [_POSIX_REALTIME_SIGNALS > 0].
27432
86ebe6b1
AJ
274332012-10-27 Andreas Jaeger <aj@suse.de>
27434
27435 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27436 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27437 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27438 [__WORDSIZE != 64]: Likewise.
27439
54399c08
L
274402012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27441
27442 * iconvdata/tst-table.sh: Remove ${SHELL}.
27443 * iconvdata/tst-tables.sh: Likewise.
27444
e2211bed
DM
274452012-10-25 David S. Miller <davem@davemloft.net>
27446
27447 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27448 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27449 of strtoull.
27450
f303f97c
DM
27451 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27452 ifunc-impl-list.c
27453 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27454 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27455 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27456 file.
27457
1e9d84cd
RM
274582012-10-25 Roland McGrath <roland@hack.frob.com>
27459
27460 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27461 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27462 __getdirentries.
27463
df381762
JM
274642012-10-25 Joseph Myers <joseph@codesourcery.com>
27465 Jim Blandy <jimb@codesourcery.com>
27466
27467 * scripts/cross-test-ssh.sh: New file.
27468 * manual/install.texi (Configuring and compiling): Document use of
27469 cross-test-ssh.sh.
27470 * INSTALL: Regenerated.
27471
bff64913
PT
274722012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27473
27474 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27475 EOPNOTSUPP.
27476
25fe8932
JM
274772012-10-25 Joseph Myers <joseph@codesourcery.com>
27478
27479 * Makeconfig (run-program-prefix): Fix comment.
27480
cc1290d0
JM
274812012-10-24 Joseph Myers <joseph@codesourcery.com>
27482 Jim Blandy <jimb@codesourcery.com>
27483
27484 * Makeconfig (test-wrapper): New variable,
27485 (test-wrapper-env): Likewise.
27486 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27487 (run-built-tests): Define to yes.
27488 (run-program-prefix): Use $(test-wrapper).
27489 (built-program-cmd): Likewise.
27490 * Rules (make-test-out): Use $(test-wrapper-env) and
27491 $(host-built-program-cmd).
27492 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27493 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27494 tst-pathopt.sh.
27495 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27496 $(test-wrapper-env) to tst-rtld-load-self.sh.
27497 ($(objpfx)order2.out): Use $(test-wrapper).
27498 ($(objpfx)tst-initorder.out): Likewise.
27499 ($(objpfx)tst-initorder2.out): Likewise.
27500 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27501 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27502 (test_wrapper_env): New variable. Use it to run ld.so.
27503 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27504 Use it to run ld.so.
27505 (test_wrapper_env): Likewise.
27506 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27507 $(test-wrapper) to run-iconv-test.sh.
27508 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27509 (ICONV): Use $test_wrapper.
27510 * posix/Makefile ($(objpfx)globtest.out): Pass
27511 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27512 globtest.sh, not $(run-program-prefix).
27513 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27514 (test_wrapper): Likewise.
27515 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27516 set together with run_via_rtld_prefix.
27517 (run_program_prefix): Define in terms of test_wrapper and
27518 run_via_rtld_prefix.
27519
6e6249d0
RM
275202012-10-24 Roland McGrath <roland@hack.frob.com>
27521
27522 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27523 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27524 Targets removed.
27525
27526 [BZ #14743]
27527 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27528 Declare __clock_getres, __clock_gettime, __clock_settime,
27529 __clock_nanosleep, and __clock_getcpuclockid.
27530 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27531 Remove librt_hidden_def (clock_gettime).
27532 * sysdeps/unix/clock_gettime.c: Likewise.
27533 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27534 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27535 * rt/clock_getres.c: Define __clock_getres as an alias.
27536 * sysdeps/posix/clock_getres.c: Likewise.
27537 * rt/clock_settime.c: Define __clock_settime as an alias.
27538 * sysdeps/unix/clock_settime.c: Likewise.
27539 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27540 * sysdeps/unix/clock_nanosleep.c: Likewise.
27541 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27542 * rt/clock-compat.c: New file.
27543 * rt/Makefile (librt-routines): Add clock-compat and move
27544 $(clock-routines) to ...
27545 (routines): ... here, new variable.
27546 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27547 Don't add get_clockfreq here.
27548 * rt/Versions (libc: GLIBC_2.17): New version set.
27549 Add clock_* symbols here.
27550 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27551 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27552 (GLIBC_2.17): Add clock_* symbols.
27553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27555 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27557 Likewise.
27558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27559 Likewise.
27560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27564 * NEWS: Mention the move.
27565
27566 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27567 Use __open, __read, __close rather than their public counterparts.
27568 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27569 (__get_clockfreq_via_cpuinfo): Likewise.
27570 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27571 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27572
27573 * config.h.in (HAVE_IFUNC): New #undef.
27574 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27575 was successful.
27576 * configure: Regenerated.
27577
0cae3f4b
MF
275782012-10-24 Mike Frysinger <vapier@gentoo.org>
27579
27580 * configure.in: Move READELF check to start of file.
27581 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27582 libc_cv_asm_gnu_indirect_function in the process.
27583 * configure: Regenerated.
27584
8175a253
MF
275852012-10-24 Mike Frysinger <vapier@gentoo.org>
27586
27587 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27588 send the output to /dev/null.
27589 (libc_cv_cc_with_libunwind): Likewise.
27590 (libc_cv_as_noexecstack): Likewise.
27591 * configure: Regenerate.
27592
0708a7d1
JM
275932012-10-24 Joseph Myers <joseph@codesourcery.com>
27594
10b40d85
JM
27595 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27596
0708a7d1
JM
27597 * posix/globtest.sh (TMPDIR): Do not set.
27598 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27599 (testout): Likewise.
27600
9fddec1a
AJ
276012012-10-24 Andreas Jaeger <aj@suse.de>
27602
3a8db22f
AJ
27603 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27604 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27605 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27606 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27607 posix_fadvise64, posix_fallocate64.
27608
9fddec1a
AJ
27609 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27610 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27611 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27612 Likewise.
27613 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27614 Likewise.
27615 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27616
27617 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27618 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27619 <bits/fcntl-linux.h>.
27620 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27621
27622 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27623 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27624 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27625 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27626 [__WORDSIZE != 64]: Likewise.
27627
ebfd1bbd
JM
276282012-10-23 Joseph Myers <joseph@codesourcery.com>
27629
03ac099f
JM
27630 * Makeconfig (run-built-tests): New variable.
27631 * Rules [$(cross-compiling) = yes]: Change condition to
27632 [$(run-built-tests) = no].
27633 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27634 to [$(run-built-tests) = yes].
27635 * elf/Makefile [$(cross-compiling) = no]: Likewise
27636 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27637 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27638 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27639 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27640 * io/Makefile [$(cross-compiling) = no]: Likewise.
27641 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27642 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27643 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27644 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27645 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27646 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27647 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27648 * string/Makefile [$(cross-compiling) = no]: Likewise.
27649
ebfd1bbd
JM
27650 * posix/Makefile ($(objpfx)globtest.out): Pass
27651 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27652 $(rtld-installed-name).
27653 * posix/globtest.sh (elf_objpfx): Remove variable.
27654 (rtld_installed_name): Likewise.
27655 (library_path): Likewise.
27656 (run_program_prefix): New variable. Use for running globtest
27657 binary.
27658
166bca24
JB
276592012-10-23 Jim Blandy <jimb@codesourcery.com>
27660 Joseph Myers <joseph@codesourcery.com>
27661
27662 * Makeconfig (host-built-program-cmd): New variable.
27663 * elf/Makefile (tst-stackguard1-ARGS): Use
27664 $(host-built-program-cmd).
27665 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27666 (tst-spawn-ARGS): Likewise.
27667 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27668
88866099
JM
276692012-10-23 Joseph Myers <joseph@codesourcery.com>
27670 Jim Blandy <jimb@codesourcery.com>
27671
27672 * Makeconfig (run-via-rtld-prefix): New variable.
27673 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27674 (built-program-cmd): Likewise.
27675
b4b4c296
AJ
276762012-10-22 Andreas Jaeger <aj@suse.de>
27677
27678 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27679 __O_RSYNC if it exists, otherwise to O_SYNC.
27680
6fb54a22
JB
276812012-10-22 Jim Blandy <jimb@codesourcery.com>
27682 Joseph Myers <joseph@codesourcery.com>
27683
27684 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27685 /dev/null.
27686 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27687 from /dev/null
27688 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27689 /dev/null.
27690
481b90b9
AJ
276912012-10-22 Andreas Jaeger <aj@suse.de>
27692
2a0e2669
AJ
27693 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27694 Define always.
27695 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27696
76e38f9a
AJ
27697 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27698 bits/fcntl-linux.h.
27699
7cd37b43
AJ
27700 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27701 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27702
481b90b9
AJ
27703 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27704 to __O_LARGEFILE.
27705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27706 to __O_LARGEFILE.
27707
aba75984
JB
277082012-10-21 Jim Blandy <jimb@codesourcery.com>
27709 Joseph Myers <joseph@codesourcery.com>
27710
27711 * config.make.in (NM): New variable.
27712
88d4247f
AJ
277132012-10-21 Andreas Jaeger <aj@suse.de>
27714
27715 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27716 definitions and declarations that are provided by
27717 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27718
f2eed205
L
277192012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27720
27721 [BZ #14683]
27722 * elf/Makefile (tests-static): Add tst-leaks1-static.
27723 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27724 ($(objpfx)tst-leaks1-static): New rule.
27725 ($(objpfx)tst-leaks1-static-mem): Likewise.
27726 (tst-leaks1-static-ENV): New macro.
27727 * elf/dl-open.c (dl_open_worker): Check the main application
27728 only if SHARED is defined.
27729 * elf/tst-leaks1-static.c: New file.
27730
335e6931
AJ
277312012-10-20 Andreas Jaeger <aj@suse.de>
27732
27733 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27734 generic values for Linux.
27735 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27736 and declarations that are provided by <bits/fcntl-linux.h> and
27737 include <bits/fcntl-linux.h>.
27738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27739 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27740
ac5c94d3
RM
277412012-10-20 Roland McGrath <roland@hack.frob.com>
27742
27743 * io/fcntl.h: Move include of <bits/types.h> to the top and
27744 include it unconditionally.
27745
de54b33a
L
277462012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27747
228cfb01
L
27748 * wcsmbs/Makefile (tests-ifunc): New variable.
27749 (tests): Add $(tests-ifunc).
27750 * wcsmbs/test-wcschr-ifunc.c: New file.
27751 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27752 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27753 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27754 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27755 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27756
69f07e5f
L
27757 * string/Makefile (tests-ifunc): New variable.
27758 (tests): Add $(tests-ifunc).
27759 * string/test-memccpy.c (TEST_NAME): New macro.
27760 * string/test-memchr.c (TEST_NAME): Likewise.
27761 * string/test-memcmp.c (TEST_NAME): Likewise.
27762 * string/test-memcpy.c (TEST_NAME): Likewise.
27763 * string/test-memmem.c (TEST_NAME): Likewise.
27764 * string/test-memmove.c (TEST_NAME): Likewise.
27765 * string/test-memset.c (TEST_NAME): Likewise.
27766 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27767 * string/test-stpcpy.c (TEST_NAME): Likewise.
27768 * string/test-stpncpy.c (TEST_NAME): Likewise.
27769 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27770 * string/test-strcasestr.c (TEST_NAME): Likewise.
27771 * string/test-strcat.c (TEST_NAME): Likewise.
27772 * string/test-strchr.c (TEST_NAME): Likewise.
27773 * string/test-strcmp.c(TEST_NAME): Likewise.
27774 * string/test-strcpy.c (TEST_NAME): Likewise.
27775 * string/test-strcspn.c (TEST_NAME): Likewise.
27776 * string/test-strlen.c (TEST_NAME): Likewise.
27777 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27778 * string/test-strncmp.c (TEST_NAME): Likewise.
27779 * string/test-strncpy.c (TEST_NAME): Likewise.
27780 * string/test-strnlen.c (TEST_NAME): Likewise.
27781 * string/test-strpbrk.c (TEST_NAME): Likewise.
27782 * string/test-strrchr.c (TEST_NAME): Likewise.
27783 * string/test-strspn.c (TEST_NAME): Likewise.
27784 * string/test-strstr.c (TEST_NAME): Likewise.
27785 * string/test-bcopy-ifunc.c: New file.
27786 * string/test-bzero-ifunc.c: Likewise.
27787 * string/test-memccpy-ifunc.c: Likewise.
27788 * string/test-memchr-ifunc.c: Likewise.
27789 * string/test-memcmp-ifunc.c: Likewise.
27790 * string/test-memcpy-ifunc.c: Likewise.
27791 * string/test-memmem-ifunc.c: Likewise.
27792 * string/test-memmove-ifunc.c: Likewise.
27793 * string/test-mempcpy-ifunc.c: Likewise.
27794 * string/test-memset-ifunc.c: Likewise.
27795 * string/test-rawmemchr-ifunc.c: Likewise.
27796 * string/test-stpcpy-ifunc.c: Likewise.
27797 * string/test-stpncpy-ifunc.c: Likewise.
27798 * string/test-strcasecmp-ifunc.c: Likewise.
27799 * string/test-strcasestr-ifunc.c: Likewise.
27800 * string/test-strcat-ifunc.c: Likewise.
27801 * string/test-strchr-ifunc.c: Likewise.
27802 * string/test-strchrnul-ifunc.c: Likewise.
27803 * string/test-strcmp-ifunc.c: Likewise.
27804 * string/test-strcpy-ifunc.c: Likewise.
27805 * string/test-strcspn-ifunc.c: Likewise.
27806 * string/test-strlen-ifunc.c: Likewise.
27807 * string/test-strncasecmp-ifunc.c: Likewise.
27808 * string/test-strncat-ifunc.c: Likewise.
27809 * string/test-strncmp-ifunc.c: Likewise.
27810 * string/test-strncpy-ifunc.c: Likewise.
27811 * string/test-strnlen-ifunc.c: Likewise.
27812 * string/test-strpbrk-ifunc.c: Likewise.
27813 * string/test-strrchr-ifunc.c: Likewise.
27814 * string/test-strspn-ifunc.c: Likewise.
27815 * string/test-strstr-ifunc.c: Likewise.
27816
de54b33a
L
27817 * debug/Makefile (tests-ifunc): New variable.
27818 (tests): Add $(tests-ifunc).
27819 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27820 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27821 * debug/test-stpcpy_chk-ifunc.c: New file.
27822 * debug/test-strcpy_chk-ifunc.c: Likewise.
27823
88481c16
SP
278242012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27825
27826 [BZ #13601]
27827 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27828 header is not read in.
27829
135948bd
JM
278302012-10-19 Joseph Myers <joseph@codesourcery.com>
27831
89f1c388
JM
27832 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27833 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27834 directly. Pass built executable to script as
27835 $(built-program-cmd).
27836 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27837 $testprogram without using LD_LIBRARY_PATH and $ldso.
27838
e40a0d21
JM
27839 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27840 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27841 $(rtld-installed-name).
27842 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27843 (rtld_installed_name): Likewise.
27844 (library_path): Likewise.
27845 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27846 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27847 $(run-program-prefix) to tst-tables.sh.
27848 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27849 it to run tst-table-from and tst-table-to.
27850 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27851 Pass it to tst-table.sh.
27852 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27853 $(run-program-prefix) to tst-gettext.sh.
27854 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27855 tst-translit.sh.
27856 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27857 tst-gettext2.sh.
27858 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27859 to run tst-gettext.
27860 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27861 to run tst-gettext2.
27862 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27863 to run tst-translit.
27864 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27865 $(run-program-prefix) to tst-mtrace.sh.
27866 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27867 to run tst-mtrace.
27868 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27869 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27870 $(rtld-installed-name).
27871 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27872 (rtld_installed_name): Likewise.
27873 (run_program_prefix): New variable. Use it to run wordexp-test.
27874
728e272a
JM
27875 * Makeconfig (ARCH): Remove all definitions.
27876 (machine): Likewise.
27877 [ARCH]: Remove conditional code.
27878 [!objdir]: Give error.
27879 [!objdir] (objpfx): Remove.
27880 [!objdir] (common-objpfx): Likewise.
27881 [!objdir] (common-objdir): Likewise.
27882 * configure.in (config_makefile): Remove. Hardcode Makefile in
27883 AC_CONFIG_FILES call.
27884 * configure: Regenerated.
27885
d528cdcf
JM
27886 [BZ #13888]
27887 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27888 or TMPDIR.
27889 (testout): Likewise.
27890
135948bd
JM
27891 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27892 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27893 $(rtld-installed-name).
27894 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27895 (rtld_installed_name): Likwise.
27896 (runit): Remove function.
27897 (run_getconf): New variable, Use it for running getconf binary.
27898
38c78296
L
278992012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27900
27901 [BZ #14716]
27902 * string/test-memmem.c (check_result): New function.
27903 (do_one_test): Use it.
27904 (check1): New function.
27905 (test_main): Use it.
27906
d077f65f
MT
279072012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27908
27909 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27910
ced52c71
JM
279112012-10-18 Joseph Myers <joseph@codesourcery.com>
27912
27913 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27914 (_G_LSEEK64): Likewise.
27915 (_G_MMAP64): Likewise.
27916 (_G_FSTAT64): Likewise.
27917 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27918 (_G_LSEEK64): Likewise.
27919 (_G_MMAP64): Likewise.
27920 (_G_FSTAT64): Likewise.
27921 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27922 unconditional. Call __mmap64 directly.
27923 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27924 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27925 __lseek64 directly.
27926 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27927 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27928 __mmap64 directly.
27929 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27930 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27931 __lseek64 directly.
27932 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27933 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27934 __lseek64 directly.
27935 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27936 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27937 __lseek64 directly.
27938 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27939 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27940 __fxstat64 directly.
27941 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27942 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27943 unconditional.
27944 (freopen64) [!_G_OPEN64]: Remove conditional code.
27945 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27946 unconditional.
27947 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27948 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27949 unconditional.
27950 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27951 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27952 unconditional.
27953 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27954 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27955 unconditional.
27956 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27957 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27958 unconditional.
27959 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27960 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27961 unconditional.
27962 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27963 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27964 unconditional.
27965 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27966
b741de23
SP
279672012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27968
27969 [BZ #12140]
27970 * manual/memory.texi (Malloc Tunable Parameters): Add note
27971 about free list pointers overwriting some perturb bytes.
27972 Wording suggested by Roland McGrath.
27973
f9b9d9c9
JM
279742012-10-17 Joseph Myers <joseph@codesourcery.com>
27975
27976 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27977 (lgamma_test): Likewise.
27978 (tgamma_test): Likewise.
27979
172a631a
FW
279802012-10-16 Florian Weimer <fweimer@redhat.com>
27981
27982 [BZ #14700]
27983 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27984 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27985
e9f37252
MK
279862012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27987
27988 * NEWS: Mention BZ #14716.
27989 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27990 when removing AVAILABLE1_USES_J macro.
27991
d394eb74
L
279922012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27993
27994 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27995 (__bswap_64): __uint64_t for unsigned 64-bit int.
27996
ca38dc17
AS
279972012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27998
27999 * include/string.h (memmem): Declare libc hidden alias.
28000 * string/memmem.c (memmem): Define libc hidden alias.
28001 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28002 __read, __close instead of open, read, close.
28003
9a387d1f
L
280042012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28005
ac49ecaf
L
28006 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28007 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28008 global and hidden.
28009 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28010 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28011 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28012 Likewise.
28013 (__rawmemchr_sse2): Likewise.
28014 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28015 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28016 (__strchr_sse2): Likewise.
28017 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28018 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28019 (__strcasecmp_sse2): Likewise.
28020 (__strncasecmp_sse2): Likewise.
28021 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28022 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28023 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28024 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28025 (__strrchr_sse2): Likewise.
28026 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28027 ifunc-impl-list.c.
28028 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28029 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28030 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28031 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28032 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28033 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28034 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28035 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28036 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28037 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28038 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28039 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28040 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28041 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28042 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28043 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28044 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28045 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28046 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28047 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28048 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28049 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28050 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28051 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28052 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28053 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28054 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28055 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28056 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28057 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28058
b090e8ea
L
28059 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28060 global and hidden.
28061 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28062 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28063 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28064 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28065 Likewise.
28066 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28067 Likewise.
28068 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28069 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28070 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28071 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28072 ifunc-impl-list.c.
28073 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28074 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28075 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28076 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28077 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28078 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28079 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28080 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28081 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28082 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28083 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28084 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28085 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28086 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28087 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28088 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28089 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28090 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28091 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28092 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28093 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28094 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28095 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28096 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28097 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28098 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28099 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28100 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28101 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28102 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28103 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28104 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28105 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28106 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28107 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28108 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28109 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28110 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28111 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28112 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28113 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28114
11dd4af6
L
28115 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28116 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28117 * include/ifunc-impl-list.h: New file.
28118 * misc/ifunc-impl-list.c: Likewise.
28119 * misc/Makefile (routines): Add ifunc-impl-list.
28120 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28121 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
28122 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28123 TEST_NAME]: New variables.
11dd4af6
L
28124 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28125 are defined.
28126 (test_init): Call __libc_ifunc_impl_list to initialize
28127 func_list if TEST_IFUNC and TEST_NAME are defined.
28128
9a387d1f
L
28129 * string/Makefile (strop-tests): Add bcopy and bzero.
28130 * string/test-bcopy.c: New file.
28131 * string/test-bzero.c: Likewise.
28132 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28133 defined.
28134 * string/test-memset.c: Support bzero test if TEST_BZERO is
28135 defined.
28136 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28137 __libc_memmove.
28138 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28139 __libc_memset.
28140 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28141 of memset.
28142
472371b9
JM
281432012-10-10 Joseph Myers <joseph@codesourcery.com>
28144
1e4a9536
JM
28145 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28146 * configure: Regenerated.
28147
d173d12e
JM
28148 * Makeconfig (+link-static-before-libc): Don't include
28149 $(link-static-libc).
28150
472371b9
JM
28151 * libio/libio.h (_IO_pos_t): Remove.
28152
89a3ad0b
AO
281532012-10-10 Alexandre Oliva <aoliva@redhat.com>
28154
28155 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28156 McGrath.
28157
e7451425
AO
281582012-10-10 Alexandre Oliva <aoliva@redhat.com>
28159
28160 * crypt/crypt-entry.c: Include fips-private.h.
28161 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28162 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28163 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28164 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28165
4ba74a35
AO
281662012-10-10 Alexandre Oliva <aoliva@redhat.com>
28167
28168 * crypt/crypt-private.h: Include stdbool.h.
28169 (_ufc_setup_salt_r): Return bool.
28170 * crypt/crypt-entry.c: Include errno.h.
28171 (__crypt_r): Return NULL with EINVAL for bad salt.
28172 * crypt/crypt_util.c (bad_for_salt): New.
28173 (_ufc_setup_salt_r): Check that salt is long enough and within
28174 the specified alphabet.
28175 * crypt/badsalttest.c: New file.
28176 * crypt/Makefile (tests): Add it.
28177 ($(objpfx)badsalttest): New.
28178
f96f1242
MK
281792012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28180
28181 * NEWS: Add entry for BZ #14602.
28182
0e8e0c1c
JM
281832012-10-09 Joseph Myers <joseph@codesourcery.com>
28184
28185 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28186 type-generic.
28187 * math/libm-test.inc: Update comment listing what functions and
28188 macros are tested.
28189 (isgreater_test): New function.
28190 (isgreaterequal_test): Likewise.
28191 (isless_test): Likewise.
28192 (islessequal_test): Likewise.
28193 (islessgreater_test): Likewise.
28194 (isunordered_test): Likewise.
28195 (main): Call the new functions.
28196
273edc5e
RM
281972012-10-09 Roland McGrath <roland@hack.frob.com>
28198
b8493de0
RM
28199 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28200 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28201 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28202 * sysdeps/i386/configure: Regenerated.
28203 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28204 * sysdeps/mach/configure: Regenerated.
28205 * sysdeps/mach/hurd/configure: Regenerated.
28206 * sysdeps/powerpc/configure: Regenerated.
28207 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28208 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28209 * sysdeps/s390/s390-32/configure: Regenerated.
28210 * sysdeps/s390/s390-64/configure: Regenerated.
28211 * sysdeps/sh/configure: Regenerated.
28212 * sysdeps/sparc/configure: Regenerated.
28213 * sysdeps/unix/sysv/linux/configure: Regenerated.
28214 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28215 * sysdeps/x86_64/configure: Regenerated.
28216
273edc5e
RM
28217 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28218 defined. Don't check if MAP is NULL.
28219
c8450f70
JM
282202012-10-09 Joseph Myers <joseph@codesourcery.com>
28221
28222 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28223 (_G_stat64): Likewise.
28224 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28225 (_G_stat64): Likewise.
28226 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28227 instead of struct _G_stat64.
28228 * libio/fileops.c (mmap_remap_check): Likewise.
28229 (decide_maybe_mmap): Likewise.
28230 (_IO_new_file_seekoff): Likewise.
28231 (_IO_file_stat): Likewise.
28232 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28233 _G_off64_t.
28234 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28235 instead of struct _G_stat64.
28236 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28237
57e605ba
MK
282382012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28239
28240 [BZ #14602]
28241 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28242 Replace with ...
28243 (CHECK_EOL): New macro.
28244 (two_way_short_needle): Check beginning of haystack for EOL. Use
28245 CHECK_EOL.
28246 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28247 Replace with CHECK_EOL.
28248 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28249 Replace with CHECK_EOL.
28250
ef1bb361
JM
282512012-10-08 Joseph Myers <joseph@codesourcery.com>
28252
28253 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28254 type-generic.
28255 * math/libm-test.inc: Update comment listing what functions and
28256 macros are tested.
28257 (finite_test): New function.
28258 (isinf_test): Likewise.
28259 (isnan_test): Likewise.
28260 (fpclassify_test): Test subnormal input.
28261 (isfinite_test): Likewise.
28262 (isnormal_test): Likewise.
28263 (main): Call the new functions.
28264
55f11534
JN
282652012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28266
28267 [BZ #14660]
28268 * Makerules (%.dynsym): Force C locale when running
28269 $(OBJDUMP) --dynamic-syms.
28270
1ab29350
AS
282712012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28272
28273 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28274 <stdint.h>.
28275
f1ecb7ef
DM
282762012-10-06 David S. Miller <davem@davemloft.net>
28277
28278 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28279 upper 32-bits of the length value in %o2 since we use branch-on-register
28280 tests which consider the entire 64-bit register.
28281
5d41d91a
L
282822012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28283
28284 * string/test-strstr.c (check2): Add a test for page boundary.
28285
3baddb72
DM
282862012-10-05 David S. Miller <davem@davemloft.net>
28287
28288 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28289 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28290 file.
28291 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28292 sysdep_routines.
28293 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28294 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28295 and bzero when HWCAP_SPARC_CRYPTO is present.
28296
9cee5585
L
282972012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28298
d7e0dab9
L
28299 [BZ #14602]
28300 * string/test-strstr.c (check2): New function.
28301 (test_main): Call check2.
28302
03759f47
L
28303 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28304 and bug-strchr1.
28305 * string/bug-strcasestr1.c (do_test): Moved to ...
28306 * string/test-strcasestr.c (check1): Here. New function.
28307 (do_one_test): Break out result checking code into ...
28308 (check_result): This. New function.
28309 (do_one_test): Call check_result.
28310 (test_main): Call check1.
28311 * string/bug-strchr1.c (do_test): Moved to ...
28312 * string/test-strchr.c (check1): Here. New function.
28313 (do_one_test): Break out result checking code into ...
28314 (check_result): This. New function.
28315 (do_one_test): Call check_result.
28316 (test_main): Call check1.
28317 * string/bug-strstr1.c (main): Moved to ...
046f153e 28318 * string/test-strstr.c (check1): Here. New function.
03759f47
L
28319 (do_one_test): Break out result checking code into ...
28320 (check_result): This. New function.
28321 (do_one_test): Call check_result.
28322 (test_main): Call check1.
28323 * string/bug-strcasestr1.c: Removed.
28324 * string/bug-strchr1.c: Likewise.
28325 * string/bug-strstr1.c: Likewise.
28326
53cea63e
L
28327 * elf/Makefile (dl-routines): Add hwcaps.
28328 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28329 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28330 (_dl_important_hwcaps): Moved to ...
28331 * elf/dl-hwcaps.c: Here. New file.
28332 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28333
9cee5585 28334 [BZ #14557]
bb859b06
L
28335 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28336 if IS_IN_rtld isn't defined.
28337
9cee5585
L
28338 * elf/dl-support.c (_dl_sysinfo_map): New.
28339 Include "get-dynamic-info.h" and "setup-vdso.h".
28340 (_dl_non_dynamic_init): Call setup_vdso.
28341 * elf/dynamic-link.h: Don't include <assert.h>.
28342 (elf_get_dynamic_info): Moved to ...
28343 * elf/get-dynamic-info.h: Here. New file.
28344 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28345 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28346 * elf/setup-vdso.h: Here. New file.
28347 * elf/rtld.c: Include "setup-vdso.h".
28348 (dl_main): Call setup_vdso.
28349
23c31b76
JM
283502012-10-05 Joseph Myers <joseph@codesourcery.com>
28351
28234b07
JM
28352 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28353 creal in comment listing functions tested. List finite, isinf,
28354 isnan, isless, islessequal, isgreater, isgreaterequal,
28355 islessgreater, isunordered, lgamma_r and pow10 as functions and
28356 macros not tested. Mention which functions not tested are aliases
28357 for other functions. Fix typo. Note that signs of NaNs are not
28358 tested.
28359
23c31b76
JM
28360 * scripts/config.guess: Update from config.git.
28361 * scripts/config.sub: Likewise.
28362
9043e228
RM
283632012-10-04 Roland McGrath <roland@hack.frob.com>
28364
28365 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28366 * misc/madvise.c (madvise): Renamed to __madvise.
28367 Make madvise a weak alias.
28368 * include/sys/mman.h: Declare __madvise.
28369 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28370 * sysdeps/unix/syscalls.list
28371 (madvise): Make __madvise the strong name, and madvise a weak alias.
28372 * sysdeps/unix/sysv/linux/syscalls.list
28373 (madvise, mmap): Remove redundant entries.
28374 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28375 * malloc/malloc.c (mtrim): Likewise.
28376 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28377
f57f8055
RM
283782012-10-03 Roland McGrath <roland@hack.frob.com>
28379
28380 * sysdeps/mach/hurd/dl-cache.c: File removed.
28381 * config.h.in (USE_LDCONFIG): New #undef.
28382 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28383 * configure: Regenerated.
28384 * elf/Makefile (dl-routines): Add dl-cache only under
28385 [$(use-ldconfig) = yes].
28386 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28387 cache on [USE_LDCONFIG].
28388 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28389 [USE_LDCONFIG].
28390 * elf/rtld.c (dl_main): Likewise.
28391
5bb0c10a
PT
283922012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28393
28394 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28395 _SC_LEVEL4_CACHE_LINESIZE.
28396
010188c6
RM
283972012-10-03 Roland McGrath <roland@hack.frob.com>
28398
28399 * sysdeps/unix/bsd/confstr.h: File removed.
28400
b6c5ec07
AO
284012012-10-02 Alexandre Oliva <aoliva@redhat.com>
28402
28403 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28404 sys/sdt-config.h.
28405
408223d4
RM
284062012-10-02 Roland McGrath <roland@hack.frob.com>
28407
28408 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28409 Make 'mapoff' field ElfW(Off) rather than off_t.
28410
bb9510dc
DL
284112012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28412
fc997c6e
DL
28413 * nscd/Makefile: Remove nscd-cflags and all its users.
28414 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28415 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28416
bb9510dc
DL
28417 [BZ #10631]
28418 * malloc.c (malloc_printerr): Clarify error message.
28419
05699367
L
284202012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28421
28422 [BZ #14648]
28423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28424 Set bit_FMA_Usable if FMA is supported.
28425 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28426 macro.
28427 (bit_FMA4_Usable): Updated.
28428 (index_FMA_Usable): New macro.
28429 (CPUID_FMA): Likewise
28430 (HAS_FMA): Defined with bit_FMA_Usable.
28431
51367701
RM
284322012-10-01 Roland McGrath <roland@hack.frob.com>
28433
28434 * bits/types.h (__swblk_t): Type removed.
28435 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28436 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28437 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28438 (__SWBLK_T_TYPE): Likewise.
28439 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28440 (__SWBLK_T_TYPE): Likewise.
28441 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28442 (__SWBLK_T_TYPE): Likewise.
28443 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28444 (__SWBLK_T_TYPE): Likewise.
28445
4d57bf63 284462012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 28447 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
28448
28449 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28450 (xdr_mapname): Use YPMAXMAP as maxsize.
28451 (xdr_peername): Use YPMAXPEER as maxsize.
28452 (xdr_keydat): Use YPAXRECORD as maxsize.
28453 (xdr_valdat): Use YPMAXRECORD as maxsize.
28454
93c65d43
RM
284552012-10-01 Roland McGrath <roland@hack.frob.com>
28456
497a03d6
RM
28457 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28458
93c65d43
RM
28459 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28460 * csu/init-first.c: ... here.
28461 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28462 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28463 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28464 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28465 * sysdeps/i386/init-first.c: File removed.
28466 * sysdeps/sh/init-first.c: File removed.
28467
bec749fd
JM
284682012-10-01 Joseph Myers <joseph@codesourcery.com>
28469
28470 [BZ #14645]
28471 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28472 if x * y might underflow to zero and z is zero.
28473 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28474 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28475 * math/libm-test.inc (min_subnorm_value): New variable.
28476 (fma_test): Add more tests.
28477 (fma_test_towardzero): Likewise.
28478 (fma_test_downward): Likewise
28479 (fma_test_upward): Likewise.
28480 (initialize): Set min_subnorm_value.
28481
8ec5b013
JM
284822012-09-29 Joseph Myers <joseph@codesourcery.com>
28483
28484 [BZ #14638]
28485 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28486 0 + 0.
28487 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28488 mode for addition resulting in exact zero.
28489 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28490 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28491 exact 0 + 0.
28492 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28493 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28494 * math/libm-test.inc (fma_test): Add more tests.
28495 (fma_test_towardzero): New function.
28496 (fma_test_downward): Likewise.
28497 (fma_test_upward): Likewise.
28498 (main): Call the new functions.
28499
b1fa802e
DM
285002012-09-28 David S. Miller <davem@davemloft.net>
28501
28502 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28503
d3b9fd9e
RM
285042012-09-28 Roland McGrath <roland@hack.frob.com>
28505
ea4d37b3
RM
28506 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28507 instead of SIGALRM.
28508
ac51c949
RM
28509 * sysdeps/gnu/_G_config.h: Moved to ...
28510 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28511 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28512 * sysdeps/generic/_G_config.h: ... here.
28513
28c195f7
RM
28514 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28515
848917f9
RM
28516 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28517
6bacf05b
RM
28518 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28519 Conditionalize target on [libnss_test1.so-version].
28520
91363dbb
RM
28521 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28522
cc87f7d8
RM
28523 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28524 (elfobjdir): Move out of conditionals.
28525
b1c608fe
RM
28526 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28527 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28528 (__nss_lookup_function): Conditionalize label remove_from_tree on
28529 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 28530
1d9a6d96
DM
285312012-09-28 David S. Miller <davem@davemloft.net>
28532
28533 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28534 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28535 file.
28536 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28537 sysdep_routines.
28538 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28539 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28540 when HWCAP_SPARC_CRYPTO is present.
28541
72581615
PT
285422012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28543
28544 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28545
715a900c
JL
285462012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28547
28548 [BZ #6530]
28549 * stdio-common/vfprintf.c (process_string_arg): Revert
28550 2000-07-22 change.
28551
285522011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28553
28554 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28555 for testcase.
28556 * stdio-common/tst-sprintf.c: Include <locale.h>
28557 (main): Test sprintf's handling of incomplete multibyte
28558 characters.
28559
9bac1d86
L
285602012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28561
28562 * elf/dl-runtime.c (VERSYMIDX): Removed.
28563 * elf/dl-version.c (VERSYMIDX): Likewise.
28564 * elf/do-rel.h (VERSYMIDX): Likewise.
28565 (VALIDX): Likewise.
28566 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28567 * elf/rtld.c (VALIDX): Likewise.
28568 (ADDRIDX): Likewise.
9bac1d86
L
28569 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28570 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28571 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
28572 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28573 (VALIDX): Likewise.
28574 (ADDRIDX): Likewise.
9bac1d86 28575
b31606c0
PT
285762012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28577
28578 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28579
11541177
JL
285802012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28581
28582 [BZ #11438]
28583 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28584 to global scope.
28585 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28586 addresses are in the same scope as 192.0.2/24.
28587 * posix/gai.conf: Document new scope table defaults.
28588
adb26fae
SP
285892012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28590
28591 [BZ #5298]
28592 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28593 for ftell. Compute offsets from write pointers instead.
28594 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28595
4573c6b0
SP
285962012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28597
28598 [BZ #14543]
28599 * libio/Makefile (tests): New test case tst-fseek.
28600 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28601 combination works in wide mode.
28602 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28603 state when the external buffer state changes.
28604
aa9bbfe6
DM
286052012-09-27 David S. Miller <davem@davemloft.net>
28606
28607 [BZ #14376]
28608 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28609 pass reloc->r_addend in as the 'high' argument to
28610 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28611
784421e7
DM
28612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28613
c39bc8b8
PT
286142012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28615
28616 * rt/tst-aio2.c: Include <pthread.h>.
28617 * rt/tst-aio3.c: Likewise.
28618
1ccc2399
SE
286192012-09-27 Steve Ellcey <sellcey@mips.com>
28620
28621 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28622
31ed4153
L
286232012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28624
25f5f885
L
28625 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28626 contents on [SHARED].
31ed4153 28627
b7bfe116
MP
286282012-09-26 Marek Polacek <polacek@redhat.com>
28629
28630 [BZ #14530]
28631 [BZ #13741]
28632 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28633 for C++ and GCC <4.3 as well as for non GCC compilers.
28634
43c4edba
MT
286352012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28636
28637 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28638
6a1bf82f
RM
286392012-09-25 Roland McGrath <roland@hack.frob.com>
28640
28641 * Makefile.in (all, install): Declare with .PHONY.
28642 Reported by Michael Hope <michael.hope@linaro.org>.
28643
8ad11b9a
TMQMF
286442012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28645
28646 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28647 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28648 system header.
28649 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28650 Likewise.
28651 (sydep_routines): Add the new and the internal functions.
28652 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28653 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28655 (GLIBC_2.17): Add the new function.
28656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28657 (GLIBC_2.17): Likewise.
28658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28659 (GLIBC_2.17): Likewise.
28660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28661 (GLIBC_2.17): Likewise.
28662 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28663
7e2fca8d
AM
286642012-09-25 Alan Modra <amodra@gmail.com>
28665
28666 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28667 Add release barrier before setting once_control to say
28668 initialisation is done. Add hints on lwarx. Use macro in
28669 place of isync.
28670 (clear_once_control): Add release barrier.
28671
b87c4b24
JM
286722012-09-25 Joseph Myers <joseph@codesourcery.com>
28673
d032e0d2
JM
28674 [BZ #13629]
28675 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28676 specially.
28677 * math/s_clog10.c (__clog10): Likewise.
28678 * math/s_clog10f.c (__clog10f): Likewise.
28679 * math/s_clog10l.c (__clog10l): Likewise.
28680 * math/s_clogf.c (__clogf): Likewise.
28681 * math/s_clogl.c (__clogl): Likewise.
28682 * math/Makefile (libm-calls): Add x2y2m1.
28683 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28684 (__x2y2m1): Likewise.
28685 (__x2y2m1l): Likewise.
28686 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28687 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28688 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28689 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28690 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28691 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28692 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28693 * sysdeps/i386/fpu/libm-test-ulps: Update.
28694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28695
b87c4b24
JM
28696 [BZ #14621]
28697 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28698 int as type of variable DEPTH.
28699 (glob): Use size_t instead of int as type of variables NEWCOUNT
28700 and OLD_PATHC.
28701
6d3bf199
LD
287022012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28703
22bf5c17
LD
28704 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28705 Add s_sincosf-sse2.
28706 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28707 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28708 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28709 macros for using routine as __sincosf_ia32.
28710 Use macro for function declaration and weak_alias.
28711 * sysdeps/i386/fpu/libm-test-ulps: Update.
28712
28713 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28715
28716 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
28717 subnormal argument.
28718 * math/s_cexpf.c (__cexpf): Likewise.
28719 * math/s_csinf.c (__csinf): Likewise.
28720 * math/s_csinhf.c (__csinhf): Likewise.
28721 * math/s_ctanf.c (__ctanf): Likewise.
28722 * math/s_ctanhf.c (__ctanhf): Likewise.
28723 * math/s_ccosh.c (__ccoshf): Likewise.
28724 * math/s_cexp.c (__cexpl): Likewise.
28725 * math/s_csin.c (__csin): Likewise.
28726 * math/s_csinh.c (__csinh): Likewise.
28727 * math/s_ctan.c (__ctan): Likewise.
28728 * math/s_ctanh.c (ctanh): Likewise.
28729 * math/s_ccoshl.c (__ccoshl): Likewise.
28730 * math/s_cexpl.c (__cexpl): Likewise.
28731 * math/s_csinl.c (__csinl): Likewise.
28732 * math/s_csinhl.c (__csinhl): Likewise.
28733 * math/s_ctanl.c (__ctanl): Likewise.
28734 * math/s_ctanhl.c (__ctanhl): Likewise.
28735
203e5603
JM
287362012-09-25 Joseph Myers <joseph@codesourcery.com>
28737
28738 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28739 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28740 (_IO_off_t): Define to __off_t, not _G_off_t.
28741 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28742 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28743 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28744 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28745 type of __dummy and __dummy2 fields.
28746 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28747 (_G_ssize_t): Likewise.
28748 (_G_off_t): Likewise.
28749 (_G_pid_t): Likewise.
28750 (_G_uid_t): Likewise.
28751 (_G_wchar_t): Likewise.
28752 (_G_wint_t): Likewise.
28753 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28754 (_G_ssize_t): Likewise.
28755 (_G_off_t): Likewise.
28756 (_G_pid_t): Likewise.
28757 (_G_uid_t): Likewise.
28758 (_G_wchar_t): Likewise.
28759 (_G_wint_t): Likewise.
28760 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28761 (_G_ssize_t): Likewise.
28762 (_G_off_t): Likewise.
28763 (_G_pid_t): Likewise.
28764 (_G_uid_t): Likewise.
28765 (_G_wchar_t): Likewise.
28766 (_G_wint_t): Likewise.
28767
9fab36eb
SP
287682012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28769
28770 * malloc/arena.c: Include malloc-sysdep.h.
28771 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28772 is sufficient to shrink the heap or an unmap is needed.
28773 * sysdeps/generic/malloc-sysdep.h: New file. Define
28774 new function check_may_shrink_heap.
28775 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28776 new function check_may_shrink_heap.
28777
2b4f00d1
SP
287782012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28779
28780 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28781 comments.
28782
9a9028b1
DL
287832012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28784
57c69bef
DL
28785 * catgets/test-gencat.sh: Add "set -e".
28786 * elf/tst-pathopt.sh: Likewise.
28787 * grp/tst_fgetgrent.sh: Likewise.
28788 * iconvdata/run-iconv-test.sh: Likewise.
28789 * intl/tst-gettext.sh: Likewise.
28790 * intl/tst-gettext2.sh: Likewise.
28791 * intl/tst-gettext4.sh: Likewise.
28792 * intl/tst-gettext6.sh: Likewise.
28793 * intl/tst-translit.sh: Likewise.
28794 * io/ftwtest-sh: Likewise.
28795 * libio/test-freopen.sh: Likewise.
28796 * malloc/tst-mtrace.sh: Likewise.
28797 * posix/globtest.sh: Likewise.
28798 * posix/tst-getconf.sh: Likewise.
28799 * posix/wordexp-tst.sh: Likewise.
28800 * stdio-common/tst-printf.sh: Likewise.
28801 * stdio-common/tst-unbputc.sh: Likewise.
28802 * stdlib/tst-fmtmsg.sh: Likewise.
28803 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28804 * catgets/Makefile: Do not specify -e option when running
28805 testsuite shell scripts.
28806 * elf/Makefile: Likewise.
28807 * grp/Makefile: Likewise.
28808 * iconvdata/Makefile: Likewise.
28809 * intl/Makefile: Likewise.
28810 * io/Makefile: Likewise.
28811 * libio/Makefile: Likewise.
28812 * malloc/Makefile: Likewise.
28813 * posix/Makefile: Likewise.
28814 * stdio-common/Makefile: Likewise.
28815 * stdlib/Makefile: Likewise.
28816 * sysdeps/x86_64/Makefile: Likewise.
28817
9a9028b1
DL
28818 * io/ftwtest-sh: Add copyright header.
28819 * posix/globtest.sh: Likewise.
28820 * posix/tst-getconf.sh: Likewise.
28821 * posix/wordexp-tst.sh: Likewise.
28822 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28823
ced6f16e
L
288242012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28825
94b32c39
L
28826 [BZ #13679]
28827 * Makeconfig (+link): Defined as $(+link-static) if
28828 $(build-shared) isn't yes.
28829 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28830 isn't yes.
28831 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28832
189e935b
L
28833 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28834
ced6f16e
L
28835 [BZ #14562]
28836 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28837 new chunk size with MALLOC_ALIGN_MASK.
28838
a9f8e53a
JM
288392012-09-24 Joseph Myers <joseph@codesourcery.com>
28840
28841 [BZ #5044]
28842 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28843 <rounding-mode.h>.
28844 (__printf_fphex): Determine rounding using get_rounding_mode and
28845 round_away.
28846 * stdio-common/tst-printf-round.c (struct hex_test): New
28847 structure.
28848 (hex_tests): New variable.
28849 (test_hex_in_one_mode): New function.
28850 (do_test): Also run tests for hex float output.
28851
43153109
JM
288522012-09-21 Joseph Myers <joseph@codesourcery.com>
28853
28854 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28855 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28856 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28857 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28858 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28859 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28860 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28861 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28862
8a26625d
JM
288632012-09-20 Joseph Myers <joseph@codesourcery.com>
28864
28865 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28866 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28867 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28868 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28869
f3fd569c
DL
288702012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28871
28872 [BZ #14579]
28873 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28874 mode only.
28875 * elf/tst-rtld-load-self.sh: New test.
28876 * elf/Makefile: Run it.
28877
63bbedd4
JM
288782012-09-18 Joseph Myers <joseph@codesourcery.com>
28879
28880 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28881 (tst-writev-ENV): Remove.
28882 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28883
626f8b6a
CM
288842012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28885
28886 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28887
b7aaa4d6
JM
288882012-09-17 Joseph Myers <joseph@codesourcery.com>
28889
28890 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28891 unconditional.
28892 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28893 Likewise.
28894 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28895 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28896 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28897 Likewise.
28898
65513990
L
288992012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28900
28901 [BZ #14587]
28902 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28903 * config.make.in (have-cpp-asm-debuginfo): Removed.
28904 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28905 * configure: Regenerated.
28906
784761be
JM
289072012-09-14 Joseph Myers <joseph@codesourcery.com>
28908
28909 [BZ #5044]
28910 * stdio-common/printf_fp.c: Include <stdbool.h> and
28911 <rounding-mode.h>.
28912 (___printf_fp): Determine rounding using get_rounding_mode and
28913 round_away.
28914 * stdio-common/tst-printf-round.c: New file.
28915 * stdio-common/Makefile (tests): Add tst-printf-round.
28916 (link-libm): New variable.
28917 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28918
9503345f
L
289192012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28920
28921 [BZ #14576]
28922 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28923 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28924 Likewise.
28925 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28926 Likewise.
28927
ad35fc00
JM
289282012-09-13 Joseph Myers <joseph@codesourcery.com>
28929
28930 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28931 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28932 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28933 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28934
6c9b0f68
JM
289352012-09-12 Joseph Myers <joseph@codesourcery.com>
28936
28937 [BZ #14518]
28938 * include/rounding-mode.h: New file.
28939 * sysdeps/generic/get-rounding-mode.h: Likewise.
28940 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28941 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28942 (MAX_VALUE): New macro.
28943 (MIN_VALUE): Likewise.
28944 (overflow_value): New function.
28945 (underflow_value): Likewise.
28946 (round_and_return): Use overflow_value and underflow_value to
28947 determine return values in overflow and underflow cases. Use
28948 round_away to determine rounding depending on rounding mode.
28949 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28950 determine return values in overflow and underflow cases.
28951 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28952 (struct test_results): New structure.
28953 (struct test): Use struct test_results to store expected results
28954 for all rounding modes.
28955 (TEST): Include expected results for all rounding modes.
28956 (test_in_one_mode): New function.
28957 (do_test): Use test_in_one_mode to compute and check results.
28958 Check results for all rounding modes.
28959 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28960 $(link-libm).
28961
19fcedd5
AM
289622012-12-09 Allan McRae <allan@archlinux.org>
28963
1e9d84cd 28964 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 28965
8bbfd2f1
JM
289662012-09-11 Joseph Myers <joseph@codesourcery.com>
28967
28968 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28969 (_G_int32_t): Likewise.
28970 (_G_uint16_t): Likewise.
28971 (_G_uint32_t): Likewise.
28972 (_G_HAVE_BOOL): Likewise.
28973 (_G_HAVE_ATEXIT): Likewise.
28974 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28975 (_G_HAVE_IO_FILE_OPEN): Likewise.
28976 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28977 (_G_int32_t): Likewise.
28978 (_G_uint16_t): Likewise.
28979 (_G_uint32_t): Likewise.
28980 (_G_HAVE_BOOL): Likewise.
28981 (_G_HAVE_ATEXIT): Likewise.
28982 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28983 (_G_HAVE_IO_FILE_OPEN): Likewise.
28984 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28985 (_G_int32_t): Likewise.
28986 (_G_uint16_t): Likewise.
28987 (_G_uint32_t): Likewise.
28988 (_G_HAVE_BOOL): Likewise.
28989 (_G_HAVE_ATEXIT): Likewise.
28990 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28991 (_G_HAVE_IO_FILE_OPEN): Likewise.
28992
b1dc5912
L
289932012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28994
28995 * csu/libc-tls.c: Update copyright years.
28996
0e886ef9
JM
289972012-09-10 Joseph Myers <joseph@codesourcery.com>
28998
28361c5e
JM
28999 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29000 [!_G_USING_THUNKS]: Remove conditional code.
29001 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29002 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29003
0e886ef9
JM
29004 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29005 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29006 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29007 (_G_VTABLE_LABEL_PREFIX): Likewise.
29008 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29009 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29010 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29011 (_G_VTABLE_LABEL_PREFIX): Likewise.
29012 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29013 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29014 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29015 (_G_VTABLE_LABEL_PREFIX): Likewise.
29016 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29017
bcba7aa2
L
290182012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29019
29020 * libio/Makefile: Include ../Makeconfig before tests.
29021 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29022 only if $(build-shared) is yes.
29023
06585ee8
L
29024 * iconv/gconv_db.c: Update copyright years.
29025
80ccd52c
LD
290262012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29027
29028 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29029 unwind info if defined PIC. Fix special cases description.
29030 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29031
29032 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29033 DP_HI_MASK entry.
29034 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29035
691bc9c1
L
290362012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29037
3d9b46b3
L
29038 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29039
de2139a9
L
29040 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29041 is NULL.
29042
5ca78dd0
L
29043 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29044 (LDLIBS-tst-chk4): This.
29045 (LDFLAGS-tst-chk5): Renamed to ...
29046 (LDLIBS-tst-chk5): This.
29047 (LDFLAGS-tst-chk6): Renamed to ...
29048 (LDLIBS-tst-chk6): This.
29049 (LDFLAGS-tst-lfschk4): Renamed to ...
29050 (LDLIBS-tst-lfschk4): This.
29051 (LDFLAGS-tst-lfschk5): Renamed to ...
29052 (LDLIBS-tst-lfschk5): This.
29053 (LDFLAGS-tst-lfschk6): Renamed to ...
29054 (LDLIBS-tst-lfschk6): This.
29055
691bc9c1
L
29056 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29057 on $(common-objpfx)soversions.mk.
29058
65cafb1c
JM
290592012-09-07 Joseph Myers <joseph@codesourcery.com>
29060
29061 [BZ #10014]
29062 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29063 example host name.
29064
c78ab094
SP
290652012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29066
29067 * malloc/arena.c (arena_get_retry): New function that gets
29068 another arena for the caller to try its request on.
29069 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29070 current arena cannot fulfill the request.
29071 (__libc_memalign): Likewise.
29072 (__libc_memalign): Likewise.
29073 (__libc_pvalloc): Likewise.
29074 (__libc_calloc): Likewise.
29075
01f49f59
JT
290762012-09-05 John Tobey <john.tobey@gmail.com>
29077
29078 [BZ #13542]
29079 * manual/arith.texi (Operations on Complex): Fix description
29080 of carg branch cut.
29081
4c23fed5
JM
290822012-09-06 Joseph Myers <joseph@codesourcery.com>
29083
1d3c8572
JM
29084 [BZ #10014]
29085 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29086 host name.
29087
4c23fed5
JM
29088 [BZ #10038]
29089 * manual/memory.texi (Memory): Make order of menu items match
29090 order of sections.
29091
04570aaa
L
290922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29093
29094 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29095 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29096 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29097
b80af2f4
L
290982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29099
29100 * csu/libc-tls.c (static_dtv): Renamed to ...
29101 (_dl_static_dtv): This. Make it global.
29102 (_dl_initial_dtv): Removed.
29103 (__libc_setup_tls): Updated.
29104 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29105 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29106 DL_INITIAL_DTV.
29107
2abe9f15
PM
291082012-09-06 Petr Machata <pmachata@redhat.com>
29109
29110 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29111 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29112 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29113 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29114
0948c3af
L
291152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29116
29117 [BZ #14545]
29118 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29119 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29120 freeing dtv[-1].
29121
a5055ad1
L
291222012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29123
29124 [BZ #14544]
29125 * Makeconfig (link-static-before-libc): Replace $(+prector)
29126 with $(+prectorT).
29127 (link-static-after-libc): Replace $(+postctor) with
29128 $(+postctorT).
29129 (link-bounded): Replace $(+prector)/$(+postctor) with
29130 $(+prectorT)/$(+postctorT).
29131 (+prectorT): New macro.
29132 (+postctorT): Likewise.
29133
ed8c2ecd
JM
291342012-09-06 Joseph Myers <joseph@codesourcery.com>
29135
29136 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29137 (round_str): Handle values above the maximum for IBM long double
29138 as inexact.
29139 * stdlib/tst-strtod-round.c (tests): Regenerated.
29140
14c996c8
AK
291412012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29142
29143 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29144 assembler flag.
29145 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29146 zarch_nohighgprs around the zarch optimized routines.
29147 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29148 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29149 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29150 for zarch.
29151
430d6ce6
DM
291522012-09-05 David S. Miller <davem@davemloft.net>
29153
29154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29155
57f41c40
AS
29156 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29157 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
29158 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29159 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29160 entries.
29161
24d4e01b
AO
291622012-09-05 Alexandre Oliva <aoliva@redhat.com>
29163
29164 * malloc/arena.c: Fold copyright years.
29165 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29166
61d58174
AO
291672012-09-05 Alexandre Oliva <aoliva@redhat.com>
29168
29169 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29170
20196a5e
AO
291712012-09-05 Alexandre Oliva <aoliva@redhat.com>
29172
29173 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29174
5c447383
AO
291752012-09-05 Alexandre Oliva <aoliva@redhat.com>
29176
29177 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29178 change internal state upon failure.
29179
fad64255
AO
291802012-09-05 Alexandre Oliva <aoliva@redhat.com>
29181
29182 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29183 * malloc/memusage.c (mmap): Likewise.
29184 (mmap64, mremap): Likewise. Adjust name in comment.
29185
1ffb8c90
SP
291862012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29187
29188 * libio/fileops.c: Fix typos in comments.
29189 * libio/oldfileops.c: Likewise.
29190 * libio/wfileops.c: Likewise.
29191
6ef9cc37
SP
291922012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29193
29194 [BZ #1349]
29195 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29196 (tst-malloc-usable-ENV): Set environment for test case.
29197 * malloc/hooks.c (malloc_check_get_size): New function to get
29198 requested size.
29199 * malloc/malloc.c (musable): Use malloc_check_get_size.
29200 * malloc/tst-malloc-usable.c: New test case.
29201
4d038ae3
AS
292022012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29203
29204 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29205
c4e85184
AM
292062012-09-05 Allan McRae <allan@archlinux.org>
29207
b9dafc56 29208 [BZ #13966]
c4e85184
AM
29209 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29210 determine header location.
29211 * configure: Regenerated.
29212
e1343020
AS
292132012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29214
29215 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29216 float format.
29217 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
29218 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29219 format.
e1343020
AS
29220 (test): Regenerate.
29221
0a9f1987
DM
292222012-09-04 David S. Miller <davem@davemloft.net>
29223
29224 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29225 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29226 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29227
29237804
FW
292282012-09-04 Florian Weimer <fweimer@redhat.com>
29229
29230 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29231 failures.
29232
edb3cb88
FW
29233 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29234
60160d83
JM
292352012-09-04 Joseph Myers <joseph@codesourcery.com>
29236
29237 [BZ #9914]
29238 * libio/iogetdelim.c: Include <limits.h>.
29239 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29240 + len + 1 would overflow.
29241
bcd6c8dc
AJ
292422012-09-03 Andreas Jaeger <aj@suse.de>
29243
29244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29245 * sysdeps/i386/fpu/libm-test-ulps: Update.
29246
4ffffbd2
LD
292472012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29248
29249 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29250 Add s_sinf-sse2, s_conf-sse2.
29251
29252 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29253 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29254 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29255 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29256
29257 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29258 for using routine as __sinf_ia32.
29259 Use macro for function declaration and weak_alias.
29260 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29261 for using routine as __cosf_ia32.
29262 Use macro for function declaration and weak_alias.
29263
29264 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29265 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29266
29267 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29268 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29269 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29270
29271 * math/libm-test.inc (cos_test): Add more test cases.
29272 (sin_test): Likewise.
29273 (sincos_test): Likewise.
29274
511fa286
AK
292752012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29276
29277 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29278 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29279 hidden.
29280 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29281
5f30cfec
L
292822012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29283
29284 [BZ #14538]
29285 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29286 first element of the GOT.
29287 (elf_machine_load_address): Return the difference between
29288 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29289
0786794f
AM
292902012-09-01 Allan McRae <allan@archlinux.org>
29291
5f30cfec
L
29292 [BZ #13412]
29293 * configure.in (AWK): Require gawk version 3.0 or later.
29294 * configure: Regenerated.
0786794f 29295
26889eac
JM
292962012-09-01 Joseph Myers <joseph@codesourcery.com>
29297
29298 * sysdeps/unix/sysv/linux/kernel-features.h
29299 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29300 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29301 [__NR_clock_getres]: Make code unconditional.
29302 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29303 (clock_getcpuclockid): Remove code left unreachable by removal of
29304 conditionals.
29305 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29306 code unconditional.
29307 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29308 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29309 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29310 Make code unconditional.
29311 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29312 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29313 * sysdeps/unix/sysv/linux/clock_settime.c
29314 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29315 conditional code.
29316 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29317 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29318
d22e28b0
L
293192012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29320
29321 [BZ #14476]
29322 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29323 scripts/test-installation.pl.
29324
29325 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29326 and $ld_so_version if it is set.
29327
050af9c4
SP
293282012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29329
29330 [BZ #14516]
29331 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29332 failure if reading from procfs failed.
29333 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29334
ad845c0b
JM
293352012-08-27 Joseph Myers <joseph@codesourcery.com>
29336
29337 * sysdeps/unix/sysv/linux/kernel-features.h
29338 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29339 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29340 Remove conditional code.
29341 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29342 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29343 Remove conditional code.
29344 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29345 * sysdeps/unix/sysv/linux/i386/fxstat.c
29346 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29347 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29348 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29349 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29350 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29351 * sysdeps/unix/sysv/linux/i386/lxstat.c
29352 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29353 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29354 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29355 Remove conditional code.
29356 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29357 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29358 Remove conditional code.
29359 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29360 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29361 <kernel-features.h>.
29362 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29363 Remove.
29364 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29365 Remove conditional code.
29366 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29367 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29368 Remove conditional.
29369
5dbf56af
MF
293702012-08-27 Mike Frysinger <vapier@gentoo.org>
29371
29372 [BZ #5400]
29373 * NEWS: Add fixed bug number.
29374
d6e70f43
JM
293752012-08-27 Joseph Myers <joseph@codesourcery.com>
29376
7efb4737
JM
29377 [BZ #14519]
29378 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29379 underflowing exponent in case of negative sign.
29380 * stdlib/tst-strtod-round-data: Add more tests.
29381 * stdlib/tst-strtod-round.c (tests): Regenerated.
29382
af92131a
JM
29383 [BZ #3479]
29384 * stdlib/strtod_l.c (NDIG): Remove.
29385 (HEXNDIG): Likewise.
29386 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29387 smallest representable value.
29388 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29389 lie within an exact representation of 1/2 ulp of the result.
29390 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29391 unconditionally.
29392 (TENS_P9_IDX): Define unconditionally.
29393 (TENS_P9_SIZE): Likewise.
29394 (TENS_P10_IDX): Likewise.
29395 (TENS_P10_SIZE): Likewise.
29396 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29397 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29398 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29399 entries for 10^2^13 and 10^2^14.
29400 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29401 (TENS_P13_IDX): Define.
29402 (TENS_P13_SIZE): Likewise.
29403 (TENS_P14_IDX): Likewise.
29404 (TENS_P14_SIZE): Likewise.
29405 (_fpioconst_pow10): Change array size to
29406 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29407 unconditional.
29408 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29409 1024]: Add entries for 10^2^13 and 10^2^14.
29410 [LAST_POW10 > _LAST_POW10]: Remove #error.
29411 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29412 (_fpioconst_pow10): Change array size to
29413 FPIOCONST_POW10_ARRAY_SIZE.
29414 * stdlib/gen-fpioconst.c: New file.
29415 * stdlib/gen-tst-strtod-round.c: Likewise.
29416 * stdlib/tst-strtod-round-data: Likewise.
29417 * stdlib/tst-strtod-round.c: Likewise.
29418 * stdlib/Makefile (tests): Add tst-strtod-round.
29419
d6e70f43
JM
29420 [BZ #14459]
29421 * stdlib/strtod_l.c: Include <stdint.h>.
29422 (NDEBUG): Do not define.
29423 (round_and_return): Change EXPONENT parameter to type intmax_t.
29424 Rearrange calculations to avoid internal overflow possibilities.
29425 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29426 Rearrange calculations to avoid internal overflow possibilities.
29427 Assert that number fits inside MPNSIZE limbs.
29428 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29429 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29430 calculations and add assertions to avoid internal overflow
29431 possibilities. Add casts to avoid signed/unsigned operations.
29432 * stdlib/tst-strtod-overflow.c: New file.
29433 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29434
1f529f7d
MP
294352012-08-25 Marek Polacek <polacek@redhat.com>
29436
29437 * time/time.h: Fix some typos in comments.
29438
59a629f1
RM
294392012-08-23 Roland McGrath <roland@hack.frob.com>
29440
29441 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29442 * posix/tst-rfc3484-2.c: Likewise.
29443 * posix/tst-rfc3484-3.c: Likewise.
29444
d3bafbc9
SM
294452012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29446
29447 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29448 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29449
4efcc022
JM
294502012-08-23 Joseph Myers <joseph@codesourcery.com>
29451
29452 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29453 #include of fxstatat64.c.
29454
3cc3ef96
RM
294552012-08-22 Roland McGrath <roland@hack.frob.com>
29456
f04e2132
RM
29457 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29458 * shadow/getspent_r.c: Likewise.
29459 * shadow/getspnam.c: Likewise.
29460 * shadow/getspnam_r.c: Likewise.
29461 * gshadow/getsgent.c: Likewise.
29462 * gshadow/getsgent_r.c: Likewise.
29463 * gshadow/getsgnam.c: Likewise.
29464 * gshadow/getsgnam_r.c: Likewise.
29465 * inet/getnetbyad.c: Likewise.
29466 * inet/getnetbyad_r.c: Likewise.
29467 * inet/getnetbynm.c: Likewise.
29468 * inet/getnetbynm_r.c: Likewise.
29469 * inet/getnetent.c: Likewise.
29470 * inet/getnetent_r.c: Likewise.
29471 * inet/getproto.c: Likewise.
29472 * inet/getproto_r.c: Likewise.
29473 * inet/getprtent.c: Likewise.
29474 * inet/getprtent_r.c: Likewise.
29475 * inet/getprtname.c: Likewise.
29476 * inet/getprtname_r.c: Likewise.
29477 * inet/getrpcbyname.c: Likewise.
29478 * inet/getrpcbyname_r.c: Likewise.
29479 * inet/getrpcbynumber.c: Likewise.
29480 * inet/getrpcbynumber_r.c: Likewise.
29481 * inet/getrpcent.c: Likewise.
29482 * inet/getrpcent_r.c: Likewise.
29483 * inet/getaliasent.c: Likewise.
29484 * inet/getaliasent_r.c: Likewise.
29485 * inet/getaliasname.c: Likewise.
29486 * inet/getaliasname_r.c: Likewise.
29487 * nscd/getgrgid_r.c: Likewise.
29488 * nscd/getgrnam_r.c: Likewise.
29489 * nscd/gethstbyad_r.c: Likewise.
29490 * nscd/gethstbynm3_r.c: Likewise.
29491 * nscd/getpwnam_r.c: Likewise.
29492 * nscd/getpwuid_r.c: Likewise.
29493 * nscd/getsrvbynm_r.c: Likewise.
29494 * nscd/getsrvbypt_r.c: Likewise.
29495 * nscd/gai.c: Likewise.
29496
c53d909c
RM
29497 * configure.in (build_nscd): New substituted variable, set
29498 by --disable-build-nscd and defaults to $use_nscd.
29499 * configure: Regenerated.
29500 * config.make.in (build-nscd): New substituted variable.
29501 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29502 Change conditional to require [$(build-nscd) = yes] as well.
29503 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29504
3cc3ef96
RM
29505 [BZ# 13696]
29506 * configure.in (use_nscd): New substituted variable, set by
29507 --disable-nscd. If enabled, define USE_NSCD.
29508 * configure: Regenerated.
29509 * config.h.in: Add USE_NSCD.
29510 * config.make.in (use-nscd): New substituted variable.
29511 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29512 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29513 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29514 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29515 (CFLAGS-getgrnam_r.c): Likewise.
29516 (CFLAGS-initgroups.c): Likewise.
29517 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29518 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29519 Variables removed.
29520 * inet/getnetgrent_r.c
29521 (nscd_setnetgrent): New function, broken out of ...
29522 (setnetgrent): ... here. Call it.
29523 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29524 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29525 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29526 * nscd/Makefile (routines, aux): Move definitions after include of
29527 Makeconfig. Conditionalize on [$(use-nscd) != no].
29528 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29529 Conditionalize on [USE_NSCD].
29530 (is_nscd, nscd_init_cb): Likewise.
29531 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29532 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29533 * nss/nss_db/db-init.c: Likewise.
29534 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29535 [USE_NSCD].
29536 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29537 (make_request): Use it.
29538 (cache_valid_p): New function.
29539 (__check_pf): Use it.
29540 * NEWS: Add item for --disable-nscd.
29541
07e51550
DL
295422012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29543
29544 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29545 to support sed >= 4.2.1-20-ga9bf076.
29546 * configure: Regenerated.
29547
35a5b08b
RM
295482012-08-22 Roland McGrath <roland@hack.frob.com>
29549
29550 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29551 Conditionalize whole body on [IREL].
29552
8479f23a
JL
295532012-08-22 Jeff Law <law@redhat.com>
29554
29555 [BZ #14505]
29556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29557 if the family is PF_UNSPEC.
29558
48da0b21
MF
295592012-08-22 Mike Frysinger <vapier@gentoo.org>
29560
29561 * Makerules (lib-version): Rename from V.
29562 (install-lib-nosubdir): Change V to lib-version.
29563
15d0da8c
WS
295642012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29565
29566 [BZ #14252]
29567 * powerpc32/power6/wcschr.c: New file.
29568 * powerpc32/power6/wcscpy.c: New file.
29569 * powerpc32/power6/wcsrchr.c: New file.
29570 * powerpc64/power6/wcschr.c: New file.
29571 * powerpc64/power6/wcscpy.c: New file.
29572 * powerpc64/power6/wcsrchr.c: New file.
29573
bcca0895
MK
295742012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29575
29576 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29577 (two_way_short_needle): Use it.
5a4aaa33
RM
29578 * string/strstr.c (AVAILABLE1_USES_J): Define.
29579 * string/strcasestr.c: Likewise.
99677e57
MK
29580
29581 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29582 array references.
29583 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29584
400726de
MK
29585 [BZ #11607]
29586 * NEWS: Add an entry.
29587 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29588 define their defaults.
29589 (two_way_short_needle): Detect end-of-string on-the-fly.
29590 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29591 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29592 * string/bug-strcasestr1.c: New test.
29593 * string/Makefile: Run it.
29594
20a71f2c
MK
295952012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29596
29597 [BZ #11607]
29598 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29599 the first character.
29600
21ad0558
RM
296012012-08-21 Roland McGrath <roland@hack.frob.com>
29602
29603 * csu/elf-init.c (__libc_csu_irel): Function removed.
29604 * csu/libc-start.c (apply_irel): New function.
29605 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29606
0e1d9911
JM
296072012-08-21 Joseph Myers <joseph@codesourcery.com>
29608
29609 * sysdeps/unix/sysv/linux/kernel-features.h
29610 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29611 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29612 <kernel-features.h>.
29613 [__NR_fadvise64_64]: Make code unconditional.
29614 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29615 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29616 !__NR_fadvise64_64)]: Likewise.
29617 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29618 !__NR_fadvise64_64))]: Likewise.
29619 [__NR_fadvise64]: Make code unconditional.
29620 [!__NR_fadvise64]: Remove conditional code.
29621 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29622 <kernel-features.h>.
29623 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29624 unconditional.
29625 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29626 conditional code.
29627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29628 not include <kernel-features.h>.
29629 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29630 unconditional.
29631 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29632 conditional code.
29633 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29634 include <kernel-features.h>.
29635 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29636 unconditional.
29637 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29638 conditional code.
29639
14a50c9d
WS
296402012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29641
29642 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29643 slight instruction rearrangements per scrollpipe analysis.
29644 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29645
c0f4faf0
RM
296462012-08-20 Roland McGrath <roland@hack.frob.com>
29647
696da859
RM
29648 * manual/syslog.texi (syslog; vsyslog, closelog):
29649 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29650 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29651
c0f4faf0
RM
29652 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29653 DSOCAPS to match condition on defining it.
29654
348363b2
JM
296552012-08-20 Joseph Myers <joseph@codesourcery.com>
29656
a35cbf28
JM
29657 * sysdeps/unix/sysv/linux/kernel-features.h
29658 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29660 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29661 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29663 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29664 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29666 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29667 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29668
445f7ecd
JM
29669 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29670 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29671
348363b2
JM
29672 * sysdeps/unix/sysv/linux/kernel-features.h
29673 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29674 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29675 unconditional.
29676 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29677 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29678 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29679 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29680 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29681 Make code unconditional.
29682 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29683 (__mmap64) [!__NR_mmap2]: Likewise.
29684 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29685 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29686 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29687 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29688 [__NR_mmap2]: Make code unconditional.
29689 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29690 (__mmap64) [!__NR_mmap2]: Likewise.
29691
bc5bc0e5
AK
296922012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29693
29694 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29695
88d506de
AJ
296962012-08-18 Andreas Jaeger <aj@suse.de>
29697
29698 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29699
493387d2
MF
297002012-08-18 Mike Frysinger <vapier@gentoo.org>
29701
29702 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29703 * include/unistd.h (__have_sock_cloexec): Likewise.
29704 (__have_pipe2): Likewise.
29705 (__have_dup3): Likewise.
29706
a277af22
MF
297072012-08-18 Mike Frysinger <vapier@gentoo.org>
29708
29709 [BZ #9685]
29710 * include/unistd.h (__have_pipe2): Change define into an extern int.
29711 (__have_dup3): Likewise.
29712 * socket/have_sock_cloexec.c: Include fcntl.h.
29713 (__have_pipe2): New variable.
29714 (__have_dup3): Likewise.
29715
fdab8fd3
MF
297162012-08-17 Mike Frysinger <vapier@gentoo.org>
29717
29718 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29719
31035e80
MP
297202012-08-17 Marek Polacek <polacek@redhat.com>
29721
29722 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29723 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29724
3bd9e993
RM
297252012-08-17 Roland McGrath <roland@hack.frob.com>
29726
c91c505f
RM
29727 * configure.in: Add AC_SUBST for sysheaders.
29728 * configure: Regenerated.
29729 * config.make.in (sysheaders): New substituted variable.
29730
7c6f9d53
RM
29731 * sysdeps/unix/mkfifo.c: Moved ...
29732 * sysdeps/posix/mkfifo.c: ... here.
29733 * sysdeps/unix/mkfifoat.c: Moved ...
29734 * sysdeps/posix/mkfifoat.c: ... here.
29735
29736 * sysdeps/unix/utime.c: Moved ...
29737 * sysdeps/posix/utime.c: ... here.
29738
29739 * sysdeps/unix/time.c: Moved ...
29740 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
29741 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29742 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
29743
29744 * sysdeps/unix/nice.c: Moved ...
29745 * sysdeps/posix/nice.c: ... here.
29746
29747 * sysdeps/unix/alarm.c: Moved ...
29748 * sysdeps/posix/alarm.c: ... here.
29749
3bd9e993
RM
29750 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29751
d1f09384
JL
297522012-08-17 Jeff Law <law@redhat.com>
29753
29754 * intl/Makefile (codeset_mo): New variable.
29755 ($(codeset_mo)): New target.
29756 (tst-codeset.out): Depend on that. Remove explicit rule.
29757 (tst-gettext3.out, tst-gettext5.out): Likewise.
29758 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29759 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29760 * intl/tst-codeset.sh: Remove.
29761 * intl/tst-gettext3.sh: Likewise.
29762 * intl/tst-gettext5.sh: Likewise.
29763
2ae1ae5c
RM
297642012-08-17 Roland McGrath <roland@hack.frob.com>
29765
c31fdb83
RM
29766 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29767 * sysdeps/unix/syscalls.list: ... here.
29768
a0844057
RM
29769 * sysdeps/posix/getaddrinfo.c
29770 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29771 (gaiconf_init, gaiconf_reload): Use them.
29772 [!_STATBUF_ST_NSEC]
29773 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29774 Define using time_t rather than struct timespec.
29775
750c1f2a
RM
29776 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29777 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29778 Macros removed.
29779 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29780 [!NO_THREADS].
29781 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29782 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29783 Likewise.
29784
2ae1ae5c
RM
29785 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29786 __libc_cleanup_push argument.
29787
e66a42f5
RM
29788 * bits/param.h: New file.
29789 * misc/sys/param.h: New file.
29790 * include/sys/param.h: New file.
29791 * misc/Makefile (headers): Add bits/param.h.
29792 * sysdeps/generic/sys/param.h: File removed.
29793 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29794 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29795 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 29796 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 29797
b7c08a66
RM
29798 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29799 last change.
29800
b2e1c562
RM
29801 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29802 [_IO_MTSAFE_IO].
29803 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29804 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29805 New macros.
29806
c75ccd4c
RM
29807 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29808 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29809 rather than -D_IO_MTSAFE_IO conditionally.
29810 * stdio-common/Makefile (CPPFLAGS): Likewise.
29811 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29812 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29813 Use $(libio-mtsafe).
29814 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29815 of -D_IO_MTSAFE_IO.
29816 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29817 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29818 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29819 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29820 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29821 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29822 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29823 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29824 (CFLAGS-fread_u_chk.c): Likewise.
29825 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29826 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29827 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29828 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29829 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29830 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29831 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29832 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29833 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29834
29835 * libio/Makefile: Test [$(libc-reentrant) = yes]
29836 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29837
29838 * Makeconfig
29839 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29840 * sysdeps/pthread/configure: File removed.
29841 * sysdeps/pthread/Makeconfig: New file.
29842 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29843 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29844
d9195db8
GB
298452012-08-16 Gary Benson <gbenson@redhat.com>
29846
29847 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29848 unmapping the first object in a namespace.
29849
86466cd9
RM
298502012-08-16 Roland McGrath <roland@hack.frob.com>
29851
29852 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29853 (__internal_setnetgrent): ... this. Add internal_function to
29854 definition. Add libc_hidden_def.
29855 (setnetgrent): Update caller.
29856 (internal_endnetgrent): Renamed to ...
29857 (__internal_endnetgrent): ... this. Add internal_function to
29858 definition. Add libc_hidden_def.
29859 (endnetgrent): Update caller.
29860 (internal_getnetgrent_r): Renamed to ...
29861 (__internal_getnetgrent_r): ... this. Add internal_function to
29862 definition. Add libc_hidden_def.
29863 (__getnetgrent_r): Update caller.
29864 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29865
c3c8283c
JM
298662012-08-16 Joseph Myers <joseph@codesourcery.com>
29867
29868 * stdlib/longlong.h: Update from GCC.
29869
db1ee0a8
RM
298702012-08-16 Roland McGrath <roland@hack.frob.com>
29871
29872 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29873 on _QL, which is set by umul_ppmm but never used.
29874 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29875 variables, which are set by GMP macros but never used.
29876 * stdio-common/_itowa.c (_itowa): Likewise.
29877 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29878 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29879
30f69637
CD
298802012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29881
29882 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29883 struct La_sh_regs is not constant.
29884 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29885 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29886 and struct La_sparc64_regs are not constant.
29887
93a78ac4
JM
298882012-08-16 Joseph Myers <joseph@codesourcery.com>
29889
29890 * sysdeps/unix/sysv/linux/kernel-features.h
29891 (__ASSUME_POSIX_TIMERS): Remove.
29892 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29893 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29894 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29895 Make code unconditional.
29896 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29897 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29898 Make code unconditional.
29899 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29900 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29901 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29902 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29903 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29904 Make code unconditional.
29905 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29906 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29907 (__libc_missing_posix_timers): Remove.
29908
dd924cd7
RM
299092012-08-15 Roland McGrath <roland@hack.frob.com>
29910
4b4f2771
RM
29911 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29912 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29913
601c888b
RM
29914 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29915
176790a7
RM
29916 * elf/dl-sym.c: Include <stdlib.h>.
29917
329bc018
RM
29918 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29919 constants, which avoids warnings in 32-bit builds.
29920
e04e272d
RM
29921 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29922 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29923
952bf94a
RM
29924 * misc/lseek.c: File moved to ...
29925 * io/lseek.c: ... here.
29926
7c99b50a
RM
29927 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29928
dd924cd7
RM
29929 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29930 shifting LEN more than 31 bits at once.
29931
b3f479a8
LD
299322012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29933
29934 [BZ #14195]
8c4ae0d4
RM
29935 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29936 segmentation fault for a case of two empty input strings.
b3f479a8
LD
29937 * string/test-strncasecmp.c (check1): Renamed to...
29938 (bz12205): ...this.
29939 (bz14195): Add new testcase for two empty input strings and N > 0.
29940 (test_main): Call new testcase, adapt for renamed function.
29941
9c55864e
AJ
299422012-08-15 Andreas Jaeger <aj@suse.de>
29943
29944 [BZ #14090]
29945 * crypt/md5test2.c: New test, based on test supplied by Serge
29946 Belyshev <belyshev@depni.sinp.msu.ru>.
29947 * crypt/Makefile (xtests): Add md5test-giant..
29948 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29949
02dcb6c5
PE
299502012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29951
29952 [BZ #14090]
29953 * crypt/md5.c (md5_process_block): Don't assume the buffer
29954 length is less than 2**32.
29955 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29956 length is less than 2**64.
29957
a3f95dcc
RM
299582012-08-15 Roland McGrath <roland@hack.frob.com>
29959
be75d758
RM
29960 * string/str-two-way.h: Include <sys/param.h>.
29961 (MAX): Macro removed.
29962
7312ca90
RM
29963 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29964 Move #define and #undef of memmove to just before and after
29965 including <string.h>.
29966
9a0a5486
RM
29967 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29968 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29969 and after including <string.h>. Move declarations of
29970 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29971 to before #include "string/memmove.c".
29972
67cc348d
RM
29973 * include/dirent.h: Declare __getdirentries.
29974
a3f95dcc
RM
29975 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29976 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29977
ca98e171
MF
299782012-08-14 Mike Frysinger <vapier@gentoo.org>
29979
29980 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29981 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29982 * sysdeps/i386/configure: Regenerated.
29983 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29984 STABS_CURRENT_FILE, and STABS_FUN.
29985 (END): Remove call to STABS_FUN_END.
29986 (STABS_CURRENT_FILE1): Delete.
29987 (STABS_CURRENT_FILE): Likewise.
29988 (STABS_FUN): Likewise.
29989 (STABS_FUN_END): Likewise.
29990 (STABS_FUN2): Likewise.
29991 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29992 * sysdeps/x86_64/configure: Regenerated.
29993
5908bf46
RM
299942012-08-14 Roland McGrath <roland@hack.frob.com>
29995
29996 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 29997 * elf/dl-lookup.c: Likewise.
5908bf46 29998
f2c05b9e
JM
299992012-08-14 Joseph Myers <joseph@codesourcery.com>
30000
30001 * sysdeps/unix/sysv/linux/kernel-features.h
30002 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30003 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30004 unconditionally.
30005 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30006 unconditionally.
30007 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30008 condition on __ASSUME_CLONE_THREAD_FLAGS.
30009
e11f5155
AJ
300102012-08-14 Andreas Jaeger <aj@suse.de>
30011
30012 * sysdeps/i386/fpu/libm-test-ulps: Update.
30013
51a9ba86
MK
300142012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30015
2fdd4f78
AJ
30016 * include/atomic.h (atomic_exchange_and_add): Split into ...
30017 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30018 New atomic macros.
51a9ba86 30019
ba6cba9e
MT
300202012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30021
30022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30023
42443a47
JL
300242012-08-13 Jeff Law <law@redhat.com>
30025
30026 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30027 null byte in the output string.
30028
121dce05
JM
300292012-08-10 Joseph Myers <joseph@codesourcery.com>
30030
30031 * sysdeps/unix/sysv/linux/kernel-features.h
30032 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30033 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30034 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30035 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30036 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30037 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30038 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30039
bf51f568
JL
300402012-08-09 Jeff Law <law@redhat.com>
30041
30042 [BZ #13939]
30043 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30044 When avoid_arena is set, don't retry in the that arena. Pick the
30045 next one, whatever it might be.
30046 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30047 (arena_lock): Pass in new parameter to arena_get2.
30048 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30049 arena_get2.
30050 (__libc_malloc): Unify retrying after main arena failure with
30051 __libc_memalign version.
30052 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30053
f85fa270
L
300542012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30055
30056 [BZ #14166]
30057 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30058 to __redirect_strstr.
30059 (__strstr_sse42): Use typeof __redirect_strstr.
30060 (__strstr_ia32): Likewise.
30061 (__libc_strstr): New prototype.
30062 (strstr): Renamed to ...
30063 (__libc_strstr): This.
30064 (strstr): New strong alias of __libc_strstr.
30065 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30066 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30067 __redirect_time.
30068 Include <time.h>.
30069 (__libc_time): New prototype.
30070 (time_ifunc): Replace time with __libc_time.
30071 (time): New strong alias and hidden definition of __libc_time.
30072 (__GI_time): Remove strong alias.
30073 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30074 Include <stddef.h>.
30075 (memmove): Redefined to __redirect_memmove.
30076 (__memmove_sse2): Use typeof __redirect_memmove.
30077 (__memmove_ssse3): Likewise.
30078 (__memmove_ssse3_back): Likewise.
30079 (__libc_memmove): New prototype.
30080 (memmove): Renamed to ...
30081 (__libc_memmove): This.
30082 (memmove): New strong alias of __libc_memmove.
30083
33b4a91e
MS
300842012-08-08 Mark Salter <msalter@redhat.com>
30085
30086 * elf/elf.h
30087 (R_MN10300_TLS_GD): Define.
30088 (R_MN10300_TLS_LD): Likewise.
30089 (R_MN10300_TLS_LDO): Likewise.
30090 (R_MN10300_TLS_GOTIE): Likewise.
30091 (R_MN10300_TLS_IE): Likewise.
30092 (R_MN10300_TLS_LE): Likewise.
30093 (R_MN10300_TLS_DTPMOD): Likewise.
30094 (R_MN10300_TLS_DTPOFF): Likewise.
30095 (R_MN10300_TLS_TPOFF): Likewise.
30096 (R_MN10300_SYM_DIFF): Likewise.
30097 (R_MN10300_ALIGN): Likewise.
30098 (R_MN10300_NUM): Update.
30099
b36137f1
JM
301002012-08-08 Joseph Myers <joseph@codesourcery.com>
30101
30102 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30103 Remove.
30104
cdd915fd
RM
301052012-08-08 Roland McGrath <roland@hack.frob.com>
30106
a2433aac
RM
30107 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30108
cdd915fd
RM
30109 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30110 sysdeps/unix -> sysdeps/posix move.
30111 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30112
bf9b740a
AM
301132012-08-07 Allan McRae <allan@archlinux.org>
30114
30115 [BZ #14303]
30116 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30117 (SUNOS_CPP): Likewise.
30118 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30119 not found.
30120 (open_input): Call CPP using execvp.
30121
93df14ee
JM
301222012-08-07 Joseph Myers <joseph@codesourcery.com>
30123
30124 * sysdeps/unix/sysv/linux/kernel-features.h
30125 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30126 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30127 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30128 (__ASSUME_WAITID_SYSCALL): Likewise.
30129 * sysdeps/unix/sysv/linux/dl-execstack.c
30130 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30131 code unconditional.
30132 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30133 conditional code.
30134 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30135 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30136 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30137 code.
30138 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30139 unconditional.
30140 [__ASSUME_WAITID_SYSCALL]: Likewise.
30141 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30142
d34689de
RM
301432012-08-07 Roland McGrath <roland@hack.frob.com>
30144
a281decc
RM
30145 * sysdeps/unix/closedir.c: Renamed to ...
30146 * sysdeps/posix/closedir.c: ... here.
30147 * sysdeps/unix/dirfd.c: Renamed to ...
30148 * sysdeps/posix/dirfd.c: ... here.
30149 * sysdeps/unix/dirstream.h: Renamed to ...
30150 * sysdeps/posix/dirstream.h: ... here.
30151 * sysdeps/unix/fdopendir.c: Renamed to ...
30152 * sysdeps/posix/fdopendir.c: ... here.
30153 * sysdeps/unix/opendir.c: Renamed to ...
30154 * sysdeps/posix/opendir.c: ... here.
30155 * sysdeps/unix/readdir.c: Renamed to ...
30156 * sysdeps/posix/readdir.c: ... here.
30157 * sysdeps/unix/readdir_r.c: Renamed to ...
30158 * sysdeps/posix/readdir_r.c: ... here.
30159 * sysdeps/unix/rewinddir.c: Renamed to ...
30160 * sysdeps/posix/rewinddir.c: ... here.
30161 * sysdeps/unix/seekdir.c: Renamed to ...
30162 * sysdeps/posix/seekdir.c: ... here.
30163 * sysdeps/unix/telldir.c: Renamed to ...
30164 * sysdeps/posix/telldir.c: ... here.
30165 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30166 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30167 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30168 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30169
22895b47
RM
30170 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30171 * bits/fcntl.h: ... here.
30172
707a53b6
RM
30173 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30174 not 0.
30175 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30176 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30177 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30178 (struct flock): Move l_start, l_len to the beginning.
30179 Use __pid_t for l_pid.
30180 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30181 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30182 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30183 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30184 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30185 [__USE_LARGEFILE64] (struct flock64): New type.
30186 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30187
f0bd3e25
RM
30188 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30189 * bits/dirent.h: ... here.
30190
d34689de
RM
30191 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30192 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30193
6dad2c06
JM
301942012-08-07 Joseph Myers <joseph@codesourcery.com>
30195
30196 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30197 Change from 2.6.0 to 2.6.16.
30198 * sysdeps/unix/sysv/linux/configure: Regenerated.
30199 * sysdeps/unix/sysv/linux/kernel-features.h
30200 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30201 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30202 version.
30203 (__ASSUME_UTIMES): Likewise.
30204 (__ASSUME_CLONE_STOPPED): Remove.
30205 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30206 architectures, not kernel version.
30207 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30208 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30209 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30210 (__ASSUME_WAITID_SYSCALL): Likewise.
30211 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30212 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30213 * README: State 2.6.16 as minimum Linux kernel version. Do not
30214 refer to older versions.
30215
03af9520
RM
302162012-08-06 Roland McGrath <roland@hack.frob.com>
30217
8e49df1d
RM
30218 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30219 Define alphasort64 as an alias.
30220 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30221 Define versionsort64 as an alias.
30222 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30223 Define scandir64 as an alias.
30224 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30225 Define scandirat64 as an alias.
30226 * dirent/alphasort64.c (alphasort64):
30227 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30228 * dirent/versionsort64.c: Likewise.
30229 * dirent/scandir64.c: Likewise.
30230 * dirent/scandirat64.c: Likewise.
30231 * sysdeps/wordsize-64/alphasort.c: File removed.
30232 * sysdeps/wordsize-64/alphasort64.c: File removed.
30233 * sysdeps/wordsize-64/scandir.c: File removed.
30234 * sysdeps/wordsize-64/scandir64.c: File removed.
30235 * sysdeps/wordsize-64/scandirat.c: File removed.
30236 * sysdeps/wordsize-64/scandirat64.c: File removed.
30237 * sysdeps/wordsize-64/versionsort.c: File removed.
30238 * sysdeps/wordsize-64/versionsort64.c: File removed.
30239 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30240 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30241 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30242 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30243 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30244 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30245 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30246 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30247
30248 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30249 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30250 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30251 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30252 [defined __arch64__ || defined __sparcv9]
30253 (__INO_T_MATCHES_INO64_T): New macro.
30254 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30255 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30256 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30257 * sysdeps/unix/sysv/linux/bits/dirent.h
30258 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30259 (_DIRENT_MATCHES_DIRENT64): New macro.
30260
03af9520
RM
30261 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30262 Define lockf64 as an alias.
30263 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30264 Define fseeko64 as an alias.
30265 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30266 Define ftello64 as an alias.
30267 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30268 Define _IO_fgetpos64 and fgetpos64 as aliases.
30269 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30270 Define _IO_fsetpos64 and fsetpos64 as aliases.
30271 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30272 Conditionalize body on this.
30273 * libio/fseeko64.c: Likewise.
30274 * libio/ftello64.c: Likewise.
30275 * libio/iofgetpos64.c: Likewise.
30276 * libio/iofsetpos64.c: Likewise.
30277 * sysdeps/wordsize-64/lockf.c: File removed.
30278 * sysdeps/wordsize-64/lockf64.c: File removed.
30279 * sysdeps/wordsize-64/fseeko.c: File removed.
30280 * sysdeps/wordsize-64/fseeko64.c: File removed.
30281 * sysdeps/wordsize-64/ftello.c: File removed.
30282 * sysdeps/wordsize-64/ftello64.c: File removed.
30283 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30284 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30285 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30286 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30287 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30288 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30289 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30290 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30291 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30292 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30293 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30294 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30295 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30296 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30297
30298 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30299 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30300 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30301 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30302 [defined __arch64__ || defined __sparcv9]
30303 (__OFF_T_MATCHES_OFF64_T): New macro.
30304 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30305 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30306 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30307 (__OFF_T_MATCHES_OFF64_T): New macro.
30308
c5757acd
L
303092012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30310
30311 * stdlib/secure-getenv.c (__secure_getenv): Replace
30312 GLIBC_2_16 with GLIBC_2_17.
30313
3a31811e
L
303142012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30315
30316 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30317 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30318
faa2bccb
DM
303192012-08-03 David S. Miller <davem@davemloft.net>
30320
30321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30322
85fe1997
JM
303232012-08-03 Joseph Myers <joseph@codesourcery.com>
30324
30325 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30326 Remove.
30327 (__ASSUME_CORRECT_SI_PID): Likewise.
30328 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30329 (__ASSUME_TMPFS_NAME): Likewise.
30330 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30331 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30332 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30333 (HAVE_AUX_SECURE): Make definition unconditional.
30334 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30335 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30336
4f75b7a0
RM
303372012-08-03 Roland McGrath <roland@hack.frob.com>
30338
30339 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30340 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30341 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30342 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30343 __eloop_threshold instead of SYMLOOP_MAX.
30344
30345 * sysdeps/generic/eloop-threshold.h: New file.
30346 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30347 of MAXSYMLINKS.
30348 * elf/chroot_canon.c (chroot_canon): Likewise.
30349
7aab07e4
JM
303502012-08-03 Joseph Myers <joseph@codesourcery.com>
30351
30352 [BZ #13717]
30353 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30354 Change to 2.6.0 everywhere.
30355 * sysdeps/unix/sysv/linux/configure: Regenerated.
30356 * sysdeps/unix/sysv/linux/kernel-features.h
30357 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30358 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30359 kernel versions.
30360 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30361 (__ASSUME_FUTEX_REQUEUE): Remove.
30362 (__ASSUME_STATFS64): Define unconditionally.
30363 (__ASSUME_AT_SECURE): Likewise.
30364 (__ASSUME_CORRECT_SI_PID): Likewise.
30365 (__ASSUME_TGKILL): Define without depending on kernel version for
30366 i386.
30367 (__ASSUME_UTIMES): Likewise.
30368 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30369 kernel version.
30370 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30371 (__ASSUME_TMPFS_NAME): Likewise.
30372 * README: Update reference to Linux kernel versions.
30373
b67e9372
MP
303742012-08-02 Marek Polacek <polacek@redhat.com>
30375
1f529f7d 30376 [BZ# 14150]
b67e9372
MP
30377 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30378 libc_cv_asm_type_prefix with %.
30379 * configure: Regenerated.
d2441631
RM
30380 * include/libc-symbols.h: Remove comment about
30381 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
30382 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30383 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30384 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30385 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30386 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30387 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30388 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30389 * elf/tst-unique2mod1.c: Likewise.
30390 * elf/tst-unique1mod2.c: Likewise.
30391 * elf/tst-unique1mod1.c: Likewise.
30392 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30393 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30394 Replace ASM_TYPE_DIRECTIVE with .type.
30395 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30396 * sysdeps/i386/sysdep.h: Likewise.
30397 * sysdeps/x86_64/sysdep.h: Likewise.
30398 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
30399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30400 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 30401 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
30402 * sysdeps/powerpc/powerpc32/sysdep.h:
30403 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
30404 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30405 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30406 * sysdeps/i386/fpu/e_powf.S: Likewise.
30407 * sysdeps/i386/fpu/e_expl.S: Likewise.
30408 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30409 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30410 * sysdeps/i386/fpu/e_pow.S: Likewise.
30411 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30412 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30413 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30414 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30415 * sysdeps/i386/fpu/e_log2.S: Likewise.
30416 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30417 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30418 * sysdeps/i386/fpu/e_powl.S: Likewise.
30419 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30420 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30421 * sysdeps/i386/fpu/e_logl.S: Likewise.
30422 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30423 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30424 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30425 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30426 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30427 * sysdeps/i386/fpu/e_log.S: Likewise.
30428 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30429 * sysdeps/i386/fpu/e_logf.S: Likewise.
30430 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30431 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30432 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30433 * sysdeps/i386/fpu/e_log10.S: Likewise.
30434 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30435 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30436 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30437 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30438 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30439 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30440 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30441 * sysdeps/i386/i686/strtok.S: Likewise.
30442 * sysdeps/i386/i386-mcount.S: Likewise.
30443 * sysdeps/i386/strtok.S: Likewise.
30444 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30445 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30446 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30447 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30448 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30449 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30450 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30451 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30452 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30453 * sysdeps/x86_64/_mcount.S: Likewise.
30454 * sysdeps/x86_64/strtok.S: Likewise.
30455 * sysdeps/sh/_mcount.S: Likewise.
30456
2747bf9a
RM
304572012-08-01 Roland McGrath <roland@hack.frob.com>
30458
30459 * libio/iofopen.c: Include <fcntl.h>.
30460 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30461 (_IO_fopen64, fopen64): Define as aliases.
30462 * libio/iofopen64.c: Include <fcntl.h>.
30463 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30464 Conditionalize body on this.
30465 * sysdeps/wordsize-64/iofopen.c: File removed.
30466 * sysdeps/wordsize-64/iofopen64.c: File removed.
30467
3fb791b8
MP
304682012-08-01 Marek Polacek <polacek@redhat.com>
30469
30470 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30471 Use dlfcn directly instead of a variable.
30472 (binfmt-subdir): Do not define.
30473 (dlfcn): Likewise.
30474
a9f1039f
JM
304752012-08-01 Joseph Myers <joseph@codesourcery.com>
30476
23bddc06
JM
30477 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30478 Remove all definitions.
30479 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30480 <kernel-features.h>.
30481 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30482 (miss_F_GETOWN_EX): Remove all definitions.
30483 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30484 macro definition.
30485 [!__ASSUME_FCNTL64]: Remove conditional code.
30486 [__ASSUME_FCNTL64]: Make code unconditional.
30487 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30488 <kernel-features.h>.
30489 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30490 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30491 (lockf64) [__NR_fcntl64]: Make code unconditional.
30492 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30493
a9f1039f
JM
30494 * sysdeps/unix/sysv/linux/kernel-features.h
30495 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30496 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30497 Make code unconditional.
30498 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30499 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30501 [__NR_vfork]: Make code unconditional.
30502 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30503 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30505 [__NR_vfork]: Make code unconditional.
30506 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30507 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30508
09c0ee5f
RM
305092012-08-01 Roland McGrath <roland@hack.frob.com>
30510
48aec5b9
RM
30511 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30512 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30513
cd97c966
RM
30514 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30515 Define mkstemp64 as an alias.
3f55550c
RM
30516 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30517 Define mkstemps64 as an alias.
cd97c966
RM
30518 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30519 Define mkostemp64 as an alias.
b8625cfc
RM
30520 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30521 Define mkostemps64 as an alias.
cd97c966
RM
30522 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30523 Conditionalize body on this.
30524 * misc/mkostemp64.c: Likewise.
b8625cfc 30525 * misc/mkostemps64.c: Likewise.
3f55550c 30526 * misc/mkstemps64.c: Likewise.
cd97c966
RM
30527 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30528 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30529 * sysdeps/wordsize-64/mkostemp.c: File removed.
30530 * sysdeps/wordsize-64/mkstemp.c: File removed.
30531 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30532 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30533 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30534 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30535
09c0ee5f
RM
30536 [BZ #14138]
30537 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30538 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30539 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30540 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30541
30542 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30543 compat_symbol macros from <shlib-compat.h> rather than the underlying
30544 default_symbol_version and symbol_version macros, so that DEFAULT
30545 lines in shlib-versions are respected.
30546 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30547
7e66ee51
FW
305482012-08-01 Florian Weimer <fweimer@redhat.com>
30549
30550 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30551 Declare with warn_unused_result.
30552 (setgid, setregid, setegid, setresgid): Likewise.
30553 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30554 Likewise.
30555 * WUR-REPORT: Remove set*id functions.
30556
d2a54255
PT
305572012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30558
30559 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30560
7ecdb005
RM
305612012-07-31 Roland McGrath <roland@hack.frob.com>
30562
b4180a5e 30563 [BZ #10191]
789bd351
RM
30564 * include/sys/socket.h (__libc_accept, __libc_accept4):
30565 Add attribute_hidden.
30566 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30567
40ce302d
RM
30568 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30569 use of PTR_MANGLE.
30570 * inet/getnetgrent_r.c (setup): Likewise.
30571
7ecdb005
RM
30572 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30573
e2eabb2c
DM
305742012-07-31 David S. Miller <davem@davemloft.net>
30575
30576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30577
d0419dbf
JM
305782012-07-31 Joseph Myers <joseph@codesourcery.com>
30579
30580 [BZ #13629]
30581 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30582 value between 1.0 and 2.0 and smaller part has absolute value less
30583 than 1.0.
30584 * math/s_clog10.c (__clog10): Likewise.
30585 * math/s_clog10f.c (__clog10f): Likewise.
30586 * math/s_clog10l.c (__clog10l): Likewise.
30587 * math/s_clogf.c (__clogf): Likewise.
30588 * math/s_clogl.c (__clogl): Likewise.
30589 * math/libm-test.inc (clog_test): Add more tests.
30590 (clog10_test): Likewise.
30591 * sysdeps/i386/fpu/libm-test-ulps: Update.
30592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30593
2bc13872
FW
305942012-07-31 Florian Weimer <fweimer@redhat.com>
30595
30596 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30597 Exit with zero in case no suitable GID is found, and write a
30598 message to standard error.
30599
bea9b193
RM
306002012-07-30 Roland McGrath <roland@hack.frob.com>
30601
30602 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30603 rather than to 1.
30604 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30605 (MAXPATHLEN): Removed.
30606 (NOGROUP, NODEV): New macros.
30607 (setbit, clrbit, isset, isclr): New macros.
30608 (howmany, roundup, powerof2): New macros.
30609 (DEV_BSIZE): New macro.
30610
30611 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30612 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30613
30614 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30615 definition on [!__NO_LONG_DOUBLE_MATH].
30616
30617 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30618 PTR_MANGLE and PTR_DEMANGLE.
30619
30620 * socket/accept4.c (accept4): Rename to __libc_accept4.
30621 Define accept4 as a weak alias.
30622
30623 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30624 on [_DIRENT_HAVE_D_TYPE].
30625 * io/ftw.c (ftw_dir): Likewise.
30626
30627 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30628
30629 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30630
30631 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30632 Use the BSD numbers rather than the arbitrary ones we had.
30633 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30634 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30635 (SIGXCPU, SIGXFSZ): New macros.
30636 (_NSIG): Now 32.
30637
30638 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30639 initializer on [_LIBC_REENTRANT].
30640
30641 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30642 definitions inside [_POSIX_MAPPED_FILES].
30643
30644 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30645
30646 * dirent/opendir.c: Include <fcntl.h>.
30647
30648 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30649 (__libc_getspecific): Likewise.
30650 (__libc_key_create): Likewise.
30651
30652 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30653 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30654 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30655 (tmpfile64): Define as alias.
30656 * sysdeps/wordsize-64/tmpfile.c: File removed.
30657 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30658 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30659 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30660
30661 * stdio-common/vfscanf.c: Include <stdbool.h>.
30662 * nss/makedb.c: Likewise.
30663 * stdio-common/_i18n_number.h: Likewise.
30664 * argp/argp-help.c: Likewise.
30665 * posix/wordexp.c: Likewise.
30666 * sysdeps/posix/spawni.c: Likewise.
30667 * nss/nss_files/files-initgroups.c: Likewise.
30668 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30669 * nss/nss_files/files-initgroups.c: Likewise.
30670 * nss/nss_db/db-netgrp.c: Likewise.
30671 * nss/nss_db/db-initgroups.c: Likewise.
30672 * io/fchmodat.c: Include <sys/stat.h>.
30673
30674 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30675 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30676
30677 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30678 [HAVE_MMAP].
30679
30680 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30681 Add multiple inclusion protection.
30682
e5abc686
DM
306832012-07-27 David S. Miller <davem@davemloft.net>
30684
30685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30686
815e6fa3
GB
306872012-07-27 Gary Benson <gbenson@redhat.com>
30688
30689 [BZ #14298]
30690 * elf/rtld.c: Include <stap-probe.h>.
30691 (dl_main): Added static probes "init_start" and "init_complete".
30692 * elf/dl-load.c: Include <stap-probe.h>.
30693 (lose): Take new parameter "nsid".
30694 Added static probe "map_failed".
30695 (_dl_map_object_from_fd): Pass namespace id to lose.
30696 Added static probe "map_start".
30697 (open_verify): Pass namespace id to lose.
30698 * elf/dl-open.c: Include <stap-probe.h>.
30699 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30700 and "reloc_complete".
30701 * elf/dl-close.c: Include <stap-probe.h>.
30702 (_dl_close_worker): Added static probes "unmap_start" and
30703 "unmap_complete".
30704 * elf/rtld-debugger-interface.txt: New file documenting the above.
30705
9f98c16c
RM
307062012-07-26 Roland McGrath <roland@hack.frob.com>
30707
30708 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30709 rather than a string variable.
30710 * sunrpc/rpc_main.c (h_output): Likewise.
30711 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30712
f3c22df3
PT
307132012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30714
30715 * inet/check_native.c: New file.
30716
3129cfc6
JM
307172012-07-26 Joseph Myers <joseph@codesourcery.com>
30718
da865e95
JM
30719 [BZ #13629]
30720 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30721 if larger part has absolute value 1.0.
30722 * math/s_clog10.c (__clog10): Likewise.
30723 * math/s_clog10f.c (__clog10f): Likewise.
30724 * math/s_clog10l.c (__clog10l): Likewise.
30725 * math/s_clogf.c (__clogf): Likewise.
30726 * math/s_clogl.c (__clogl): Likewise.
30727 * math/libm-test.inc (clog_test): Add more tests.
30728 (clog10_test): Likewise.
30729 * sysdeps/i386/fpu/libm-test-ulps: Update.
30730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30731
3129cfc6
JM
30732 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30733 (pltexit): Likewise.
30734 (La_regs): Likewise.
30735 (La_retval): Likewise.
30736 (int_retval): Likewise.
30737 Update #error for removed macros to refer only to definitions in
30738 tst-audit.h.
30739 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30740 macro.
30741 (pltexit): Likewise.
30742 (La_regs): Likewise.
30743 (La_retval): Likewise.
30744 (int_retval): Likewise.
30745 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30746 macro.
30747 (pltexit): Likewise.
30748 (La_regs): Likewise.
30749 (La_retval): Likewise.
30750 (int_retval): Likewise.
30751 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30752 macro.
30753 (pltexit): Likewise.
30754 (La_regs): Likewise.
30755 (La_retval): Likewise.
30756 (int_retval): Likewise.
30757 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30758 macro.
30759 (pltexit): Likewise.
30760 (La_regs): Likewise.
30761 (La_retval): Likewise.
30762 (int_retval): Likewise.
30763 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30764 macro.
30765 (pltexit): Likewise.
30766 (La_regs): Likewise.
30767 (La_retval): Likewise.
30768 (int_retval): Likewise.
30769 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30770 macro.
30771 (pltexit): Likewise.
30772 (La_regs): Likewise.
30773 (La_retval): Likewise.
30774 (int_retval): Likewise.
30775 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30776 macro definitions in tst-audit.h.
30777 * sysdeps/i386/tst-audit.h: New file.
30778 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30779 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30780 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30781 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30782 * sysdeps/sh/tst-audit.h: Likewise.
30783 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30784 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30785 * sysdeps/x86_64/tst-audit.h: Likewise.
30786
bfc07087
AJ
307872012-07-26 Andreas Jaeger <aj@suse.de>
30788
b1b2aaf8
AJ
30789 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30790 ptrace.
30791
30792 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30793 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30794 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30795 PTRACE_O_MASK.
30796 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30797 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30798 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30799
bfc07087
AJ
30800 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30801 value.
30802
30803 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30804 _sigsys.
30805 (si_call_addr, si_syscall, si_arch): Define new macro.
30806 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30807 _sigsys.
30808 (si_call_addr, si_syscall, si_arch): Define new marcro.
30809 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30810 _sigsys.
30811 (si_call_addr, si_syscall, si_arch): Define new macro.
30812 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30813 _sigsys.
30814 (si_call_addr, si_syscall, si_arch): Define new macro.
30815
89b4b02f
JM
308162012-07-25 Joseph Myers <joseph@codesourcery.com>
30817
30818 [BZ #13717]
30819 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30820 Change to 2.4.21 where previously 2.4.1.
30821 * sysdeps/unix/sysv/linux/configure: Regenerated.
30822 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30823 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30824 Linux kernel version.
30825 (__ASSUME_STD_AUXV): Remove.
30826 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30827 kernel version.
30828 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30829 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30830 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30831 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30832 (__ASSUME_NETLINK_SUPPORT): Likewise.
30833 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30834 (__no_netlink_support): Remove conditional definition.
30835 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30836 Remove.
30837 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30838 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30839 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30840 (if_nameindex_ioctl): Remove.
30841 (if_nameindex_netlink): Do not handle __no_netlink_support.
30842 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30843 code.
30844 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30845 Remove conditional code.
30846 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30847 code.
30848 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30849 unconditional.
30850 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30851 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30852 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30853 Remove.
30854 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30855 [!__ASSUME_STD_AUXV]: Remove conditional code.
30856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30857 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30858 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30860 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30861 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30862 code.
30863 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30865 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30866 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30867 conditional code.
30868 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30870 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30871 code.
30872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30873 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30874 conditional code.
30875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30876 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30877 code unconditional.
30878 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30879 conditional code.
30880 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30881 unconditional.
30882 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30883 conditional code.
30884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30885 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30886 unconditional.
30887 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30888 conditional code.
30889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30890 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30891 code unconditional.
30892 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30893 conditional code.
30894 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30895 unconditional.
30896 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30897 conditional code.
30898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30899 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30900 code unconditional.
30901 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30902 conditional code.
30903 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30904 unconditional.
30905 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30906 conditional code.
30907
842a39cd
AS
309082012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30909
30910 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30911 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30912 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30913 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30914 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30915 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30916 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30917 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30918 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30919 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30920 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30921 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30922 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30923 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30924 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30925 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30926 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30927 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30928 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30929 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30930 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30931 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30932 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30933
84b3fd84
FW
309342012-07-25 Florian Weimer <fweimer@redhat.com>
30935
30936 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
30937 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30938 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30939 Introduce __libc_secure_getenv.
0c7936d5
FW
30940 * stdlib/Versions (2.17): Add secure_getenv
30941 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30942 * stdlib/secure-getenv.c: Rename __secure_getenv to
30943 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30944 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
30945 * stdlib/tst-secure-getenv.c: New.
30946 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
30947 * manual/startup.texi (Environment Access): Document
30948 secure_getenv.
84b3fd84
FW
30949 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30950 __libc_secure_getenv.
30951 * inet/ruserpass.c (ruserpass): Likewise.
30952 * malloc/mtrace.c (mtrace): Likewise.
30953 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 30954 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
30955 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30956 * sysdeps/posix/tempname.c: Likewise. Evaluate
30957 HAVE_SECURE_GETENV.
30958 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 30959 __secure_getenv to __libc_secure_getenv.
84b3fd84 30960 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
30961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30962 Likewise.
30963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30964 Likewise.
30965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30967 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 30972
56e49b71
JM
309732012-07-25 Joseph Myers <joseph@codesourcery.com>
30974
30975 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30976 (struct La_i86_retval): Likewise.
30977 (struct La_x86_64_regs): Likewise.
30978 (struct La_x86_64_retval): Likewise.
30979 (struct La_x32_regs): Likewise.
30980 (struct La_x32_retval): Likewise.
30981 (struct La_ppc32_regs): Likewise.
30982 (struct La_ppc32_retval): Likewise.
30983 (struct La_ppc64_regs): Likewise.
30984 (struct La_ppc64_retval): Likewise.
30985 (struct La_sh_regs): Likewise.
30986 (struct La_sh_retval): Likewise.
30987 (struct La_s390_32_regs): Likewise.
30988 (struct La_s390_32_retval): Likewise.
30989 (struct La_s390_64_regs): Likewise.
30990 (struct La_s390_64_retval): Likewise.
30991 (struct La_sparc32_regs): Likewise.
30992 (struct La_sparc32_retval): Likewise.
30993 (struct La_sparc64_regs): Likewise.
30994 (struct La_sparc64_retval): Likewise.
30995 (struct audit_ifaces): Remove architecture-specific pltenter and
30996 pltexit members.
30997 * sysdeps/i386/ldsodefs.h: New file.
30998 * sysdeps/powerpc/ldsodefs.h: Likewise.
30999 * sysdeps/s390/ldsodefs.h: Likewise.
31000 * sysdeps/sh/ldsodefs.h: Likewise.
31001 * sysdeps/sparc/ldsodefs.h: Likewise.
31002 * sysdeps/x86_64/ldsodefs.h: Likewise.
31003
354691b7
MP
310042012-07-25 Marek Polacek <polacek@redhat.com>
31005
31006 [BZ #6808]
31007 * math/libm-test.inc (yn_test): Add another test.
31008 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31009 to ERANGE when the result is +-Inf.
31010 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31011 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31012 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31013 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31014
bf9e2071
JM
310152012-07-24 Joseph Myers <joseph@codesourcery.com>
31016
31017 * conform/data/time.h-data (NULL): Use macro-constant. Require
31018 equal to 0.
31019 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31020 clock_t.
31021 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31022
57633811
TS
310232012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31024
31025 * configure.in <sysdeps resolving>: Correct printing
31026 Implies_before.
31027 * configure: Regenerate.
31028
c23c33b0
TS
310292012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31030
31031 * math/w_ilogb.c: Include <limits.h>.
31032 * math/w_ilogbl.c: Likewise.
31033
b5982523
JM
310342012-07-20 Joseph Myers <joseph@codesourcery.com>
31035
31036 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31037 va_copy. Document allowing for unavailable va_copy only as
31038 pre-C99 compatibility.
31039 * manual/string.texi (Copying and Concatenation): Use va_copy
31040 instead of __va_copy in concat example.
31041
ac4ea442
PT
310422012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31043
31044 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31045 (__sendto): Use create_address_port. Initialize APORT and deallocate
31046 it if not null.
31047
f98eafbd
PT
31048 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31049 with O_NOLINK passed to __file_name_lookup.
31050
898c7aab
PT
31051 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31052 with O_NOLINK passed to __file_name_lookup.
31053
0ced335a
PT
31054 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31055 negative N or less than NGIDS.
31056
b3404dbd
PT
31057 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31058 type to string_t. Set ERANGE as errno and return it if NAME is not big
31059 enough. Use memcpy instead of strncpy.
31060
0f48659e
JM
310612012-07-20 Joseph Myers <joseph@codesourcery.com>
31062
31063 * elf/Makefile (check-data): Remove.
31064 (localplt.data): New vpath directive.
31065 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31066 instead of $(check-data).
31067 * scripts/data/localplt-generic.data: Move to ...
31068 * sysdeps/generic/localplt.data: ... here.
31069 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31070 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31071 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31073 ... here.
31074 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31076 ... here.
31077 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31079 ... here.
31080 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31082 ... here.
31083 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31085 ... here.
31086 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31088 ... here.
31089
d37cbdaa
AZ
310902012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31091
31092 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31093 PPC32 and PPC64 files.
31094 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31095 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31096
46f85fc2
AK
310972012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31098
31099 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31100 __makecontext_ret to ...
31101 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31102 ... here and call exit if uc_link is NULL. New file.
31103 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31104 __makecontext_ret.S.
31105 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31106 __makecontext_ret to ...
31107 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31108 ... here and call exit if uc_link is NULL. New file.
31109 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31110 __makecontext_ret.S.
31111
08f43f9b
AK
311122012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31113
31114 * elf/elf.h (R_390_IRELATIVE): New definition.
31115 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31116 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31117 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31118 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31119 (elf_machine_lazy_rel): Likewise.
31120 * sysdeps/s390/dl-irel.h: New file.
31121 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31122 * sysdeps/s390/s390-64/memset.S: New asm code.
31123 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31124 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31125 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31126 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31127 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31128 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31129 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31130 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31131 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31132 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31133 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31134 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31135 * sysdeps/s390/s390-32/memset.S: New asm code.
31136 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31137
3b05db33
MP
311382012-07-17 Marek Polacek <polacek@redhat.com>
31139
31140 [BZ #14349]
31141 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31142 * sysdeps/s390/s390-64/configure.in: Likewise.
31143 * sysdeps/sparc/configure.in: Likewise.
31144 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31145 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31146 * sysdeps/i386/configure.in: Likewise.
31147 * sysdeps/x86_64/configure.in: Likewise.
31148 * sysdeps/sh/configure.in: Likewise.
31149 * sysdeps/s390/s390-32/configure: Regenerated.
31150 * sysdeps/s390/s390-64/configure: Likewise.
31151 * sysdeps/x86_64/configure: Likewise.
31152 * sysdeps/sh/configure: Likewise.
31153 * sysdeps/powerpc/powerpc64/configure: Likewise.
31154 * sysdeps/powerpc/powerpc32/configure: Likewise.
31155 * sysdeps/sparc/configure: Likwise.
31156 * sysdeps/i386/configure: Likewise.
31157
a66877c6
MP
31158 * elf/dl-open.c: Comment fixes.
31159
cfc82fd8
JM
311602012-07-17 Joseph Myers <joseph@codesourcery.com>
31161
bd29910a
JM
31162 * Makefile [CXX] (check-data): Remove.
31163 [CXX] (c++-types.data): New vpath directive.
31164 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31165 vpath. Do not allow for C++ type data being missing.
31166 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31167 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31168 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31169 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31170 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31171 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31172 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31174 ... here.
31175 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31177 ... here.
31178 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31180 ... here.
31181 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31183 ... here.
31184 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31186 ... here.
31187 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31189 ... here.
31190 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31192 ... here.
31193 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31195
cfc82fd8
JM
31196 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31197 definitions to architecture-specific files.
31198 (TLS_IE): Likewise.
31199 (TLS_LD): Likewise.
31200 (TLS_GD): Likewise.
31201 * sysdeps/i386/tls-macros.h: New file.
31202 * sysdeps/powerpc/tls-macros.h: Likewise.
31203 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31204 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31205 * sysdeps/sh/tls-macros.h: Likewise.
31206 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31207 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31208 * sysdeps/x86_64/tls-macros.h: Likewise.
31209
f7db3170
TS
312102012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31211
07cbfc23
TS
31212 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31213 zero value for regular exit case.
31214
f7db3170
TS
31215 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31216 (__start_context): Preserve zero value for regular exit case.
31217
dc97c227
TS
312182012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31219 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31220
31221 * manual/setjmp.texi (setcontext): Clarify normal process
31222 termination when uc_link is the null pointer.
31223 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31224 exit call.
31225
d0cd7d02
AS
312262012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31227
31228 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31229 preprocessor. Test for each exception mask separately.
31230
dd318934
AJ
312312012-07-16 Andreas Jaeger <aj@suse.de>
31232
31233 * po/ru.po: Update from translation team.
31234
8048311a
JM
312352012-07-15 Joseph Myers <joseph@codesourcery.com>
31236
31237 * conform/data/string.h-data (NULL): Use macro-constant. Require
31238 equal to 0.
31239 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31240 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31241 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31242 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31243 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31244
b637d46e
AJ
312452012-07-13 Andreas Jaeger <aj@suse.de>
31246
31247 * po/fr.po: Update from translation team.
31248
541428fe
MP
312492012-07-12 Marek Polacek <polacek@redhat.com>
31250
31251 [BZ #14173]
31252 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31253 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31254 loop condition.
31255
ec332e94
JM
312562012-07-12 Joseph Myers <joseph@codesourcery.com>
31257
31258 [BZ #13717]
31259 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31260 Change to 2.4.1 where previously 2.4.0.
31261 * sysdeps/unix/sysv/linux/configure: Regenerated.
31262 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31263 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31264 version.
31265 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31266 (__ASSUME_AT_CLKTCK): Remove.
31267 (__ASSUME_AT_PAGESIZE): Likewise.
31268 (__ASSUME_AT_XID): Likewise.
31269 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31270 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31271 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31272 unconditionally.
31273 (HAVE_AUX_PAGESIZE): Likewise.
31274 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31275 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31276 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31277
7b6e99be
JB
312782012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31279
31280 [BZ #14307]
31281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31282 the temporary buffer used to invoke __gethostbyname2_r,
31283 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31284 host_data / struct gaih_addrtuple.
31285 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31286 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31287 header file nss/nsswitch.h.
31288 * nss/nsswitch.h (global scope): Add definition of implementation
31289 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31290 resolv/nss_dns/dns-host.c).
31291
608404eb
AJ
312922012-07-11 Andreas Jaeger <aj@suse.de>
31293
31294 * po/fr.po: Update from translation team.
31295
71220aca
AJ
31296 * po/sv.po: Update from translation team
31297 * po/fr.po: Another update from translation team.
31298
28cfe843
AZ
312992012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31300
31301 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31302 for subnormals or multiply small sinh result by itself.
31303 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31305
6b90f981
DM
313062012-07-11 David S. Miller <davem@davemloft.net>
31307
31308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31309
c6825772
AS
313102012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31311
31312 [BZ #14347]
31313 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31314 (INTERNAL_MARK): Shift it here.
31315
7b8e0d49
MP
313162012-07-10 Marek Polacek <polacek@redhat.com>
31317
31318 [BZ #14151]
31319 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31320 libc_cv_asm_global_directive with .globl.
31321 * configure: Regenerated.
31322 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31323 with .globl.
31324 * sysdeps/i386/configure: Regenerated.
31325 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31326 with .globl.
31327 * sysdeps/x86_64/configure: Regenerated.
31328 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31329 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31330 * elf/tst-unique2mod2.c: Likewise.
31331 * elf/tst-unique2mod1.c: Likewise.
31332 * elf/tst-unique1mod2.c: Likewise.
31333 * elf/tst-unique1mod1.c: Likewise.
31334 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31335 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31336 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31337 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31338 * sysdeps/mach/sysdep.h: Likewise.
31339 * sysdeps/i386/sysdep.h: Likewise.
31340 * sysdeps/i386/i386-mcount.S: Likewise.
31341 * sysdeps/x86_64/_mcount.S: Likewise.
31342 * sysdeps/x86_64/sysdep.h: Likewise.
31343 * sysdeps/sh/_mcount.S: Likewise.
31344 * sysdeps/sh/sysdep.h: Likewise.
31345 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31346 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31347 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31348 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31349 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31350 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31351 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31352 * locale/localeinfo.h: Likewise.
31353 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31354 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31355
6c55cda3
RM
313562012-07-09 Roland McGrath <roland@hack.frob.com>
31357
31358 [BZ #14336]
31359 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31360 system".
31361 * manual/message.texi (The Uniforum approach): Likewise.
31362 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31363 (glibc iconv Implementation): Likewise.
31364
638a572e
JM
313652012-07-09 Joseph Myers <joseph@codesourcery.com>
31366
31367 [BZ #14337]
31368 * math/s_clog.c (__clog): Avoid scaling a value down where that
31369 could result in underflow.
31370 * math/s_clog10.c (__clog10): Likewise.
31371 * math/s_clog10f.c (__clog10f): Likewise.
31372 * math/s_clog10l.c (__clog10l): Likewise.
31373 * math/s_clogf.c (__clogf): Likewise.
31374 * math/s_clogl.c (__clogl): Likewise.
31375 * math/libm-test.inc (clog_test): Add more tests.
31376 (clog10_test): Likewise.
31377 * sysdeps/i386/fpu/libm-test-ulps: Update.
31378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31379
261f4859
AS
313802012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31381
0abaf3e4
AS
31382 [BZ #14283]
31383 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31384 by 7 not 8 to examine high bit of fractional part.
31385
261f4859
AS
31386 [BZ #14042]
31387 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31388 for call to __mcount_internal.
31389 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31390 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31391 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31392
f17ac40d
JM
313932012-07-06 Joseph Myers <joseph@codesourcery.com>
31394
9ad63c23
JM
31395 [BZ #14154]
31396 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31397 approximation for values within 0x1p-13f of an odd multiple of
31398 pi/4.
31399 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31400 exception. Add more tests.
31401 * sysdeps/i386/fpu/libm-test-ulps: Update.
31402
f17ac40d
JM
31403 [BZ #6778]
31404 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31405 inputs and return -1 for them. Do not check for +Inf in case not
31406 reachable for +Inf.
31407 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31408 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31409 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31410 and return -1 for them. Do not check for +Inf in case not
31411 reachable for +Inf.
31412 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31413 define.
31414 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31415 and return -1 for them. Do not check for +Inf in case not
31416 reachable for +Inf.
31417 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31418 spurious underflow.
31419 * sysdeps/i386/fpu/libm-test-ulps: Update.
31420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31421
fb21f89b
MF
314222012-07-06 Mike Frysinger <vapier@gentoo.org>
31423
31424 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31425
cdfe2c5e
JM
314262012-07-05 Joseph Myers <joseph@codesourcery.com>
31427
31428 [BZ #14157]
31429 [BZ #14331]
31430 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31431 could result in spurious underflow. Scale down values above
31432 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31433 * math/s_csqrtf.c (__csqrtf): Likewise.
31434 * math/s_csqrtl.c (__csqrtl): Likewise.
31435 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31436 spurious underflow.
31437 * sysdeps/i386/fpu/libm-test-ulps: Update.
31438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31439
70d35b67
AS
314402012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31441
704bc459
AS
31442 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31443 xopen-msg.sed.
31444 * catgets/xopen-msg.awk: New file.
31445 * catgets/xopen-msg.sed: Removed.
31446
70d35b67
AS
31447 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31448 po2text.sed.
31449 * intl/po2test.awk: New file.
31450 * intl/po2test.sed: Removed.
31451
ca61cf32
JM
314522012-07-04 Joseph Myers <joseph@codesourcery.com>
31453
31454 [BZ #14328]
31455 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31456 or multiply small sinh result by itself.
31457 * math/s_ctanf.c (__ctanf): Likewise.
31458 * math/s_ctanh.c (__ctanh): Likewise.
31459 * math/s_ctanhf.c (__ctanhf): Likewise.
31460 * math/s_ctanhl.c (__ctanhl): Likewise.
31461 * math/s_ctanl.c (__ctanl): Likewise.
31462 * math/libm-test.inc (ctan_test_tonearest): New function.
31463 (ctan_test_towardzero): Likewise.
31464 (ctan_test_downward): Likewise.
31465 (ctan_test_upward): Likewise.
31466 (ctanh_test_tonearest): Likewise.
31467 (ctanh_test_towardzero): Likewise.
31468 (ctanh_test_downward): Likewise.
31469 (ctanh_test_upward): Likewise.
31470 (main): Call these new functions.
31471 * sysdeps/i386/fpu/libm-test-ulps: Update.
31472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31473
ca48a46a
MF
314742012-07-03 Mike Frysinger <vapier@gentoo.org>
31475
31476 * .gitignore: Delete /ports entry.
31477
9d63d37d
AJ
314782012-07-03 Andreas Jaeger <aj@suse.de>
31479
31480 * po/bg.po: Update from translation team.
31481 * po/cs.po: Likewise.
31482 * po/de.po: Likewise.
31483 * po/hr.po: Likewise.
31484 * po/nl.pl: Likewise.
31485 * po/pl.po: Likewise.
31486 * po/vi.po: Likewise.
31487
370ca3d2
JM
314882012-07-03 Joseph Myers <joseph@codesourcery.com>
31489
95f5a9a8
JM
31490 * Makeconfig [!+link] (+link-before-libc): New variable.
31491 [!+link] (+link-after-libc): Likewise.
31492 [!+link] (+link-tests): Likewise.
31493 [!+link] (+link): Define in terms of $(+link-before-libc) and
31494 $(+link-after-libc).
31495 [!+link-static] (+link-static-before-libc): New variable.
31496 [!+link-static] (+link-static-after-libc): Likewise.
31497 [!+link-static] (+link-static-tests): Likewise.
31498 [!+link-static] (+link-static): Define in terms of
31499 $(+link-static-before-libc) and $(+link-static-after-libc).
31500 [build-shared] (link-libc-before-gnulib): New variable.
31501 [build-shared] (link-libc-tests): Likewise.
31502 [build-shared] (link-libc): Define in terms of
31503 $(link-libc-before-gnulib).
31504 [!build-shared] (link-libc-tests): New variable.
31505 (link-libc-static-tests): New variable.
31506 [!gnulib] (gnulib-arch): New variable.
31507 [!gnulib] (gnulib-tests): Likewise.
31508 [!gnulib] (static-gnulib-arch): Likewise.
31509 [!gnulib] (static-gnulib-tests): Likewise.
31510 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31511 Define with "=" instead of ":=".
31512 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31513 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31514 * Rules (binaries-all-notests): New variable.
31515 (binaries-all-tests): Likewise.
31516 (binaries-static-notests): Likewise.
31517 (binaries-static-tests): Likewise.
31518 (binaries-all): Define using $(binaries-all-notests) and
31519 $(binaries-all-tests).
31520 (binaries-static): Define using $(binaries-static-notests) and
31521 $(binaries-static-tests).
31522 (binaries-shared-tests): New variable.
31523 (binaries-shared-notests): Likewise.
31524 (binaries-shared): Remove variable.
31525 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31526 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31527 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31528 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31529 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31530 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31531 * elf/Makefile (sln-modules): New variable.
31532 (extra-objs): Add $(sln-modules:=.o).
31533 (ldconfig-modules): Add static-stubs.
31534 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31535 * elf/static-stubs.c: New file.
31536
7a845b2c
JM
31537 [BZ #14283]
31538 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31539 by 7 not 8 to examine high bit of fractional part. Use volatile
31540 variables when splitting into final array of floats if
31541 __FLT_EVAL_METHOD__ != 0.
31542 * math/libm-test.inc (cos_test): Add another test.
31543 (sin_test): Likewise.
31544 * sysdeps/i386/fpu/libm-test-ulps: Update.
31545
e2283f38
JM
31546 [BZ #14273]
31547 * math/libm-test.inc (cosh_test): Add more tests.
31548
370ca3d2
JM
31549 * version.h (RELEASE): Set to "development".
31550 (VERSION): Set to "2.16.90".
31551
ee9247c3
CD
315522012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31553
31554 * NEWS: Update copyright. Remove last-updated date.
31555 Mention math library bug fixes and timezone data changes.
31556 * README: Mention GNU/Hurd, x32, and HPPA support status.
31557
4648c381
TS
315582012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31559
31560 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31561
aac78a43
AJ
315622012-06-27 Andreas Jaeger <aj@suse.de>
31563
31564 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31565
ed3dbfad
AJ
315662012-06-25 Andreas Jaeger <aj@suse.de>
31567
31568 * sysdeps/s390/fpu/libm-test-ulps: Update.
31569
4d0ee855
AS
315702012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31571 Thomas Schwinge <thomas@codesourcery.com>
31572
31573 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31574 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31575 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31576 fanotify_mark.
31577
af1bce34
TS
315782012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31579
a9fa33ba
TS
31580 * sysdeps/mach/start.c: Remove file.
31581 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31582 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31583 * sysdeps/sh/init-first.c: Likewise.
31584
58f902b8
TS
31585 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31586 registers for frame unwinding purposes, add CFI directives.
31587 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31588 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31589 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31590 Likewise.
31591
1518f58b
TS
31592 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31593 __fortify_fail returning.
31594 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31595
db9b5059
TS
31596 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31597 sysdeps/sh/____longjmp_chk.S.
31598 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31599 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31600 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31601 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31602
967705fe
TS
31603 * sysdeps/sh/abort-instr.h: New file.
31604 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31605 process in case exit returns.
31606
a9def8c4
TS
31607 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31608 initialize the GOT register before use.
31609
2a649725
TS
31610 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31611 calculation of ARGC > 4.
31612
af1bce34
TS
31613 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31614 meaningful names to some local labels.
31615
d230f50a
KK
316162012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31617 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31618
31619 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31620 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31621 (__arch_compare_and_exchange_val_16_acq): Likewise.
31622 (__arch_compare_and_exchange_val_32_acq): Likewise.
31623 (atomic_exchange_and_add): Fix gUSA sequence.
31624 (atomic_add): Likewise.
31625 (atomic_add_negative): Likewise.
31626 (atomic_add_zero): Likewise.
31627 (atomic_bit_test_set): Likewise.
31628
0479b305
AS
316292012-06-22 Andreas Schwab <schwab@redhat.com>
31630
31631 [BZ #13579]
31632 * include/link.h (struct link_map): Add l_free_initfini.
31633 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31634 l_initfini.
31635 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31636 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31637 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31638 set.
31639
0e3933b9
CD
316402012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31641
31642 * configure.in: Use AC_LANG_SOURCE.
31643 * configure: Regenerate.
31644
4248b1b1
RM
316452012-06-22 Roland McGrath <roland@hack.frob.com>
31646
31647 * configure.in (libc_cv_localstatedir): New substituted variable.
31648 * configure: Regenerated.
31649 * config.make.in (localstatedir): New variable, substituted from
31650 libc_cv_localstatedir.
31651 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31652 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31653 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31654 * sysdeps/gnu/configure: Regenerated.
31655
006dd861
JL
316562012-06-21 Jeff Law <law@redhat.com>
31657
31658 [BZ #14277]
31659 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31660 free. Simplify list management for _LIBC case.
31661
79662d42
JM
316622012-06-21 Joseph Myers <joseph@codesourcery.com>
31663
b7abb4bf
JM
31664 [BZ #14273]
31665 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31666 Clear sign bit of 64-bit integer value before comparing against
31667 overflow value.
31668
79662d42
JM
31669 * sysdeps/mach/configure: Regenerated.
31670
1f150908
L
316712012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31672
31673 [BZ #14278]
31674 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31675
28363bbf
JL
316762012-06-21 Jeff Law <law@redhat.com>
31677
31678 [BZ #13882]
31679 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31680 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 31681 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
31682 * elf/dl-open.c (dl_open_worker): Likewise.
31683
09615db4
CD
316842012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31685
31686 * scripts/list-sources.sh: Scan PORTS for translations.
31687 * po/libc.pot: Regenerated.
31688
2174c6dd
AJ
316892012-06-21 Andreas Jaeger <aj@suse.de>
31690
31691 [BZ #12194]
31692 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31693 warning.
31694 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31695 * bits/byteswap-16.h (__bswap_16): Likewise.
31696 * bits/byteswap.h (__bswap_constant_16): Likewise.
31697
3ee947b1
L
316982012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31699
31700 [BZ #14117]
a2f34833
L
31701 * sysdeps/i386/fpu_control.h: Removed.
31702 * sysdeps/x86_64/fpu_control.h: Moved to ...
31703 * sysdeps/x86/fpu_control.h: Here.
31704
3ee947b1
L
31705 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31706 (_FPU_SETCW): Likewise.
31707
ed1825f8
L
317082012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31709
25f1282a
L
31710 [BZ #14117]
31711 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31712 * sysdeps/x86/fpu/bits/mathinline.h: This.
31713 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31714
ed1825f8
L
31715 [BZ #14050]
31716 [BZ #14117]
31717 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31718 functions if __x86_64__ is defined.
31719
36d54b74
CLT
317202012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31721
31722 * string/endian.h: Add !__ASSEMBLER__ condition for including
31723 conversion interfaces.
31724
10285c21
JM
317252012-06-15 Joseph Myers <joseph@codesourcery.com>
31726
31727 [BZ #14241]
31728 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31729 of ABS(x) in calculating zero to negative powers other than odd
31730 integers.
31731 * math/libm-test.inc (pow_test): Add more tests.
31732
06c5abbd
AJ
317332012-06-15 Andreas Jaeger <aj@suse.de>
31734
31735 * manual/contrib.texi (Contributors): Update entry of Liubov
31736 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31737 Machado Filho.
31738
a3aeac40
CH
317392012-06-15 Cyril Hrubis <metan@ucw.cz>
31740
31741 * string/string.h: Add __wur to GNU version of strerror_r.
31742
49bdf4c1
L
317432012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31744
31745 [BZ #14229]
31746 * string/Makefile (tests): Add tst-strtok_r.
31747 * string/tst-strtok_r.c: New file.
31748 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31749 RAX_LP/RDX_LP on SAVE_PTR.
31750
834f9b8d
RM
317512012-06-14 Roland McGrath <roland@hack.frob.com>
31752
31753 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31754
75fa1921
JM
317552012-06-14 Joseph Myers <joseph@codesourcery.com>
31756
31757 * libm_test.inc (csqrt_test): Allow more spurious underflow
31758 exceptions.
31759 (j0_test): Likewise.
31760 (j1_test): Likewise.
31761 (y0_test): Likewise.
31762 (y1_test): Likewise.
31763
771766df
CD
317642012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31765
31766 * po/Makefile (libc.pot): Use UTF-8 charset.
31767
ceb9e56b
PP
317682012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31769
31770 [BZ #14210]
31771 Suppress sign-conversion warning from FD_SET.
31772 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31773 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31774 not unsigned long int.
31775 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31776
ddb28975
L
317772012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31778
31779 [BZ #14050]
31780 [BZ #14117]
31781 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31782 __extern_always_inline instead of __extern_inline.
31783 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31784 (__signbit): Likewise.
31785 (__signbitl): Support C++ namespace.
31786 (lrintf): New inline function.
31787 (lrint): Likewise.
31788 (llrintf): Likewise.
31789 (llrint): Likewise.
31790 (fmaxf): Likewise.
31791 (fmax): Likewise.
31792 (fminf): Likewise.
31793 (fmin): Likewise.
31794 (rint): Likewise.
31795 (rintf): Likewise.
31796 (ceil): Likewise.
31797 (ceilf): Likewise.
31798 (floor): Likewise.
31799 (floorf): Likewise.
31800 (nearbyint): Likewise.
31801 (nearbyintf): Likewise.
31802
d7b4fb26
TS
318032012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31804
31805 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31806 non-default versions.
31807
eb55f5c2
RM
318082012-06-11 Roland McGrath <roland@hack.frob.com>
31809
31810 [BZ #14218]
31811 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31812
366af02c
TS
318132012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31814
99ff6e5c
TS
31815 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31816 (FE_UPWARD, FE_DOWNWARD): Don't define.
31817 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31818 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31819
366af02c
TS
31820 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31821 reading it.
31822 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31823 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31824
793ea851
KK
318252012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31826
31827 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31828 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31829 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31830 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31831
a728a38f
L
318322012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31833
31834 [BZ #14117]
c08010c7
L
31835 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31836 * sysdeps/i386/fpu/Implies: New file.
31837 * sysdeps/x86_64/fpu/Implies: Likewise.
31838 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31839 * sysdeps/x86/fpu/bits/fenv.h: This.
31840
a728a38f
L
31841 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31842 __SSE_MATH__.
31843
6e230d11
SP
318442012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31845
31846 [BZ #14134]
31847 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31848 character 0xffff that matches the last element of the
31849 conversion table.
31850
1b671feb
AZ
318512012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31852
31853 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31854 fmodl commit.
31855
6043738b
AZ
318562012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31857
31858 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31859 values higher than 25.6283.
31860
34ae0b32
AZ
318612012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31862
31863 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31864 subnormal exponent extraction and add some __builtin_expect.
31865 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31866 Fix for subnormal mantissa calculation.
31867
1214ec8f
MF
318682012-06-04 Mike Frysinger <vapier@gentoo.org>
31869
31870 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31871 cpu2 is -1 and errno is not ENOSYS.
31872
f3d1f93c
L
318732012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31874
31875 [BZ #14117]
0e4a3cd7
L
31876 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31877 * sysdeps/x86/bits/string.h: This.
31878 * sysdeps/x86_64/bits/string.h: Removed.
31879
6704c645
L
31880 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31881 if not compiling for x86-64, but compiling for >= i486.
31882
48495318
L
31883 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31884 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31885
14adcbfc
L
31886 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31887 New macro from Linux kernel 3.4.0.
31888 (FP_XSTATE_MAGIC2): Likewise.
31889 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31890 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31891 (struct _fpx_sw_bytes): New struct.
31892 (struct _xsave_hdr): Likewise.
31893 (struct _ymmh_state): Likewise.
31894 (struct _xstate): Likewise.
31895
68e408ab
L
31896 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31897 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31898 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31899 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31900 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31901 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31902
f3d1f93c
L
31903 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31904 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31905 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31906 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31907 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31908 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31909
d9dc34cd
TMQMF
319102012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31911
31912 [BZ #13743]
31913 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31914 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31915 (sysdep_headers): Include sys/platform/ppc.h.
31916 * sysdeps/powerpc/test-gettimebase.c: Test for
31917 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31918 * manual/Makefile (appendices): Include platform.texi.
31919 * manual/contrib.texi (Contributors): Update @node pointers.
31920 * manual/maint.texi (Maintenance): Likewise.
31921 (Platform): New node.
31922 * manual/platform.texi: New file. Document the new features.
31923
4af3879c
SP
319242012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31925 Jakub Jelinek <jakub@redhat.com>
31926
31927 [BZ #14188]
31928 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31929 where __builtin_expect is unavailable.
31930
2fd6ff13
DM
319312012-06-03 David S. Miller <davem@davemloft.net>
31932
31933 * stdlib/longlong.h: Updated from GCC.
31934
173f7220
AS
319352012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31936
31937 [BZ #14042]
31938 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31939 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31940 __mcount_internal.
31941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31942 (GLIBC_2.16): Likewise.
31943
f34a1c6f
L
319442012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31945
31946 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31947
88a4576f
JM
319482012-06-01 Joseph Myers <joseph@codesourcery.com>
31949
ea32bcdd
JM
31950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31951 (default-abi): New variable.
31952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31953 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31954 variable.
31955 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31956 Likewise.
31957 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31958 Likewise.
31959 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31960 Likewise.
31961
88a4576f
JM
31962 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31963 definition. Document in comment.
31964
402fe938
DM
319652012-06-01 David S. Miller <davem@davemloft.net>
31966
31967 * stdlib/longlong.h: Updated from GCC.
31968
3553723f
L
319692012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31970
31971 [BZ #14117]
3bd872c4
L
31972 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31973 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31974 sys/debugreg.h sys/io.h here.
31975 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31976 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31977 sys/io.h.
31978 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31979 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31980 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31981 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31982 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31983 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31984
3553723f
L
31985 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31986 Define only if __x86_64__ is defined.
31987
4842e4fe
JM
319882012-06-01 Joseph Myers <joseph@codesourcery.com>
31989
c5bfe3d5
JM
31990 [BZ #14048]
31991 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31992 Use int64_t for variable i.
31993 * math/libm-test.inc (fmod_test): Add more tests.
31994
4842e4fe
JM
31995 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31996 z computation is not scheduled after fetestexcept.
31997 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31998 Use math_force_eval instead of asm to ensure calculation scheduled
31999 before exception test.
32000 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32001 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32002
efb73488
AJ
320032012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32004
32005 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32006 computation is not scheduled after fetestexcept.
32007
29bcce7c
L
320082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32009
32010 [BZ #14117]
32011 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32012 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32013
73a68f94
AZ
320142012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32015
32016 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32017 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32018
67b6df78
L
320192012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32020
edf2933a 32021 [BZ #14117]
ebc64a18
L
32022 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32023 <bits/wordsize.h>.
32024 (__WCHAR_MIN): Support __WORDSIZE == 64.
32025 (__WCHAR_MAX): Likewise.
32026
edf2933a
L
32027 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32028 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32029
57c6cf40
L
32030 [BZ #14183]
32031 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32032 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32033
67b6df78 32034 [BZ #14117]
8eb6281e
L
32035 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32036 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32037
aac639f4
L
32038 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32039 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32040
67b6df78
L
32041 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32042 Defined to 1 if __x86_64__ isn't defined.
32043 (_STAT_VER_LINUX_OLD): New.
32044 (st_atime): Remove duplicate.
32045 (st_mtime): Likewise.
32046 (st_ctime): Likewise.
32047
1c2cfe81
DM
320482012-05-31 David S. Miller <davem@davemloft.net>
32049
32050 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32051 entries.
32052
5be8418c
AS
320532012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32054
e7725326
AS
32055 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32056 gen-libm-test.pl.
32057
5be8418c
AS
32058 [BZ #14132]
32059 * elf/dl-reloc.c: Include <_itoa.h>.
32060 (_dl_reloc_bad_type): Remove use of INTUSE.
32061 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32062 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32063 * stdio-common/psiginfo.c (psiginfo): Likewise.
32064 * stdio-common/psignal.c (psignal): Likewise.
32065 * string/strsignal.c (strsignal): Likewise.
32066 * include/signal.h (_sys_siglist): Declare hidden proto.
32067 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32068 INTVARDEF with libc_hidden_data_def.
32069 * stdio-common/itoa-udigits.c: Likewise.
32070 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32071 (_itoa_lower_digits_internal): Remove declaration.
32072 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32073 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32074 (_sys_sigabbrev_internal): Remove aliases.
32075 (_sys_siglist): Define hidden alias.
32076
507352f1
MT
320772012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32078
32079 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32080 bits/sysctl.h.
32081
42bbb1c3
L
320822012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32083
32084 [BZ #14117]
6bd784b6
L
32085 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32086 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32087
8bca20f0
L
32088 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32089 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32090 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32091 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32092 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32093 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32094
f9e890a9
L
32095 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32096 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32097 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32098
471101a1
L
32099 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32100 with __addr.
32101 (insw): Likewise.
32102 (insl): Likewise.
32103 (outsb): Likewise.
32104 (outsw): Likewise.
32105 (outsl): Likewise.
32106
6451c862
L
32107 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32108 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32109 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32110
a254b8c9
L
32111 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32112 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32113 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32114 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32115 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32116 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32117
b8dfdd92
L
32118 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32119 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32120
578cd270
L
32121 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32122 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32123
de662f5f
L
32124 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32125 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32126 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32127
25653439
L
32128 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32129 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32130 to ...
32131 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32132
6bad24a0
L
32133 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32134 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32135 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32136
42bbb1c3
L
32137 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32138 for x86-64.
32139 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32140
2d10d547
JM
321412012-05-31 Joseph Myers <joseph@codesourcery.com>
32142
32143 * math/math.h (M_El): Use two more decimal places.
32144 (M_LOG2El): Likewise.
32145 (M_LOG10El): Likewise.
32146 (M_LN2l): Likewise.
32147 (M_LN10l): Likewise.
32148 (M_PIl): Likewise.
32149 (M_PI_2l): Likewise.
32150 (M_PI_4l): Likewise.
32151 (M_1_PIl): Likewise.
32152 (M_2_PIl): Likewise.
32153 (M_2_SQRTPIl): Likewise.
32154 (M_SQRT2l): Likewise.
32155 (M_SQRT1_2l): Likewise.
32156
f230c29b
DM
321572012-05-31 David S. Miller <davem@davemloft.net>
32158
32159 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32160 values between float registers.
32161 * sysdeps/sparc/sparc64/memset.S: Likewise.
32162 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32163
fed806c3
MF
321642012-05-31 Mike Frysinger <vapier@gentoo.org>
32165
32166 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32167 -D_FORTIFY_SOURCE=1.
32168 (CPPFLAGS-tst-longjmp_chk.c): Define.
32169 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32170 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32171 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32172 CFLAGS-tst-wchar-h.c.
32173
30917259
MP
321742012-05-31 Marek Polacek <polacek@redhat.com>
32175
32176 [BZ #14132]
32177 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32178 __endmntent_internal): Remove declaration.
32179 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32180 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32181 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32182
1c58d5dc
DM
321832012-05-30 David S. Miller <davem@davemloft.net>
32184
32185 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32186 (___Q_simulate_exceptions): Use real FP ops rather than writing
32187 into the %fsr.
32188 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32189 Likewise.
32190
7dc00e0d
L
321912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32192
32193 [BZ #14117]
0bd53985
L
32194 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32195 * sysdeps/x86/bits/xtitypes.h: This.
32196
3a257e66
L
32197 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32198 * sysdeps/x86/bits/wordsize.h: This.
32199
62f62904
L
32200 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32201 * sysdeps/x86/bits/huge_vall.h: This.
32202
404fe9d9
L
32203 * sysdeps/i386/bits/select.h: Removed.
32204 * sysdeps/x86_64/bits/select.h: Renamed to ...
32205 * sysdeps/x86/bits/select.h: This.
32206
d48d0446
L
32207 * sysdeps/i386/bits/setjmp.h: Removed.
32208 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32209 * sysdeps/x86/bits/setjmp.h: This.
32210
7dc00e0d
L
32211 * sysdeps/i386/bits/mathdef.h: Removed.
32212 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32213 * sysdeps/x86/bits/mathdef.h: This.
32214
03277f8f
AS
322152012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32216
32217 [BZ #14132]
32218 * include/sys/socket.h (__connect_internal)
32219 (__libc_sa_len_internal): Remove declaration.
32220 (__connect, __libc_sa_len): Declare hidden_proto.
32221 (SA_LEN): Remove use of INTUSE.
32222 * socket/connect.c: Add libc_hidden_def.
32223 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32224 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32225 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32226 alias.
32227 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32228 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32229 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32230 of adding _internal alias.
32231
13764867
L
322322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32233
32234 [BZ #14117]
6bd97696
L
32235 * sysdeps/i386/bits/link.h: Removed.
32236 * sysdeps/i386/bits/linkmap.h: Likewise.
32237 * sysdeps/x86_64/bits/link.h: Renamed to ...
32238 * sysdeps/x86/bits/link.h: This.
32239 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32240 * sysdeps/x86/bits/linkmap.h: This.
32241
f726f0bb
L
32242 * sysdeps/i386/bits/endian.h: Removed.
32243 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32244 * sysdeps/x86/bits/endian.h: This.
32245
13764867
L
32246 * sysdeps/i386/bits/byteswap.h: Removed.
32247 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32248 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32249 * sysdeps/x86/bits/byteswap.h: This.
32250 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32251 * sysdeps/x86/bits/byteswap-16.h: This.
32252 * sysdeps/i386/Implies: Add x86.
32253 * sysdeps/x86_64/Implies: Likewise.
32254
ae251b0b
DM
322552012-05-30 David S. Miller <davem@davemloft.net>
32256
32257 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32258 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32259 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32260 (FP_TRAPPING_EXCEPTIONS): Define.
32261 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32262 (FP_TRAPPING_EXCEPTIONS): Define.
32263 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32264 subnormals only when inexact has been signalled or underflow
32265 exceptions are enabled.
32266 (_FP_PACK_CANONICAL): Likewise.
32267
d5c90867
L
322682012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32269
32270 [BZ #14183]
32271 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32272 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32273
63f1549e
RH
322742012-05-30 Richard Henderson <rth@twiddle.net>
32275
8d8f2279
RH
32276 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32277 with #ifndef NOT_IN_libc.
32278
63f1549e
RH
32279 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32280 marked to avoid plt entry.
32281
0ab0291b
L
322822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32283
32284 [BZ #14112]
32285 * Makeconfig (default-abi): New macro.
32286 (abi-includes): Likewise.
32287 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32288 $(abi-$(default-abi)-lib-soname) for soname if defined.
32289 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32290 abi-variants.
32291 * Makefile (installed-stubs): Likewise.
32292 * include/stubs-biarch.h: Removed.
32293 * scripts/lib-names.awk: Only handle one library at a time.
32294 * scripts/soversions.awk: Remove WORDSIZE support.
32295 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32296 entries.
32297 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32298 Removed.
32299 (syscall-list-default-condition): Likewise.
32300 (syscall-list-default-condition): Likewise.
32301 (syscall-list-includes): Likewise.
32302 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32303 syscall-list-* with abi-*. Handle undefined abi-variants.
32304 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32305 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32306 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32307 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32308 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32309 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32310 Removed.
32311 (syscall-list-32-options): Likewise.
32312 (syscall-list-32-condition): Likewise.
32313 (syscall-list-64-options): Likewise.
32314 (syscall-list-64-condition): Likewise.
32315 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32316 macro.
32317 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32318 Renamed to ...
32319 (abi-*): This.
32320 (abi-64-ld-soname): New macro.
32321 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32322 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32323 Renamed to ...
32324 (abi-*): This.
32325 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32326 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32327
4da0431d
JM
323282012-05-30 Joseph Myers <joseph@codesourcery.com>
32329
3a85279c
JM
32330 * sysdeps/unix/sysv/linux/kernel-features.h
32331 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32332 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32333 include <kernel-features.h>.
32334 [!__NR_ftruncate64]: Remove conditional code.
32335 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32336 [__NR_ftruncate64]: Make code unconditional.
32337 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32338 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32339 include <kernel-features.h>.
32340 [!__NR_ftruncate64]: Remove conditional code.
32341 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32342 [__NR_ftruncate64]: Make code unconditional.
32343 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32345 include <kernel-features.h>.
32346 [!__NR_ftruncate64]: Remove conditional code.
32347 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32348 [__NR_ftruncate64]: Make code unconditional.
32349 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32351 include <kernel-features.h>.
32352 [!__NR_ftruncate64]: Remove conditional code.
32353 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32354 [__NR_ftruncate64]: Make code unconditional.
32355 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32356
4da0431d
JM
32357 * configure.in (libc_cv_fpie): Weaken to a compile test using
32358 LIBC_TRY_CC_OPTION.
32359 * configure: Regenerated.
32360
11ef492c
AK
323612012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32362
32363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32367 Refreshed.
32368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32374 Refreshed.
32375
d66ef399
DM
323762012-05-27 David S. Miller <davem@davemloft.net>
32377
32378 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32379 (___Q_zero): New.
32380 (__Q_simulate_exceptions): Return void. Change to simulate
32381 exceptions by writing into the %fsr.
32382 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32383 (__Qp_handle_exceptions): Likewise.
32384 (numbers): Delete.
32385 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32386 __Qp_handle_exceptions.
32387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32388 __Qp_handle_exceptions.
32389 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32390 as unused and give dummy FP_RND_NEAREST initializer.
32391 (FP_INHIBIT_RESULTS): Define.
32392 (___Q_simulate_exceptions): Update declaration.
32393 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32394 formatting.
32395 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32396 as unused and give dummy FP_RND_NEAREST initializer.
32397 (__Qp_handle_exceptions): Update declaration.
32398 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32399 formatting.
32400
04fb54b5
TS
324012012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32402
32403 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32404 the temporary FPU control word.
32405 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32406 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32407 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32408 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32409 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32410 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32411 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32412 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32413 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32414 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32415 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32416
3f99608f
KK
324172012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32418
32419 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32420 fields.
32421
65a4de4e
CLT
324222012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32423
32424 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32425 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32426 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32427 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32428 Likewise.
32429 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32430 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32431 Likewise.
32432
15749d40
UD
324332012-05-27 Ulrich Drepper <drepper@gmail.com>
32434
32435 * po/h.po: Update from translation team.
32436
25dbcb27
AS
324372012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32438
3d3f8e55
AS
32439 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32440
25dbcb27
AS
32441 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32442 handling of denormals.
32443 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32444 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32445 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32446 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32447 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32448 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32449 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32450 Likewise.
32451
7ad47a80 324522012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
32453
32454 [BZ #14152]
32455 * math/libm-test.inc (fma_test): Don't always expect underflow
32456 exception.
32457
9c6ea9fa
SP
324582012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32459
32460 [BZ #12416]
32461 * elf/tst-execstack.c: Include stackinfo.h.
32462 (do_test): Adjust test case to ensure that pthread_getattr_np
32463 behaviour remains the same after marking stack executable.
32464
a8239222
JM
324652012-05-25 Joseph Myers <joseph@codesourcery.com>
32466
32467 * sysdeps/unix/sysv/linux/kernel-features.h
32468 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32469 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32470 kernel-features.h.
32471 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32472 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32473 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32474 kernel-features.h.
32475 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32476 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32477
918b5606
L
324782012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32479
32480 * configure.in: Define the default includes to being none.
32481 * configure: Regenerated.
32482
3a097cc7
RM
324832012-05-25 Roland McGrath <roland@hack.frob.com>
32484
8422c9a5
RM
32485 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32486 * sysdeps/x86_64/setjmp.S: Likewise.
32487 * sysdeps/i386/bsd-setjmp.S: Likewise.
32488 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32489 * sysdeps/i386/setjmp.S: Likewise.
32490 * sysdeps/i386/__longjmp.S: Likewise.
32491 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32492 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32493
3a097cc7
RM
32494 * include/stap-probe.h: New file.
32495 * configure.in: Handle --enable-systemtap.
32496 * configure: Regenerated.
32497 * config.h.in (USE_STAP_PROBE): New #undef.
32498 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32499 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32500 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32501
21708942
JM
325022012-05-25 Joseph Myers <joseph@codesourcery.com>
32503
32504 [BZ #13717]
32505 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32506 to 2.4.0 where earlier.
32507 * sysdeps/unix/sysv/linux/configure: Regenerated.
32508 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32509 <kernel-features.h>.
32510 [__ASSUME_32BITUIDS]: Make code unconditional.
32511 [!__ASSUME_32BITUIDS]: Remove conditional code.
32512 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32513 <kernel-features.h>.
32514 [__ASSUME_32BITUIDS]: Make code unconditional.
32515 [!__ASSUME_32BITUIDS]: Remove conditional code.
32516 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32517 [__ASSUME_32BITUIDS]: Make code unconditional.
32518 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32519 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32520 <kernel-features.h>.
32521 [__ASSUME_32BITUIDS]: Make code unconditional.
32522 [!__ASSUME_32BITUIDS]: Remove conditional code.
32523 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32524 <kernel-features.h>.
32525 [__ASSUME_32BITUIDS]: Make code unconditional.
32526 [!__ASSUME_32BITUIDS]: Remove conditional code.
32527 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32528 <kernel-features.h>.
32529 [__ASSUME_32BITUIDS]: Make code unconditional.
32530 [!__ASSUME_32BITUIDS]: Remove conditional code.
32531 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32532 <kernel-features.h>.
32533 [__ASSUME_32BITUIDS]: Make code unconditional.
32534 [!__ASSUME_32BITUIDS]: Remove conditional code.
32535 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32536 <kernel-features.h>.
32537 [__ASSUME_32BITUIDS]: Make code unconditional.
32538 [!__ASSUME_32BITUIDS]: Remove conditional code.
32539 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32540 <kernel-features.h>.
32541 [__ASSUME_32BITUIDS]: Make code unconditional.
32542 [!__ASSUME_32BITUIDS]: Remove conditional code.
32543 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32544 <kernel-features.h>.
32545 [__ASSUME_32BITUIDS]: Make code unconditional.
32546 [!__ASSUME_32BITUIDS]: Remove conditional code.
32547 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32548 <kernel-features.h>.
32549 [__ASSUME_32BITUIDS]: Make code unconditional.
32550 [!__ASSUME_32BITUIDS]: Remove conditional code.
32551 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32552 <kernel-features.h>.
32553 [__ASSUME_32BITUIDS]: Make code unconditional.
32554 [!__ASSUME_32BITUIDS]: Remove conditional code.
32555 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32556 <kernel-features.h>.
32557 [__ASSUME_32BITUIDS]: Make code unconditional.
32558 [!__ASSUME_32BITUIDS]: Remove conditional code.
32559 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32560 <kernel-features.h>.
32561 [__NR_setresgid] (__setresgid): Do not declare.
32562 [__ASSUME_32BITUIDS]: Make code unconditional.
32563 [!__ASSUME_32BITUIDS]: Remove conditional code.
32564 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32565 <kernel-features.h>.
32566 [__NR_setresuid] (__setresuid): Do not declare.
32567 [__ASSUME_32BITUIDS]: Make code unconditional.
32568 [!__ASSUME_32BITUIDS]: Remove conditional code.
32569 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32570 <kernel-features.h>.
32571 [__ASSUME_32BITUIDS]: Make code unconditional.
32572 [!__ASSUME_32BITUIDS]: Remove conditional code.
32573 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32574 <kernel-features.h>.
32575 [__ASSUME_32BITUIDS]: Make code unconditional.
32576 [!__ASSUME_32BITUIDS]: Remove conditional code.
32577 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32578 <kernel-features.h>.
32579 [__ASSUME_32BITUIDS]: Make code unconditional.
32580 [!__ASSUME_32BITUIDS]: Remove conditional code.
32581 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32582 <kernel-features.h>.
32583 [__ASSUME_32BITUIDS]: Make code unconditional.
32584 [!__ASSUME_32BITUIDS]: Remove conditional code.
32585 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32586 <kernel-features.h>.
32587 [__ASSUME_32BITUIDS]: Make code unconditional.
32588 [!__ASSUME_32BITUIDS]: Remove conditional code.
32589 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32590 <kernel-features.h>.
32591 [__ASSUME_32BITUIDS]: Make code unconditional.
32592 [!__ASSUME_32BITUIDS]: Remove conditional code.
32593 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32594 <kernel-features.h>.
32595 [__ASSUME_32BITUIDS]: Make code unconditional.
32596 [!__ASSUME_32BITUIDS]: Remove conditional code.
32597 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32598 <kernel-features.h>.
32599 [__ASSUME_32BITUIDS]: Make code unconditional.
32600 [!__ASSUME_32BITUIDS]: Remove conditional code.
32601 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32602 <kernel-features.h>.
32603 [__ASSUME_32BITUIDS]: Make code unconditional.
32604 [!__ASSUME_32BITUIDS]: Remove conditional code.
32605 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32606 <kernel-features.h>.
32607 [__ASSUME_32BITUIDS]: Make code unconditional.
32608 [!__ASSUME_32BITUIDS]: Remove conditional code.
32609 * sysdeps/unix/sysv/linux/kernel-features.h
32610 (__ASSUME_SETRESUID_SYSCALL): Remove.
32611 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32612 (__ASSUME_32BITUIDS): Likewise.
32613 (__ASSUME_LDT_WORKS): Likewise.
32614 (__ASSUME_O_DIRECTORY): Likewise.
32615 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32616 architecture but not kernel version.
32617 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32618 (__ASSUME_MMAP2_SYSCALL): Likewise.
32619 (__ASSUME_STAT64_SYSCALL): Likewise.
32620 (__ASSUME_IPC64): Likewise.
32621 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32622 <kernel-features.h>.
32623 [__ASSUME_32BITUIDS]: Make code unconditional.
32624 [!__ASSUME_32BITUIDS]: Remove conditional code.
32625 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32626 <kernel-features.h>.
32627 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32628 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32629 132096]: Remove conditional code.
32630 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32631 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32632 <kernel-features.h>.
32633 [__ASSUME_32BITUIDS]: Make code unconditional.
32634 [!__ASSUME_32BITUIDS]: Remove conditional code.
32635 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32636 <kernel-features.h>.
32637 [__ASSUME_32BITUIDS]: Make code unconditional.
32638 [!__ASSUME_32BITUIDS]: Remove conditional code.
32639 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32640 <kernel-features.h>.
32641 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32642 unconditional.
32643 (__setresgid): Do not declare.
32644 [__ASSUME_32BITUIDS]: Make code unconditional.
32645 [!__ASSUME_32BITUIDS]: Remove conditional code.
32646 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32647 <kernel-features.h>.
32648 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32649 unconditional.
32650 (__setresuid): Do not declare.
32651 [__ASSUME_32BITUIDS]: Make code unconditional.
32652 [!__ASSUME_32BITUIDS]: Remove conditional code.
32653 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32654 <kernel-features.h>.
32655 [__ASSUME_32BITUIDS]: Make code unconditional.
32656 [!__ASSUME_32BITUIDS]: Remove conditional code.
32657 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32658 <kernel-features.h>.
32659 [__ASSUME_32BITUIDS]: Make code unconditional.
32660 [!__ASSUME_32BITUIDS]: Remove conditional code.
32661
a386f1cc
RH
326622012-05-25 Richard Henderson <rth@twiddle.net>
32663
32664 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32665 dl_hwcap to ifunc resolver.
32666 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32667 elf_ifunc_invoke.
32668 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32669 dl_hwcap to ifunc resolver.
32670 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32671
b6550497
JM
326722012-05-24 Joseph Myers <joseph@codesourcery.com>
32673
32674 [BZ #14153]
32675 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32676 for |x| <= 2**-26, not 2**-57.
32677 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32678 exception.
32679
b0bc23a1
JL
326802012-05-24 Jeff Law <law@redhat.com>
32681
32682 * stdio-common/Makefile (tests): Add bug25.
32683 * stdio-common/bug25.c: New test.
32684
347c92e9
L
326852012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32686
32687 [BZ #13576]
32688 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32689 multiple of MALLOC_ALIGNMENT in size.
32690 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32691
6bcc8b3f
JM
326922012-05-24 Joseph Myers <joseph@codesourcery.com>
32693
32694 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32695 Require >= 256.
32696 (FILENAME_MAX): Use macro-int-constant.
32697 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32698 (_IOFBF): Use macro-int-constant.
32699 (_IOLBF): Likewise.
32700 (_IONBF): Likewise.
32701 (SEEK_CUR): Likewise.
32702 (SEEK_END): Likewise.
32703 (SEEK_SET): Likewise.
32704 (TMP_MAX): Likewise.
32705 (EOF): Use macro-int-constant. Require < 0.
32706 (NULL): Use macro-constant. Require == 0.
32707 (stdin): Require type to be FILE *.
32708 (stdout): Likewise.
32709 (stderr): Likewise.
32710 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32711 macro-int-constant.
32712 (EXIT_SUCCESS): Likewise.
32713 (NULL): Use macro-constant. Require == 0.
32714 (RAND_MAX): Use macro-int-constant.
32715 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32716 [C99-based standards] (strtof): Require function.
32717 [C99-based standards] (strtold): Likewise.
32718 [C99-based standards] (strtoll): Likewise.
32719 [C99-based standards] (strtoull): Likewise.
32720 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32721 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32722 [ISO || ISO99 || ISO11] (math.h): Likewise.
32723 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32724 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32725 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32726
d18ea0c5
AS
327272012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32728
32729 [BZ #14132]
56d25bb8
AS
32730 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32731 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32732 * intl/dgettext.c (DCGETTEXT): Likewise.
32733 * intl/gettext.c (DCGETTEXT): Likewise.
32734 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32735 * posix/regex_internal.h (gettext): Likewise.
32736 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32737 Remove declaration.
32738 * include/argz.h (__argz_count_internal)
32739 (__argz_stringify_internal): Remove declaration.
32740 (__argz_count, __argz_stringify): Declare hidden proto.
32741 * intl/dcgettext.c: Remove use of INTDEF.
32742 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32743 * string/argz-stringify.c: Likewise.
32744 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32745 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32746 Declare hidden proto.
d18ea0c5
AS
32747 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32748 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32749 Declare hidden proto.
32750 * include/stdio.h (__asprintf_internal): Don't declare.
32751 (__asprintf): Don't define as macro. Declare hidden proto.
32752 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32753 (__fsetlocking): Declare hidden proto.
32754 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32755 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32756 hidden proto.
32757 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32758 (_IO_setlinebuf): Remove use of INTUSE.
32759 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32760 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32761 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32762 Remove declaration.
32763 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32764 (_IO_do_flush): Remove use of INTUSE.
32765 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32766 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32767 (_IO_adjust_column, _IO_least_wmarker)
32768 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32769 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32770 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32771 (_IO_default_doallocate, _IO_wdefault_doallocate)
32772 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32773 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32774 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32775 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32776 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32777 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32778 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32779 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32780 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32781 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32782 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32783 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32784 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32785 proto.
32786 (_IO_flush_all_internal, _IO_adjust_column_internal)
32787 (_IO_default_uflow_internal, _IO_default_finish_internal)
32788 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32789 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32790 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32791 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32792 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32793 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32794 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32795 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32796 (_IO_file_close_internal, _IO_file_close_it_internal)
32797 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32798 (_IO_file_init_internal, _IO_file_attach_internal)
32799 (_IO_file_fopen_internal, _IO_file_read_internal)
32800 (_IO_file_sync_internal, _IO_file_seek_internal)
32801 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32802 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32803 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32804 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32805 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32806 (_IO_list_all_internal, _IO_link_in_internal)
32807 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32808 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32809 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32810 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32811 (_IO_do_write_internal, _IO_padn_internal)
32812 (_IO_getline_info_internal, _IO_getline_internal)
32813 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32814 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32815 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32816 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32817 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32818 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32819 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32820 with libc_hidden_ver, remove use of INTUSE.
32821 * libio/genops.c: Likewise.
32822 * libio/freopen.c: Likewise.
32823 * libio/freopen64.c: Likewise.
32824 * libio/iofclose.c: Likewise.
32825 * libio/iofdopen.c: Likewise.
32826 * libio/iofflush.c: Likewise.
32827 * libio/iofflush_u.c: Likewise.
32828 * libio/iofgets.c: Likewise.
32829 * libio/iofgets_u.c: Likewise.
32830 * libio/iofopen.c: Likewise.
32831 * libio/iofopncook.c: Likewise.
32832 * libio/iofread.c: Likewise.
32833 * libio/iofread_u.c: Likewise.
32834 * libio/ioftell.c: Likewise.
32835 * libio/iofwrite.c: Likewise.
32836 * libio/iogetline.c: Likewise.
32837 * libio/iogets.c: Likewise.
32838 * libio/iogetwline.c: Likewise.
32839 * libio/iopadn.c: Likewise.
32840 * libio/iopopen.c: Likewise.
32841 * libio/ioseekoff.c: Likewise.
32842 * libio/ioseekpos.c: Likewise.
32843 * libio/iosetbuffer.c: Likewise.
32844 * libio/iosetvbuf.c: Likewise.
32845 * libio/ioungetc.c: Likewise.
32846 * libio/ioungetwc.c: Likewise.
32847 * libio/iovdprintf.c: Likewise.
32848 * libio/iovsprintf.c: Likewise.
32849 * libio/iovsscanf.c: Likewise.
32850 * libio/memstream.c: Likewise.
32851 * libio/obprintf.c: Likewise.
32852 * libio/oldfileops.c: Likewise.
32853 * libio/oldiofclose.c: Likewise.
32854 * libio/oldiofdopen.c: Likewise.
32855 * libio/oldiofopen.c: Likewise.
32856 * libio/oldiopopen.c: Likewise.
32857 * libio/oldstdfiles.c: Likewise.
32858 * libio/putc.c: Likewise.
32859 * libio/setbuf.c: Likewise.
32860 * libio/setlinebuf.c: Likewise.
32861 * libio/stdfiles.c: Likewise.
32862 * libio/strops.c: Likewise.
32863 * libio/vasprintf.c: Likewise.
32864 * libio/vscanf.c: Likewise.
32865 * libio/vsnprintf.c: Likewise.
32866 * libio/vswprintf.c: Likewise.
32867 * libio/wfiledoalloc.c: Likewise.
32868 * libio/wfileops.c: Likewise.
32869 * libio/wgenops.c: Likewise.
32870 * libio/wmemstream.c: Likewise.
32871 * libio/wstrops.c: Likewise.
32872 * libio/__fpurge.c: Likewise.
32873 * libio/__fsetlocking.c: Likewise.
32874 * assert/assert.c: Likewise.
32875 * debug/fgets_chk.c: Likewise.
32876 * debug/fgets_u_chk.c: Likewise.
32877 * debug/fread_chk.c: Likewise.
32878 * debug/fread_u_chk.c: Likewise.
32879 * debug/gets_chk.c: Likewise.
32880 * debug/obprintf_chk.c: Likewise.
32881 * debug/vasprintf_chk.c: Likewise.
32882 * debug/vdprintf_chk.c: Likewise.
32883 * debug/vsnprintf_chk.c: Likewise.
32884 * debug/vsprintf_chk.c: Likewise.
32885 * malloc/mtrace.c: Likewise.
32886 * misc/error.c: Likewise.
32887 * misc/syslog.c: Likewise.
32888 * stdio-common/asprintf.c: Likewise.
32889 * stdio-common/fxprintf.c: Likewise.
32890 * stdio-common/getw.c: Likewise.
32891 * stdio-common/isoc99_fscanf.c: Likewise.
32892 * stdio-common/isoc99_scanf.c: Likewise.
32893 * stdio-common/isoc99_vfscanf.c: Likewise.
32894 * stdio-common/isoc99_vscanf.c: Likewise.
32895 * stdio-common/isoc99_vsscanf.c: Likewise.
32896 * stdio-common/printf-prs.c: Likewise.
32897 * stdio-common/printf_fp.c: Likewise.
32898 * stdio-common/printf_fphex.c: Likewise.
32899 * stdio-common/printf_size.c: Likewise.
32900 * stdio-common/putw.c: Likewise.
32901 * stdio-common/scanf.c: Likewise.
32902 * stdio-common/sprintf.c: Likewise.
32903 * stdio-common/tmpfile.c: Likewise.
32904 * stdio-common/vfprintf.c: Likewise.
32905 * stdio-common/vfscanf.c: Likewise.
32906 * stdlib/strfmon_l.c: Likewise.
32907 * sunrpc/openchild.c: Likewise.
32908 * sunrpc/xdr_stdio.c: Likewise.
32909 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32910 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32911
d6c33fda
RM
329122012-05-24 Roland McGrath <roland@hack.frob.com>
32913
c1487492
RM
32914 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32915
32916 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32917 in the third column, to generate for the shared library an IFUNC
32918 that uses _dl_vdso_vsym.
32919 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32920 * Makeconfig (object-suffixes-noshared): New variable.
32921
32922 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32923 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32924 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32925 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32926
d6c33fda
RM
32927 [BZ #14132]
32928 * include/sys/time.h (__gettimeofday): Remove macro.
32929 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32930 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32931 Remove INTDEF.
32932 (__gettimeofday): Add libc_hidden_def.
32933 (gettimeofday): Add libc_hidden_weak.
32934 * sysdeps/mach/gettimeofday.c: Likewise.
32935 * sysdeps/posix/gettimeofday.c: Likewise.
32936 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32937 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32938 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32939 (__gettimeofday_internal): Remove strong_alias.
32940 (__gettimeofday): Add libc_hidden_def.
32941 (gettimeofday): Add libc_hidden_weak.
32942 * sysdeps/unix/syscalls.list (gettimeofday):
32943 Remove __gettimeofday_internal alias.
32944
b5a2bbe6
L
329452012-05-24 Daniel Jacobowitz <drow@false.org>
32946 H.J. Lu <hongjiu.lu@intel.com>
32947
32948 [BZ #12495]
32949 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32950 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32951 (largebin_index_32_big): New.
32952 (largebin_index): Use it for 16-byte alignment.
32953 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32954 correction with front_misalign.
32955
cfba4fda
L
329562012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32957
7f907421
L
32958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32960 Likewise.
32961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32962 Likewise.
32963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32964 Likewise.
32965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32966 Likewise.
32967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32968 Likewise.
32969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32970 Likewise.
32971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32972 Likewise.
32973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32974 Likewise.
32975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32976 Likewise.
32977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32978 Likewise.
32979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32980 Likewise.
32981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32982 Likewise.
32983
cfba4fda
L
32984 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32985 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32986
80bad0cc
JM
329872012-05-24 Joseph Myers <joseph@codesourcery.com>
32988
7a25eb06
JM
32989 [BZ #10846]
32990 [BZ #14036]
32991 * math/libm-test.inc (exp_test): Add test from bug 14036.
32992 (pow_test): Add test from bug 10846.
32993
795405f9
JM
32994 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32995 and other flags.
32996 (special_function): Do not include flags in test name.
32997 (parse_args): Likewise.
32998 * sysdeps/i386/fpu/libm-test-ulps: Update.
32999 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33000 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33001 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33003
80bad0cc
JM
33004 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33005 exceptions.
33006 * math/libm-test.inc ("Philosophy"): Update comment about
33007 exception testing.
33008 (UNDERFLOW_EXCEPTION): New macro.
33009 (UNDERFLOW_EXCEPTION_OK): Likewise.
33010 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33011 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33012 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33013 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33014 (INVALID_EXCEPTION_OK): Update value.
33015 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33016 (OVERFLOW_EXCEPTION_OK): Likewise.
33017 (IGNORE_ZERO_INF_SIGN): Likewise.
33018 (test_exceptions): Handle underflow exceptions.
33019 (acos_test): Update for underflow exception expectations.
33020 (cexp_test): Likewise.
33021 (clog_test): Likewise.
33022 (clog10_test): Likewise.
33023 (csqrt_test): Likewise.
33024 (ctan_test): Likewise.
33025 (ctanh_test): Likewise.
33026 (exp_test): Likewise.
33027 (exp10_test): Likewise.
33028 (exp2_test): Likewise.
33029 (expm1_test): Likewise.
33030 (fma_test): Likewise.
33031 (j0_test): Likewise.
33032 (jn_test): Likewise.
33033 (nexttoward_test): Likewise.
33034 (pow_test): Likewise.
33035 (scalbn_test): Likewise.
33036 (scalbln_test): Likewise.
33037 (tan_test): Likewise.
33038 (y1_test): Likewise.
33039 * sysdeps/i386/fpu/libm-test-ulps: Update.
33040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33041
9e0e3d0b
DM
330422012-05-23 David S. Miller <davem@davemloft.net>
33043
33044 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33045 (__libc_sigaction): Remove unused local variables.
33046
ccd0a08f
L
330472012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33048
33049 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33050
62bdf9a6
PE
330512012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33052
f8591f80
PE
33053 mktime: avoid signed integer overflow
33054 * time/mktime.c (__mktime_internal): Do not mishandle the case
33055 where diff == INT_MIN.
33056
94c7d826
PE
33057 mktime: simplify computation of average
33058 * time/mktime.c (ranged_convert): Use new time_t_avg function
33059 instead of rolling our own (probably-slower) code.
33060
ce73d683
PE
33061 mktime: do not assume signed right shift propagates sign bit
33062 * time/mktime.c (isdst_differ): New static function.
33063 (__mktime_internal): No need to normalize tm_isdst now.
33064 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33065 tm_isdst values.
33066
72a22e59
PE
33067 mktime: merge another wrapv change from gnulib
33068 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33069 from some compilers.
33070
68605433
PE
33071 mktime: remove incorrect attempt at unusual arithmetics
33072 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33073 The code didn't really work on such machines anyway.
33074 (TYPE_MINIMUM): Assume two's complement.
33075 (twos_complement_arithmetic): Verify that long_int and time_t
33076 are two's complement (or unsigned, in the latter case).
33077
03cf7fe3
PE
33078 mktime: check signed shifts on long_int and time_t, too
33079 * time/mktime.c (SHR): Check that shifts work as desired
33080 on the types long_int and time_t too, as SHR is used on
33081 such types.
33082
f04dfbc2
PE
33083 mktime: do not assume 'long' is wide enough
33084 * time/mktime.c (verify): Move decl up.
33085 (long_int): New type.
33086 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33087 to remove assumption in the code that 'long' is wide enough to
33088 store year values. This assumption is not true on x32 and on
33089 some non-glibc platforms.
33090
62bdf9a6
PE
33091 mktime: merge wrapv change from gnulib
33092 * time/mktime.c (WRAPV): New macro.
33093 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33094 (guess_time_tm, __mktime_internal): Do not assume that signed
33095 integer overflow wraps around; modern compilers generate code
33096 where this assumption is no longer valid.
33097
5e292e4f
L
330982012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33099
33100 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33101 Replace "jmp L(pseudo_end)" with "ret".
33102 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33103 Likewise.
33104
8caf8c87
AJ
331052012-05-23 Andreas Jaeger <aj@suse.de>
33106
33107 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33108 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33109
1a09dc56
AJ
331102012-05-23 Andreas Jaeger <aj@suse.de>
33111 Maximilian Attems <max@stro.at>
33112
33113 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33114 New macros.
33115
1c87aba0
L
331162012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33117
33118 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33119 code so that pseudo_end is just ret and the stack pointer is
33120 correct also for static library in error case.
33121
40e45bd5
JM
331222012-05-23 Joseph Myers <joseph@codesourcery.com>
33123
c2670533
JM
33124 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33125 move to syscalls.list.
33126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33130
40e45bd5
JM
33131 * manual/install.texi (Running make install): Do not mention Linux
33132 kernel version for which pt_chown is not needed.
33133 (Linux): Do not mention problems with nscd with 2.0 kernels.
33134 * INSTALL: Regenerated.
33135
be08eda5
AJ
331362012-05-23 Andreas Jaeger <aj@suse.de>
33137
33138 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33139 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33140 macro.
33141 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33142 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33143 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33144 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33145 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33146 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33147 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33148 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33149 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33150 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33151 * sysdeps/unix/sysv/linux/bits/in.h
33152 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33153
a6a056bb
RM
331542012-05-22 Roland McGrath <roland@hack.frob.com>
33155
33156 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33157 (PREPARE_VERSION): Just use assert instead, it will be elided
33158 under [NDEBUG] anyway.
33159
c9009328
L
331602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33161
33162 * sysdeps/unix/sysv/linux/Makefile: Include
33163 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 33164 (sysdep_routines): Remove sysctl.
c9009328
L
33165 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33166 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33167 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33168 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33169 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33170
73338355
AJ
331712012-05-22 Andreas Jaeger <aj@suse.de>
33172
33173 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33174 that pseudo_end is just ret and the stack pointer is correct also
33175 for static library in error case.
33176
d44638b0
PP
331772012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33178
33179 [BZ #14122]
33180 * nss/nsswitch.c (defconfig_entries): New variable.
33181 (__nss_database_lookup): Don't leak defconfig entries.
33182 (nss_parse_service_list): Don't leak on error paths.
33183 (free_database_entries): New function.
33184 (free_defconfig): New function.
33185 (free_mem): Move common code to free_database_entries.
33186
31a39bd8
L
331872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33188
da0331a8
L
33189 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33190 Add arch_prctl.
33191 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33192
31a39bd8
L
33193 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33194 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33195 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33196 New macro.
33197 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33198 (INTERNAL_SYSCALL_TYPES): Likewise.
33199 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33200 (LOAD_REGS_TYPES_[1-6]): Likewise.
33201 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33202 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33203
45470df3
AZ
332042012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33205
33206 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33207 copysignl for GLIBC_2_0.
33208 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33209 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33210 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33211 logbl for GLIBC_2_0.
33212 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33213 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33214
98a61bcb
L
332152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33216
a4f6e481
L
33217 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33218 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33219
f63d5db6
L
33220 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33221 Use "neg %eax".
33222
98a61bcb
L
33223 * time/mktime.c: Update copyright years.
33224
95770f14
PE
332252012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33226
6226efbd
PE
33227 mktime: merge comment-quoting-style change from gnulib
33228 * time/mktime.c: Quote 'like this' in comments.
33229 The GNU coding standards suggest that we no longer quote `like this',
33230 as "`" and "'" are typically rendered asymmetrically nowadays.
33231 The typical gnulib style is to quote 'like this' when quoting
33232 code, and "like this" when quoting English.
33233
b99e4f78
PE
33234 * time/mktime.c (compile-command): Add "-I.".
33235
643e01e6
PE
33236 mktime: merge mktime-internal.h change from gnulib
33237 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33238
2554247d
PE
33239 mktime: merge time_r change from gnulib
33240 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33241
826dd0ab
PE
33242 mktime: merge DEBUG change from gnulib
33243 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33244 case system <time.h> has a #define.
33245
bd83aabe
PE
33246 mktime: merge <sys/types.h> change from gnulib
33247 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33248 since <time.t> is now guaranteed to define time_t.
33249
95770f14
PE
33250 mktime: merge HAVE_CONFIG_H change from gnulib
33251 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33252
5e1a27a9
L
332532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33254
0e44a77e
L
33255 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33256 Use "neg %eax".
33257
5e1a27a9
L
33258 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33259 __rlim_t cast.
33260 (struct rusage): Use anonymous union to pad each field to
33261 __syscall_slong_t.
33262
46259bec
DM
332632012-05-21 David S. Miller <davem@davemloft.net>
33264
33265 * Makefules (o-iterator): Remove .s cases.
33266 (compile-command.s): Delete.
33267 (COMPILE.s): Delete.
33268 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33269
59f0c22e
JM
332702012-05-21 Joseph Myers <joseph@codesourcery.com>
33271
33272 * configure.in (libc_cv_predef_stack_protector): Only consider
33273 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33274 * configure: Regenerated.
33275
20c07380
L
332762012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33277
bbb3154b
L
33278 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33279 New macro. Use R*LP on int and pointer.
33280 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
33281 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33282 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
33283 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33284
20c07380
L
33285 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33286 [__WORDSIZE_TIME64_COMPAT32] instead of
33287 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33288 (struct utmp): Likewise.
33289 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33290 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33291 Renamed to ...
33292 (__WORDSIZE_TIME64_COMPAT32): This.
33293 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33294 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33295 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33296 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33297 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33298 (__WORDSIZE_TIME64_COMPAT32): New macro.
33299
d8d1017e
AJ
333002012-05-21 Andreas Jaeger <aj@suse.de>
33301
33302 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33303 only if [SHARED]. Add prototype for __wcschr_ia32.
33304
6c7fb145
RM
333052012-05-21 Roland McGrath <roland@hack.frob.com>
33306
33307 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33308 of %rbp unmolested in the jmp_buf while mangling the low bits.
33309 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33310 unmolested high bits of %rbp while demangling the low bits.
33311 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33312
66274218
AJ
333132012-05-21 Andreas Jaeger <aj@suse.de>
33314
07c58f8f
AJ
33315 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33316 * sunrpc/svc_simple.c: Use it for registerrpc.
33317 * sunrpc/xcrypt.c: Use it for passwd2des.
33318
66274218
AJ
33319 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33320
61f65140
L
333212012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33322
33323 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33324 Don't define if [__SYSCALL_WORDSIZE != 32].
33325 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33326 New macro.
33327
5fefb436
AJ
333282012-05-21 Bruno Haible <bruno@clisp.org>
33329 Andreas Jaeger <aj@suse.de>
33330
33331 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33332 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33333 inptr and inend for must_buffer_ch.
33334 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33335 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33336 * stdio-common/Makefile (tests): Remove bug15.
33337 (bug15-ENV): Remove macro.
33338 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33339 anymore.
33340
d8e272ab
AJ
333412012-05-19 Andreas Jaeger <aj@suse.de>
33342 Roland McGrath <roland@hack.frob.com>
33343
33344 * manual/contrib.texi: Completely rewritten. It contains now an
33345 alphabetical list of contributors and their contributions.
33346
4a56a162
RH
333472012-05-21 Richard Henderson <rth@twiddle.net>
33348
33349 * misc/getauxval.c (__getauxval): Use unsigned long int.
33350 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33351 (getauxval): Use unsigned long int.
33352
d024d23c
L
333532012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33354
33355 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33356
cbc00a03
RM
333572012-05-21 Roland McGrath <roland@hack.frob.com>
33358
33359 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33360 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33361 __alignof__ (long double).
33362
478143fa
AZ
333632012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33364
33365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33366
c7683a6d
RH
333672012-05-20 Richard Henderson <rth@twiddle.net>
33368
33369 * misc/getauxval.c: New file.
33370 * misc/sys/auxv.h: New file.
33371 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33372 (routines): Add getauxval.
33373 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33374 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33375 * elf/dl-sysdep.c (_dl_auxv): Remove.
33376 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33377 * elf/dl-support.c (_dl_auxv): New variable.
33378 (_dl_aux_init): Initialize it.
33379 * manual/startup.texi (Auxiliary Vector): New node.
33380 * sysdeps/generic/bits/hwcap.h: New file.
33381 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33382 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33383 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33384 * sysdeps/sparc/sysdep.h: ... here. Include it.
33385 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33386 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
33387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33388 Update.
c7683a6d
RH
33389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33392 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33397
a6f1845d
AZ
333982012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33399
33400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33401
cbcbe830
DM
334022012-05-19 David S. Miller <davem@davemloft.net>
33403
33404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33405
e0b16cc2
JM
334062012-05-19 Joseph Myers <joseph@codesourcery.com>
33407
33408 [BZ #14123]
33409 * math/s_ccosh.c: Include <float.h>
33410 (__ccosh): Avoid internal overflow calculating sinh and cosh
33411 values before multiplying by sin and cos values.
33412 * math/s_ccoshf.c: Likewise.
33413 * math/s_ccoshl.c: Likewise.
33414 * math/s_csin.c: Likewise.
33415 * math/s_csinf.c: Likewise.
33416 * math/s_csinl.c: Likewise.
33417 * math/s_csinh.c: Likewise.
33418 * math/s_csinhf.c: Likewise.
33419 * math/s_csinhl.c: Likewise.
33420 * math/libm-test.inc (ccos_test): Add more tests.
33421 (ccosh_test): Likewise.
33422 (csin_test): Likewise.
33423 (csinh_test): Likewise.
33424 * sysdeps/i386/fpu/libm-test-ulps: Update.
33425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33426
6ad13e08
L
334272012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33428
f66f0ce8
L
33429 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33430 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33431
6ad13e08
L
33432 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33433
b1d072a7
JM
334342012-05-19 Joseph Myers <joseph@codesourcery.com>
33435
33436 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33437 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33438 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33439 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33440 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33441 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33442 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33443 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33444 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33445 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33446 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33447 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33448 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33449 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33450 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33451 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33452 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33453 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33454 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33455 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33456 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33457 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33458 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33459 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33460 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33461 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33462 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33463 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33464 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33465 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33466 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33467
9eae47cb
AJ
334682012-05-18 Andreas Jaeger <aj@suse.de>
33469
33470 * csu/.gitignore: Delete.
33471
bb07f69f
L
334722012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33473
33474 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33475 (timex): Use __syscall_slong_t.
33476
e6bdb741
AJ
334772012-05-18 Andreas Jaeger <aj@suse.de>
33478 Carlos O'Donell <carlos_odonell@mentor.com>
33479
33480 * manual/install.texi (Configuring and compiling): Update
33481 description about files modified in the source directory.
d6c33fda 33482 * INSTALL: Regenerated.
e6bdb741 33483
1b74487e
L
334842012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33485
33486 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33487 value. Use "or" to set return value to -1.
33488 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33489 negate return value.
33490
a88b64b9
TMQMF
334912012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33492
57f41c40
AS
33493 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33494 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
33495 failure if the compiler has Graphite support disabled.
33496 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33497 Likewise.
57f41c40
AS
33498 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33499 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
33500 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33501 Likewise.
33502
3707636e
L
335032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33504
610b8622
L
33505 * sysdeps/x86_64/x32/_itoa.h: New file.
33506
7cd195df
L
33507 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33508 getdents system call only if kernel and user dirents have the
33509 same d_ino and d_off.
33510
94b07d20
L
33511 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33512 LLONG_MAX != LONG_MAX.
33513 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33514 (_fitoa_word): Likewise.
33515
18298070
L
33516 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33517 years.
33518 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33519 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33520 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33521
553c7ea4
L
33522 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33523 include <bits/wordsize.h>. Check __x86_64__ instead of
33524 __WORDSIZE.
33525 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33526 if __x86_64__ is defined. Use anonymous union on fpstate.
33527
3707636e
L
33528 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33529 anonymous union.
33530
b53ef01a
AS
335312012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33532
37fb1dc0
AS
33533 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33534 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33535 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33536 Refer to _rtld_local_ro instead of _rtld_global_ro.
33537 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33538 Likewise.
33539 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33540 Likewise.
33541 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33542 Likewise.
33543 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33544 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33545 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33546
b53ef01a
AS
33547 * sysdeps/powerpc/powerpc32/dl-machine.c
33548 (__elf_machine_runtime_setup) [PROF]: Don't reference
33549 _dl_prof_resolve.
33550
7a185db2
AJ
335512012-05-18 Andreas Jaeger <aj@suse.de>
33552
33553 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33554 function only available for GCCs before 3.4 since GCC 3.4
33555 introduced a builtin.
33556 (lrint): Likewise.
33557 (llrintf): Likewise.
33558 (llrint): Likewise.
33559 (fmaxf): Likewise.
33560 (fmax): Likewise.
33561 (fminf): Likewise.
33562 (fmin): Likewise.
33563 (rint): Likewise.
33564 (rintf): Likewise.
33565 (nearbyint): Likewise.
33566 (nearbyintf): Likewise.
33567 (ceil): Likewise.
33568 (ceilf): Likewise.
33569 (floor): Likewise.
33570 (floorf): Likewise.
33571
3e5aef87
L
335722012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33573
428bd707
L
33574 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33575 on both fields and cast pointer to __syscall_ulong_t.
33576
3e5aef87
L
33577 * bits/types.h (__fsword_t): New type.
33578 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33579 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33580 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33581 (__FSWORD_T_TYPE): Likewise.
33582 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33583 (__FSWORD_T_TYPE): Likewise.
33584 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33585 (__FSWORD_T_TYPE): Likewise.
33586 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33587 (__FSWORD_T_TYPE): Likewise.
33588 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33589 __SWORD_TYPE with __fsword_t.
33590 (statfs64): Likewise.
33591
1ba7c3dc
DM
335922012-05-17 David S. Miller <davem@davemloft.net>
33593
33594 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33595
59910343
AJ
335962012-05-17 Andreas Jaeger <aj@suse.de>
33597
33598 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33599 warning.
33600
2e4c1e9e
L
336012012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33602
33603 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33604
de7f5ce7
AJ
336052012-05-17 Andreas Jaeger <aj@suse.de>
33606
33607 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33608 when it is used.
33609
286abc3d
CM
336102012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33611
33612 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33613
477cc68e
L
336142012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33615
33616 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33617 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33618
1a0994f5
CD
336192012-05-17 Andreas Jaeger <aj@suse.de>
33620 Carlos O'Donell <carlos_odonell@mentor.com>
33621
33622 [BZ #14059]
33623 * sysdeps/x86_64/multiarch/init-arch.h
33624 (bit_YMM_Usable): Rename to...
33625 (bit_AVX_Usable): ... this.
33626 (bit_FMA4_Usable): New macro.
33627 (bit_XMM_state): New macro.
33628 (bit_YMM_state): New macro.
33629 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33630 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33631 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33632 (CPUID_OSXSAVE): New macro.
33633 (CPUID_AVX): New macro.
33634 (CPUID_FMA4): New macro.
33635 (index_YMM_Usable): Rename to...
33636 (index_AVX_Usable): ... this.
33637 (HAS_AVX): Use HAS_ARCH_FEATURE.
33638 (HAS_FMA4): Likewise.
33639 (HAS_YMM_USABLE): Remove.
33640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33641 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33642 are present.
33643 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33644 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33645 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33646 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33647 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33648
0af797de
CM
336492012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33650
33651 * math/libm-test.c: Support platforms without multiple rounding modes.
33652 * math/bug-nextafter.c: Support platforms without FP exceptions.
33653 * math/bug-nexttoward.c: Likewise.
33654 * math/test-fenv.c: Likewise.
33655 * math/test-misc.c: Likewise.
33656 * stdlib/bug-getcontext.c: Likewise.
33657
e39745ff
AJ
336582012-05-17 Andreas Jaeger <aj@suse.de>
33659
33660 * manual/examples/search.c (critter_cmp): Change signature to
33661 avoid warnings.
33662 * manual/string.texi (Collation Functions): Likewise.
33663
48970aba
L
336642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33665
33666 * bits/types.h: Fold copyright years.
33667 * bits/typesizes.h: Likewise.
33668 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33669 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33670 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33671 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33672 * time/time.h: Likewise.
33673
bedee953
PP
336742012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33675
33676 [BZ #208]
33677 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33678 in instead of returning them. Return void.
33679 (__libc_mallinfo): Accumulate over all arenas.
33680 (__malloc_stats): Adjust for change in int_mallinfo interface.
33681
61653dfb
RM
336822012-05-16 Roland McGrath <roland@hack.frob.com>
33683
30b99d79
RM
33684 [BZ #10375]
33685 * configure.in (NM): Add AC_CHECK_TOOL for it.
33686 (libc_extra_cflags): New substituted variable.
33687 Check for -fstack-protector being used implicitly.
33688 * configure: Regenerated.
33689 * config.make.in (config-extra-cflags): New variable,
33690 gets @libc_extra_cflags@.
33691 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33692
61653dfb
RM
33693 [BZ #10375]
33694 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33695 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33696 * configure: Regenerated.
33697 * config.make.in (CPPUNDEFS): New substituted variable.
33698 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33699 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33700 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33701
661768bb
L
337022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33703
33704 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33705 (mq_attr): Use __syscall_slong_t.
33706
d4261567
L
337072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33708
33709 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33710 Check __x86_64__ instead of __WORDSIZE.
33711 (_STAT_VER_LINUX): Likewise.
33712 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33713 __syscall_ulong_t and __syscall_slong_t.
33714 (stat64): Likewise.
33715
cf3ff365
L
337162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33717
33718 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33719
76cf3e4d
L
337202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33721
33722 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33723
a637753a
L
337242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33725
33726 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33727 __syscall_ulong_t.
33728
d5e05119
L
33729 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33730 include <bits/wordsize.h>. Check __x86_64__ instead of
33731 __WORDSIZE.
33732 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33733 defined.
33734 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33735
f62ee380
L
33736 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33737 include <bits/wordsize.h>. Check __x86_64__ instead of
33738 __WORDSIZE.
33739 (user_regs_struct): Use "__extension__ unsigned long long"
33740 instead of "unsigned long" if __x86_64__ is defined.
33741 (user): Likewise. Pad after pointer field if __ILP32__ is
33742 defined.
33743
4e124ced
JM
337442012-05-16 Joseph Myers <joseph@codesourcery.com>
33745
6a3951a0
JM
33746 * configure.in (makeinfo): Require version 4.5 or later. Allow
33747 versions 5 to 9.
33748 * configure: Regenerated.
33749 * manual/install.texi (texinfo): Increase version requirement to
33750 4.5 or later.
33751 * INSTALL: Regenerated.
33752
4e124ced
JM
33753 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33754
953ca31a
L
337552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33756
33757 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33758
617aca05
L
33759 * sysdeps/x86_64/x32/ffs.c: New file.
33760
5762f7ae
L
33761 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33762 __syscall_ulong_t.
33763 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33764 defined. Use __syscall_ulong_t.
33765 (shminfo): Use __syscall_ulong_t.
33766 (shm_info): Likewise.
33767
a26b6856
L
33768 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33769 __syscall_ulong_t.
33770
cb2b9ef7
L
33771 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33772 <bits/wordsize.h>.
33773 (msgqnum_t): Use __syscall_ulong_t.
33774 (msglen_t): Likewise.
33775 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33776 __syscall_ulong_t.
33777
34683bb0
L
33778 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33779 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33780
84a68786
L
33781 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33782
48baa5f1
L
33783 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33784 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33785
180be88b
L
33786 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33787 __syscall_slong_t.
33788
5e90c8ad
L
33789 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33790 include <bits/wordsize.h>. Check __x86_64__ instead of
33791 __WORDSIZE.
33792
23dfb58b
L
33793 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33794 "unsigned long long int" if __x86_64__ is defined.
33795 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33796
ce5d54b0
L
33797 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33798 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33799 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33800
13dc9eac
L
33801 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33802 <stdint.h>.
33803 (GET_PC): Cast to uintptr_t first.
33804 (GET_FRAME): Likewise.
33805 (GET_STACK): Likewise.
33806
a7895d15
L
33807 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33808 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33809 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33810 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33811 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33812 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33813 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33814 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33815 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33816 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33817 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33818 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33819 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33820 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33821 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33822 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33823 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33824 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33825 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33826 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33827 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33828 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33829 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33830 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33831 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33832 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33833 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33834 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33835 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33836
656416c9
AS
338372012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33838
5bd66283
AS
33839 * Makerules (+depfiles): Also collect depfiles from .oS in
33840 $(extra-objs).
33841 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33842 .oS, $(libnldbl-routines)).
33843
656416c9
AS
33844 * Makerules (native-compile-mkdep-flags): Define.
33845 * sunrpc/Makefile (extra-objs): Add $(addprefix
33846 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33847 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33848 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33849 calling $(make-target-directory).
33850
a46f2169
L
338512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33852
33853 * bits/types.h (__snseconds_t): Removed.
33854 * time/time.h (struct timespec): Replace __snseconds_t with
33855 __syscall_slong_t.
33856 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33857 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33858 Likewise.
33859 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33860 (__SNSECONDS_T_TYPE): Likewise.
33861 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33862 (__SNSECONDS_T_TYPE): Likewise.
33863 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33864 (__SNSECONDS_T_TYPE): Likewise.
33865
6af6528b
L
338662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33867
33868 * sysdeps/mach/hurd/bits/typesizes.h
33869 (__SYSCALL_SLONG_TYPE): New macro.
33870 (__SYSCALL_ULONG_TYPE): Likewise.
33871
de986b56
L
338722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33873
33874 * bits/types.h (__syscall_slong_t): New type.
33875 (__syscall_ulong_t): Likewise.
33876
33877 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33878 (__SYSCALL_ULONG_TYPE): Likewise.
33879 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33880 (__SYSCALL_SLONG_TYPE): Likewise.
33881 (__SYSCALL_ULONG_TYPE): Likewise.
33882 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33883 (__SYSCALL_SLONG_TYPE): Likewise.
33884 (__SYSCALL_ULONG_TYPE): Likewise.
33885 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33886 (__SYSCALL_SLONG_TYPE): Likewise.
33887 (__SYSCALL_ULONG_TYPE): Likewise.
33888
85736dc7
L
338892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33890
33891 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33892 Add sigaltstack-offsets.sym.
33893 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33894 <sigaltstack-offsets.h>.
33895 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33896 longjmp_msg pointer.
33897 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33898 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33899 signal stack.
33900 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33901
cc03b296
JM
339022012-05-15 Joseph Myers <joseph@codesourcery.com>
33903
a9538892
JM
33904 * elf/stackguard-macros.h: Remove file.
33905 * sysdeps/generic/stackguard-macros.h: New file.
33906 * sysdeps/i386/stackguard-macros.h: Likewise.
33907 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33908 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33909 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33910 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33911 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33912 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33913 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33914 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33915 <elf/stackguard-macros.h>.
33916
cc03b296
JM
33917 [BZ #14109]
33918 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33919 __aligned__ in attribute.
33920 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33921 (gregset_t): Likewise.
33922
93171016
L
339232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33924
33925 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33926 * sysdeps/x86_64/64/Implies-after: Here. New file.
33927 * sysdeps/x86_64/x32/Implies-after: New file.
33928
d86813a0
L
339292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33930
33931 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33932 and access return value for _dl_profile_fixup. Use R10_LP to
33933 load frame size.
33934
2953ec75
L
339352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33936
33937 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33938
3b550e9e
L
339392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33940
33941 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33942 * sysdeps/x86_64/x32/sysdep.h: New file.
33943
eda41706
L
339442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33945
33946 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33947 * sysdeps/x86_64/setjmp.S: Likewise.
33948
9ea01d93
AZ
339492012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33950
33951 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33952 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33953 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33954 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33955 remove unused global constant.
33956
02a91938
CM
339572012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33958
33959 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33960 include of <not-cancel.h>.
33961
6540185f
RM
339622012-05-15 Roland McGrath <roland@hack.frob.com>
33963
33964 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33965
509072a0
AJ
339662012-05-15 Jeff Law <law@redhat.com>
33967 Andreas Jaeger <aj@suse.de>
33968
33969 [BZ #13594]
33970 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33971 out from...
33972 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33973 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33974 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33975 code changing __hst_map_handle.map.
33976
ba75122d
RM
339772012-05-15 Roland McGrath <roland@hack.frob.com>
33978
33979 * configure.in (sysnames): Look for Implies-before and Implies-after
33980 files.
33981 * configure: Regenerated.
33982
890d8bd8
L
339832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33984
33985 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33986 8-byte data alignment with LP_SIZE alignment.
33987
f6ee6623
L
339882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33989
33990 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33991 into R10_LP.
33992
ea2626f6
L
339932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33994
33995 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33996
085f715e
L
339972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33998
33999 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34000 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34001 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34002 Likewise.
34003 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34004
be8498fc
L
340052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34006
34007 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34008 (stackinfo_sub_sp): Likewise.
34009
70bc83b9
L
340102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34011
34012 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34013 RAX_LP.
34014
9bc0b730
L
340152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34016
34017 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34018 into R*_LP.
34019
6d2850e7
L
340202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34021
34022 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34023 sizes into R*_LP.
34024
3cb84561
L
340252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34026
34027 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34028
54e2ed81
L
340292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34030
34031 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34032 into R11_LP and load __x86_64_shared_cache_size_half into
34033 R8_LP.
34034
8a17f349
L
340352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34036
34037 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34038 R8_LP.
34039
777b1eea
AZ
340402012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34041
34042 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34043 logb for POWER7.
34044 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34045 logbf for POWER7.
34046 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34047 logbl for POWER7.
34048 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34049 powerpc32/power7/fpu/s_logb.c via #include.
34050 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34051 powerpc32/power7/fpu/s_logbf.c via #include.
34052 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34053 powerpc32/power7/fpu/s_logbl.c via #include.
34054
d20d4ac2
JM
340552012-05-15 Joseph Myers <joseph@codesourcery.com>
34056
34057 * README.libm: Remove file.
34058
6cdef1ab
L
340592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34060
34061 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34062 count for x32. Use R*_LP and omit operand-size suffix.
34063
0b254d8f
L
340642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34065
34066 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34067 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34068 * sysdeps/x86_64/x32/shlib-versions: New file.
34069
ceb809dc
RM
340702012-05-14 Roland McGrath <roland@hack.frob.com>
34071
34072 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34073 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34074 Use _dl_fatal_printf instead.
34075
37f1abd4
JM
340762012-05-14 Joseph Myers <joseph@codesourcery.com>
34077
34078 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34079 set if not set by the user. Do not allow for being unset.
34080 * sysdeps/unix/sysv/linux/configure: Regenerated.
34081
11de3a33
L
340822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34083
34084 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34085 the `q' suffix from lea and replace .quad with ASM_ADDR.
34086
e02f153a
L
340872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34088
34089 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34090 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34091 instead of $17.
34092 (PTR_DEMANGLE): Likewise.
34093
520ae0fd
L
340942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34095
34096 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34097 (LP_OP): Likewise.
34098 (ASM_ADDR): Likewise.
34099 (RAX_LP): Likewise.
34100 (RBP_LP): Likewise.
34101 (RBX_LP): Likewise.
34102 (RCX_LP): Likewise.
34103 (RDI_LP): Likewise.
34104 (RSI_LP): Likewise.
34105 (RSP_LP): Likewise.
34106 (R8_LP): Likewise.
34107 (R9_LP): Likewise.
34108 (R10_LP): Likewise.
34109 (R10_LP): Likewise.
34110 (R11_LP): Likewise.
34111 (R12_LP): Likewise.
34112 (R13_LP): Likewise.
34113 (R14_LP): Likewise.
34114 (R15_LP): Likewise.
34115
b985be81
L
341162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34117
34118 * sysdeps/x86_64/x32/dl-machine.h: New file.
34119
6a4888ff
AJ
341202012-05-14 Andreas Jaeger <aj@suse.de>
34121
34122 * manual/Makefile (subdir): Remove export of subdir.
34123 (all): Remove target.
34124 (.PHONY): Remove all from list.
34125 (mkinstalldirs): Remove.
34126 (.PHONY): Remove installdirs from list.
34127 ($(inst_infodir)/libc.info): Use make-target-directory.
34128 (installdirs): Remove.
34129 (subdir_%): Remove.
34130 (glibc-targets): Remove.
34131 (lib): Remove.
34132 (stubs): Remove.
34133 ($(objpfx)stubs ../po/manual.pot): Remove.
34134 ($(objpfx)stamp%): Remove.
34135 (make-target-directory): Remove.
34136 (subdir_install): Remove.
34137 (routines): Remove.
34138 (aux): Remove.
34139 (sources): Remove.
34140 (objects): Remove.
34141 (headers): Remove.
34142
34143 [BZ #13750]
34144 * manual/.gitignore: Remove, it's not needed anymore.
34145 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34146 all files in it.
34147 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34148 directory.
34149 (texis): Renamed to $(objpfx)texis.
34150 (texis-path): New, contains path to generated files.
34151 (chapters.%): Use texis-path for complete path, add extra argument
34152 libc-texinfo.sh.
34153 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34154 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34155 (summary,texi, stamp-summary): Use complete path of
34156 files. Generate files in build dir.
34157 (dir-add.texi): Build in build dir.
34158 (libm-err.texi,stamp-libm-err): Likewise.
34159 (version.texi, stamp-version): Likewise.
34160 (.%c.texi): Likewise.
34161 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34162 (mostlyclean): Remove target.
34163 (realclean): Remove target.
34164 (generated): Add new variable with contents from mostlyclean and
34165 realclean, remove entries duplicated in common-mostlyclean, add
34166 stamp-libm-err and stamp-version.
34167 (generated-dirs): Add libc directory.
34168 ($(inst_infodir)/libc.info): Install files from build dir.
34169
34170 * manual/install.texi (Configuring and compiling): Adjust since
34171 the info files are not part of the tar ball anymore.
34172
7ac77294
AJ
341732012-05-14 Andreas Jaeger <aj@suse.de>
34174
34175 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34176 variable.
34177
ffb7875d
JM
341782012-05-14 Joseph Myers <joseph@codesourcery.com>
34179
34180 [BZ #13717]
34181 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34182 to 2.2.0 where earlier.
34183 * sysdeps/unix/sysv/linux/configure: Regenerated.
34184 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34185 Remove conditional code.
34186 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34187 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34188 Remove conditional code.
34189 [!__NR_lchown]: Likewise.
34190 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34191 [__NR_lchown]: Likewise.
34192 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34193 comment referencing __ASSUME_LCHOWN_SYSCALL.
34194 * sysdeps/unix/sysv/linux/i386/sigaction.c
34195 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34196 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34197 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34198 Remove conditional code.
34199 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34200 (__protocol_available): Remove #if 0 code.
34201 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34202 conditional code.
34203 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34204 * sysdeps/unix/sysv/linux/kernel-features.h
34205 (__ASSUME_GETCWD_SYSCALL): Don't define.
34206 (__ASSUME_REALTIME_SIGNALS): Likewise.
34207 (__ASSUME_PREAD_SYSCALL): Likewise.
34208 (__ASSUME_PWRITE_SYSCALL): Likewise.
34209 (__ASSUME_POLL_SYSCALL): Likewise.
34210 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34211 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34212 non-SPARC.
34213 (__ASSUME_SIOCGIFNAME): Don't define.
34214 (__ASSUME_MSG_NOSIGNAL): Likewise.
34215 (__ASSUME_SENDFILE): Define unconditionally.
34216 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34217 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34218 conditional code.
34219 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34220 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34221 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34222 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34223 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34224 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34225 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34227 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34228 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34230 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34231 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34233 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34234 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34236 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34237 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34239 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34240 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34242 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34243 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34245 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34246 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34248 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34249 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34250 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34251 Remove conditional code.
34252 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34253 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34254 Remove conditional code.
34255 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34256 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34257 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34258 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34259 Remove conditional code.
34260 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34261 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34262 Remove conditional code.
34263 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34264 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34265 Remove conditional code.
34266 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34267 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34268 Remove conditional code.
34269 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34270 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34271 Remove conditional code.
34272 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34273 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34274 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34275 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34276 * sysdeps/unix/sysv/linux/sigaction.c
34277 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34278 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34279 * sysdeps/unix/sysv/linux/sigpending.c
34280 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34281 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34282 * sysdeps/unix/sysv/linux/sigprocmask.c
34283 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34284 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34285 * sysdeps/unix/sysv/linux/sigsuspend.c
34286 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34287 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34288 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34289 (__libc_missing_rt_sigs): Remove.
34290 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34291 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34292 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34293 Remove conditional code.
34294 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34295 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34296 return 1.
34297 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34298 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34299 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34300 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34301
1bfb7291
AJ
343022012-05-14 Andreas Jaeger <aj@suse.de>
34303
caae5a81
AJ
34304 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34305 it's not used in glibc.
34306 (__coshm1): Likewise.
34307 (__acosh1p): Likewise.
34308 (__sgn): Likewise.
34309
1bfb7291
AJ
34310 * manual/string.texi (Copying and Concatenation): Add missing
34311 variable in concat example.
34312 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34313
c044d724
L
343142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34315
144c5467 34316 [BZ #14103]
c044d724
L
34317 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34318 __builtin_clzl with __builtin_clzll.
34319
2523c62b
L
343202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34321
34322 [BZ #14104]
34323 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34324 libc_freeres_ptr.
34325
d7bb4c42
LD
343262012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34327
34328 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34329 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34330 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34331 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34332
9dc4e1fb
MF
343332012-05-14 Mike Frysinger <vapier@gentoo.org>
34334
34335 * NEWS: Update ia64 info.
34336
c7df0112
AS
343372012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34338
34339 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34340 used as bcopy.
34341
dc70356c
TS
343422012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34343
34344 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34345 * sysdeps/unix/syscalls.list (dup3): Likewise.
34346 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34347 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34348
9fb1a21f
L
343492012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34350
34351 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34352 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34353
4822a2a5
L
343542012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34355
34356 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34357 thread pointer.
34358 (TLS_IE): Use mov/add instead of movq/addq to load thread
34359 pointer.
34360 (TLS_GD_PREFIX): New.
34361 (TLS_GD): Use it.
34362
842b81d6
DM
343632012-05-11 David S. Miller <davem@davemloft.net>
34364
34365 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34366 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34367 (_FPU_SETCW): Likewise.
34368
1cf463cd
L
343692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34370
34371 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34372 is 32-byte aligned.
34373
60cc4a18
AS
343742012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34375
34376 [BZ #11837]
34377 * iconvdata/gb18030.c: Update tables.
34378 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34379 characters specially.
34380 (BODY for TO_LOOP): Add encoding of missing ranges.
34381
febb44a4
TS
343822012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34383
34384 [BZ #13673]
34385 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34386 * sysdeps/mach/hurd/dup3.c: Likewise.
34387 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34388 * sysdeps/powerpc/memmove.c:: Likewise.
34389
0a10fb9e
L
343902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34391
34392 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34393 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34394
df8a552f
L
343952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34396
34397 * elf/elf.h (R_X86_64_RELATIVE64): New.
34398 (R_X86_64_NUM): Updated.
34399 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34400 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34401 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34402 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34403 tst-quad1pie tst-quad2pie
34404 (modules-names): Add tst-quadmod1 tst-quadmod2.
34405 ($(objpfx)tst-quad1): New dependency.
34406 ($(objpfx)tst-quad2): Likewise.
34407 ($(objpfx)tst-quad1pie): Likewise.
34408 ($(objpfx)tst-quad2pie): Likewise.
34409 * sysdeps/x86_64/tst-quad1.c: New file.
34410 * sysdeps/x86_64/tst-quad1pie.c: New file.
34411 * sysdeps/x86_64/tst-quad2.c: Likewise.
34412 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34413 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34414 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34415 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34416 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34417
f34d6f84
ST
344182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34419
f42d41d1
ST
34420 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34421 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34422 * streams/stropts.h (t_scalar_t): Define type.
34423
3c3571fc
ST
34424 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34425 (_PATH_PRESERVE): Set to "/var/lib".
34426 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34427
61f06bd3
ST
34428 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34429 instead of int.
34430
918d4d71
ST
34431 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34432 if __dir_mkfile succeeded.
34433
f34d6f84
ST
34434 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34435 checking for _hurd_dtablesize. Unlock it right after having
34436 finished _hurd_dtable allocation.
34437
10589b4a
TS
344382012-05-10 Thomas Schwinge <thomas@schwinge.name>
34439
674cdbc7
TS
34440 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34441 * sysdeps/mach/hurd/configure: Regenerated.
34442 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34443 special-casing to...
34444 * sysdeps/gnu/configure.in: ... this new file.
34445 * sysdeps/unix/sysv/linux/configure: Regenerated.
34446 * sysdeps/gnu/configure: New generated file.
34447
8e41b99f
TS
34448 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34449 for Linux: use nsec instead of usec, as well as:
34450 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34451 members of type struct timespec.
34452 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34453 New macros.
34454 (struct stat64): Likewise.
34455 (_STATBUF_ST_NSEC): New macro.
34456 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34457
10589b4a
TS
34458 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34459 __strtoul_internal rather than strtoul.
34460
63643c85
PT
344612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34462
34463 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34464 and reject them.
34465
3faebe6a
ST
344662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34467
34468 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34469 which preserves existing values.
34470 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34471
c6474b07
PT
344722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34473
34474 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34475 TIMEOUT values. Return EINVAL for NFDS values either negative or
34476 greater than FD_SETSIZE.
34477
1043890b
ST
344782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34479
34480 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34481 allocated, call __vm_protect to finish enabling the existing space, and
34482 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34483 allocate the remainder.
34484
37ed8b9b
PT
344852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34486
34487 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34488 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34489
db653660
ST
344902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34491
37ed8b9b
PT
34492 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34493 sysdeps/mach/hurd/readlink.c.
b29d4053 34494
db653660
ST
34495 * posix/tst-sysconf.c (posix_options): Only use
34496 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34497 _POSIX_SYNCHRONIZED_IO when they are defined
34498 * sysdeps/mach/hurd/bits/posix_opt.h:
34499 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34500 (_XOPEN_REALTIME): Undefine macro.
34501 (_XOPEN_REALTIME_THREADS): Undefine macro.
34502 (_XOPEN_SHM): Undefine macro.
34503 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34504 macro to -1.
34505 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34506 macro to -1.
34507 (_POSIX_ASYNC_IO): Undefine macro.
34508 (_POSIX_PRIORITIZED_IO): Undefine macro.
34509 (_POSIX_SPIN_LOCKS): Define macro to -1.
34510
ee16e894
ST
34511 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34512 SA_NODEFER, SA_RESETHAND.
34513 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34514 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34515 F_DUPFD_CLOEXEC.
34516
6103ae3b
TS
345172012-05-10 Thomas Schwinge <thomas@schwinge.name>
34518
34519 * elf/Makefile (pldd-modules): Define unconditionally.
34520
80b4e5f3
TS
345212012-05-10 Thomas Schwinge <thomas@schwinge.name>
34522
34523 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34524
edadcbd6
ST
345252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34526
34527 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34528 Return ENOENT when name is empty.
34529 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34530
80694780
TS
345312012-05-10 Thomas Schwinge <thomas@schwinge.name>
34532
1792c087
TS
34533 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34534
80694780
TS
34535 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34536
6b645f0d
ST
345372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34538
80694780
TS
34539 Fix mlock in all cases except non-readable pages.
34540 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34541 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 34542
6b645f0d
ST
34543 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34544 (__mkdir): When path is `/', just fail with EEXIST.
34545 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34546
e468f8a3
TS
345472012-05-10 Thomas Schwinge <thomas@schwinge.name>
34548
34549 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34550 <sys/uio.h> (for writev).
34551 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34552 and <sys/param.h> (for MIN).
34553
a4186cff
PT
345542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34555
34556 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34557 REQUESTED_TIME. Properly set the remaining time and return EINTR
34558 if interrupted.
34559
510bbf14
TS
345602012-05-10 Thomas Schwinge <thomas@schwinge.name>
34561
34562 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34563 Depend on against $(link-rpcuserlibs).
34564
5d5722e8
ST
345652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34566
a4186cff
PT
34567 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34568 (__libc_stack_end): Do not use attribute_relro.
34569 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34570 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 34571 to libthread-provided value.
a4186cff
PT
34572 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34573 attribute_relro.
5d5722e8 34574
37233df9
TS
345752012-05-10 Thomas Schwinge <thomas@schwinge.name>
34576
be971a2b
TS
34577 [BZ #3748]
34578 * bits/libc-lock.h (__libc_once_get): New macro.
34579 * sysdeps/mach/bits/libc-lock.h: Likewise.
34580 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34581 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34582 instead of using implementation details.
34583
37233df9
TS
34584 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34585 * libio/freopen.c: Likewise.
34586 * libio/freopen64.c: Likewise.
34587 * misc/syslog.c: Likewise.
34588 * nscd/connections.c: Likewise.
34589 * nscd/netgroupcache.c: Likewise.
34590 * sysdeps/posix/getcwd.c: Likewise.
34591
38de94a5
RM
345922012-05-10 Roland McGrath <roland@hack.frob.com>
34593
34594 * math/w_ilogbf.c: Add #include <limits.h>.
34595
67530489
ST
345962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34597
a4186cff 34598 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
34599 path instead of returning without unlocking.
34600
67530489
ST
34601 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34602 immediate-write ioctls.
34603 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34604
5aa3a74a
TS
346052012-05-10 Thomas Schwinge <thomas@schwinge.name>
34606
18bad2ae
TS
34607 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34608 __builtin_frame_address instead of making assumptions about the
34609 location of the return address relative to DATA. Force early load of
34610 the return address.
34611 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34612 __builtin_frame_address.
34613
5aa3a74a
TS
34614 dup3 for GNU Hurd.
34615 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34616 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34617 implement dup3 and do some further code clean-ups.
34618 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34619 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34620
ecd0de9a
ST
346212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34622
cd9fa985
ST
34623 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34624
a4186cff
PT
34625 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34626 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34627 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34628 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34629 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34630 d->port.lock.
802ca5a5 34631
a4186cff
PT
34632 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34633 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34634 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 34635
bcf55240
TS
346362012-05-10 Thomas Schwinge <thomas@schwinge.name>
34637
6960eb42
TS
34638 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34639 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34640 definitions.
34641
eb43375f
TS
34642 accept4 for GNU Hurd.
34643 * include/sys/socket.h (__libc_accept4): New prototype.
34644 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34645 to implement __libc_accept4.
34646 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34647 __libc_accept4.
34648 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34649
bcf55240
TS
34650 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34651 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34652 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34653 signal-defines.sym.
34654
6178c55b
ST
346552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34656
a4186cff 34657 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 34658
6f080c2f
TS
346592012-05-10 Thomas Schwinge <thomas@schwinge.name>
34660
34661 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34662 assertion on O_CLOEXEC flag.
34663 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34664 * hurd/intern-fd.c: Likewise.
34665 * hurd/port2fd.c: Likewise.
34666
bcfe3a54
ST
346672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34668
34669 [BZ #3906]
34670 * bits/in.h (IPV6_PKTINFO): Define new macro.
34671 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34672
89c9aa49
AZ
346732012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34674
34675 [BZ #13954]
34676 [BZ #13955]
34677 [BZ #13956]
34678 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34679 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34680 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34681 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34682 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34683 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34684 * math/libm-test.inc (logb_test) : Additional logb tests.
34685
021db4be
AJ
346862012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34687 Andreas Jaeger <aj@suse.de>
34688
34689 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34690 * configure: Regenerated.
34691 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34692 * config.make.in (link-obsolete-rpc): New substituted variable.
34693 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34694 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34695 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34696 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34697 so that libc.a contains the symbols.
34698 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34699 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34700 * sunrpc/auth_none.c: Likewise.
34701 * sunrpc/auth_unix.c: Likewise.
34702 * sunrpc/authdes_prot.c: Likewise.
34703 * sunrpc/authuxprot.c: Likewise.
34704 * sunrpc/clnt_gen.c: Likewise.
34705 * sunrpc/clnt_perr.c: Likewise.
34706 * sunrpc/clnt_raw.c: Likewise.
34707 * sunrpc/clnt_simp.c: Likewise.
34708 * sunrpc/clnt_tcp.c: Likewise.
34709 * sunrpc/clnt_udp.c: Likewise.
34710 * sunrpc/clnt_unix.c: Likewise.
34711 * sunrpc/des_crypt.c: Likewise.
34712 * sunrpc/des_soft.c: Likewise.
34713 * sunrpc/get_myaddr.c: Likewise.
34714 * sunrpc/key_call.c: Likewise.
34715 * sunrpc/key_prot.c: Likewise.
34716 * sunrpc/netname.c: Likewise.
34717 * sunrpc/pm_getmaps.c: Likewise.
34718 * sunrpc/pm_getport.c: Likewise.
34719 * sunrpc/pmap_clnt.c: Likewise.
34720 * sunrpc/pmap_prot.c: Likewise.
34721 * sunrpc/pmap_prot2.c: Likewise.
34722 * sunrpc/pmap_rmt.c: Likewise.
34723 * sunrpc/publickey.c: Likewise.
34724 * sunrpc/rpc_cmsg.c: Likewise.
34725 * sunrpc/rpc_common.c: Likewise.
34726 * sunrpc/rpc_dtable.c: Likewise.
34727 * sunrpc/rpc_prot.c: Likewise.
34728 * sunrpc/rpc_thread.c: Likewise.
34729 * sunrpc/rtime.c: Likewise.
34730 * sunrpc/svc.c: Likewise.
34731 * sunrpc/svc_auth.c: Likewise.
34732 * sunrpc/svc_raw.c: Likewise.
34733 * sunrpc/svc_run.c: Likewise.
34734 * sunrpc/svc_tcp.c: Likewise.
34735 * sunrpc/svc_udp.c: Likewise.
34736 * sunrpc/svc_unix.c: Likewise.
34737 * sunrpc/svcauth_des.c: Likewise.
34738 * sunrpc/xcrypt.c: Likewise.
34739 * sunrpc/xdr.c: Likewise.
34740 * sunrpc/xdr_array.c: Likewise.
34741 * sunrpc/xdr_float.c: Likewise.
34742 * sunrpc/xdr_intXX_t.c: Likewise.
34743 * sunrpc/xdr_mem.c: Likewise.
34744 * sunrpc/xdr_rec.c: Likewise.
34745 * sunrpc/xdr_ref.c: Likewise.
34746 * sunrpc/xdr_sizeof.c: Likewise.
34747 * sunrpc/xdr_stdio.c: Likewise.
34748
b5c086a2
RM
347492012-05-10 Roland McGrath <roland@hack.frob.com>
34750
34751 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34752 change. Update copyright years.
34753
6d74dd09
JM
347542012-05-10 Joseph Myers <joseph@codesourcery.com>
34755
34756 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34757
28e72501
MK
347582012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34759 Joseph Myers <joseph@codesourcery.com>
34760 Paul Pluzhnikov <ppluzhnikov@google.com>
34761
34762 [BZ #14012]
34763 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34764 requiring rpcgen.
34765 [cross-compiling] (extra-libs): Likewise.
34766 [cross-compiling] (extra-libs-others): Likewise.
34767 [cross-compiling] (librpcsvc-routines): Likewise.
34768 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34769 [cross-compiling] (omit-deps): Likewise.
34770 (sunrpc-CPPFLAGS): New variable.
34771 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34772 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34773 (cross-rpcgen-objs): New variable.
34774 (extra-objs): Append $(cross-rpcgen-objs).
34775 ($(cross-rpcgen-objs)): New rule.
34776 ($(objpfx)cross-rpcgen): Likewise.
34777 (rpcgen-cmd): Define to use $(built-program-file). Expand
34778 comment.
34779 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34780 ($(objpfx)x%.stmp): Likewise.
34781 * sunrpc/proto.h [IS_IN_build] (_): Define.
34782 [IS_IN_build] (_libc_intl_domainname): Likewise.
34783
c8c59454
L
347842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34785
34786 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34787 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34788 and R_X86_64_TPOFF64.
34789
6f27cd16
JM
347902012-05-10 Joseph Myers <joseph@codesourcery.com>
34791
34792 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34793 sysdeps/unix/sysv/syscalls.list.
34794 (stime): Likewise.
34795 (utime): Likewise.
34796 * sysdeps/unix/sysv/syscalls.list: Remove file.
34797
02467e1c
PE
347982012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34799
34800 [BZ #3440]
34801 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34802 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34803 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34804 (__LC_IDENTIFICATION): Make these macros useful in #if
34805 expressions, as required by C99.
34806
da392631
AS
348072012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34808
34809 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34810 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34811 after this.
34812
8115f29b
L
348132012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34814
34815 * stdlib/longlong.h: Updated from GCC.
34816
bdd74070
AJ
348172012-05-09 Andreas Jaeger <aj@suse.de>
34818
edfe0dbe
AJ
34819 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34820 default is first entry.
34821 (run_mode): Set type.
34822 (main): Remove informal message about syslog.
34823 (options): Fix typo.
34824
bcfe3a54
ST
34825 [BZ #14053]
34826 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 34827 to asm.
bcfe3a54
ST
34828 (lrint): Likewise.
34829 (llrintf): Likewise.
34830 (llrint): Likewise.
34831 (rint): Likewise.
34832 (rintf): Likewise.
34833 (nearbyint): Likewise.
34834 (nearbyintf): Likewise.
bdd74070 34835
91d8d69e
AJ
348362012-05-09 Andreas Jaeger <aj@suse.de>
34837 Pedro Alves <palves@redhat.com>
34838
34839 * nscd/nscd.c (run_mode): Use enum.
34840 (main): Cleanup coding style issue.
34841
bb90b80b
AJ
348422012-05-09 Alexandre Oliva <aoliva@redhat.com>
34843 Andreas Jaeger <aj@suse.de>
34844
bcfe3a54
ST
34845 * nscd/nscd.c (go_background): Replaced with...
34846 (run_mode): ... this.
bb90b80b 34847 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
34848 (options): Add -F --foreground.
34849 (main): Implement it.
34850 (parse_opt): Parse it.
bb90b80b 34851
1a4b75a1
AJ
348522012-05-09 Andreas Jaeger <aj@suse.de>
34853
34854 [BZ #14083]
34855 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34856 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34857 -Wconversion warning.
34858 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34859 Likewise.
34860
b1cc2472
JM
348612012-05-09 Joseph Myers <joseph@codesourcery.com>
34862
34863 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34864 == 0.
34865 (LC_ALL): Use macro-int-constant.
34866 (LC_COLLATE): Likewise.
34867 (LC_CTYPE): Likewise.
34868 (LC_MESSAGES): Likewise.
34869 (LC_MONETARY): Likewise.
34870 (LC_NUMERIC): Likewise.
34871 (LC_TIME): Likewise.
34872 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34873 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34874 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34875 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34876 Specify type.
34877 [C99-based standards] (float_t): Expect type.
34878 [C99-based standards] (double_t): Expect type.
34879 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34880 type.
34881 [C99-based standards] (HUGE_VALL): Likewise.
34882 [C99-based standards] (INFINITY): Likewise.
34883 [C99-based standards] (NAN): Likewise.
34884 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34885 [C99-based standards] (FP_NAN): Likewise.
34886 [C99-based standards] (FP_NORMAL): Likewise.
34887 [C99-based standards] (FP_SUBNORMAL): Likewise.
34888 [C99-based standards] (FP_ZERO): Likewise.
34889 [C99-based standards] (FP_FAST_FMA): Use
34890 optional-macro-int-constant. Specify type. Require == 1.
34891 [C99-based standards] (FP_FAST_FMAF): Likewise.
34892 [C99-based standards] (FP_FAST_FMAL): Likewise.
34893 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34894 [C99-based standards] (FP_ILOGBNAN): Likewise.
34895 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34896 Specify type.
34897 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34898 [C99-based standards] (math_errhandling): Specify type.
34899 [ISO99 || ISO11] (signgam): Do not allow.
34900 [non-C99-based standards] (copysignf): Do not allow.
34901 [non-C99-based standards] (exp2f): Likewise.
34902 [non-C99-based standards] (log2f): Likewise.
34903 [non-C99-based standards] (modff): Allow.
34904 [non-C99-based standards] (erff): Do not allow.
34905 [non-C99-based standards] (erfcf): Likewise.
34906 [non-C99-based standards] (gammaf): Likewise.
34907 [non-C99-based standards] (hypotf): Likewise.
34908 [non-C99-based standards] (j0f): Likewise.
34909 [non-C99-based standards] (j1f): Likewise.
34910 [non-C99-based standards] (jnf): Likewise.
34911 [non-C99-based standards] (lgammaf): Likewise.
34912 [non-C99-based standards] (tgammaf): Likewise.
34913 [non-C99-based standards] (y0f): Likewise.
34914 [non-C99-based standards] (y1f): Likewise.
34915 [non-C99-based standards] (ynf): Likewise.
34916 [non-C99-based standards] (isnanf): Likewise.
34917 [non-C99-based standards] (acoshf): Likewise.
34918 [non-C99-based standards] (asinhf): Likewise.
34919 [non-C99-based standards] (atanhf): Likewise.
34920 [non-C99-based standards] (cbrtf): Likewise.
34921 [non-C99-based standards] (expm1f): Likewise.
34922 [non-C99-based standards] (ilogbf): Likewise.
34923 [non-C99-based standards] (log1pf): Likewise.
34924 [non-C99-based standards] (logbf): Likewise.
34925 [non-C99-based standards] (nextafterf): Likewise.
34926 [non-C99-based standards] (remainderf): Likewise.
34927 [non-C99-based standards] (rintf): Likewise.
34928 [non-C99-based standards] (scalbf): Likewise.
34929 [non-C99-based standards] (copysignl): Likewise.
34930 [non-C99-based standards] (exp2l): Likewise.
34931 [non-C99-based standards] (log2l): Likewise.
34932 [non-C99-based standards] (modfl): Allow.
34933 [non-C99-based standards] (erfl): Do not allow.
34934 [non-C99-based standards] (erfcl): Likewise.
34935 [non-C99-based standards] (gammal): Likewise.
34936 [non-C99-based standards] (hypotl): Likewise.
34937 [non-C99-based standards] (j0l): Likewise.
34938 [non-C99-based standards] (j1l): Likewise.
34939 [non-C99-based standards] (jnl): Likewise.
34940 [non-C99-based standards] (lgammal): Likewise.
34941 [non-C99-based standards] (tgammal): Likewise.
34942 [non-C99-based standards] (y0l): Likewise.
34943 [non-C99-based standards] (y1l): Likewise.
34944 [non-C99-based standards] (ynl): Likewise.
34945 [non-C99-based standards] (isnanl): Likewise.
34946 [non-C99-based standards] (acoshl): Likewise.
34947 [non-C99-based standards] (asinhl): Likewise.
34948 [non-C99-based standards] (atanhl): Likewise.
34949 [non-C99-based standards] (cbrtl): Likewise.
34950 [non-C99-based standards] (expm1l): Likewise.
34951 [non-C99-based standards] (ilogbl): Likewise.
34952 [non-C99-based standards] (log1pl): Likewise.
34953 [non-C99-based standards] (logbl): Likewise.
34954 [non-C99-based standards] (nextafterl): Likewise.
34955 [non-C99-based standards] (remainderl): Likewise.
34956 [non-C99-based standards] (rintl): Likewise.
34957 [non-C99-based standards] (scalbl): Likewise.
34958 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34959 [non-C99-based standards] (FP_*): Do not allow.
34960 [C99-based standards] (FP_*): Change to
34961 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34962 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34963 allow.
34964 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34965 (SIG_ERR): Likewise.
34966 [X/Open-based standards] (SIG_HOLD): Likewise.
34967 (SIG_IGN): Likewise.
34968 (SIGABRT): Use macro-int-constant. Specify type. Require
34969 positive value.
34970 (SIGFPE): Likewise.
34971 (SIGILL): Likewise.
34972 (SIGINT): Likewise.
34973 (SIGSEGV): Likewise.
34974 (SIGTER): Likewise.
34975 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34976 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34977 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34978 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34979 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34980 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34981 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34982 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34983 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34984 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34985 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34986 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34987 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34988 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34989 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34990 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34991 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34992 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34993 [X/Open-based standards] (SIGTRAP): Likewise.
34994 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34995 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34996 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34997 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34998 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34999 allow.
35000
b9f1922d
IW
350012012-05-08 Ian Wienand <ianw@vmware.com>
35002
35003 [BZ #14080]
35004 * time/tzset.c (__tzset_parse_tz): Update default rules for
35005 daylight time changes in the Energy Policy Act of 2005.
35006
1db86e88
AJ
350072012-05-09 Andreas Jaeger <aj@suse.de>
35008
35009 [BZ #13983]
35010 * elf/ldconfig.c (parse_conf): Change string to make clear that
35011 ldconfig only issued a warning if ld.so.conf does not exist.
35012
dee4a4e3
DM
350132012-05-08 David S. Miller <davem@davemloft.net>
35014
ee0db190
DM
35015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35016 movxtod instead of popping the value on the stack.
35017
dee4a4e3
DM
35018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35019
6a43ec98
CD
350202012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35021
35022 * config.h.in: Add HAVE_ARM_PCS_VFP.
35023
05c2c961
RMG
350242012-05-08 Roland Mc Grath <roland@hack.frob.com>
35025
bcfe3a54
ST
35026 [BZ #13979]
35027 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35028 checking but the checks are disabled for any reason.
05c2c961 35029
4b30f61a
L
350302012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35031
35032 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35033 and ELF64_R_TYPE with ELFW(R_TYPE).
35034
eee2bc67
JM
350352012-05-08 Joseph Myers <joseph@codesourcery.com>
35036
7ea5391a
JM
35037 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35038 (ulimit): Likewise.
35039
eee2bc67
JM
35040 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35041 (settimeofday): Likewise.
35042
abb66a67
MF
350432012-05-08 Mike Frysinger <vapier@gentoo.org>
35044
35045 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35046 a struct th_u2 inside the union, and move tu_block/tu_code into
35047 a new th_u3 union of tu_block/tu_code inside of that. Move
35048 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35049 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35050 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35051 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35052 (th_stuff): Change to th_u1.tu_stuff.
35053 (th_data): Define.
35054 (th_msg): Change to th_u1.th_u2.tu_data.
35055
7f18b530
DM
350562012-05-07 David S. Miller <davem@davemloft.net>
35057
05760585
DM
35058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35059
7f18b530
DM
35060 [BZ #14074]
35061 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35062 (SETUP_PIC_REG): Use it.
35063 (SETUP_PIC_REG_LEAF): Use it.
35064
495fd99f
JM
350652012-05-07 Joseph Myers <joseph@codesourcery.com>
35066
35067 [BZ #13885]
35068 [BZ #13923]
35069 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35070 USE_AS_EXPM1L.
35071 (EXPL_FINITE): Likewise.
35072 (FLDLOG): Likewise.
35073 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35074 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35075 e_expl.S.
35076 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35077 USE_AS_EXPM1L.
35078 (EXPL_FINITE): Likewise.
35079 (FLDLOG): Likewise.
35080 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35081 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35082 e_expl.S.
35083 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35084 test of -max_value argument for long double.
35085 * sysdeps/i386/fpu/libm-test-ulps: Update.
35086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35087
6693d694
DM
350882012-05-06 David S. Miller <davem@davemloft.net>
35089
35090 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35091 quad soft-float symbols whose references which are compiler
35092 generated.
35093 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35094
6c23e11c
JM
350952012-05-06 Joseph Myers <joseph@codesourcery.com>
35096
d8b82cad
JM
35097 [BZ #13884]
35098 [BZ #13914]
35099 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35100 USE_AS_EXP10L.
35101 (EXPL_FINITE): Likewise.
35102 (FLDLOG): Likewise.
35103 (c0): Likewise.
35104 (c1): Likewise.
35105 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35106 Adjust comments for base varying.
35107 (__expl_finite): Change alias to EXPL_FINITE.
35108 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35109 e_expl.S.
35110 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35111 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35112 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35113 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35114 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35115 USE_AS_EXP10L.
35116 (EXPL_FINITE): Likewise.
35117 (FLDLOG): Likewise.
35118 (c0): Likewise.
35119 (c1): Likewise.
35120 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35121 Adjust comments for base varying.
35122 (__expl_finite): Change alias to EXPL_FINITE.
35123 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35124 tests for bugs.
35125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35126
6c23e11c
JM
35127 [BZ #14064]
35128 * math/libm-test.inc (check_float_internal): Correct ulp
35129 calculation for subnormal expected results.
35130
29ba805c
AJ
351312012-05-06 Andreas Jaeger <aj@suse.de>
35132
35133 * Makeconfig (+math-flags): New, set to -frounding-math.
35134 (+cflags): Add +math-flags so that all of glibc gets compiled with
35135 it.
35136
35137 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35138
7b17aeda
JM
351392012-05-05 Joseph Myers <joseph@codesourcery.com>
35140
5779f134
JM
35141 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35142 Disable one test.
35143
41498f4d
JM
35144 [BZ #13787]
35145 [BZ #13922]
35146 [BZ #14036]
35147 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35148 (__ieee754_expl): Allow for and saturate large arguments.
35149 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35150 (u_threshold): Likewise.
35151 (__exp): Call __ieee754_exp before checking for overflow and
35152 underflow.
35153 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35154 (u_threshold): Likewise.
35155 (__expf): Call __ieee754_expf before checking for overflow and
35156 underflow.
35157 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35158 (u_threshold): Likewise.
35159 (__expl): Call __ieee754_expl before checking for overflow and
35160 underflow.
35161 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35162 (__ieee754_expl): Allow for and saturate large arguments.
35163 * math/libm-test.inc (exp_test): Add another test. Do not allow
35164 missing overflow exception on overflow.
35165 (expm1_test): Do not allow missing overflow exception on overflow.
35166
6698b8bf
JM
35167 * sysdeps/i386/fpu/e_expl.c: Move to ...
35168 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35169 rather than using inline asm.
35170 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35171 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35172 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35173
7b17aeda
JM
35174 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35175 (nice): Likewise.
35176 (poll): Likewise.
35177 (signal): Likewise.
35178 (time): Likewise.
35179 (times): Likewise.
35180
f7c85819
JM
351812012-05-04 Joseph Myers <joseph@codesourcery.com>
35182
35183 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35184 sysdeps/unix/common/syscalls.list.
35185 (fchmod): Likewise.
35186 (fchown): Likewise.
35187 (ftruncate): Likewise.
35188 (getrusage): Likewise.
35189 (gettimeofday): Likewise.
35190 (setpgid): Likewise.
35191 (setregid): Likewise.
35192 (setreuid): Likewise.
35193 (sigaction): Likewise.
35194 (truncate): Likewise.
35195 (vhangup): Likewise.
35196 * sysdeps/unix/common/syscalls.list: Remove file.
35197 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35198 * sysdeps/unix/sysv/linux/Implies: Likewise.
35199
336270d0
L
352002012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35201
35202 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35204 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35205 Moved to ...
35206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35207 Here.
35208 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35209 to ...
35210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35211 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35212 to ...
35213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35214 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35215 to ...
35216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35217 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35218 to ...
35219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35220 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35221 to ...
35222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35223 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35224 to ...
35225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35226 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35227 to ...
35228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35229 Here.
35230 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35231 to ...
35232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35233 Here.
35234 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35235 to ...
35236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35237 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35238 Moved to ...
35239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35240 Here.
35241 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35242 to ...
35243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35244
d128e450
JM
352452012-05-04 Joseph Myers <joseph@codesourcery.com>
35246
fa8ee516
JM
35247 * sysdeps/unix/common/bits/dirent.h: Remove file.
35248 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35249
d128e450
JM
35250 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35251 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35252 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35253 * sysdeps/unix/bsd/isatty.c: Likewise.
35254 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35255 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35256 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35257
ff8faaf0 352582012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 35259
62881be4 35260 [BZ #13563]
31dc8730
AZ
35261 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35262 long double comparison inaccuracies.
35263 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35265
6fef930c
AS
352662012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35267
35268 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35269 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35270
8f203e6c
JM
352712012-05-04 Joseph Myers <joseph@codesourcery.com>
35272
35273 [BZ #14049]
35274 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35275 nonzero digits before rounding a hex value.
35276 * stdlib/tst-strtod.c (tests): Add another test.
35277
5197d9c2
AK
352782012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35279
35280 * sysdeps/s390/fpu/libm-test-ulps: Update.
35281
f0c1dedf
AJ
352822012-05-03 Andreas Jaeger <aj@suse.de>
35283
35284 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35285 does not get optimized out.
35286 (malloc_opt_barrier): New.
35287
a65ef2ae 352882012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 35289 Roland McGrath <roland@hack.frob.com>
a65ef2ae 35290
2b942cb7 35291 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 35292 intermediate file deletion.
2b942cb7 35293 (generated): Add .symlist files.
a65ef2ae 35294
54b71e02
JM
352952012-05-03 Joseph Myers <joseph@codesourcery.com>
35296
35297 [BZ #13775]
35298 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35299 Redirect under this condition.
35300 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35301 [__USE_GNU] (__dprintf_chk): Not under this condition.
35302 [__USE_GNU] (__vdprintf_chk): Likewise.
35303 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35304 under this condition.
35305 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35306 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35307 [__USE_XOPEN2K8] (vdprintf): Likewise.
35308 [__USE_GNU] (__dprintf_chk): Not under this condition.
35309 [__USE_GNU] (__vdprintf_chk): Likewise.
35310 [__USE_GNU] (dprintf): Likewise.
35311 [__USE_GNU] (vdprintf): Likewise.
35312
d3dfcc41
RM
353132012-05-03 Roland McGrath <roland@hack.frob.com>
35314
35315 * elf/Makefile (common-generated): Set this instead of generated for
35316 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35317 $(all-built-dso)-derived lists.
35318
7ac30cc5
AJ
353192012-05-03 Andreas Jaeger <aj@suse.de>
35320
0c51e550
AJ
35321 * sysdeps/i386/fpu/libm-test-ulps: Update.
35322
7ac30cc5
AJ
35323 * FAQ: Removed.
35324 * FAQ.in: Likewise.
35325 * scripts/gen-FAQ.pl: Likewise.
35326 * manual/install.texi (Installation): Point to online location of
35327 FAQ.
35328 * Makefile (files-for-dist): Remove FAQ.
35329 (FAQ): Remove.
35330
d4c2917f
AM
353312012-05-02 Allan McRae <allan@archlinux.org>
35332
35333 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35334 (LDFLAGS-reldepmod5.so): Likewise.
35335 (LDFLAGS-reldep6mod1.so): Likewise.
35336 (LDFLAGS-reldep6mod4.so): Likewise.
35337 (LDFLAGS-reldep8mod3.so): Likewise.
35338 (LDFLAGS-unload4mod1.so): Likewise.
35339 (LDFLAGS-unload4mod2.so): Likewise.
35340 (LDFLAGS-tst-initorder): Likewise.
35341 (LDFLAGS-tst-initordera2.so): Likewise.
35342 (LDFLAGS-tst-initordera3.so): Likewise.
35343 (LDFLAGS-tst-initordera4.so): Likewise.
35344 (LDFLAGS-tst-initorderb2.so): Likewise.
35345 (LDFLAGS-noload): Likewise.
35346 (LDFLAGS-next): Likewise.
35347 (LDFLAGS-order2mod1.so): Likewise.
35348 (LDFLAGS-order2mod2.so): Likewise.
35349 (LDFLAGS-tst-initorder2): Likewise.
35350 (LDFLAGS-tst-initorder2a.so): Likewise.
35351 (LDFLAGS-tst-initorder2b.so): Likewise.
35352 (LDFLAGS-tst-initorder2c.so): Likewise.
35353 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35354
d77f993f
DM
353552012-05-02 David S. Miller <davem@davemloft.net>
35356
35357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35358
171a70b4
PP
353592012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35360
35361 [BZ #14055]
35362 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35363
0be196ad
AJ
353642012-05-02 Andreas Jaeger <aj@suse.de>
35365
35366 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35367 since we manipulate rounding mode.
35368 (CPPFLAGS-test-idouble.c): Likewise.
35369 (CPPFLAGS-test-ifloat.c): Likewise.
35370 (CFLAGS-test-ldouble.c): Likewise.
35371 (CFLAGS-test-double.c): Likewise.
35372 (CFLAGS-test-float.c): Likewise.
35373 (CFLAGS-test-misc.c): Likewise.
35374 (CFLAGS-test-test-fenv.c): Likewise.
35375
4f9d04aa
AZ
353762012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35377
2b942cb7
RM
35378 [BZ #2550]
35379 [BZ #2570]
35380 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35381 comparisons to determine direction to adjust input.
4f9d04aa 35382
82a79e7d
RM
353832012-05-01 Roland McGrath <roland@hack.frob.com>
35384
f5a01ca9
RM
35385 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35386 output to the target.
35387
90fe4186
RM
35388 * scripts/localplt.awk: New file.
35389 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35390 (check-localplt-CFLAGS): Variable removed.
35391 ($(all-built-dso:=.jmprel)): New static pattern rule.
35392 (generated): Add those targets.
35393 (localplt-built-dso): New variable.
35394 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35395
35396 * elf/check-localplt.c: File removed.
35397
82397ed6
RM
35398 * scripts/check-execstack.awk: New file.
35399 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35400 (check-execstack-CFLAGS): Variable removed.
35401 ($(objpfx)check-execstack.h): Target removed.
35402 ($(objpfx)execstack-default): New target.
35403 (generated): Add that instead of check-execstack.h.
35404 ($(all-built-dso:=.phdr)): New static pattern rule.
35405 (generated): Add those targets.
35406 * elf/check-execstack.c: File removed.
35407
82a79e7d
RM
35408 * scripts/check-textrel.awk: New file.
35409 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35410 (check-textrel-CFLAGS): Variable removed.
35411 (all-built-dso): Use := to define.o
35412 ($(all-built-dso:=.dyn)): New static pattern rule.
35413 (generated): Add those targets.
35414 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35415 * config.make.in (READELF): New substituted variable.
35416 * elf/check-textrel.c: File removed.
35417
62fde54f 354182012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 35419
615605c9
JM
35420 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35421 allow.
35422 * conform/data/ctype.h-data [C99-based standards] (isblank):
35423 Expect function.
35424 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35425 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35426 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35427 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35428 Specify type. Require positive value.
35429 (EILSEQ): Likewise.
35430 (ERANGE): Likewise.
35431 [ISO || POSIX] (EILSEQ): Do not expect.
35432 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35433 Specify type. Require positive value.
35434 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35435 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35436 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35437 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35438 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35439 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35440 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35441 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35442 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35443 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35444 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35445 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35446 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35447 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35448 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35449 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35450 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35451 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35452 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35453 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35454 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35455 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35456 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35457 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35458 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35459 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35460 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35461 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35462 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35463 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35464 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35465 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35466 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35467 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35468 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35469 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35470 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35471 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35472 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35473 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35474 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35475 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35476 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35477 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35478 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35479 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35480 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35481 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35482 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35483 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35484 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35485 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35486 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35487 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35488 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35489 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35490 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35491 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35492 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35493 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35494 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35495 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35496 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35497 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35498 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35499 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35500 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35501 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35502 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35503 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35504 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35505 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35506 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35507 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35508 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35509 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35510 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35511 Require >= 2.
35512 (FLT_ROUNDS): Expect as macro, not constant.
35513 (FLT_MANT_DIG): Use macro-int-constant.
35514 (DBL_MANT_DIG): Likewise.
35515 (LDBL_MANT_DIG): Likewise.
35516 (FLT_DIG): Likewise.
35517 (DBL_DIG): Likewise.
35518 (LDBL_DIG): Likewise.
35519 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35520 (DBL_MIN_EXP): Likewise.
35521 (LDBL_MIN_EXP): Likewise.
35522 (FLT_MAX_EXP): Use macro-int-constant.
35523 (DBL_MAX_EXP): Likewise.
35524 (LDBL_MAX_EXP): Likewise.
35525 (FLT_MAX_10_EXP): Likewise.
35526 (DBL_MAX_10_EXP): Likewise.
35527 (LDBL_MAX_10_EXP): Likewise.
35528 (FLT_MAX): Use macro-constant.
35529 (DBL_MAX): Likewise.
35530 (LDBL_MAX): Likewise.
35531 (FLT_EPSILON): Use macro-constant. Give upper bound.
35532 (DBL_EPSILON): Likewise.
35533 (LDBL_EPSILON): Likewise.
35534 (FLT_MIN): Likewise.
35535 (DBL_MIN): Likewise.
35536 (LDBL_MIN): Likewise.
35537 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35538 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35539 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35540 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35541 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35542 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35543 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35544 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35545 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35546 [ISO11] (FLT_TRUE_MIN): Likewise.
35547 [ISO11] (LDBL_TRUE_MIN): Likewise.
35548 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35549 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35550 (SCHAR_MIN): Use macro-int-constant. Specify type.
35551 (SCHAR_MAX): Likewise.
35552 (UCHAR_MAX): Likewise.
35553 (CHAR_MIN): Likewise.
35554 (CHAR_MAX): Likewise.
35555 (MB_LEN_MAX): Use macro-int-constant.
35556 (SHRT_MIN): Use macro-int-constant. Specify type.
35557 (SHRT_MAX): Likewise.
35558 (USHRT_MAX): Likewise.
35559 (INT_MAX): Likewise.
35560 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35561 bound negative.
35562 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35563 bound with "U".
35564 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35565 bound with "L".
35566 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35567 bound negative. Suffix upper bound with "L".
35568 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35569 bound with "UL".
35570 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35571 Specify type.
35572 [C99-based standards] (LLONG_MAX): Likewise.
35573 [C99-based standards] (ULLONG_MAX): Likewise.
35574 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35575 == 0.
35576 [ISO11] (max_align_t): Require type.
35577 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35578
c9140a62
JM
35579 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35580 from $CFLAGS, without defining away __attribute__ calls.
35581 (checknamespace): Use $CFLAGS_namespace.
35582
9af0bf29
JM
35583 * conform/conformtest.pl (@keywords): Only include C99 keywords
35584 for standards based on C99 or C11.
35585
343222a2
JM
35586 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35587 Disable tests.
35588 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35589 UNIX98]: Likewise.
35590
661f8cf0
JM
35591 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35592 usability of symbols in #if.
35593
ee74b9cb
JM
35594 * conform/conformtest.pl: If macro or constant types start
35595 "promoted:", expect the symbol to be of the following type
35596 promoted by the integer promotions.
62fde54f 35597
aafc49b3
JM
35598 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35599 in one place. Also handle "macro-constant".
35600
fefdf574
JM
35601 * conform/conformtest.pl: Only accept expected macro values with
35602 "==". Parse all "macro" lines in one place.
35603 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35604
f2d922fe
JM
35605 * conform/conformtest.pl: Handle braced types on "constant" lines
35606 instead of handling "typed-constant".
35607 * conform/data/signal.h-data: Use "constant" instead of
35608 "typed-constant".
35609
d22956c9
JM
35610 * conform/conformtest.pl: Handle "optional-" at start of lines in
35611 one place rather than duplicating several cases. Handle each
35612 format of "macro" line with initial "optional-".
35613
028e2e38
JM
35614 * conform/conformtest.pl: Only accept expected constant or
35615 optional-constant values with "==". Parse all "constant" lines in
35616 one place. Parse all "optional-constant" lines in one place.
35617 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35618 * conform/data/fmtmsg.h-data: Likewise.
35619 * conform/data/netinet/in.h-data: Likewise.
35620 * conform/data/tar.h-data: Likewise.
35621 * conform/data/limits.h-data: Use "==" form on "constant" and
35622 "optional-constant" lines.
35623
1b8f2850
JM
35624 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35625 Use -std=c99 for XOPEN2K.
35626 (@knownproblems): Remove.
35627 (newtoken): Don't check %isknown.
35628
a05a144b
JM
35629 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35630 Do not expect macro.
35631 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35632 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35633 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35634 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35635 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35636 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35637 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35638 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35639 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35640 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35641 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35642 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35643 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35644 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35645 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35646 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35647 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35648 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35649 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35650 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35651 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35652 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35653 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35654 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35655 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35656 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35657 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35658 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35659 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35660 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35661 [XPG3] (acosh): Likewise.
35662 [XPG3] (asinh): Likewise.
35663 [XPG3] (atanh): Likewise.
35664 [XPG3] (cbrt): Likewise.
35665 [XPG3] (expm1): Likewise.
35666 [XPG3] (ilogb): Likewise.
35667 [XPG3] (log1p): Likewise.
35668 [XPG3] (logb): Likewise.
35669 [XPG3] (nextafter): Likewise.
35670 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35671 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35672 [XPG3] (remainder): Likewise.
35673 [XPG3] (rint): Likewise.
35674 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35675 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35676 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35677 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35678 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35679 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35680 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35681 [UNIX98 || XOPEN2K] (scalb): Expect.
35682 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35683 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35684 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35685 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35686 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35687 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35688 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35689 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35690 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35691 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35692 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35693 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35694 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35695 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35696 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35697 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35698 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35699 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35700 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35701 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35702 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35703 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35704 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35705 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35706 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35707 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35708 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35709 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35710 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35711 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35712 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35713 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35714 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35715 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35716 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35717 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35718 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35719 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35720 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35721 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35722 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35723 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35724 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35725 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35726 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35727 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35728 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35729 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35730 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35731 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35732 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35733 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35734 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35735 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35736 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35737 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35738 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35739 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35740 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35741 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35742 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35743 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35744 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35745 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35746 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35747 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35748 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35749 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35750 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35751 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35752 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35753 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35754 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35755 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35756 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35757 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35758 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35759 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35760 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35761 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35762 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35763 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35764 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35765 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35766 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35767 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35768 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35769 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35770 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35771 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35772 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35773 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35774 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35775 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35776 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35777 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35778 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35779 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35780 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35781 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35782 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35783 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35784 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35785 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35786 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35787 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35788 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35789 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35790 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35791 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35792 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35793 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35794 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35795 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35796 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35797 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35798 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35799 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35800 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35801 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35802 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35803 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35804 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35805 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35806 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35807 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35808 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35809 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35810 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35811 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35812 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35813 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35814 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35815 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35816 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35817 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35818 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35819
73c5ebe3
JM
35820 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35821 _XOPEN_SOURCE_EXTENDED for XPG4.
35822
39c33b6c
JM
35823 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35824
62fde54f
JM
35825 * Makeconfig (localtime): Remove variable.
35826 (inst_localtime-file): Likewise.
35827
0741d64c
AS
358282012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35829
35830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35831 Update.
35832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35833 Update.
35834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35835 Update.
35836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35837 Update.
35838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35839 Update.
35840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35841 Update.
35842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35843 Update.
35844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35845 Update.
35846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35847 Update.
35848
7cb029ee
JM
358492012-05-01 Joseph Myers <joseph@codesourcery.com>
35850
35851 [BZ #2550]
35852 [BZ #2570]
35853 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35854 comparisons to determine direction to adjust input.
35855 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35856 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35857 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35858 Likewise.
35859 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35860 Likewise.
35861 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35862 Likewise.
35863 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35864 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35865 Likewise.
35866 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35867 Likewise.
35868 * math/libm-test.inc (nexttoward_test): Add more tests.
35869
412bd966
AS
358702012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35871
35872 [BZ #14040]
35873 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35874 in version GLIBC_2.1, not GLIBC_2.0.
35875 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35876 Likewise.
35877
9568c0c2
JM
358782012-04-30 Joseph Myers <joseph@codesourcery.com>
35879
adfbc8ac
JM
35880 [BZ #13942]
35881 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35882 (1 - x) * (1 + x).
35883 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35884 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35885 * math/libm-test.inc (acos_test): Add more tests.
35886 (asin_test): Likewise.
35887 * sysdeps/i386/fpu/libm-test-ulps: Update.
35888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35889
5ba3cc69
JM
35890 [BZ #14034]
35891 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35892 of square root.
35893 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35894 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35895 * math/libm-test.inc (acos_test_tonearest): New function.
35896 (acos_test_towardzero): Likewise.
35897 (acos_test_downward): Likewise.
35898 (acos_test_upward): Likewise.
35899 (asin_test_tonearest): Likewise.
35900 (asin_test_towardzero): Likewise.
35901 (asin_test_downward): Likewise.
35902 (asin_test_upward): Likewise.
35903 (main): Call the new functions.
35904 * sysdeps/i386/fpu/libm-test-ulps: Update.
35905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35906
9568c0c2
JM
35907 [BZ #13884]
35908 [BZ #13924]
35909 * math/e_exp10.c: Include <float.h>.
35910 (__ieee754_exp10): Handle underflow here rather than multiplying
35911 large negative argument by M_LN10.
35912 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35913 of __ieee754_expf.
35914 * math/e_exp10l.c: Include <float.h>.
35915 (__ieee754_exp10l): Handle underflow here rather than multiplying
35916 large negative argument by M_LN10l.
35917 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35918 spurious overflow exception on underflow.
35919
5ac3ea17
MP
359202012-04-29 Marek Polacek <polacek@redhat.com>
35921
35922 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35923 (__fortify_function): New macro.
35924 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35925 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35926 __extern_always_inline.
35927 * libio/bits/stdio2.h: Likewise.
35928 * libio/bits/stdio.h: Likewise.
35929 * string/string.h: Likewise.
35930 * string/bits/string3.h: Likewise.
35931 * include/stdio.h: Likewise.
35932 * stdlib/bits/stdlib.h: Likewise.
35933 * stdlib/stdlib.h: Likewise.
35934 * rt/bits/mqueue2.h: Likewise.
35935 * rt/mqueue.h: Likewise.
35936 * posix/bits/unistd.h: Likewise.
35937 * posix/unistd.h: Likewise.
35938 * io/bits/poll2.h: Likewise.
35939 * io/bits/fcntl2.h: Likewise.
35940 * io/fcntl.h: Likewise.
35941 * io/sys/poll.h: Likewise.
35942 * misc/bits/syslog.h: Likewise.
35943 * misc/bits/syslog-ldbl.h: Likewise.
35944 * misc/sys/syslog.h: Likewise.
35945 * socket/bits/socket2.h: Likewise.
35946 * socket/sys/socket.h: Likewise.
35947 * debug/tst-chk1.c: Likewise.
35948 * wcsmbs/bits/wchar2.h: Likewise.
35949 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35950 * wcsmbs/wchar.h: Likewise.
35951
ecf0ebfb
AJ
359522012-04-29 Andreas Jaeger <aj@suse.de>
35953
35954 * Makerules (tests): Remove enable-check-abi protection.
35955 (check-abi-warn): Remove.
35956 (check-abi-%): Remove check-abi-warn usage.
35957
35958 * configure.in: Remove check-abi configure option.
35959 * configure: Regenerated.
35960 * config.make.in (enable-check-abi): Remove.
35961
6d5c57fa
AS
359622012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35963
24c5d07e 35964 [BZ #14033]
ded5180a
AS
35965 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35966 double functions to double *_finite functions.
35967
7e0d315d
AS
35968 [BZ #13941]
35969 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35970 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35971 LDBL_MIN_EXP.
35972 * stdio-common/Makefile (tests): Add tst-sprintf3.
35973 * stdio-common/tst-sprintf3.c: New file.
35974
6d5c57fa
AS
35975 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35976 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35977
0749ff8b
JM
359782012-04-28 Joseph Myers <joseph@codesourcery.com>
35979
35980 * conform/conformtest.pl: Remove duplicate typed-constant
35981 handling.
35982
8dbd5d7b
DM
359832012-04-28 David S. Miller <davem@davemloft.net>
35984
35985 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35986 (check-abi-%): Remove AWK script prerequisite and explicit
35987 abilist directory.
35988 (check-abi): Rewrite to just diff the symlist with the abilist.
35989 (config-tls, config-abi-config): Delete, no longer used.
35990 (update-abi-%): Remove AWK script and explicit abilist directory.
35991 (update-abi): Rewrite to simply compare and conditionally copy the
35992 symlist and the sysdep abilist file. Remove update-abi-config
35993 checks.
35994 * abilist/ld.abilist: Remove.
35995 * abilist/libBrokenLocale.abilist: Remove.
35996 * abilist/libanl.abilist: Remove.
35997 * abilist/libcrypt.abilist: Remove.
35998 * abilist/libdl.abilist: Remove.
35999 * abilist/librt.abilist: Remove.
36000 * abilist/libthread_db.abilist: Remove.
36001 * abilist/libutil.abilist: Remove.
36002 * scripts/extract-abilist.awk: Remove.
36003 * scripts/merge-abilist.awk: Remove.
36004 * sysdeps/generic/libcidn.abilist: New file.
36005 * sysdeps/generic/libnss_compat.abilist: New file.
36006 * sysdeps/generic/libnss_db.abilist: New file.
36007 * sysdeps/generic/libnss_dns.abilist: New file.
36008 * sysdeps/generic/libnss_files.abilist: New file.
36009 * sysdeps/generic/libnss_hesiod.abilist: New file.
36010 * sysdeps/generic/libnss_nis.abilist: New file.
36011 * sysdeps/generic/libnss_nisplus.abilist: New file.
36012 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36013 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36014 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36015 file.
36016 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36017 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36018 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36019 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36020 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36021 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36022 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36023 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36024 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36025 file.
36026 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36027 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36028 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36029 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36030 file.
36031 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36032 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36033 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36034 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36035 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36036 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36037 file.
36038 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36039 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36040 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36041 file.
36042 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36044 New file.
36045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36046 New file.
36047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36048 New file.
36049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36050 New file.
36051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36052 New file.
36053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36054 New file.
36055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36056 New file.
36057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36058 New file.
36059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36060 New file.
36061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36062 New file.
36063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36064 New file.
36065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36066 New file.
36067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36068 New file.
36069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36070 file.
36071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36072 New file.
36073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36074 New file.
36075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36076 file.
36077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36078 New file.
36079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36080 New file.
36081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36082 file.
36083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36084 New file.
36085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36086 New file.
36087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36088 New file.
36089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36090 New file.
36091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36092 New file.
36093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36094 New file.
36095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36097 file.
36098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36099 New file.
36100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36101 file.
36102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36103 file.
36104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36105 file.
36106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36107 file.
36108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36109 file.
36110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36111 New file.
36112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36113 file.
36114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36115 file.
36116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36117 New file.
36118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36119 file.
36120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36122 file.
36123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36124 New file.
36125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36126 file.
36127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36128 file.
36129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36130 file.
36131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36132 file.
36133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36134 file.
36135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36136 New file.
36137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36138 file.
36139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36140 file.
36141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36142 New file.
36143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36144 file.
36145 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36146 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36147 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36148 file.
36149 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36150 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36151 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36152 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36153 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36154 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36155 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36156 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36157 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36158 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36161 file.
36162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36163 New file.
36164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36165 file.
36166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36167 file.
36168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36169 file.
36170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36171 file.
36172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36173 file.
36174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36175 New file.
36176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36177 New file.
36178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36179 file.
36180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36181 New file.
36182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36183 file.
36184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36186 file.
36187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36188 New file.
36189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36190 file.
36191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36192 file.
36193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36194 file.
36195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36196 file.
36197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36198 file.
36199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36200 New file.
36201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36202 New file.
36203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36204 file.
36205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36206 New file.
36207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36208 file.
36209
41d73a1b
JM
362102012-04-28 Joseph Myers <joseph@codesourcery.com>
36211
36212 * conform/conformtest.pl: Fix typo in handling typed-constant from
36213 allow-header.
36214
28aeeda4
JM
362152012-04-27 Joseph Myers <joseph@codesourcery.com>
36216
adae8f5e
JM
36217 * README: Cut down references to pre-2.6 Linux kernels and
36218 Linuxthreads. Update lists of configurations in libc and ports
36219 and sort alphabetically. Say "or newer" with Linux kernel version
36220 requirements.
36221
28aeeda4
JM
36222 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36223
a462cb63
RA
362242012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36225
36226 [BZ #887]
36227 * math/libm-test.inc (logb_test_downward): New test to expose
36228 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36229 rounding mode.
36230
6ad3493e
JM
362312012-04-27 Joseph Myers <joseph@codesourcery.com>
36232
36233 [BZ #14027]
36234 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36235 to be done.
36236 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36237 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36238
2ce4f015
JM
362392012-04-26 Joseph Myers <joseph@codesourcery.com>
36240
5aeb141a
JM
36241 * sysdeps/unix/i386/brk.S: Remove file.
36242 * sysdeps/unix/i386/dl-brk.S: Likewise.
36243 * sysdeps/unix/i386/pipe.S: Likewise.
36244 * sysdeps/unix/i386/sigreturn.S: Likewise.
36245 * sysdeps/unix/i386/syscall.S: Likewise.
36246 * sysdeps/unix/i386/vfork.S: Likewise.
36247 * sysdeps/unix/i386/wait.S: Likewise.
36248
7143acae
JM
36249 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36250 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36251
2ce4f015
JM
36252 * configure.in (arm*-none*): Do not allow without
36253 --enable-hacker-mode.
36254 (netbsd*): Remove case setting base_os.
36255 (386bsd*): Likewise.
36256 (freebsd*): Likewise.
36257 (bsdi*): Likewise.
36258 (osf*): Likewise.
36259 (sunos*): Likewise.
36260 (ultrix*): Likewise.
36261 (newsos*): Likewise.
36262 (dynix*): Likewise.
36263 (*bsd*): Likewise.
36264 (sysv*): Likewise.
36265 (isc*): Likewise.
36266 (esix*): Likewise.
36267 (sco*): Likewise.
36268 (minix*): Likewise.
36269 (irix4*): Likewise.
36270 (irix6*): Likewise.
36271 (solaris[2-9]*): Likewise.
36272 (none): Likewise.
36273 * configure: Regenerated.
36274
0ac229c8
AZ
362752012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36276
36277 [BZ #11521]
36278 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36279 overflow or cancellation in calculating denominator.
36280 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36281 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36282 down expression to avoid unexpected rounding in newer GCCs.
36283 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36284
33f244f4
DM
362852012-04-26 David S. Miller <davem@davemloft.net>
36286
36287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36288 long-double compat symbols.
36289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36302
cfa1f3e8
DM
363032012-04-25 David S. Miller <davem@davemloft.net>
36304
36305 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36306 HWCAP_* values only after the memory barriers have been defined.
36307 (atomic_full_barrier): Define.
36308 (atomic_read_barrier): Define.
36309 (atomic_write_barrier): Define.
36310
6e236b92
SP
363112012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36312
36313 * shlib-versions: Add libgcc_s version information.
36314 * sysdeps/generic/libgcc_s.h: Remove.
36315 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36316 libgcc_s.h.
36317 * sysdeps/gnu/unwind-resume.c: Likewise.
36318 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36319
aab39a09
DM
363202012-04-25 David S. Miller <davem@davemloft.net>
36321
36322 * sysdeps/unix/sparc/brk.S: Delete.
36323 * sysdeps/unix/sparc/dl-brk.S: Delete.
36324 * sysdeps/unix/sparc/pipe.S: Delete.
36325 * sysdeps/unix/sparc/sysdep.S: Delete.
36326 * sysdeps/unix/sparc/sysdep.h: Delete.
36327 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
36328 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36329 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36330 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36331 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
36332 (JUMPTARGET): Remove.
36333 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36334 sysdeps/unix/sparc/sysdep.h
36335 (ENTRY, END): Remove.
36336 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36337
a3cc4f48
JM
363382012-04-25 Joseph Myers <joseph@codesourcery.com>
36339
2ed8cda2
JM
36340 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36341 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36342 -DIS_IN_build.
36343
35d76d59
JM
36344 * timezone/README: Update upstream location and email address for
36345 tzcode and tzdata.
36346 * timezone/zdump.c: Update from tzcode 2012b.
36347 * timezone/zic.c: Likewise.
36348
a3cc4f48
JM
36349 * configure.in (libc_cv_as_needed): Remove test.
36350 * configure: Regenerated.
36351 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36352 conditional definition.
36353 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36354 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36355 * config.make.in (have-as-needed): Remove variable.
36356
ceab42c3
SP
363572012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36358 Paul Pluzhnikov <ppluzhnikov@google.com>
36359
36360 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36361 strings correctly.
36362
3ce2865f
CLT
363632012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36364
36365 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36366 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36367 * sysdeps/sh/strlen.S: Likewise.
36368
f37e0d68
JM
363692012-04-24 Joseph Myers <joseph@codesourcery.com>
36370
ae186e9a
JM
36371 * sysdeps/unix/fork.S: Remove file.
36372 * sysdeps/unix/i386/fork.S: Likewise.
36373 * sysdeps/unix/sparc/fork.S: Likewise.
36374
b96914af
JM
36375 * sysdeps/unix/system.c: Remove file.
36376 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36377
f37e0d68
JM
36378 * sysdeps/unix/getegid.S: Remove file.
36379 * sysdeps/unix/geteuid.S: Likewise.
36380
87ef29ca
RM
363812012-04-24 Roland McGrath <roland@hack.frob.com>
36382
83bcd236
RM
36383 * scripts/check-localplt.awk: New file.
36384 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36385 of diff.
36386 * scripts/data/localplt-generic.data: Add a comment.
36387
87ef29ca
RM
36388 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36389 NODE when __dir_mkfile failed.
36390 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36391 Reported by Ludovic Courtès <ludo@gnu.org>.
36392
e5a6e567
AJ
363932012-04-24 Andreas Jaeger <aj@suse.de>
36394
36395 * Makerules (common-clean): Also remove gen-as-const-headers
36396 files.
36397
c1820385
JM
363982012-04-24 Joseph Myers <joseph@codesourcery.com>
36399
36400 * Makerules (native-compile): Do not change working directory for
36401 build. Use $(OUTPUT_OPTION) in command.
36402 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36403
94e02fc4
AZ
364042012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36405
36406 [BZ #13886]
36407 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36408 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36409 * math/libm-test.inc (floor_test): Add more tests.
36410 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36411
3a533ca3
JM
364122012-04-24 Joseph Myers <joseph@codesourcery.com>
36413
940ab4b3
JM
36414 * sysdeps/unix/getdents.c: Remove file.
36415 * sysdeps/unix/sysv/getdents.c: Likewise.
36416 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36417
90e037bd
JM
36418 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36419 sysdeps/unix/mman/syscalls.list.
36420 (mmap): Likewise.
36421 (mprotect): Likewise.
36422 (msync): Likewise.
36423 (munmap): Likewise.
36424 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36425 * sysdeps/unix/mman/syscalls.list: Remove.
36426 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36427
3a533ca3
JM
36428 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36429 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36430 * configure: Regenerated.
36431 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36432 $(libgcc_s_suffix).
36433 * config.make.in (libgcc_s_suffix): Remove variable.
36434
1ad743de
JM
364352012-04-23 Joseph Myers <joseph@codesourcery.com>
36436
4ad451e2
JM
36437 * sysdeps/unix/sysv/gethostname.c: Move to ...
36438 * sysdeps/posix/gethostname.c: ... here.
36439
5e37ce39
JM
36440 * sysdeps/unix/execve.S: Remove file.
36441
1ad743de
JM
36442 * sysdeps/unix/_exit.S: Remove file.
36443
4e681b5b
AJ
364442012-04-23 Andreas Jaeger <aj@suse.de>
36445
36446 [BZ #13739]
36447 * manual/Makefile: Remove make dist support, there's no
36448 need for a stand-alone documentation tar ball.
36449 (TEXI2DVI): Define always, it's not in Makeconfig.
36450 (dist): Removed.
36451 (tar-it): Removed.
36452 (edition): Removed.
36453 (glibc-doc-$(edition).tar): Removed
36454 (%.Z): Removed.
36455 (%.gz): Removed.
36456 (%.uu): Removed.
36457 (ETAGS): Remove, it's in Makeconfig.
36458 (move-if-change): Remove, it's in Makeconfig.
36459
38686a03 364602012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
36461
36462 [BZ #13970]
36463 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36464 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36465 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36466 (strtod_l, strtof_l, strtold_l): Remove __wur.
36467 It is not necessarily an error to ignore strtol's return value.
36468 One can reliably look at the stored endptr to decide whether
36469 the number had valid syntax.
36470
7c0616fa
AJ
364712012-04-21 Andreas Jaeger <aj@suse.de>
36472
803cb6b7 36473 [BZ #13739]
7c0616fa
AJ
36474 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36475
b0fe253f
JM
364762012-04-21 Joseph Myers <joseph@codesourcery.com>
36477
36478 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36479 * sysdeps/unix/sysv/Versions: Remove file.
36480
8280f22d
MT
364812012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36482
36483 [BZ #13927]
36484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36485
75ce411f 364862012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
36487
36488 [BZ #7064]
36489 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36490 version from __vm86.
36491
097d59fa
JM
364922012-04-20 Joseph Myers <joseph@codesourcery.com>
36493
a90f3bcb
JM
36494 * sysdeps/unix/common/lxstat.c: Remove file.
36495 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36496
edc7ea78
JM
36497 * sysdeps/unix/sysv/Makefile: Remove file.
36498
cb78c221
JM
36499 * sysdeps/unix/sysv/direct.h: Remove file.
36500
efa6a45f
JM
36501 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36502 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36503 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36504 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36505 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36506 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36507 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36508
9c9f2d0c
JM
36509 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36510
4541c83b
JM
36511 * sysdeps/unix/xmknod.c: Remove file.
36512 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36513
f5d153a0
JM
36514 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36515
aa746595
JM
36516 * sysdeps/unix/sysv/i386/time.S: Remove file.
36517
cce5905e
JM
36518 * sysdeps/unix/fxstat.c: Remove file.
36519 * sysdeps/unix/xstat.c: Likewise.
36520 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36521
37fa3841
JM
36522 * sysdeps/unix/sysv/sigaction.c: Remove file.
36523
ff1962a3
JM
36524 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36525 (sysdep_headers): Remove variable.
36526 [termio.h not in sysdep_headers] (generated): Likewise.
36527 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36528 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36529 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36530 * sysdeps/unix/sysv/tcflow.c: Likewise.
36531 * sysdeps/unix/sysv/tcflush.c: Likewise.
36532 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36533 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36534 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36535 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36536 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36537
e7740d31
JM
36538 * sysdeps/unix/siglist.c: Remove file.
36539
ee06f18b
JM
36540 * sysdeps/unix/getppid.S: Remove file.
36541
097d59fa
JM
36542 * sysdeps/unix/mkdir.c: Remove file.
36543 * sysdeps/unix/rmdir.c: Likewise.
36544
ff3d51ec
AS
365452012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36546
36547 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36548 ERR_MAX value.
36549 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36550 errlist-compat value.
36551
50f81fd7
DM
365522012-04-18 David S. Miller <davem@davemloft.net>
36553
36554 * sysdeps/generic/memcopy.h (reg_char): Delete.
36555 * debug/strcat_chk.c: Use char, not reg_char.
36556 * debug/strcpy_chk.c: Likewise.
36557 * debug/strncat_chk.c: Likewise.
36558 * debug/strncpy_chk.c: Likewise.
36559 * string/memchr.c: Likewise.
36560 * string/memrchr.c: Likewise.
36561 * string/rawmemchr.c: Likewise.
36562 * string/strcat.c: Likewise.
36563 * string/strchr.c: Likewise.
36564 * string/strchrnul.c: Likewise.
36565 * string/strcmp.c: Likewise.
36566 * string/strcpy.c: Likewise.
36567 * string/strncat.c: Likewise.
36568 * string/strncmp.c: Likewise.
36569 * string/strncpy.c: Likewise.
36570
8ff41c46
WS
365712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36572
36573 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36574 __builtin_memcopy is called when src and dest ranges are known to not
36575 overlap.
36576
6b652f46
WS
365772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36578
36579 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36580 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36581 fwd_align_merge macro call.
36582 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36583 bwd_align_merge macro call.
36584 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36585
b282631e
WS
365862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36587
36588 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36589 bwd_align_merge macros.
36590 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36591 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36592 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36593
95aa737c
DM
365942012-04-18 David S. Miller <davem@davemloft.net>
36595
36596 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36597
7a99a614
AJ
365982012-04-18 Andreas Jaeger <aj@suse.de>
36599
36600 [BZ# 6794]
36601 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36602 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36603 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36604
36605 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36606 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36607 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36608
36609 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36610 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36611 Adjust for changed ldbl-128 files.
36612
36613 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36614 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36615 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36616
e5270c23
DM
366172012-04-17 David S. Miller <davem@davemloft.net>
36618
36619 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36620
fb5e92c9
AS
366212012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36622
36623 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36624 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36625 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36626 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36627 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36628 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36629
76da7265
AZ
366302012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36631
36632 [BZ #6794]
36633 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36634 * math/libm-test.inc: Add ilogb errno and exception tests.
36635 * math/w_ilogb.c: New file: ilogb wrapper.
36636 * math/w_ilogbf.c: New file: ilogbf wrapper.
36637 * math/w_ilogbl.c: New file: ilogbl wrapper.
36638 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36639 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36640 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36641 exception being thrown with 0.0 as argument.
36642 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36643 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36644 exception being thrown with 0.0 as argument.
36645 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36646 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36647 exception being thrown with 0.0 as argument.
36648 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36649 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36650 exception being thrown with 0.0 as argument.
36651 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36652 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 36653 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
36654 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36655 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36656 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36657 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36658 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36659 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36660
0396e69d
PB
366612012-04-17 Petr Baudis <pasky@ucw.cz>
36662
36663 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36664 with altivec.
36665
750b5926
MP
366662012-04-16 Marek Polacek <polacek@redhat.com>
36667
36668 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36669
751728a1
MP
366702012-04-16 Marek Polacek <polacek@redhat.com>
36671
36672 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36673 operands of fdivp instruction.
36674
34a27407
L
366752012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36676
36677 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36678 * elf/tst-auditmod3b.c: Likewise.
36679 * elf/tst-auditmod4b.c: Likewise.
36680 * elf/tst-auditmod5b.c: Likewise.
36681 * elf/tst-auditmod6b.c: Likewise.
36682 * elf/tst-auditmod6c.c: Likewise.
36683 * elf/tst-auditmod7b.c: Likewise.
36684 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36685 * sysdeps/x86_64/preconfigure.in: Likewise.
36686 * sysdeps/x86_64/preconfigure: Regenerated.
36687
7e73e17d
L
366882012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36689
36690 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36691 __ILP32__.
36692
c7a6ab72
AB
366932012-04-13 Antoine Balestrat <merkil33@gmail.com>
36694
36695 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36696 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36697
a9e8e0e0
CL
366982012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36699
36700 [BZ #13973]
36701 * locale/iso-639.def: Fix gl language name. Spotted by
36702 Yaron Shahrabani.
36703
ec98af7d
RM
367042012-04-12 Roland McGrath <roland@hack.frob.com>
36705
36706 [BZ #2074]
36707 * libio/libio.h (__io_write_fn): Update comment.
36708
247c3ede
PB
367092012-04-12 Petr Baudis <pasky@ucw.cz>
36710
36711 [BZ #2074]
36712 * stdio.texi (Hook Functions): The user provided writer function
36713 is not allowed to return -1.
36714
55939d6d
DM
367152012-04-11 David S. Miller <davem@davemloft.net>
36716
36717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36718
90020f5a
MF
367192012-04-11 Mike Frysinger <vapier@gentoo.org>
36720
36721 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36722 Add a leading slash to rtkaio.
36723
288f9098
JM
367242012-04-11 Jim Meyering <meyering@redhat.com>
36725
90020f5a
MF
36726 [BZ #11959]
36727 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36728 It is not necessarily an error to ignore fwrite's return
36729 value. One can reliably use ferror to test for errors after
36730 the fact.
288f9098 36731
4be2b570
L
367322012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36733
36734 * bits/types.h (__snseconds_t): New type.
36735 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36736
36737 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36738 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36739 (__SNSECONDS_T_TYPE): Likewise.
36740 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36741 (__SNSECONDS_T_TYPE): Likewise.
36742 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36743 (__SNSECONDS_T_TYPE): Likewise.
36744
288f9098 367452012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
36746
36747 [BZ #2636]
36748 * manual/time.texi (Processor Time): Return type of times is
36749 elapsed real time since an arbitrary point in the past.
36750 (CPU Time): Move CLK_TCK from here...
36751 (Processor Time): ...to here. Correct description.
36752 * manual/conf.texi (Constants for Sysconf): Correct description of
36753 _SC_CLK_TCK.
36754
d7dd4413
DM
367552012-04-10 David S. Miller <davem@davemloft.net>
36756
36757 [BZ #13967]
36758 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36759 where the is a gap between DT_REL(A) and DT_JMPREL.
36760
b46068fc
L
367612012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36762
36763 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36764 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36765 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36766
73d65cc3
SP
367672012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36768
36769 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36770 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36771 (dl_main): Handle --inhibit-cache.
36772 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36773 _dl_inhibit_cache.
36774 * elf/dl-load.c (_dl_map_object): Use it.
36775 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36776
bcc8d661
JM
367772012-04-09 Joseph Myers <joseph@codesourcery.com>
36778
8f9a2fae
JM
36779 [BZ #13872]
36780 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36781 (__ieee754_powl): Saturate large exponents rather than testing for
36782 overflow of y*log2(x).
36783 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36784 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36785 exceptions.
36786
bcc8d661
JM
36787 [BZ #11521]
36788 * math/s_ctan.c: Include <float.h>.
36789 (__ctan): Avoid internal overflow or cancellation in calculating
36790 denominator.
36791 * math/s_ctanf.c: Likewise.
36792 * math/s_ctanl.c: Likewise.
36793 * math/s_ctanh.c: Likewise.
36794 * math/s_ctanhf.c: Likewise.
36795 * math/s_ctanhl.c: Likewise.
36796 * math/libm-test.inc (ctan_test): Add more tests.
36797 (ctanh_test): Likewise.
36798 * sysdeps/i386/fpu/libm-test-ulps: Update.
36799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36800
823fbbb4
AJ
368012012-04-09 Andreas Jaeger <aj@suse.de>
36802
03879793
AJ
36803 [BZ #6894]
36804 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36805 is an optional BSD extension.
36806
823fbbb4
AJ
36807 [BZ #10254]
36808 * manual/stdio.texi (Opening Streams): Document additional fopen
36809 parameters.
36810
8de131cb
RM
368112012-04-09 Roland McGrath <roland@hack.frob.com>
36812
36813 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36814 %eax without telling the compiler.
36815
c0ed9d7d
CD
368162012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36817
36818 [BZ # 13963]
36819 * manual/install.texi: Use sourceware.org.
36820
c483f6b4
JM
368212012-04-09 Joseph Myers <joseph@codesourcery.com>
36822
d7dd9453
JM
36823 [BZ #13873]
36824 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36825 (__ieee754_pow): Generate overflow and underflow using huge*huge
36826 and tiny*tiny rather than just returning constant infinity or zero
36827 for large exponents.
36828 * math/libm-test.inc (pow_test): Require overflow exceptions for
36829 applicable cases of large exponents.
36830
c483f6b4
JM
36831 [BZ #706]
36832 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36833 (__ieee754_pow): Use iterative multiplication algorithm only for
36834 integer exponents with absolute value below 1024. Check for odd
36835 integer exponents when using algorithm for real exponents.
36836 * math/libm-test.inc (pow_test): Add more tests.
36837 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36838
d2de7579
JM
368392012-04-08 Joseph Myers <joseph@codesourcery.com>
36840
36841 [BZ #13705]
36842 * math/libm-test.inc (exp_test): Do not allow overflow exception
36843 on underflow test.
36844
f77f1232
AJ
368452012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36846
36847 [BZ #13705]
36848 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36849 instead of __kernel_standard_f.
36850
3884932b
MF
368512012-04-08 Mike Frysinger <vapier@gentoo.org>
36852
36853 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36854 * sysdeps/x86_64/memset_chk.S: Likewise.
36855
54472e9c
AJ
368562012-04-08 Andreas Jaeger <aj@suse.de>
36857
6ab0fbfc
AJ
36858 [BZ #10153]
36859 * manual/startup.texi (Environment Access): Describe return value
36860 for putenv and setenv.
36861
61efba8c
AJ
36862 [BZ #6895]
36863 * manual/filesys.texi (Directory Entries): Add description for
36864 DT_LNK.
36865
95c3f29a
AJ
36866 [BZ #6890]
36867 * manual/filesys.texi (Directory Entries): Clarify that it's file
36868 system not operating system in the description of DT_UNKNOWN.
36869
54472e9c
AJ
36870 [BZ #6578]
36871 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36872
624254b1
SC
368732012-04-08 Stephen Compall <s11@member.fsf.org>
36874
36875 [BZ #6649]
36876 * manual/llio.texi (Opening and Closing Files): Add cross
36877 reference to explain mode argument.
36878
1e4920e0
MF
368792012-04-07 Mike Frysinger <vapier@gentoo.org>
36880
36881 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36882 * sysdeps/x86_64/memset_chk.S: Likewise.
36883
5ed848f3
DM
368842012-04-07 David S. Miller <davem@davemloft.net>
36885
36886 * elf/elf.h (R_SPARC_WDISP10): Define.
36887 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36888 R_SPARC_SIZE32.
36889 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36890 R_SPARC_SIZE64 and R_SPARC_H34.
36891
96154cd8
CD
368922012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36893
36894 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36895 conditions and remove no longer applicable assertion.
36896
9904dc47
L
368972012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36898
36899 * bits/byteswap.h: Include <features.h>.
36900 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36901 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36902
f8887d0a
L
369032012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36904
36905 * bits/byteswap.h (__bswap_16): Removed.
36906 Include <bits/byteswap-16.h> to get __bswap_16.
36907 * sysdeps/i386/bits/byteswap.h: Likewise.
36908 * sysdeps/s390/bits/byteswap.h: Likewise.
36909 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36910 * bits/byteswap-16.h: New file.
36911 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36912 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36913 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36914 * string/Makefile (headers): Add bits/byteswap-16.h.
36915
62470f60
PP
369162012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36917
36918 [BZ #13895]
36919 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36920 extra indirection.
36921 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36922 * nss/tst-nss-static.c: New.
36923
4dad7bab
RM
369242012-04-06 Robert Millan <rmh@gnu.org>
36925
36926 [BZ #6486]
36927 * manual/llio.texi (File Position Primitive): lseek
36928 refers to WHENCE when it really means OFFSET.
36929
e9142a17
AJ
369302012-04-06 Andreas Jaeger <aj@suse.de>
36931
2c040eff
AJ
36932 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36933 strncmp declarations.
36934
e9142a17
AJ
36935 * abilist/libc.abilist: Add __poll and __ppoll.
36936
ff9f1c5f
DM
369372012-04-05 David S. Miller <davem@davemloft.net>
36938
dcd2ae90
DM
36939 * scripts/check-local-headers.sh: Accept a host triplet in the
36940 path matched by the exclude regexp.
36941
993eb054
DM
36942 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36943 definition.
36944 * sysdeps/powerpc/powerpc32/dl-machine.h
36945 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36946 * sysdeps/s390/s390-32/dl-machine.h
36947 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36948 * sysdeps/sparc/sparc32/dl-machine.h
36949 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36950 * sysdeps/sparc/sparc64/dl-machine.h
36951 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36952
ff9f1c5f
DM
36953 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36954 lazy binding.
48e2e132 36955 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
36956 undefined symbol errors.
36957
48e2e132 36958 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
36959 DT_NEEDED entries.
36960
e80d6f94
MM
369612012-04-05 Michael Matz <matz@suse.de>
36962
36963 [BZ #13592]
36964 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36965
349fa79f
AJ
369662012-04-05 Andreas Jaeger <aj@suse.de>
36967
36968 [BZ #13908]
36969 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36970 comment.
36971
f402708f
KK
369722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36973
36974 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36975 which ROUND is no valid rounding mode.
36976
2ecccfc9
KK
369772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36978
36979 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36980 read again.
36981 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36982
8a53f50f
KK
369832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36984
36985 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36986 an exception using FPU order intentionally.
36987
369882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36989
36990 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36991 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36992 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36993 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36994
d653abb7
SJ
369952012-04-05 Simon Josefsson <simon@josefsson.org>
36996
36997 [BZ #12340]
36998 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36999 EINVAL when BUFLEN is too smal.
37000
c3b1bf7d
TS
370012012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37002
37003 [BZ #13553]
37004 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37005 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37006
b1aa60f3
AJ
370072012-04-03 Andreas Jaeger <aj@suse.de>
37008
c3b1bf7d 37009 [BZ #13938]
67f60a26
AJ
37010 * manual/setjmp.texi (System V contexts): Fix sentence.
37011
b1aa60f3
AJ
37012 [BZ #13926]
37013 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37014 New macro for this case.
37015 [!__GNUC__] (__bswap_64): New inline function for this case.
37016 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37017 * bits/byteswap.h: Likewise.
37018 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37019 ull, guard with __GLIBC_HAVE_LONG_LONG.
37020
37021 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37022 __GLIBC_HAVE_LONG_LONG.
37023
37024 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37025 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37026
39c59c35
TMQMF
370272012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37028
37029 [BZ #13691]
37030 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37031 inptr and inend, rather than using last_ch.
37032
135ffda8
DM
370332012-04-02 David S. Miller <davem@davemloft.net>
37034
37035 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37036 * stdio-common/printf-parse.h (read_int): Change return type to
37037 'int', return -1 on INT_MAX overflow.
37038 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37039 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37040 overflows INT_MAX. Check for overflow of in-format-string precision
37041 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37042 SIZE_MAX not INT_MAX for integer overflow test.
37043 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37044 skip the construct in the format string but do not record anything.
37045 * stdio-common/bug22.c: Adjust to test both width/prevision
37046 INT_MAX overflow as well as total length INT_MAX overflow. Check
37047 explicitly for proper errno values.
37048
228c019e
TS
370492012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37050
302cadd3
TS
37051 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37052 CHAR_MAX.
37053 * string/test-strcmp.c [! WIDE]: Likewise.
37054 * time/tst-mktime2.c: Likewise for INT_MAX.
37055 * string/test-string.h: #include <sys/param.h> for MIN.
37056
228c019e
TS
37057 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37058 * sysdeps/i386/init-first.c (init): Likewise.
37059 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37060 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37061 * sysdeps/sh/init-first.c (init): Likewise.
37062
cfa633f5
UD
370632012-04-01 Ulrich Drepper <drepper@gmail.com>
37064
37065 * po/ru.po: Update from translation team.
d1635ef8 37066 * po/vi.po: Likewise.
cfa633f5 37067
6cd0a5ea
SP
370682012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37069
37070 * resolv/nss_dns/dns-host.c: Merge copyright years.
37071
4b43400f
LD
370722012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37073
37074 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37075 Optimize memcpy with prefetch if
37076 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37077 src, dst pointers have unequal 16 byte alignments.
37078
48c41d04
SP
370792012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37080
37081 [BZ #13928]
37082 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37083 from a CNAME entry and return the minimum ttl for the query.
37084 (gaih_getanswer_slice): Likewise.
37085
b8dc394d
JL
370862012-03-30 Jeff Law <law@redhat.com>
37087
37088 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37089 due to long keys.
37090 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37091 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37092
2f5a5ed0
JL
37093 * resolv/nss_dns/dns-host.c: Update copyright year.
37094
1d39e359
UD
370952012-03-30 Ulrich Drepper <drepper@gmail.com>
37096
c030f70c 37097 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 37098 requests to save a system call. Fix check that all bytes are sent.
c030f70c 37099
1d39e359
UD
37100 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37101 comments for sendmmsg.
37102
371032012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
37104
37105 [BZ #13691]
37106 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37107 with only 1 character between 0x0041 and 0x01b0.
37108 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37109 * wcsmbs/tst-mbsnrtowcs.c: New file.
37110
20fde227
DM
371112012-03-29 David S. Miller <davem@davemloft.net>
37112
37113 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37114 small copies by hand.
37115
984a4237
JL
371162012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37117
37118 [BZ #13761]
57f41c40
AS
37119 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37120 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37121 group memberships.
984a4237 37122
18c9d62b
DM
371232012-03-28 David S. Miller <davem@davemloft.net>
37124
88d85d4f
DM
37125 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37126 that branches into memcpy.
37127 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37128 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37129 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37130 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37131 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37132 bits.
37133 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37134 implementation too.
37135 * sysdeps/sparc/mempcpy.S: New file.
37136
e5aa83e1
DM
37137 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37138 the IFUNC routine in the libc case.
37139 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37140
88570753
DM
37141 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37142 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37143 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37144 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37145 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37146 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37147 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37148 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37149
249d7567
DM
37150 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37151 loop to 256 bytes instead of 64 bytes and fix test signedness.
37152
18c9d62b
DM
37153 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37154 * sysdeps/sparc/sparc32/Makefile: rather than here...
37155 * sysdeps/sparc/sparc64/Makefile: and here.
37156
05f3d1f6
UD
371572012-03-28 Ulrich Drepper <drepper@gmail.com>
37158
37159 * malloc/mallocbug.c: Avoid warnings about unused variables.
37160
86ae07a8
JL
371612012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37162
37163 [BZ #13760]
37164 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37165 in the right place. Discard and retry query if response is
37166 larger than input buffer size.
37167
41bf21a1
JM
371682012-03-28 Joseph Myers <joseph@codesourcery.com>
37169
d6270972
JM
37170 [BZ #369]
37171 [BZ #2678]
37172 [BZ #3866]
37173 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37174 x for large integer exponent.
37175 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37176 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37177 sign of result as needed afterwards.
37178 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37179 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37180 result for underflowing pow the same as for overflow.
37181 (__kernel_standard_l): Handle powl overflow and underflow here
37182 rather than calling __kernel_standard.
37183 * math/libm-test.inc (pow_test): Add more tests.
37184
414fca03 37185 [BZ #3868]
41bf21a1
JM
37186 [BZ #13879]
37187 [BZ #13910]
37188 [BZ #13911]
37189 [BZ #13912]
37190 [BZ #13913]
37191 [BZ #13915]
37192 [BZ #13916]
37193 [BZ #13917]
37194 [BZ #13918]
37195 [BZ #13919]
37196 [BZ #13920]
37197 [BZ #13921]
37198 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37199 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37200 (__kernel_standard_l): New function.
37201 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37202 __kernel_standard.
37203 * math/w_acosl.c (__acosl): Likewise.
37204 * math/w_asinl.c (__asinl): Likewise.
37205 * math/w_atan2l.c (__atan2l): Likewise.
37206 * math/w_atanhl.c (__atanhl): Likewise.
37207 * math/w_coshl.c (__coshl): Likewise.
37208 * math/w_exp10l.c (__exp10l): Likewise.
37209 * math/w_exp2l.c (__exp2l): Likewise.
37210 * math/w_fmodl.c (__fmodl): Likewise.
37211 * math/w_hypotl.c (__hypotl): Likewise.
37212 * math/w_j0l.c (__j0l, __y0l): Likewise.
37213 * math/w_j1l.c (__j1l, __y1l): Likewise.
37214 * math/w_jnl.c (__jnl, __ynl): Likewise.
37215 * math/w_lgammal.c (__lgammal): Likewise.
37216 * math/w_log10l.c (__log10l): Likewise.
37217 * math/w_log2l.c (__log2l): Likewise.
37218 * math/w_logl.c (__logl): Likewise.
37219 * math/w_powl.c (__powl): Likewise.
37220 * math/w_remainderl.c (__remainderl): Likewise.
37221 * math/w_scalbl.c (sysv_scalbl): Likewise.
37222 * math/w_sinhl.c (__sinhl): Likewise.
37223 * math/w_sqrtl.c (__sqrtl): Likewise.
37224 * math/w_tgammal.c (__tgammal): Likewise.
37225 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37226 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37227 * math/libm-test.inc (acos_test): Add more tests.
37228 (acosh_test): Likewise.
37229 (asin_test): Likewise.
37230 (atanh_test): Likewise.
37231 (exp_test): Likewise.
37232 (exp10_test): Likewise.
37233 (exp2_test): Likewise.
37234 (expm1_test): Likewise.
37235 (lgamma_test): Likewise.
37236 (log_test): Likewise.
37237 (log10_test): Likewise.
37238 (log1p_test): Likewise.
37239 (log2_test): Likewise.
37240 (pow_test): Do not allow some spurious overflow exceptions.
37241 (sqrt_test): Add more tests.
37242 (tgamma_test): Likewise.
37243 (y0_test): Likewise.
37244 (y1_test): Likewise.
37245 (yn_test): Likewise.
37246
dd62fda6
AB
372472012-03-27 Anton Blanchard <anton@samba.org>
37248
37249 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37250 MAP_HUGETLB.
37251 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37252 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37253 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37254
1e3cdfda
AJ
372552012-03-27 David S. Miller <davem@davemloft.net>
37256
b855ab85
DM
37257 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37258
1e3cdfda
AJ
37259 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37260 have-as-vis3 check.
37261
372622012-03-27 Andreas Jaeger <aj@suse.de>
37263
37264 * sysdeps/x86_64/elf/configure.in: Moved to ...
37265 * sysdeps/x86_64/configure.in: ... here.
37266 * sysdeps/x86_64/elf/start.S: Moved to ...
37267 * sysdeps/x86_64/start.S: ... here.
37268 * sysdeps/x86_64/elf/configure: Delete.
37269
37270 * sysdeps/x86_64/configure.in: Merge contents from
37271 sysdeps/i386/configure.in (without i686 check).
37272
37273 * sysdeps/i386/elf/Versions: Merge into ...
37274 * sysdeps/i386/Versions: ... this.
37275 * sysdeps/i386/elf/Versions: Delete file.
37276 * sysdeps/i386/elf/start.S: Moved to ...
37277 * sysdeps/i386/start.S: ...here.
37278 * sysdeps/i386/elf/configure.in: Merge into...
37279 * sysdeps/i386/configure.in: ...here.
37280 * sysdeps/i386/elf/configure.in: Delete file.
37281 * sysdeps/i386/elf/configure: Delete file.
37282
37283 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37284 * debug/backtracesyms.c: ... here.
37285 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37286 * debug/backtracesymsfd.c: ... here.
37287 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37288 * sysdeps/generic/ifunc-sel.h: ... here.
37289
37290 * sysdeps/unix/i386/start.c: Delete file.
37291 * sysdeps/unix/sparc/start.c: Delete file.
37292 * sysdeps/unix/start.c: Delete file.
37293
37294 * sysdeps/sh/elf/configure.in: Moved to ...
37295 * sysdeps/sh/configure.in: ... here.
37296 * sysdeps/sh/elf/start.S: Moved to ...
37297 * sysdeps/sh/start.S: ... here.
37298 * sysdeps/sh/elf/configure: Delete file.
37299
37300 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37301 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37302 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37303 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37304 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37305 * sysdeps/powerpc/powerpc64/start.S: here.
37306 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37307 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37308 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37309 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37310 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37311
37312 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37313 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37314 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37315 * sysdeps/powerpc/powerpc32/start.S: ... here.
37316 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37317 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37318 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37319
37320 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37321 * sysdeps/powerpc/ifunc-sel.h: ... here.
37322 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37323 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37324
37325 * sysdeps/sparc/elf/configure.in: Moved to ...
37326 * sysdeps/sparc/configure.in: ... here.
37327 * sysdeps/sparc/elf/configure: Delete file.
37328 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37329 * sysdeps/sparc/sparc32/start.S: ... here.
37330 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37331 * sysdeps/sparc/sparc64/start.S: ... here.
37332 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37333 * sysdeps/sparc/sparc32/Makefile: ... this.
37334 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37335 * sysdeps/sparc/sparc64/Makefile: ... this.
37336
37337 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37338 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37339 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37340 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37341 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37342 * sysdeps/s390/s390-32/setjmp.S: ... here.
37343 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37344 * sysdeps/s390/s390-32/configure.in: ... here.
37345 * sysdeps/s390/s390-32/elf/configure: Delete file.
37346 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37347 * sysdeps/s390/s390-32/start.S: ... here.
37348
37349 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37350 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37351 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37352 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37353 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37354 * sysdeps/s390/s390-64/setjmp.S: ... here.
37355 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37356 * sysdeps/s390/s390-64/configure.in: ... here
37357 * sysdeps/s390/s390-64/elf/configure: Delete file.
37358 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37359 * sysdeps/s390/s390-64/start.S: ... here.
37360 * sysdeps/s390/s390-64/elf/configure: Delete.
37361
37362 * configure.in: Remove support for elf directories in sysdeps.
37363
37364 * configure: Regenerated.
37365 * sysdeps/i386/configure: Regenerated.
37366 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37367 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37368 * sysdeps/s390/s390-32/configure: Regenerated.
37369 * sysdeps/s390/s390-64/configure: Regenerated.
37370 * sysdeps/sh/configure: Regenerated.
37371 * sysdeps/sparc/configure: Regenerated.
37372 * sysdeps/x86_64/configure: Regenerated.
37373
a3f61311
AS
373742012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37375
c876e002
AS
37376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37377
a3f61311
AS
37378 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37379 denormal result into account.
37380
ac4c54f0
RM
373812012-03-25 Roland McGrath <roland@hack.frob.com>
37382
37383 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37384 Reported by Allan McRae <allan@archlinux.org>.
37385
6a9b9c02
JL
373862012-03-23 Jeff Law <law@redhat.com>
37387
37388 * nss/getnssent.c (__nss_getent): Fix typo.
37389
4c42a0c1
DM
373902012-03-23 David S. Miller <davem@davemloft.net>
37391
37392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37393
1532c7ac
L
373942012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37395
37396 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37397 to pad to uint64_t for each field.
37398 (dl_tls_index): Replace unsigned long with uint64_t.
37399
3ff42526
PP
374002012-03-23 Daniel Jacobowitz <dmj@google.com>
37401 Paul Pluzhnikov <ppluzhnikov@google.com>
37402
37403 [BZ #6528]
37404 * grp/Makefile (otherlibs): Don't set it.
37405 * inet/Makefile (otherlibs): Likewise.
37406 * login/Makefile (otherlibs): Likewise.
37407 * nscd/Makefile (otherlibs): Likewise.
37408 * posix/Makefile (otherlibs): Likewise.
37409 * pwd/Makefile (otherlibs): Likewise.
37410 * rt/Makefile (otherlibs): Likewise.
37411 * sunrpc/Makefile (otherlibs): Likewise.
37412 * nss/Makefile (otherlibs): Likewise.
37413 Add libnss_files to routines and static-only-routines.
37414 ($(objpfx)getent): Remove rule.
37415 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37416 static-only-routines.
37417
7c69cd14
JM
374182012-03-22 Joseph Myers <joseph@codesourcery.com>
37419
37420 [BZ #13892]
37421 * math/s_cexp.c: Include <float.h>.
37422 (__cexp): Handle exp result overflowing not necessarily
37423 overflowing both real and imaginary parts of result.
37424 * math/s_cexpf.c: Likewise.
37425 * math/s_cexpl.c: Likewise.
37426 * math/libm-test.inc (cexp_test): Add more tests.
37427 * sysdeps/i386/fpu/libm-test-ulps: Update.
37428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37429
81b035fe
L
374302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37431
37432 * include/link.h (ELFW): New macro.
37433 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37434 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37435
1da7940c
L
374362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37437
37438 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37439 with uint64_t.
37440
b749dbb9
L
374412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37442
37443 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37444 declaration.
37445 (struct La_x32_retval): Likewise.
37446
2ff87f3f
L
374472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37448
37449 * sysdeps/x86_64/preconfigure.in: New file.
37450 * sysdeps/x86_64/preconfigure: New generated file.
37451
c0df8e69
JM
374522012-03-22 Joseph Myers <joseph@codesourcery.com>
37453
48e44791
JM
37454 [BZ #13824]
37455 * math/e_exp2l.c: Include <float.h>.
37456 (__ieee754_exp2l): Handle overflow and underflow cases
37457 separately. Only pass fractional part of argument to
37458 __ieee754_expl.
37459 * math/libm-test.inc (exp2_test): Add more tests.
37460
c0df8e69
JM
37461 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37462 negating x to take absolute value.
37463 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37464 Likewise.
37465 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37466 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37467 Likewise.
37468 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37469 computing low part if x was negated.
37470 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37471
c8e43ba7
L
374722012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37473
37474 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37475 la_x32_gnu_pltexit.
37476 (pltexit): Cast int_retval to ptrdiff_t.
37477 * elf/tst-auditmod3b.c: Likewise.
37478 * elf/tst-auditmod4b.c: Likewise.
37479 * elf/tst-auditmod5b.c: Likewise.
37480 * elf/tst-auditmod6b.c: Likewise.
37481 * elf/tst-auditmod6c.c: Likewise.
37482 * elf/tst-auditmod7b.c: Likewise.
37483
37484 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37485 and x32_gnu_pltexit.
37486
37487 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37488 __ELF_NATIVE_CLASS.
37489 (La_x32_regs): New macro.
37490 (La_x32_retval): Likewise.
37491 (la_x32_gnu_pltenter): New function prototype.
37492 (la_x32_gnu_pltexit): Likewise.
37493
7998fa78
AS
374942012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37495
dcb33988
AS
37496 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37497 exponent.
37498
233fc563
AS
37499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37500
7998fa78
AS
37501 * configure.in (libc_cv_cc_nofma): Check for option to disable
37502 generation of FMA instructions.
37503 * configure: Regenerate.
37504 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37505 * sysdeps/ieee754/dbl-64/Makefile: New file.
37506 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37507 Remove brandred-fma4.
37508 (CFLAGS-brandred-fma4.c): Remove.
37509 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37510 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37511 define.
37512 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37513 define.
37514
8e95c99a
L
375152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37516
37517 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37518 LLONG_MAX != LONG_MAX.
37519 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37520 (_fitoa_word): Likewise.
37521 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37522 LLONG_MAX != LONG_MAX.
37523 * stdio-common/_itowa.h: Include <_itoa.h>.
37524 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37525 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37526 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37527 only if not defined.
37528 (_ITOA_WORD_TYPE): Likewise.
37529 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37530 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37531
6f4db457
DM
375322012-03-21 David S. Miller <davem@davemloft.net>
37533
37534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37535
7785fe5a
L
375362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37537
37538 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37539 of x86_64 when setting libc_cv_slibdir, libdir and
37540 libc_cv_localedir.
37541 * sysdeps/unix/sysv/linux/configure: Regenerated.
37542
4535cd55
JM
375432012-03-21 Joseph Myers <joseph@codesourcery.com>
37544
37545 * manual/lang.texi (Old Varargs): Remove section.
37546 (How Variadic): Update menu.
37547 (va_start): Do not mention varargs.h.
37548
17228132
TS
375492012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37550 Joseph Myers <joseph@codesourcery.com>
37551
37552 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37553 link test.
37554 * configure: Regenerated.
37555
8149f976
TS
375562012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37557
05f3d1f6
UD
37558 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37559 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37560 conformtest.pl
8149f976 37561
1a4ac776
JM
375622012-03-21 Joseph Myers <joseph@codesourcery.com>
37563
be22ce65
JM
37564 * NOTES: Remove.
37565 * Makefile (files-for-dist): Remove NOTES.
37566 (NOTES): Remove rule.
37567 * README: Don't refer to NOTES.
37568 * manual/creature.texi: Don't include macros.texi.
37569 * manual/intro.texi (creature.texi): Remove comment referring to
37570 NOTES.
37571
40b601fb
JM
37572 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37573 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37574 * configure: Regenerated.
37575 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37576 LIBC_TRY_CC_OPTION.
37577 (libc_cv_as_i686): Likewise.
37578 (libc_cv_cc_avx): Likewise.
37579 (libc_cv_cc_sse2avx): Likewise.
37580 (libc_cv_cc_fma4): Likewise.
37581 (libc_cv_cc_novzeroupper): Likewise.
37582 * sysdeps/i386/configure: Regenerated.
37583
1a4ac776
JM
37584 [BZ #13883]
37585 * sysdeps/i386/fpu/s_cexp.S: Remove.
37586 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37587 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37588 * math/libm-test.inc (cexp_test): Add more tests.
37589 * sysdeps/i386/fpu/libm-test-ulps: Update.
37590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37591
a458e7fe
AM
375922012-03-21 Allan McRae <allan@archlinux.org>
37593
37594 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37595
0cb7efc5
JM
375962012-03-21 Joseph Myers <joseph@codesourcery.com>
37597
37598 [BZ #13871]
37599 * math/w_exp2.c: Do not include <float.h>.
37600 (o_threshold, u_threshold): Remove.
37601 (__exp2): Calculate result before checking finiteness and calling
37602 __kernel_standard.
37603 * math/w_exp2f.c: Likewise.
37604 * math/w_exp2l.c: Likewise.
37605 * math/libm-test.inc (exp2_test): Require overflow exception for
37606 1e6 input.
2460d3aa
JM
37607
37608 [BZ #3866]
37609 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37610 range of signed 64-bit integers before using fistpll. Remove
37611 checks for whether integers fit in mantissa bits.
37612 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37613 the range of signed 32-bit integers before using fistpl. Remove
37614 checks for whether integers fit in mantissa bits.
37615 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37616 (__ieee754_powl): Test for y outside the range of signed 64-bit
37617 integers before using fistpll. Reduce 64-bit values to 63-bit
37618 ones as needed.
37619 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37620 divide-by-zero is raised for zero to large negative powers.
37621 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37622 (__ieee754_powl): Test for y outside the range of signed 64-bit
37623 integers before using fistpll. Reduce 64-bit values to 63-bit
37624 ones as needed.
37625 * math/libm-test.inc (pow_test): Add more tests.
37626
eb96ffb0
L
376272012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37628
37629 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37630 <stdio-common/_itoa.h>.
37631 * debug/segfault.c: Likewise.
37632 * elf/dl-cache.c: Likewise.
37633 * elf/dl-minimal.c: Likewise.
37634 * elf/dl-misc.c: Likewise.
37635 * elf/dl-sysdep.c: Likewise.
37636 * elf/dl-version.c: Likewise.
37637 * elf/rtld.c: Likewise.
37638 * hurd/hurdsock.c: Likewise.
37639 * hurd/lookup-retry.c: Likewise.
37640 * malloc/malloc.c: Likewise.
37641 * malloc/mtrace.c: Likewise.
37642 * nscd/nscd_getgr_r.c: Likewise.
37643 * nscd/nscd_getpw_r.c: Likewise.
37644 * nscd/nscd_getserv_r.c: Likewise.
37645 * posix/getopt_init.c: Likewise.
37646 * posix/wordexp.c: Likewise.
37647 * stdio-common/_itoa.c: Likewise.
37648 * stdio-common/printf_fphex.c: Likewise.
37649 * stdio-common/vfprintf.c: Likewise.
37650 * string/_strerror.c: Likewise.
37651 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37652 * sysdeps/i386/i686/hp-timing.h: Likewise.
37653 * sysdeps/mach/_strerror.c: Likewise.
37654 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37655 * sysdeps/mach/hurd/sethostid.c: Likewise.
37656 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37657 * sysdeps/mach/xpg-strerror.c: Likewise.
37658 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37659 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37660 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37661 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37662 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37663 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37664 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37665 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37666 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37667 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37668 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37669 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37670 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37671 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37672 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37673 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37674 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37675 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37676 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37677 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37678 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37679
37680 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37681
37682 * stdio-common/_itoa.h: Moved to ...
37683 * sysdeps/generic/_itoa.h: Here.
37684
37685 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37686
37687 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37688 instead of "_itoa.h" and "_itowa.h".
37689 * stdio-common/vfprintf.: Likewise.
37690
d1af992d
L
376912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37692
37693 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37694 <bits/wordsize.h>.
37695 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37696 (__signbit): Likwise.
37697 (llrintf): Likwise.
37698 (llrint): Likwise.
37699
114883e0
L
377002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37701
37702 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37703 __WORDSIZE != 64.
37704
c135cc1b
JM
377052012-03-20 Joseph Myers <joseph@codesourcery.com>
37706
37707 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37708 OVERFLOW_EXCEPTION_OK.
37709 * math/libm-test.inc ("Philosophy"): Update comment about
37710 exception testing.
37711 (OVERFLOW_EXCEPTION): Define.
37712 (OVERFLOW_EXCEPTION_OK): Likewise.
37713 (INVALID_EXCEPTION_OK): Renumber.
37714 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37715 (IGNORE_ZERO_INF_SIGN): Likewise.
37716 (test_exceptions): Handle FE_OVERFLOW.
37717 (exp10_test): Expect overflow exceptions.
37718 (exp2_test): Likewise.
37719 (expm1_test): Likewise.
37720 (nextafter_test): Likewise.
37721 (pow_test): Likewise.
37722 (scalbn_test): Likewise.
37723 (scalbln_test): Likewise.
37724
95443d88
L
377252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37726
37727 * sysdeps/x86_64/bits/atomic.h
37728 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37729 64bit integer.
37730 (atomic_exchange_acq): Likewise.
37731 (__arch_exchange_and_add_body): Likewise.
37732 (__arch_add_body): Likewise.
37733 (atomic_add_negative): Likewise.
37734 (atomic_add_zero): Likewise.
37735
490df6c4
L
377362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37737
c2722551 37738 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
37739 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37740
5e52b189
L
377412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37742
37743 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37744 Check __x86_64__ instead of __WORDSIZE.
37745
a9879d4c
L
377462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37747
37748 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37749
5df98260
DM
377502012-03-19 David S. Miller <davem@davemloft.net>
37751
e1497744
DM
37752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37753
5df98260
DM
37754 * sysdeps/sparc/fpu/fenv_private.h: New file.
37755 * sysdeps/sparc/fpu/math_private.h: Use it.
37756 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37757 Remove.
57f41c40 37758 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
37759 (libc_feholdexcept_setroundl): Remove.
37760 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37761 Remove.
37762 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37763 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37764
b4c35121
L
377652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37766
37767 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37768 int64_t instead of long int.
37769 (INSERT_WORDS64): Likwise.
37770
56965fd7
L
377712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37772
37773 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37774 _Unwind_GetCFA return to _Unwind_Ptr first.
37775
83d1aec8
JM
377762012-03-19 Joseph Myers <joseph@codesourcery.com>
37777
1897ad44
JM
37778 [BZ #13629]
37779 * math/s_clog.c: Include <float.h>.
37780 (__clog): Scale large or subnormal inputs.
37781 * math/s_clogf.c: Likewise.
37782 * math/s_clogl.c: Likewise.
37783 * math/s_clog10.c: Include <float.h>.
37784 (M_LOG10_2): Define.
37785 (__clog10): Scale large or subnormal inputs.
37786 * math/s_clog10f.c: Likewise.
37787 * math/s_clog10l.c: Likewise.
37788 * math/libm-test.inc (clog_test): Add more tests.
37789 (clog10_test): Likewise.
37790 * sysdeps/i386/fpu/libm-test-ulps: Update.
37791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37792
7726d6a9
JM
37793 [BZ #11451]
37794 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37795 x and y.
37796 * math/libm-test.inc (atan2_test): Add another test.
37797
83d1aec8
JM
37798 * Makerules (common-objdir-compile): Remove.
37799 * sysdeps/unix/Makefile (config-generated): Do not add
37800 $(unix-generated) to variable.
37801 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37802 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37803 Remove rule.
37804 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37805 Likewise.
37806 [generic bits/local_lim.h] (before-compile): Do not append to
37807 variable.
37808 [generic bits/local_lim.h] (common-generated): Likewise.
37809 [generic sys/param.h] (before-compile): Do not append to variable.
37810 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37811 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37812 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37813 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37814 include.
37815 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37816 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37817 [generic sys/param.h] ($(addprefix
37818 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37819 [generic sys/param.h] (common-generated): Do not append to
37820 variable.
37821 [generic sys/param.h] (sysdep_headers): Likewise.
37822 [generic bits/errno.h] (before-compile): Do not append to
37823 variable.
37824 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37825 rule.
37826 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37827 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37828 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37829 [generic bits/errno.h] (common-generated): Do not append to
37830 variable.
37831 [generic bits/ioctls.h] (before-compile): Do not append to
37832 variable.
37833 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37834 rule.
37835 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37836 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37837 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37838 rule.
37839 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37840 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37841 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37842 [generic bits/ioctls.h] (common-generated): Do not append to
37843 variable.
37844 [generic sys/syscall.h] (syscall.h): Remove variable.
37845 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37846 rule.
37847 [generic sys/syscall.h] (before-compile): Do not append to
37848 variable.
37849 [generic sys/syscall.h] (common-generated): Likewise.
37850 * sysdeps/unix/errnos-tmpl.c: Remove file.
37851 * sysdeps/unix/errnos.awk: Likewise.
37852 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37853 * sysdeps/unix/ioctls.awk: Likewise.
37854 * sysdeps/unix/mk-local_lim.c: Likewise.
37855 * sysdeps/unix/snarf-ioctls: Likewise.
37856
4851a949
RH
378572012-03-19 Richard Henderson <rth@twiddle.net>
37858
bd37f2ee
RH
37859 * sysdeps/i386/fpu/fenv_private.h: New file.
37860 * sysdeps/i386/fpu/math_private.h: Use it.
37861 (math_opt_barrier, math_force_eval): Remove.
37862 (libc_feholdexcept_setround_53bit): Remove.
37863 (libc_feupdateenv_53bit): Remove.
37864 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37865 (math_opt_barrier, math_force_eval): Remove.
37866 (libc_feholdexcept): Remove.
37867 (libc_feholdexcept_setround): Remove.
37868 (libc_fetestexcept, libc_fesetenv): Remove.
37869 (libc_feupdateenv_test): Remove.
37870 (libc_feupdateenv, libc_feholdsetround): Remove.
37871 (libc_feresetround): Remove.
37872
d0adc922
RH
37873 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37874 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37875
0fe0f1f8
RH
37876 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37877 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37878 (libc_feupdateenv_testl): New.
37879 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37880 (libc_feupdateenv_testf): New.
37881 (libc_feupdateenv): Use libc_feupdateenv_test.
37882 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37883 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37884
eb92c487
RH
37885 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37886 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37887 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37888 (libc_feresetround_noex): New.
37889 (libc_feresetround_noexf): New.
37890 (libc_feresetround_noexl): New.
37891 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37892 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37893 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37894 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37895 SET_RESTORE_ROUND.
37896 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37897 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37898 (__cos): Likewise.
37899 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37900 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37901 SET_RESTORE_ROUND_NOEX.
37902 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37903 SET_RESTORE_ROUND_NOEXF.
37904 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37905 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37906 (libc_feholdsetroundf): New.
37907 (libc_feresetround, libc_feresetroundf): New.
37908
7d2e8012
RH
37909 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37910 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37911 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37912
b4dabbb4
RH
37913 * sysdeps/generic/math_private.h: Include <fenv.h>.
37914 (default_libc_feholdexcept): New.
37915 (default_libc_feholdexcept_setround): New.
37916 (default_libc_fesetenv, default_libc_feupdateenv): New.
37917 (libc_feholdexcept): Only define if undefined.
37918 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37919 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37920 (libc_feholdexcept_setroundl): Likewise.
37921 (libc_feholdexcept_setround_53bit): Likewise.
37922 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37923 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37924 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37925 (libc_feupdateenv_53bit): Likewise.
37926 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37927 (libc_feholdexcept): Convert from macro to inline function.
37928 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37929 (libc_fesetenv, libc_feupdateenv): Likewise.
37930
4851a949
RH
37931 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37932 not previously defined.
37933 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37934 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37935 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37936 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37937 * sysdeps/ieee754/flt-32/math_private.h: New file.
37938 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37939 math_private.h below SET_FLOAT_WORD.
37940 (__isnan, __isinf_ns, __finite): Remove.
37941 (__isnanf, __isinf_nsf, __finitef): Remove.
37942
e79d442e
AS
379432012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37944
37945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37946
90b80344
DM
379472012-03-17 David S. Miller <davem@davemloft.net>
37948
37949 [BZ #6471]
37950 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37951 for 2.16.
37952
edc21804
DM
379532012-03-16 David S. Miller <davem@davemloft.net>
37954
77e927af
DM
37955 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37956 warnings.
37957
374976dd
DM
37958 [BZ #6471]
37959 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37960 properly.
37961 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37962 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37963 sysdep_routines when subdir is sysvipc.
37964 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37965 __getshmlba helper.
37966
edc21804
DM
37967 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37968
473c3ef3
L
379692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37970
37971 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37972 [__LP64__].
37973
eb0f39b6
L
379742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37975
37976 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37977 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37978 (__lround): Renamed to ...
37979 (__llround): This. Replace long int with long long int.
37980 Define lround functions as aliases of llround functions.
37981 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37982
6b6cd74b
L
379832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37984
37985 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37986 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37987 adresses to uintptr_t. Replace "long int" and "unsigned long
37988 int" with "greg_t" on va_arg.
37989
f1a77b01
L
379902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37991
37992 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37993 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37994
37995 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37996 Move e_machine check before EI_CLASS check. Handle x32
37997 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37998 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37999 SKIP_EM_IA_64 and include
38000 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38001
38002 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38003 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38004 (add_system_dir): New macro.
38005
38006 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38007 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38008
11b90b9f
JM
380092012-03-16 Joseph Myers <joseph@codesourcery.com>
38010
c36e1d23
JM
38011 [BZ #2551]
38012 [BZ #2552]
38013 [BZ #2553]
38014 [BZ #2554]
38015 [BZ #2562]
38016 [BZ #2563]
38017 [BZ #2565]
38018 [BZ #2566]
38019 [BZ #2576]
38020 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38021 (y0): Likewise.
38022 * math/w_j0f.c (j0f): Likewise.
38023 (y0f): Likewise.
38024 * math/w_j0l.c (__j0l): Likewise.
38025 (__y0l): Likewise.
38026 * math/w_j1.c (j1): Likewise.
38027 (y1): Likewise.
38028 * math/w_j1f.c (j1f): Likewise.
38029 (y1f): Likewise.
38030 * math/w_j1l.c (__j1l): Likewise.
38031 (__y1l): Likewise.
38032 * math/w_jn.c (jn): Likewise.
38033 (yn): Likewise.
38034 * math/w_jnf.c (jnf): Likewise.
38035 (ynf): Likewise.
38036 * math/w_jnl.c (__jnl): Likewise.
38037 (__ynl): Likewise.
38038 * math/libm-test.inc (j0_test): Add more tests.
38039 (j1_test): Likewise.
38040 (jn_test): Likewise. Add trailing semicolon to existing test.
38041 (y0_test): Likewise.
38042 (y1_test): Likewise.
38043 * sysdeps/i386/fpu/libm-test-ulps: Update.
38044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38045
11b90b9f
JM
38046 [BZ #13851]
38047 [BZ #13854]
38048 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38049 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38050 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38051 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38052 (__tanl): Set errno for infinite argument.
38053 * sysdeps/i386/fpu/mptan.c: Remove.
38054 * sysdeps/i386/fpu/s_tan.S: Likewise.
38055 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38056 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38057 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38058 * math/libm-test.inc (tan_test): Add more tests and enable more
38059 tests for double and long double.
38060 * sysdeps/i386/fpu/libm-test-ulps: Update.
38061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38062
6a1bd2a1
JK
380632012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38064
38065 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38066 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38067
10a803e0
RM
380682012-03-16 Roland McGrath <roland@hack.frob.com>
38069
38070 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38071 * configure.in: Use it for both main tree and add-ons.
38072 * configure: Regenerated.
38073
f196c7f7
L
380742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38075
38076 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38077
8848d99d
JM
380782012-03-16 Joseph Myers <joseph@codesourcery.com>
38079
96cbe7f4
JM
38080 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38081 in comment.
38082
8848d99d
JM
38083 [BZ #13851]
38084 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38085 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38086 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38087 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38088 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38089 infinite argument.
38090 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38091 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38092 != 0 for prec == 2.
38093 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38094 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38095 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38096 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38097 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38098 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38099 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38100 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38101 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38102 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38103 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38104 * math/libm-test.inc (cos_test): Add more tests and enable more
38105 tests for long double.
38106 (sin_test): Likewise.
38107 (sincos_test): Likewise.
38108 * sysdeps/i386/fpu/libm-test-ulps: Update.
38109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38110
dd7f4703
DM
381112012-03-16 David S. Miller <davem@davemloft.net>
38112
38113 * sysdeps/sparc/fpu/math_private.h: New file.
38114
006f1daa
DM
381152012-03-15 David S. Miller <davem@davemloft.net>
38116
c0c83bc8
DM
38117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38118 file.
e6a62e18 38119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
38120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38121 file.
e6a62e18
DM
38122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38124 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38127 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38128 sysdep routines.
38129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38130
88cb87d9
DM
38131 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38132 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38133
006f1daa 38134 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
38135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38136 sparc-ifunc.h
006f1daa 38137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
38138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38139 Likewise.
38140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38141 Likewise.
006f1daa
DM
38142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
38145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38146 Likewise.
006f1daa
DM
38147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
38151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38152 Likewise.
38153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38154 Likewise.
006f1daa
DM
38155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38159 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38160 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38161 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38162 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38163 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38164 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38165 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38166 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38173 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38174 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38175 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38176 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38177 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38178 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38179
11e0098e
AS
381802012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38181
38182 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38183 scaling.
38184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38185
e85b09d0
AJ
381862012-03-15 Andreas Jaeger <aj@suse.de>
38187
38188 [BZ #13852]
38189 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38190 ieee754/flt-32 implementation for sin, cos and sincos.
38191 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38192 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38193 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38194 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38195 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38196 ieee754/flt-32 implementation for tan.
38197
38198 * math/libm-test.inc (cos_test): Enable some large input tests for
38199 float as well
38200 (sin_test): Likewise.
38201 (sincos_test): Likewise.
38202 (tan_test): Add tests for large input.
38203
38204 * sysdeps/i386/fpu/libm-test-ulps: Update.
38205
81c64153
AJ
382062012-03-15 Andreas Jaeger <aj@suse.de>
38207
38208 [BZ #13658]
38209 * math/libm-test.inc (cos_test): Add more test cases.
38210 (sin_test): Likewise.
38211 (sincos_test): Likewise.
38212
7bbfa5c6
AJ
382132012-03-15 Andreas Jaeger <aj@suse.de>
38214
38215 [BZ #13837]
38216 * math/libm-test.inc (cos_test): Add a test case for large input
38217 value.
38218 (sin_test): Likewise.
38219 (sincos_test): Likewise.
38220
57f41c40
AS
382212012-03-15 Andreas Jaeger <aj@suse.de>
38222 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
38223
38224 [BZ #13658]
0671f479 38225 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
38226 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38227 * sysdeps/i386/fpu/branred.c: Likewise.
38228 * sysdeps/i386/fpu/dosincos.c: Likewise.
38229 * sysdeps/i386/fpu/mpa.c: Likewise.
38230 * sysdeps/i386/fpu/s_cos.S: Likewise.
38231 * sysdeps/i386/fpu/s_sin.S: Likewise.
38232 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38233 * sysdeps/i386/fpu/sincos32.c: Likewise.
38234
38235 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38236 Define.
38237 (libc_feupdateenv_53bit): Define.
38238 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38239 Define.
38240 (libc_feupdateenv_53bit): Define.
38241
38242 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38243 53 bit (without extend i386 double precision).
38244
38245 * math/libm-test.inc (sincos_test): Add tests for large input.
38246 (sin): Likewise.
38247 (cos): Likewise.
38248
38249 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38250
9cad04ea
AS
382512012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38252
38253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38254
f7062b9a
DM
382552012-03-15 David S. Miller <davem@davemloft.net>
38256
38257 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38258 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38259 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38260 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38267 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38269 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38270 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38271 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
38272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38273 file.
f7062b9a 38274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
38275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38276 file.
f7062b9a 38277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
38278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38279 file.
f7062b9a 38280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
38281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38282 file.
f7062b9a
DM
38283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38284 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38285 fmin/fmax sysdep routines.
38286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38287
7bd951ff
DM
382882012-03-14 David S. Miller <davem@davemloft.net>
38289
559398ab
DM
38290 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38291 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38292 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38293 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38294 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38295 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38296 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38297 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38300 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38301 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38308 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38309 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38310 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38311 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38312 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38313 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38314 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38315 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38316 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38317 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
38318 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38319 routines.
38320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38321 file.
559398ab 38322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
38323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38324 file.
559398ab 38325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
38326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38327 file.
559398ab 38328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
38329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38330 file.
559398ab 38331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
38332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38333 file.
559398ab 38334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
38335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38336 file.
38337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38338 file.
38339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38340 file.
38341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38342 file.
38343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38344 New file.
38345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38346 file.
38347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38348 file.
559398ab 38349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
38350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38351 file.
559398ab 38352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
38353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38354 file.
559398ab 38355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
38356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38357 file.
559398ab 38358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
38359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38360 VIS3 routines.
559398ab
DM
38361
38362 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38363 New file.
38364
5a1c1e32
DM
38365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38366
eae47a36
DM
38367 * sysdeps/sparc/configure.in: New file.
38368 * sysdeps/sparc/configure: Generate.
38369 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38370 * configure: Regenerate.
38371 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38372 * config.make.in (have-as-vis3): New.
38373 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38374 available use -Av9d instead of -Av9a.
38375 * sysdeps/sparc/sparc64/Makefile: Likewise.
38376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
38377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38378 New file.
38379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38380 file.
38381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38382 New file.
38383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38384 file.
eae47a36
DM
38385 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38386 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38387 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38388 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38389 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38390
c0c83bc8
DM
38391 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38392 fzeros/fnegs to load 0x80000000 into a float register instead of
38393 using the stack.
7bd951ff
DM
38394 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38395
bd951ccb
JM
383962012-03-14 Joseph Myers <joseph@codesourcery.com>
38397
38398 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38399 bits/syscall.h.
38400 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38401 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38402 ($(inst_includedir)/bits/syscall.h): Remove rule.
38403 ($(objpfx)bits/syscall.d): Include instead of
38404 $(objpfx)syscall-list.d.
38405 (generated): Change syscall-list.h and syscall-list.d to
38406 bits/syscall.h and bits/syscall.d.
38407
bb4e6db2
RM
384082012-03-14 Roland McGrath <roland@hack.frob.com>
38409
38410 [BZ #13846]
38411 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38412
aa4a2ae1
JM
384132012-03-14 Joseph Myers <joseph@codesourcery.com>
38414
e456826d
JM
38415 [BZ #13841]
38416 * math/s_csqrt.c: Include <float.h>.
38417 (__csqrt): Scale large or subnormal inputs.
38418 * math/s_csqrtf.c: Likewise.
38419 * math/s_csqrtl.c: Likewise.
38420 * math/libm-test.inc (csqrt_test): Add more tests.
38421 * sysdeps/i386/fpu/libm-test-ulps: Update.
38422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38423
aa4a2ae1
JM
38424 [BZ #13840]
38425 * math/libm-test.inc (hypot_test): Add more tests.
38426
7c10fd35
DM
384272012-03-13 David S. Miller <davem@davemloft.net>
38428
38429 [BZ #13840]
38430 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38431 double-precision for the calculation instead of scaling.
38432
f453b98b
JM
384332012-03-13 Joseph Myers <joseph@codesourcery.com>
38434
38435 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38436 manipulate bits before adding and subtracting TWO52[sx].
38437 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38438 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38439 Likewise.
38440 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38441
09a3453f
DM
384422012-03-13 David S. Miller <davem@davemloft.net>
38443
8e59da90
DM
38444 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38445 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38446 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38447 rtld-global-offsets.h
38448 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38449
2a8ab7f2
DM
38450 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38451 large parameters.
38452
10f62770
DM
38453 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38454
5f0bdb18
DM
38455 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38456 'err' in the ifdef scope in which it is actually used.
38457
09a3453f
DM
38458 * nss/nss_db/db-init.c: Include string.h
38459
b4b2eb5e
DM
384602012-03-12 David S. Miller <davem@davemloft.net>
38461
98bb2f1c
DM
38462 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38463 masking out of the most significant byte of random value used.
38464 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38465 Fix coding style in previous change.
38466
b4b2eb5e
DM
38467 * sysdeps/unix/sysv/linux/kernel-features.h
38468 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38469 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38470 expression.
38471 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38472 later.
38473
6e226b09
DM
384742012-03-11 David S. Miller <davem@davemloft.net>
38475
a1bcbd40
DM
38476 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38477 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38478 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38479 for 'resultvar' otherwise things get truncated on 64-bit.
38480
cb9d6174
DM
38481 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38482 Fix masking out of the most significant byte of random value used.
38483
6e226b09
DM
38484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38485
058c132d
AS
384862012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38487
38488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38489
2d2cd515
DM
384902012-03-09 David S. Miller <davem@davemloft.net>
38491
38492 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38493 variables with appropriate CPP guards.
57f41c40
AS
38494 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38495 from the frame pointer, not the stack pointer. Correct layout
38496 comments. Fix test on resulting framesize and the management of
38497 the outregs buffer for pltexit. Preserve floating point return
38498 values across _dl_call_pltexit call.
2d2cd515
DM
38499 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38500 framesize and the management of the outregs buffer for pltexit.
38501 Preserve floating point return values across _dl_call_pltexit
38502 call.
57f41c40
AS
38503 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38504 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38505 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
38506 (print_exit): Fix format string for return register value.
38507
9a07f9d0
JM
385082012-03-10 Joseph Myers <joseph@codesourcery.com>
38509
38510 * sunrpc/Makefile (others): Add rpcgen.
38511 ($(objpfx)rpcgen): Remove special build rule and dependency on
38512 libc.
38513 * sunrpc/rpcgen.c: New file.
38514
547b5e30
PE
385152012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38516
c524201a
PE
38517 [BZ #13673]
38518 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38519 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38520 * sysdeps/i386/crti.S: Likewise.
38521 * sysdeps/i386/crtn.S: Likewise.
38522 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38523 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38524 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38525 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38526 * sysdeps/sh/crti.S: Likewise.
38527 * sysdeps/sh/crtn.S: Likewise.
38528 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38529
7b6235f2
PE
38530 [BZ #13673]
38531 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38532 with URL.
38533 * locale/programs/locfile-kw.gperf: Likewise.
38534 * locale/programs/charmap-kw.h: Regenerated.
38535 * locale/programs/locfile-kw.h: Likewise.
38536
547b5e30
PE
38537 [BZ #13673]
38538 * intl/plural.y: Replace FSF snail mail address with URL.
38539 * intl/plural.c: Regenerated.
38540
5f0a5dae
RH
385412012-03-09 Richard Henderson <rth@twiddle.net>
38542
38543 * include/math_private.h: Remove file.
38544 * math/math_private.h: Move file ...
38545 * sysdeps/generic/math_private.h: ... here.
38546
b8c03620
RH
38547 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38548 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38549 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38550
4e234f5d 38551 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
38552 and <math_private.h>.
38553 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38554 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38555 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38556 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38557 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38558 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38559 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38560 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38561 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38562 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38563 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38564 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38565 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38566 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38567 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38568 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38569 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38570 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38571 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38572 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38573 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38574 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38575 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38576 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38577 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38578 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38579 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38580 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38581 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38582 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38583 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38584 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38585 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38586 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38587 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38588 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38589 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38590 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38591 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38592 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38593 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38594 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38595 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38596 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38597 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38598 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38599 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38600 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38601 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38602 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38603 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38604 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38605 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38606 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38607 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38608 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38609 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38610 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38611 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38612 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38613 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38614 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38615 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38616 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38617 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38618 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38619 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38620 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38621 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38622 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38623 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38624 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38625 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38626 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38627 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38628 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38629 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38630 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38631 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38632 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38633 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38634 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38635 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38636 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38637 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38638 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38639 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38640 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38641 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38642 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38643 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38644 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38645 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38646 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38647 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38648 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38649 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38650 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38651 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38652 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38653 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38654 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38655 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38656 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38657 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38658 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38659 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38660 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38661 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38662 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38663 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38664 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38665 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38666 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38667 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38668 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38669 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38670 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38671 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38672 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38673 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38674 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38675 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38676 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38677 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38678 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38679 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38680 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38681 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38682 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38683 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38684 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38685 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38686 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38687 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38688 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38689 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38690 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38691 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38692 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38693 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38694 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38695 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38696 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38697 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38698 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38699 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38700 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38701 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38702 * sysdeps/ieee754/k_standard.c: Likewise.
38703 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38704 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38705 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38706 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38707 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38708 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38709 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38710 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38711 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38712 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38713 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38714 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38715 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38716 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38717 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38718 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38719 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38720 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38721 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38722 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38723 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38724 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38725 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38726 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38727 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38728 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38729 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38730 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38731 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38732 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38733 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38734 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38735 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38736 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38737 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38738 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38739 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38740 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38741 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38742 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38743 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38744 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38745 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38746 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38747 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38748 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38749 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38750 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38751 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38752 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38753 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38754 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38755 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38756 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38757 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38758 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38759 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38760 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38761 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38762 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38763 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38764 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38765 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38766 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38767 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38768 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38769 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38770 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38771 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38772 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38773 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38774 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38775 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38776 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38777 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38778 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38779 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38780 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38781 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38782 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38783 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38784 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38785 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38786 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38787 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38788 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38789 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38790 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38791 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38792 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38793 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38794 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38795 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38796 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38797 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38798 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38799 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38800 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38801 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38802 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38803 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38804 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38805 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38806 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38807 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38808 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38809 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38810 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38811 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38812 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38813 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38814 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38815 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38816 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38817 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38818 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38819 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38820 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38821 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38822 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38823 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38824 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38825 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38826 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38827 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38828 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38829 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38830 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38831 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38832 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38833 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38834 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38835 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38836 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38837 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38838 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38839 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38840 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38841 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38842 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38843 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38844 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38845 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38846 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38847 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38848 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38849 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38850 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38851 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38852 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38853 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38854 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38855 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38856 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38857 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38858 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38859 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38860 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38861 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38862 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38863 * sysdeps/ieee754/s_lib_version.c: Likewise.
38864 * sysdeps/ieee754/s_matherr.c: Likewise.
38865 * sysdeps/ieee754/s_signgam.c: Likewise.
38866 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38867 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38868 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38869 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38870 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38871 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38872 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38873 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38874 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38875 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38876 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38877 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38878 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38879 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38880 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38881 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38882 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38883 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38884 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38885 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38886 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 38887
1991fa03
JM
388882012-03-09 Joseph Myers <joseph@codesourcery.com>
38889
38890 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38891 * sunrpc/rpc_main.c: Likewise.
38892 * sunrpc/rpc_svcout.c: Likewise.
38893
60d6f5a6
DM
388942012-03-09 David S. Miller <davem@davemloft.net>
38895
38896 * include/math_private.h: New file.
38897
4962050e
JM
388982012-03-09 Joseph Myers <joseph@codesourcery.com>
38899
02a6f887
JM
38900 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38901 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38902 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38903 from <bits/socket_type.h>.
38904 (enum __socket_type): Don't define here.
38905 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38907 bits/socket_type.h.
38908
c6e013c1
JM
38909 [BZ #13566]
38910 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38911 checking __USE_GNU.
38912
4962050e
JM
38913 * Makerules ($(inst_includedir)/%.h): New rule.
38914 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38915 (install-others): Remove variable setting.
38916 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38917
38842f45
RH
389182012-03-08 Richard Henderson <rth@twiddle.net>
38919
67bb6da6
RH
38920 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38921 from macro to inline function; merge with the
38922 !__LIBC_INTERNAL_MATH_INLINES version.
38923 (__ieee754_sqrtf): Likewise.
38924
15194b4b
RH
38925 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38926 to inline function.
38927 (__rintf, __floor, __floorf): Likewise.
38928
64e21ede
RH
38929 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38930 macro to inline function.
38931 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38932
38842f45
RH
38933 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38934 not <math/math_private.h>.
38935
c64bf5fe
DM
389362012-03-08 David S. Miller <davem@davemloft.net>
38937
38938 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38939 copyright year.
38940 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38941
82d86f28
TS
389422012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38943
38944 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38945 normalization.
38946 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38947 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38948
aea5d727
UD
389492012-03-08 Ulrich Drepper <drepper@gmail.com>
38950
38951 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38952 be defined individually, they must be defined as a block. Define
38953 S for printing a string instead of hidint the different by using a
38954 macro for adding the 'l'.
38955 * stdio-common/tst-fphex-wide.c: Adjust.
38956
70bca0a3
MP
389572012-03-07 Marek Polacek <polacek@redhat.com>
38958
38959 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38960
65b81130
MP
389612012-03-08 Marek Polacek <polacek@redhat.com>
38962
38963 [BZ #13806]
38964 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38965 * stdio-common/tst-fphex.c: Define a few macros to make the
38966 test reusable. Use them.
38967 * stdio-common/tst-fphex-wide.c: New file.
38968
07037eeb
JM
389692012-03-08 Joseph Myers <joseph@codesourcery.com>
38970
a7a93d50
JM
38971 [BZ #6911]
38972 * manual/macros.texi (gnusystems): New macro.
38973 (nongnusystems): Likewise.
38974 (gnulinuxhurdsystems): Likewise.
38975 (gnuhurdsystems): Likewise..
38976 (gnulinuxsystems): Likewise.
38977 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38978 variants of the GNU system, not "GNU system".
38979 * manual/conf.texi: Likewise.
38980 * manual/errno.texi: Likewise. Update example of errno macro
38981 expansion.
38982 * manual/filesys.texi: Likewise.
38983 (getumask): Document as specific to GNU/Hurd.
38984 * manual/install.texi: Likewise. Reword some references to
38985 GNU/Linux.
38986 * manual/intro.texi: Likewise.
38987 * manual/io.texi: Likewise.
38988 (File Name Portability): Detail which constraints are inapplicable
38989 to all GNU systems and which are only inapplicable to GNU/Hurd.
38990 * manual/job.texi: Likewise.
38991 * manual/llio.texi: Likewise.
38992 (O_NOCTTY): Document as present on GNU/Linux.
38993 * manual/maint.texi: Likewise.
38994 * manual/memory.texi: Likewise.
38995 * manual/pattern.texi: Likewise.
38996 * manual/pipe.texi: Likewise.
38997 * manual/process.texi: Likewise.
38998 * manual/resource.texi: Likewise.
38999 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39000 child on GNU/Hurd.
39001 * manual/setjmp.texi: Likewise.
39002 * manual/signal.texi: Likewise.
39003 * manual/startup.texi: Likewise.
39004 * manual/stdio.texi: Likewise.
39005 * manual/terminal.texi: Likewise.
39006 (ONLCR): Document as POSIX.
39007 (OXTABS): Document availability on GNU/Linux as XTABS.
39008 (ONOEOT): Document availability separately from other bits.
39009 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39010 * manual/time.texi: Likewise.
39011 * manual/users.texi: Likewise.
39012 * INSTALL: Regenerated.
39013 * sysdeps/gnu/errlist.c: Regenerated.
39014
07037eeb
JM
39015 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39016 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39017 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39018 puts.
39019 * configure: Regenerated.
39020
d1d3431a
JM
390212012-03-07 Joseph Myers <joseph@codesourcery.com>
39022
af6a1e37
JM
39023 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39024 default includes instead of AC_HEADER_CHECK.
39025 * sysdeps/i386/configure: Regenerated.
39026
d1d3431a
JM
39027 [BZ #10716]
39028 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39029 * math/s_cacoshf.c (__cacoshf): Likewise.
39030 * math/s_cacoshl.c (__cacoshl): Likewise.
39031 * math/s_casinh.c (__casinh): Set signs of result from argument.
39032 * math/s_casinhf.c (__casinhf): Likewise.
39033 * math/s_casinhl.c (__casinhl): Likewise.
39034 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39035 (casinh_test): Add more tests.
39036 * sysdeps/i386/fpu/libm-test-ulps: Update.
39037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39038
482ff4da
UD
390392012-03-07 Ulrich Drepper <drepper@gmail.com>
39040
872fda05
UD
39041 * po/zh_TW.po: Update from translation team.
39042
a4300c7a
UD
39043 * login/Makefile (distribute): Remove variable.
39044 * catgets/Makefile: Likewise.
39045 * mach/Makefile: Likewise.
39046 * malloc/Makefile: Likewise.
39047 * misc/Makefile: Likewise.
39048 * iconv/Makefile: Likewise.
39049 * nscd/Makefile: Likewise.
39050 * hurd/Makefile: Likewise.
39051 * manual/Makefile: Likewise.
39052 * locale/Makefile: Likewise.
39053 * intl/Makefile: Likewise.
39054 * conform/Makefile: Likewise.
39055 * nss/Makefile: Likewise.
39056 * time/Makefile: Likewise.
39057 * soft-fp/Makefile: Likewise.
39058 * dirent/Makefile: Likewise.
39059 * gmon/Makefile: Likewise.
39060 * po/Makefile: Likewise.
39061 * rt/Makefile: Likewise.
39062 * socket/Makefile: Likewise.
39063 * math/Makefile: Likewise.
39064 * signal/Makefile: Likewise.
39065 * debug/Makefile: Likewise.
39066 * elf/Makefile: Likewise.
39067 * timezone/Makefile: Likewise.
39068 * stdlib/Makefile: Likewise.
39069 * iconvdata/Makefile: Likewise.
39070 * sunrpc/Makefile: Likewise.
39071 * io/Makefile: Likewise.
39072 * argp/Makefile: Likewise.
39073 * inet/Makefile: Likewise.
39074 * hesiod/Makefile: Likewise.
39075 * grp/Makefile: Likewise.
39076 * csu/Makefile: Likewise.
39077 * wctype/Makefile: Likewise.
39078 * crypt/Makefile: Likewise.
39079 * libio/Makefile: Likewise.
39080 * string/Makefile: Likewise.
39081 * nis/Makefile: Likewise.
39082 * resolv/Makefile: Likewise.
39083 * stdio-common/Makefile: Likewise.
39084 * wcsmbs/Makefile: Likewise.
39085 * dlfcn/Makefile: Likewise.
39086 * posix/Makefile: Likewise.
39087
3b7c4e74 39088 [BZ #6959]
482ff4da
UD
39089 * timezone/Makefile: Don't install timezone files, just the programs
39090 and scripts.
39091
f72ed77d
UD
390922012-03-06 Ulrich Drepper <drepper@gmail.com>
39093
a000466f
UD
39094 * nss/databases.def: Add missing gshadow entry.
39095
f72ed77d
UD
39096 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39097
a53b7a4e
MP
390982012-03-06 Marek Polacek <polacek@redhat.com>
39099
39100 [BZ #13726]
39101 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39102 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39103 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39104 * stdio-common/tst-long-dbl-fphex.c: New file.
39105
e9258400
DM
391062012-03-06 David S. Miller <davem@davemloft.net>
39107
39108 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39109 (set_obp_int): New function.
39110 (get_obp_int): New function.
39111 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
39112 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39113 Avoid unused variable warnings on 'val' and use builtin_expect.
39114 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39115 __builtin_expect.
e9258400
DM
39116 (INLINE_CLONE_SYSCALL): Likewise.
39117
3bd2c723
DM
391182012-03-05 David S. Miller <davem@davemloft.net>
39119
39120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39121
bbb78d03
AS
391222012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39123
884c5db4
AS
39124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39125
bbb78d03
AS
39126 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39127 only for |x| >= 40.
39128 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39129
1c9f702a 391302012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
39131
39132 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39133 Replace gettimeofday with __vdso_gettimeofday.
39134
7be16f82
RM
39135 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39136 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39137 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
39138
39139 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39140 time with __vdso_time.
39141
ed58a00f
JM
391422012-03-05 Joseph Myers <joseph@codesourcery.com>
39143
39144 * manual/lang.texi (size_t): Note types to which size_t may be
39145 equivalent with the GNU C Library, but do not describe when
39146 differences between them are significant.
39147
30ee4ced
AJ
391482012-03-05 Andreas Jaeger <aj@suse.de>
39149
39150 * sysdeps/i386/fpu/libm-test-ulps: Update.
39151
b7cd39e8
JM
391522012-03-05 Joseph Myers <joseph@codesourcery.com>
39153
39154 [BZ #3976]
39155 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39156 (__ieee754_pow): Save and restore rounding mode and use
39157 round-to-nearest for main computations.
39158 * math/libm-test.inc (pow_test_tonearest): New function.
39159 (pow_test_towardzero): Likewise.
39160 (pow_test_downward): Likewise.
39161 (pow_test_upward): Likewise.
39162 (main): Call the new functions.
39163 * sysdeps/i386/fpu/libm-test-ulps: Update.
39164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
39165
39166 [BZ #3976]
39167 * math/libm-test.inc (cosh_test_tonearest): New function.
39168 (cosh_test_towardzero): Likewise.
39169 (cosh_test_downward): Likewise.
39170 (cosh_test_upward): Likewise.
39171 (sinh_test_tonearest): Likewise.
39172 (sinh_test_towardzero): Likewise.
39173 (sinh_test_downward): Likewise.
39174 (sinh_test_upward): Likewise.
39175 (main): Call the new functions.
39176 * sysdeps/i386/fpu/libm-test-ulps: Update.
39177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39178
6c6a98c9
TV
391792012-03-05 Tom de Vries <tom@codesourcery.com>
39180
39181 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39182 default stack guard is set in last bytes.
39183 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39184
21bb2d2e 391852012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 39186
21bb2d2e 39187 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 39188
21bb2d2e
AJ
39189 [BZ #13656]
39190 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39191 possibly allocate from heap instead of stack.
39192 * stdio-common/bug-vfprintf-nargs.c: New file.
39193 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 39194
c6922934
AS
391952012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39196
39197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39198
bc957d53
MP
391992012-03-03 Marek Polacek <polacek@redhat.com>
39200
39201 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39202 * math/math_private.h: Likewise.
39203 * stdlib/tst-strtod.c: Likewise.
39204 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39205 * sysdeps/x86_64/bits/atomic.h: Likewise.
39206
6358490d
DM
392072012-03-02 David S. Miller <davem@davemloft.net>
39208
39209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39213 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39214 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39215 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39216 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39217
01ae168d
RM
392182012-03-02 Roland McGrath <roland@hack.frob.com>
39219
d9a17c07
RM
39220 [BZ #13792]
39221 * manual/examples/README: New file, says the example source files
39222 can be used under GPL>=2.
39223 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39224 line containing just "*/".
39225 * manual/examples/add.c: Add copyright header (GPL>=2).
39226 * manual/examples/argp-ex1.c: Likewise.
39227 * manual/examples/argp-ex2.c: Likewise.
39228 * manual/examples/argp-ex3.c: Likewise.
39229 * manual/examples/argp-ex4.c: Likewise.
39230 * manual/examples/atexit.c: Likewise.
39231 * manual/examples/db.c: Likewise.
39232 * manual/examples/dir.c: Likewise.
39233 * manual/examples/dir2.c: Likewise.
39234 * manual/examples/execinfo.c: Likewise.
39235 * manual/examples/filecli.c: Likewise.
39236 * manual/examples/filesrv.c: Likewise.
39237 * manual/examples/fmtmsgexpl.c: Likewise.
39238 * manual/examples/genpass.c: Likewise.
39239 * manual/examples/inetcli.c: Likewise.
39240 * manual/examples/inetsrv.c: Likewise.
39241 * manual/examples/isockad.c: Likewise.
39242 * manual/examples/longopt.c: Likewise.
39243 * manual/examples/memopen.c: Likewise.
39244 * manual/examples/memstrm.c: Likewise.
39245 * manual/examples/mkfsock.c: Likewise.
39246 * manual/examples/mkisock.c: Likewise.
39247 * manual/examples/mygetpass.c: Likewise.
39248 * manual/examples/pipe.c: Likewise.
39249 * manual/examples/popen.c: Likewise.
39250 * manual/examples/rprintf.c: Likewise.
39251 * manual/examples/search.c: Likewise.
39252 * manual/examples/select.c: Likewise.
39253 * manual/examples/setjmp.c: Likewise.
39254 * manual/examples/sigh1.c: Likewise.
39255 * manual/examples/sigusr.c: Likewise.
39256 * manual/examples/stpcpy.c: Likewise.
39257 * manual/examples/strdupa.c: Likewise.
39258 * manual/examples/strftim.c: Likewise.
39259 * manual/examples/strncat.c: Likewise.
39260 * manual/examples/subopt.c: Likewise.
39261 * manual/examples/swapcontext.c: Likewise.
39262 * manual/examples/termios.c: Likewise.
39263 * manual/examples/testopt.c: Likewise.
39264 * manual/examples/testpass.c: Likewise.
39265 * manual/examples/timeval_subtract.c: Likewise.
39266
01ae168d
RM
39267 [BZ #13792]
39268 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39269 function to ...
39270 * manual/timeval_subtract.c.texi: ... here, new file.
39271
49efa33d
DM
392722012-03-02 David S. Miller <davem@davemloft.net>
39273
39274 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39275
28afd92d
JM
392762012-03-02 Joseph Myers <joseph@codesourcery.com>
39277
804360ed
JM
39278 [BZ #3976]
39279 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39280 (__sin): Save and restore rounding mode and use round-to-nearest
39281 for all computations.
39282 (__cos): Save and restore rounding mode and use round-to-nearest
39283 for all computations.
39284 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39285 <fenv.h>.
39286 (tan): Save and restore rounding mode and use round-to-nearest for
39287 all computations.
39288 * math/libm-test.inc (cos_test_tonearest): New function.
39289 (cos_test_towardzero): Likewise.
39290 (cos_test_downward): Likewise.
39291 (cos_test_upward): Likewise.
39292 (sin_test_tonearest): Likewise.
39293 (sin_test_towardzero): Likewise.
39294 (sin_test_downward): Likewise.
39295 (sin_test_upward): Likewise.
39296 (tan_test_tonearest): Likewise.
39297 (tan_test_towardzero): Likewise.
39298 (tan_test_downward): Likewise.
39299 (tan_test_upward): Likewise.
39300 (main): Call the new functions.
39301 * sysdeps/i386/fpu/libm-test-ulps: Update.
39302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39303
a6d06d7b
JM
39304 [BZ #10135]
39305 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39306 small n, then large n, before computing and testing k+n.
39307 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39308 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39309 Likewise.
39310 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39311 Likewise.
39312 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39313 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39314 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39315 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39316 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39317 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39318 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39319 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39320 * math/libm-test.inc (scalbn_test): Add more tests.
39321 (scalbln_test): Likewise.
39322
07e12bb3
JM
39323 * manual/filesys.texi (mode_t): Describe constraints on size and
39324 signedness, not exact equivalence to a particular type.
39325 (ino_t): Likewise.
39326 (ino64_t): Likewise.
39327 (dev_t): Likewise.
39328 (nlink_t): Likewise.
39329 (blkcnt_t): Likewise.
39330 (blkcnt64_t): Likewise.
39331 * manual/llio.texi (off_t): Likewise.
39332
28afd92d
JM
39333 [BZ #3976]
39334 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39335 (__ieee754_exp): Save and restore rounding mode and use
39336 round-to-nearest for all computations.
39337 * math/libm-test.inc (exp_test_tonearest): New function.
39338 (exp_test_towardzero): Likewise.
39339 (exp_test_downward): Likewise.
39340 (exp_test_upward): Likewise.
39341 (main): Call the new functions.
39342 * sysdeps/i386/fpu/libm-test-ulps: Update.
39343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39344
b1eeb65d
CD
393452012-03-01 Chris Demetriou <cgd@google.com>
39346
39347 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39348 have predictable order.
39349
53362a4b
DM
393502012-03-01 David S. Miller <davem@davemloft.net>
39351
3c969083
DM
39352 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39353
759707de
DM
39354 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39355 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39356 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39357 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39358
dfdb8ff2
DM
39359 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39360 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39361 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39363 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39364 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39365 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39366 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39367 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39368
ead89f96
DM
39369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39370
7f66bd07
DM
39371 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39372 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39373 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39374
53362a4b
DM
39375 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39376 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39377 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39378 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39379 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39380 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39381 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39382 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39383 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39384 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39385 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39386 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39387 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39388 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39389 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39390 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39391 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39392 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39393 * sysdeps/sparc/elf/configure: Regenerated.
39394
7b1902cb
JM
393952012-03-01 Joseph Myers <joseph@codesourcery.com>
39396
bec039bc
JM
39397 * configure.in (AS, LD): Require binutils 2.20 or later.
39398 * configure: Regenerated.
39399 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39400 as required minimum version.
39401 * INSTALL: Regenerated.
39402
7b1902cb
JM
39403 [BZ #2541]
39404 [BZ #4108]
39405 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39406 before squaring exponent.
39407 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39408 bottom long double and 27 bits of top long double before squaring
39409 exponent.
39410 * math/libm-test.inc (erfc_test): Add more tests.
39411 * sysdeps/i386/fpu/libm-test-ulps: Update.
39412 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39414
f775c276
KT
394152012-03-01 Kai Tietz <ktietz@redhat.com>
39416
39417 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39418 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39419 containing bit-fields.
39420 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39421 * soft-fp/single.h (_FP_UNION_S): Likewise.
39422 * soft-fp/double.h (_FP_UNION_D): Likewise.
39423
5b8a4d4a
JM
394242012-02-29 Joseph Myers <joseph@codesourcery.com>
39425
0bab47b6
JM
39426 [BZ #13786]
39427 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39428 not include ../strcmp.S.
39429 [USE_AS_STRNCASECMP_L]: Likewise.
39430 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39431 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39432 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39433 (__strncasecmp_l_ia32): Define as alias to
39434 __strncasecmp_l_nonascii.
39435
0fcad3e2
JM
39436 [BZ #5794]
39437 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39438 * sysdeps/i386/fpu/libm-test-ulps: Update.
39439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39440
5b8a4d4a
JM
39441 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39443
8fdceb2e
JL
394442012-02-29 Jeff Law <law@redhat.com>
39445
39446 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39447 out of bounds read.
39448
1f393a11
MP
394492012-02-29 Marek Polacek <polacek@redhat.com>
39450
39451 [BZ #13706]
39452 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39453 * elf/Makefile: Add rules to run tst-unused-dep.out.
39454
8847f037
DM
394552012-02-28 David S. Miller <davem@davemloft.net>
39456
39457 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39458 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39459 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39460 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39461 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39462 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39463
169d7f11
JM
394642012-02-29 Joseph Myers <joseph@codesourcery.com>
39465
39466 * math/libm-test.inc (llround_test): Move one test from
39467 lround_test. Use TEST_f_L in moved test.
39468 (lround_test): Move misplaced test to llround_test. Add testcase
39469 from bug 2561.
39470
39adf059
UD
394712012-02-28 Ulrich Drepper <drepper@gmail.com>
39472
39473 * sysdeps/x86_64/fpu/e_expf.S: New file.
39474 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39475
71b5d1c5
SB
394762012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39477
39478 [BZ #13637]
39479 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39480 of remain_len that may cause incomplete multi-byte character and
39481 false match.
39482 * posix/bug-regex33.c: New file.
39483 * posix/Makefile (tests): Add bug-regex33.
39484
1f77f049
JM
394852012-02-28 Joseph Myers <joseph@codesourcery.com>
39486
39487 * manual/macros.texi: New file.
39488 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39489 * manual/libc.texinfo: Include macros.texi.
39490 * manual/creatute.texi: Likewise.
39491 * manual/install.texi: Likewise.
39492 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39493 @glibcadj{} in references to the GNU C Library.
39494 * manual/charset.texi: Likewise.
39495 * manual/conf.texi: Likewise.
39496 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39497 when not using those macros.
39498 * manual/creature.texi: Likewise.
39499 * manual/crypt.texi: Likewise.
39500 * manual/errno.texi: Likewise.
39501 * manual/filesys.texi: Likewise.
39502 * manual/header.texi: Likewise.
39503 * manual/install.texi: Likewise.
39504 * manual/intro.texi: Likewise.
39505 * manual/io.texi: Likewise.
39506 * manual/job.texi: Likewise.
39507 * manual/lang.texi: Likewise.
39508 * manual/libc.texiinfo: Likewise.
39509 * manual/llio.texi: Likewise.
39510 * manual/locale.texi: Likewise.
39511 * manual/maint.texi: Likewise.
39512 * manual/math.texi: Likewise.
39513 * manual/memory.texi: Likewise.
39514 * manual/message.texi: Likewise.
39515 * manual/nss.texi: Likewise.
39516 * manual/pattern.texi: Likewise.
39517 * manual/process.texi: Likewise.
39518 * manual/resource.texi: Likewise.
39519 * manual/search.texi: Likewise.
39520 * manual/setjmp.texi: Likewise.
39521 * manual/signal.texi: Likewise.
39522 * manual/socket.texi: Likewise.
39523 * manual/startup.texi: Likewise.
39524 * manual/stdio.texi: Likewise.
39525 * manual/string.texi: Likewise.
39526 * manual/sysinfo.texi: Likewise.
39527 * manual/syslog.texi: Likewise.
39528 * manual/terminal.texi: Likewise.
39529 * manual/time.texi: Likewise.
39530 * manual/users.texi: Likewise.
39531 * INSTALL: Regenerated.
39532 * NOTES: Regenerated.
d40c5d54 39533 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 39534
450bf206
AS
395352012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39536
39537 * include/dirent.h: Include <dirstream.h> before
39538 <dirent/dirent.h>.
39539
741a235b
DM
395402012-02-28 David S. Miller <davem@davemloft.net>
39541
39542 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39543 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39544 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39545 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39546
d6b5aa58
DM
395472012-02-27 David S. Miller <davem@davemloft.net>
39548
1aff59a3
DM
39549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39551 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39552 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39553
d6b5aa58
DM
39554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39555 frame pointer instead of stack pointer relative arg slot.
39556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39557 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39558 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39559
433f48bf
CD
395602012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39561
39562 [BZ #3992]
39563 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39564
d674b76d
DM
395652012-02-27 David S. Miller <davem@davemloft.net>
39566
39567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39571 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39572 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39573 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39574 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39575
0e7727f7
JM
395762012-02-27 Joseph Myers <joseph@codesourcery.com>
39577
39578 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39579 later. Allow versions 5-9.
43be4ca2 39580 * configure: Regenerated.
0e7727f7
JM
39581 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39582 required minimum version and 4.6 as recommended version. Do not
39583 mention bugs in GCC 2.7 and 2.8.
43be4ca2 39584 * INSTALL: Regenerated.
0e7727f7 39585
a78bc654
DM
395862012-02-27 David S. Miller <davem@davemloft.net>
39587
428d5830
DM
39588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39592 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39593 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39594 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39595 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39596
a78bc654
DM
39597 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39598 manipulate bits before adding and subtracting TWO112[sx].
39599 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39600
4579f81c
RM
396012012-02-27 Roland McGrath <roland@hack.frob.com>
39602
36c8acb4
RM
39603 [BZ #13775]
39604 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39605 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39606 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39607 being in POSIX, because they are in 1003.1-2008.
39608
84ad622b
RM
39609 * rt/tst-aio.c: Include <fcntl.h>.
39610 * rt/tst-aio7.c: Likewise.
39611 * rt/tst-aio64.c: Likewise.
39612
4579f81c
RM
39613 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39614
abd923db
JM
396152012-02-27 Joseph Myers <joseph@codesourcery.com>
39616
39617 * manual/install.texi (--with-headers): Describe headers as
39618 interface headers, not private headers.
39619 (Specific advice for GNU/Linux systems): Describe use of headers
39620 from "make headers_install", not private headers from older
39621 kernels.
43be4ca2 39622 * INSTALL: Regenerated.
abd923db
JM
39623 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39624 Change to 2.6.19.
39625 * sysdeps/unix/sysv/linux/configure: Regenerated.
39626
6664049b
JM
39627 * manual/llio.texi (fclean): Remove documentation.
39628
bb8b6697
JM
39629 * manual/Makefile (libc-texi-generated): New variable. Include
39630 version.texi.
39631 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39632 $(libc-texi-generated), not duplicated list of files.
39633 (version.texi, stamp-version): New rules.
39634 (realclean): Remove $(libc-texi-generated), not individual files
39635 from that list. Do not remove dir-add.texinfo.
39636 * manual/libc.texinfo: Comment out uses of edition numbers and
39637 references to printed manual. Remove last-updated dates.
39638 (EDITION): Comment out.
39639 (ISBN): Likewise.
39640 (VERSION, UPDATED): Remove.
39641 (version.texi): Include.
39642
12e5c3b9
AS
396432012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39644
39645 * sysdeps/posix/spawni.c: Include <signal.h>.
39646 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39647 * sysdeps/pthread/aio_fsync.c: Likewise.
39648
4efeffc1 396492012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 39650
ba63ba08
UD
39651 * conform/Makefile (tests): Run only when not cross-compiling and
39652 when fast-check is not defined.
39653
d94a4670
UD
39654 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39655 * conform/data/limits.h-data: Fixes for POSIX2008.
39656 * conform/run-conformtest.sh: Run all tests.
39657 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39658 headers.
39659 * include/bits/dlfcn.h: Likewise.
39660 * include/langinfo.h: Likewise.
39661 * include/monetary.h: Likewise.
39662 * include/sys/poll.h: Likewise.
39663
39664 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39665 for __USE_GNU.
39666 * posix/spawn.h: Define __need_sigset_t.
39667 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39668 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39669 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39670 to get sigevent_t only.
39671 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39672 only for __USE_GNU.
39673 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39674 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39675 process_vm_writev only for __USE_GNU.
39676 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
39677
39678 * conform/Makefile: For now ignore errors from run-conformtest.
39679 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39680 POSIX to avoid namespace pollution. Don't prepend headers.
39681 * conform/data/aio.h-data: Fixes for POSIX testing.
39682 * conform/data/fcntl.h-data: Likewise.
39683 * conform/data/glob.h-data: Likewise.
39684 * conform/data/grp.h-data: Likewise.
39685 * conform/data/pthread.h-data: Likewise.
39686 * conform/data/pwd.h-data: Likewise.
39687 * conform/data/signal.h-data: Likewise.
39688 * conform/data/spawn.h-data: Likewise.
39689 * conform/data/stdio.h-data: Likewise.
39690 * conform/data/stdlib.h-data: Likewise.
39691 * conform/data/stropts.h-data: Likewise.
39692 * conform/data/sys/mman.h-data: Likewise.
39693 * conform/data/sys/stat.h-data: Likewise.
39694 * conform/data/sys/types.h-data: Likewise.
39695 * conform/data/sys/wait.h-data: Likewise.
39696 * conform/data/time.h-data: Likewise.
39697 * conform/data/unistd.h-data: Likewise.
39698 * conform/data/utime.h-data: Likewise.
39699
39700 * io/sys/stat.h: fchmod was always in POSIX.
39701 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39702 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39703 * rt/aio.h: Define __need_timespec before including <time.h>.
39704 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39705 struct. Add forward declaration of pthread_attr_t and use it in
39706 sigevent.
39707 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39708 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39709 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39710 always remove CLK_TCK definition.
39711
c20105c3
AS
397122012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39713
39714 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39715
7a270350
UD
397162012-02-25 Ulrich Drepper <drepper@gmail.com>
39717
31341567
UD
39718 * conform/run-conformtest.sh: New file.
39719 * conform/Makefile: Run run-conformtest for tests.
39720 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39721 support.
39722
39723 * conform/data/uchar.h-data: New file.
39724 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39725 * conform/data/arpa/inet.h-data: Likewise.
39726 * conform/data/assert.h-data: Likewise.
39727 * conform/data/complex.h-data: Likewise.
39728 * conform/data/cpio.h-data: Likewise.
39729 * conform/data/ctype.h-data: Likewise.
39730 * conform/data/dirent.h-data: Likewise.
39731 * conform/data/dlfcn.h-data: Likewise.
39732 * conform/data/errno.h-data: Likewise.
39733 * conform/data/fcntl.h-data: Likewise.
39734 * conform/data/float.h-data: Likewise.
39735 * conform/data/fmtmsg.h-data: Likewise.
39736 * conform/data/fnmatch.h-data: Likewise.
39737 * conform/data/ftw.h-data: Likewise.
39738 * conform/data/glob.h-data: Likewise.
39739 * conform/data/grp.h-data: Likewise.
39740 * conform/data/iconv.h-data: Likewise.
39741 * conform/data/inttypes.h-data: Likewise.
39742 * conform/data/langinfo.h-data: Likewise.
39743 * conform/data/libgen.h-data: Likewise.
39744 * conform/data/limits.h-data: Likewise.
39745 * conform/data/locale.h-data: Likewise.
39746 * conform/data/math.h-data: Likewise.
39747 * conform/data/monetary.h-data: Likewise.
39748 * conform/data/mqueue.h-data: Likewise.
39749 * conform/data/ndbm.h-data: Likewise.
39750 * conform/data/net/if.h-data: Likewise.
39751 * conform/data/netdb.h-data: Likewise.
39752 * conform/data/netinet/in.h-data: Likewise.
39753 * conform/data/nl_types.h-data: Likewise.
39754 * conform/data/poll.h-data: Likewise.
39755 * conform/data/pthread.h-data: Likewise.
39756 * conform/data/pwd.h-data: Likewise.
39757 * conform/data/regex.h-data: Likewise.
39758 * conform/data/sched.h-data: Likewise.
39759 * conform/data/search.h-data: Likewise.
39760 * conform/data/semaphore.h-data: Likewise.
39761 * conform/data/setjmp.h-data: Likewise.
39762 * conform/data/signal.h-data: Likewise.
39763 * conform/data/spawn.h-data: Likewise.
39764 * conform/data/stdarg.h-data: Likewise.
39765 * conform/data/stdio.h-data: Likewise.
39766 * conform/data/stdlib.h-data: Likewise.
39767 * conform/data/string.h-data: Likewise.
39768 * conform/data/strings.h-data: Likewise.
39769 * conform/data/stropts.h-data: Likewise.
39770 * conform/data/sys/ipc.h-data: Likewise.
39771 * conform/data/sys/mman.h-data: Likewise.
39772 * conform/data/sys/msg.h-data: Likewise.
39773 * conform/data/sys/resource.h-data: Likewise.
39774 * conform/data/sys/select.h-data: Likewise.
39775 * conform/data/sys/sem.h-data: Likewise.
39776 * conform/data/sys/shm.h-data: Likewise.
39777 * conform/data/sys/socket.h-data: Likewise.
39778 * conform/data/sys/stat.h-data: Likewise.
39779 * conform/data/sys/statvfs.h-data: Likewise.
39780 * conform/data/sys/time.h-data: Likewise.
39781 * conform/data/sys/timeb.h-data: Likewise.
39782 * conform/data/sys/times.h-data: Likewise.
39783 * conform/data/sys/types.h-data: Likewise.
39784 * conform/data/sys/uio.h-data: Likewise.
39785 * conform/data/sys/un.h-data: Likewise.
39786 * conform/data/sys/utsname.h-data: Likewise.
39787 * conform/data/sys/wait.h-data: Likewise.
39788 * conform/data/syslog.h-data: Likewise.
39789 * conform/data/tar.h-data: Likewise.
39790 * conform/data/termios.h-data: Likewise.
39791 * conform/data/utime.h-data: Likewise.
39792 * conform/data/utmpx.h-data: Likewise.
39793 * conform/data/varargs.h-data: Likewise.
39794 * conform/data/wchar.h-data: Likewise.
39795 * conform/data/wctype.h-data: Likewise.
39796 * conform/data/wordexp.h-data: Likewise.
39797
39798 * include/stropts.h: New file.
39799 * include/uchar.h: New file.
39800 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39801 * include/assert.h: Likewise.
39802 * include/ctype.h: Likewise.
39803 * include/dirent.h: Likewise.
39804 * include/dlfcn.h: Likewise.
39805 * include/fcntl.h: Likewise.
39806 * include/fnmatch.h: Likewise.
39807 * include/glob.h: Likewise.
39808 * include/grp.h: Likewise.
39809 * include/libio.h: Likewise.
39810 * include/locale.h: Likewise.
39811 * include/math.h: Likewise.
39812 * include/net/if.h: Likewise.
39813 * include/netdb.h: Likewise.
39814 * include/netinet/in.h: Likewise.
39815 * include/pthread.h: Likewise.
39816 * include/pwd.h: Likewise.
39817 * include/regex.h: Likewise.
39818 * include/sched.h: Likewise.
39819 * include/search.h: Likewise.
39820 * include/setjmp.h: Likewise.
39821 * include/signal.h: Likewise.
39822 * include/stdio.h: Likewise.
39823 * include/stdlib.h: Likewise.
39824 * include/string.h: Likewise.
39825 * include/sys/cdefs.h: Likewise.
39826 * include/sys/mman.h: Likewise.
39827 * include/sys/msg.h: Likewise.
39828 * include/sys/resource.h: Likewise.
39829 * include/sys/select.h: Likewise.
39830 * include/sys/socket.h: Likewise.
39831 * include/sys/stat.h: Likewise.
39832 * include/sys/statvfs.h: Likewise.
39833 * include/sys/time.h: Likewise.
39834 * include/sys/times.h: Likewise.
39835 * include/sys/uio.h: Likewise.
39836 * include/sys/utsname.h: Likewise.
39837 * include/sys/wait.h: Likewise.
39838 * include/termios.h: Likewise.
39839 * include/time.h: Likewise.
39840 * include/ulimit.h: Likewise.
39841 * include/unistd.h: Likewise.
39842 * include/utime.h: Likewise.
39843 * include/wchar.h: Likewise.
39844 * include/wctype.h: Likewise.
39845 * include/wordexp.h: Likewise.
39846
39847 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39848
7a270350
UD
39849 * time/time.h: TIME_UTC must be a macro.
39850 Make timespec_get available for ISO C11 only as well.
39851
7724defc
UD
398522012-02-24 Ulrich Drepper <drepper@gmail.com>
39853
39854 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39855 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39856
6b1d1d46
JM
398572012-02-24 Joseph Myers <joseph@codesourcery.com>
39858
39859 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 39860
0f8bbd69
JM
398612012-02-24 Joseph Myers <joseph@codesourcery.com>
39862
39863 * manual/texinfo.tex: Update to version 2012-01-19.16.
39864
66ab80bc
JM
398652012-02-24 Joseph Myers <joseph@codesourcery.com>
39866
39867 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39868
74981cc5
RM
398692012-02-24 Roland McGrath <roland@hack.frob.com>
39870
ee968201
RM
39871 [BZ #13738]
39872 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39873 * manual/fdl-1.3.texi: New file.
39874 * manual/fdl-1.1.texi: File removed.
39875
74981cc5
RM
39876 [BZ #13738]
39877 * manual/libc.texinfo (FDL_VERSION): New @set.
39878 Use it for mention of FDL in cover text.
39879 (Documentation License): Use it in @include file name.
39880
7bb764bc
JM
398812012-02-22 Joseph Myers <joseph@codesourcery.com>
39882 Roland McGrath <roland@hack.frob.com>
39883
39884 [BZ #5461]
57f41c40
AS
39885 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39886 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
39887 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39888 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39889 name.
39890 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39891
6cbeae47
JM
398922012-02-22 Joseph Myers <joseph@codesourcery.com>
39893
39894 [BZ #2547]
39895 [BZ #11365]
39896 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39897 manipulate bits before adding and subtracting TWO23[sx].
39898 * math/libm-test.inc (nearbyint_test): Add more tests.
39899
fe45ce09
JM
399002012-02-22 Joseph Myers <joseph@codesourcery.com>
39901
39902 [BZ #2548]
39903 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39904 bits before adding and subtracting TWO23[sx].
39905 * math/libm-test.inc (rint_test): Add more tests.
39906 (rint_test_tonearest): Likewise.
39907 (rint_test_towardzero): Likewise.
39908 (rint_test_downward): Likewise.
39909 (rint_test_upward: Likewise.
39910
ff3b3d82
JM
399112012-02-22 Joseph Myers <joseph@codesourcery.com>
39912
39913 [BZ #10110]
39914 * include/stdc-predef.h: New file. Extracted from features.h.
39915 * include/features.h: Include stdc-predef.h.
39916 * Makefile (headers): Add stdc-predef.h.
39917 * CONFORMANCE (Compiler limitations): Update.
39918
ef0aab35
JM
399192012-02-22 Joseph Myers <joseph@codesourcery.com>
39920
39921 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39922
58639409
DM
399232012-02-21 David S. Miller <davem@davemloft.net>
39924
39925 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39926 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39927
c0e70b25
DM
399282012-02-20 David S. Miller <davem@davemloft.net>
39929
39930 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39931 using a normal save/restore sequence, rather than allocating a
39932 dummy stack frame just to store a frame pointer and restore.
39933 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39934
fb06851d
JM
399352012-02-21 Joseph Myers <joseph@codesourcery.com>
39936
39937 * manual/install.texi: Fix stray word in line-wrapped comment.
39938
7a8b71c3
DM
399392012-02-20 David S. Miller <davem@davemloft.net>
39940
d510c123
DM
39941 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39942 both binutils and gcc support GOTDATA.
39943
0722d7c2
DM
39944 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39945 "rd %pc" in the PIC register setup sequences.
39946
3d2b3019
DM
39947 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39948 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39949 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39950 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39951 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39952 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39953 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39954 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39955 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39956 (SYSCALL_ERROR_HANDLER): Likewise.
39957 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39958 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39959 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39960 (SYSCALL_ERROR_HANDLER): Likewise.
39961
c80098a9
DM
39962 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39963 (HAVE_GCC_GOTDATA): New.
39964 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39965 relocation support in both binutils and gcc.
39966 * sysdeps/sparc/elf/configure: Regenerate.
39967
3a2545a0
DM
39968 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39969 * sysdeps/sparc/sparc32/elf/configure: Delete.
39970 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39971 * sysdeps/sparc/sparc64/elf/configure: Delete.
39972 * sysdeps/sparc/elf/configure.in: New file.
39973 * sysdeps/sparc/elf/configure: Generate.
39974
7a8b71c3
DM
39975 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39976 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39977 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39978 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39979 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39980
f1e86fca
JM
399812012-02-21 Joseph Myers <joseph@codesourcery.com>
39982
39983 * manual/install.texi: Do not mention specific glibc version
39984 numbers.
39985 * manual/libc.texinfo (VERSION, UPDATED): Update.
39986 (@copying): Use @copyright{} and range of years.
39987
0e7dfaef
JM
399882012-02-21 Joseph Myers <joseph@codesourcery.com>
39989
39990 [BZ #13695]
39991 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39992 [crti.S not in sysdirs] (generated): Do not append.
39993 [crti.S not in sysdirs] (omit-deps): Likewise.
39994 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39995 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39996 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39997 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39998 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39999 Likewise.
40000 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40001 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40002 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40003 * csu/defs.awk: Remove file.
40004 * sysdeps/generic/initfini.c: Likewise.
40005 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40006 variable.
40007 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40008 Likewise.
40009
599af3ca
JM
400102012-02-20 Joseph Myers <joseph@codesourcery.com>
40011
40012 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40013 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40014 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40015 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40016 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40017 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40018 <bits/epoll.h>.
40019 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40020 (__EPOLL_PACKED): Define to empty if not defined by
40021 <bits/epoll.h>.
40022 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40023 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40024 bits/epoll.h.
40025
0e499750
JM
400262012-02-20 Joseph Myers <joseph@codesourcery.com>
40027
40028 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40029 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40030 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40031 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40032 <bits/timerfd.h>.
40033 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40034 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40035 bits/timerfd.h.
40036
5ad91f6e
JM
400372012-02-20 Joseph Myers <joseph@codesourcery.com>
40038
40039 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40040 in C locale.
40041 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40042 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40043 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40045
06b99b02
AJ
400462012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40047
40048 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40049 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40050
7638c0fd
AS
400512012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40052
40053 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40054 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40055 defined.
40056 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40057 Likewise.
40058 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40059 entry for 2.16.
40060
92221550
AJ
400612012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40062
40063 * math/w_acos.c: Use non-signaling floating-point comparisons.
40064 * math/w_acosf.c: Likewise.
40065 * math/w_acosh.c: Likewise.
40066 * math/w_acoshf.c: Likewise.
40067 * math/w_acoshl.c: Likewise.
40068 * math/w_acosl.c: Likewise.
40069 * math/w_asin.c: Likewise.
40070 * math/w_asinf.c: Likewise.
40071 * math/w_asinl.c: Likewise.
40072 * math/w_atanh.c: Likewise.
40073 * math/w_atanhf.c: Likewise.
40074 * math/w_atanhl.c: Likewise.
40075 * math/w_exp2.c: Likewise.
40076 * math/w_exp2f.c: Likewise.
40077 * math/w_exp2l.c: Likewise.
40078 * math/w_j0.c: Likewise.
40079 * math/w_j0f.c: Likewise.
40080 * math/w_j0l.c: Likewise.
40081 * math/w_j1.c: Likewise.
40082 * math/w_j1f.c: Likewise.
40083 * math/w_j1l.c: Likewise.
40084 * math/w_jn.c: Likewise.
40085 * math/w_jnf.c: Likewise.
40086 * math/w_log.c: Likewise.
40087 * math/w_log10.c: Likewise.
40088 * math/w_log10f.c: Likewise.
40089 * math/w_log10l.c: Likewise.
40090 * math/w_log2.c: Likewise.
40091 * math/w_log2f.c: Likewise.
40092 * math/w_log2l.c: Likewise.
40093 * math/w_logf.c: Likewise.
40094 * math/w_logl.c: Likewise.
40095 * math/w_sqrt.c: Likewise.
40096 * math/w_sqrtf.c: Likewise.
40097 * math/w_sqrtl.c: Likewise.
40098 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40099 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40100 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40101 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40102 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40103
ebaf36eb
JM
401042012-02-19 Joseph Myers <joseph@codesourcery.com>
40105
40106 [BZ #9739]
40107 * manual/string.texi (strnlen): Use correct parameter name in
40108 equivalent expression.
40109
71c254a6
JM
401102012-02-19 Joseph Myers <joseph@codesourcery.com>
40111
40112 [BZ #11174]
40113 * manual/users.texi (seteuid): Consistently use neweuid for
40114 argument name.
40115
16d2c631
JM
401162012-02-19 Joseph Myers <joseph@codesourcery.com>
40117
40118 [BZ #13704]
40119 * manual/nss.texi (Services in the NSS configuration): Correct
40120 list of services in example configuration file.
40121
cd837b09
NB
401222012-02-19 Nick Bowler <nbowler@draconx.ca>
40123
40124 [BZ #11322]
40125 * manual/arith.texi: Remove statements about negative zero
40126 behaving identically to zero.
40127
02c4bbad
JM
401282012-02-18 Joseph Myers <joseph@codesourcery.com>
40129
40130 [BZ #5993]
40131 * manual/install.texi: Do not document upgrading from libc5.
40132
366842e7
JM
401332012-02-18 Joseph Myers <joseph@codesourcery.com>
40134
40135 [BZ #4596]
40136 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40137
dd54084d
DM
401382012-02-18 David S. Miller <davem@davemloft.net>
40139
40140 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40141 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40142 %o7 across the call.
40143 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40144 instead.
40145 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40146 SETUP_PIC_REG_LEAF.
40147 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40148 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40149 * sysdeps/sparc/crtn.S: Likewise.
40150
2bcc53a3
UD
401512012-02-17 Ulrich Drepper <drepper@gmail.com>
40152
40153 * aout/Makefile: Remove.
40154
09c093b5
RK
401552012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40156
40157 [BZ #13058]
40158 * manual/examples/argp-ex1.c (main): Format definition in GNU
40159 style.
40160 * manual/examples/argp-ex2.c (main): Likewise.
40161 * manual/examples/argp-ex3.c (main): Likewise.
40162 * manual/examples/argp-ex4.c (main): Likewise.
40163 * manual/examples/longopt.c (main): Use new-style prototype
40164 definition.
40165 * manual/examples/strncat.c (main): Specify return type and use
40166 (void) for arguments.
40167 * manual/examples/subopt.c (main): Use char **argv argument.
40168
2ee633a2
JM
401692012-02-17 Joseph Myers <joseph@codesourcery.com>
40170
40171 [BZ #5077]
40172 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40173 rounding modes.
40174
0520adde
FB
401752012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40176
40177 [BZ #6907]
40178 * manual/string.texi (strchr): Change when strchrnul is
40179 recommended.
40180
3f4081cd
DGM
401812012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40182
40183 [BZ #174]
40184 * manual/locale.texi (setlocale): Document LOCPATH.
40185
d1b10e78
JM
401862012-02-17 Joseph Myers <joseph@codesourcery.com>
40187
40188 [BZ #10210]
40189 * manual/process.texi (execle): Move @dots{} before last argument.
40190
79c6869c
PB
401912012-02-17 Paul Bolle <pebolle@tiscali.nl>
40192
40193 [BZ #12047]
40194 * manual/charset.texi (Generic Charset Conversion): Fix typo
40195 (LC_TYPE -> LC_CTYPE).
40196
cc6e48bc
NB
401972012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40198
40199 [BZ #5805]
40200 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40201 (scalbnf): Likewise.
40202 (scalbnl): Likewise.
40203 (scalbln): Likewise.
40204 (scalblnf): Likewise.
40205 (scalblnl): Likewise.
40206 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40207 (vwarnx): Likewise.
40208 (verr): Likewise.
40209 (verrx): Likewise.
40210 * manual/filesys.texi (telldir): Use braces around return type.
40211 * manual/llio.texi (mmap): Add space after comma.
40212 (mmap64): Likewise.
40213 * manual/math.texi (jn): Use @var{} on parameter names.
40214 (jnf): Likewise.
40215 (jnl): Likewise.
40216 (yn): Likewise.
40217 (ynf): Likewise.
40218 (ynl): Likewise.
40219 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40220 line.
40221 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40222 "...".
40223 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40224 (sched_get_priority_max): Likewise.
40225 * manual/signal.texi (sigvec): Add space after comma.
40226 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40227 names.
40228 (if_indextoname): Likewise.
40229 (if_freenameindex): Likewise.
40230 (sendto): Use ',' instead of '.' in prototype.
40231 * manual/startup.texi (syscall): Use @dots{} instead of literal
40232 "...".
40233 * manual/stdio.texi (__fpending): Separate initial words of
40234 paragraph from @deftypefun line.
40235 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40236 "...".
40237 (vsyslog): Use @var{} on parameter names.
40238 * manual/terminal.texi (stty): Use @var{} on parameter names.
40239 * manual/users.texi (getutmp): Use @var{} on parameter names.
40240 (getutmpx): Likewise.
40241
5b23062f
JM
402422012-02-17 Joseph Myers <joseph@codesourcery.com>
40243
40244 [BZ #6884]
40245 * manual/stdio.texi (fopen): Fix typos in description of
40246 ",ccs=STRING".
40247
8dee4833
AJ
402482012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40249
40250 [BZ #4026]
40251 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40252 get clock_id definition.
40253
9078ce93
TS
402542012-02-17 Thomas Schwinge <thomas@schwinge.name>
40255
40256 [BZ #4822]
40257 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40258 (madvise): Cast every argument to void on its own.
40259
3835c55f
JM
402602012-02-17 Joseph Myers <joseph@codesourcery.com>
40261
40262 [BZ #9902]
40263 * manual/startup.texi (Exit Status): Fix typo.
40264
35c47e37
JM
402652012-02-17 Joseph Myers <joseph@codesourcery.com>
40266
40267 [BZ #10140]
40268 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40269 * manual/examples/argp-ex2.c: Likewise.
40270 * manual/examples/argp-ex3.c: Likewise.
40271
e3b69ca7
RH
402722012-02-16 Richard Henderson <rth@redhat.com>
40273
40274 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40275 * sysdeps/s390/s390-32/initfini.c: Remove.
40276 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40277 * sysdeps/s390/s390-64/initfini.c: Remove.
40278
df83af67
KK
402792012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40280
40281 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40282 compiler output for sysdeps/generic/initfini.c.
40283 * sysdeps/sh/elf/initfini.c: Remove file.
40284
f63f3380
DM
402852012-02-16 David S. Miller <davem@davemloft.net>
40286
fb59b3a4
DM
40287 [BZ #11494]
40288 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40289
f63f3380
DM
40290 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40291 * sysdeps/sparc/crti.S: New file.
40292 * sysdeps/sparc/crtn.S: New file.
40293 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40294 * sysdeps/sparc/sparc64/Makefile: Likewise.
40295
df6a4a4a
MF
402962012-02-15 Mike Frysinger <vapier@gentoo.org>
40297
6dd8f3dc 40298 [BZ #3335]
df6a4a4a
MF
40299 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40300
1cac7236
RM
403012012-02-15 Roland McGrath <roland@hack.frob.com>
40302
d2c736f8
RM
40303 [BZ #4822]
40304 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40305
1cac7236
RM
40306 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40307 (write, read, close): Likewise.
40308 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40309
8e475601
JM
403102012-02-15 Joseph Myers <joseph@codesourcery.com>
40311
40312 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40313 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40314 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40315 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40316 <bits/signalfd.h>.
40317 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40319 bits/signalfd.h.
40320
ed656b40
MP
403212012-02-14 Marek Polacek <polacek@redhat.com>
40322
40323 * sysdeps/x86_64/crti.S: New file.
40324 * sysdeps/x86_64/crtn.S: New file.
40325 * sysdeps/x86_64/elf/initfini.c: Remove file.
40326
2a979d3a
JM
403272012-02-13 Joseph Myers <joseph@codesourcery.com>
40328
40329 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40330 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40331 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40332 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40333 <bits/inotify.h>.
40334 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40335 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40336 bits/inotify.h.
40337
2a418ac3
JM
403382012-02-13 Joseph Myers <joseph@codesourcery.com>
40339
40340 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40341 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40342 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40343 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40344 <bits/eventfd.h>.
40345 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40346 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40347 bits/eventfd.h.
40348
fb779be7
TS
403492012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40350
e19e83c5
RM
40351 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40352 __feraiseexcept instead of feraiseexcept.
7c35ffed 40353
fb779be7
TS
40354 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40355 nanosleep invocations.
40356 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40357 strings, and add error checking for a nanosleep invocations.
40358
59ba27a6
PE
403592012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40360
40361 Replace FSF snail mail address with URLs, as per GNU coding standards.
40362 Most of the snail mail addresses were wrong anyway, and omitting
40363 them makes the source code easier to maintain. Almost all of the
40364 changes are to license notices and to locale LC_IDENTIFICATION
40365 addresses, except for this one:
40366 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40367 not its snail mail address.
40368
57b957eb
RH
403692012-02-09 Richard Henderson <rth@twiddle.net>
40370
af850b1c
RH
40371 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40372 of kernel-features.h.
40373
57b957eb
RH
40374 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40375
6b73181a
MP
403762012-02-08 Marek Polacek <polacek@redhat.com>
40377
40378 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40379 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40380 * sysdeps/gnu/_G_config.h: Likewise.
40381 * sysdeps/generic/_G_config.h: Likewise.
40382
26ecc33a
AS
403832012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40384
6c6dbc63
AS
40385 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40386 tests.
40387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40388
e216c012
AS
40389 * sysdeps/powerpc/powerpc32/crti.S: New file.
40390 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40391 * sysdeps/powerpc/powerpc64/crti.S: New file.
40392 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40393
26ecc33a
AS
40394 * Makeconfig (have-initfini): Don't set.
40395 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40396 * configure.in (nopic_initfini): Don't substitute.
40397 * config.h.in (HAVE_INITFINI): Don't #undef.
40398 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40399 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40400
3add8e13
JM
404012012-02-08 Joseph Myers <joseph@codesourcery.com>
40402
40403 Support crti.S and crtn.S provided directly by architectures.
40404 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40405 [crti.S in sysdirs] (omit-deps): Likewise.
40406 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40407 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40408 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40409 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40410 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40411 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40412 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40413 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40414 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40415 compiler output for sysdeps/generic/initfini.c.
40416 * sysdeps/i386/elf/Makefile: Remove file.
40417 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40418
a22f12b4
MP
404192012-02-07 Marek Polacek <polacek@redhat.com>
40420
40421 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40422 * sysdeps/gnu/_G_config.h: Likewise.
40423 * sysdeps/mach/hurd/_G_config.h: Likewise.
40424
148cf100
MP
404252012-02-07 Marek Polacek <polacek@redhat.com>
40426
40427 * math/Makefile (tests): Add tst-CMPLX2.
40428 * math/tst-CMPLX2.c: New file.
40429
cfdc0dd7
AS
404302012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40431
84ba42c4
AS
40432 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40433
cfdc0dd7
AS
40434 * math/libm-test.inc (jn_test): Add missing L suffix.
40435
622c86f4
MP
404362012-02-06 Marek Polacek <polacek@redhat.com>
40437
40438 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40439 * sysdeps/i386/fpu/e_powf.S: Likewise.
40440 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40441 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40442 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40443 * sysdeps/i386/fpu/e_pow.S: Likewise.
40444 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40445 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40446 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40447 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40448 * sysdeps/i386/fpu/e_log2.S: Likewise.
40449 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40450 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40451 * sysdeps/i386/fpu/e_powl.S: Likewise.
40452 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40453 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40454 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40455 * sysdeps/i386/fpu/e_logl.S: Likewise.
40456 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40457 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40458 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40459 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40460 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40461 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40462 * sysdeps/i386/fpu/e_log.S: Likewise.
40463 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40464 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40465 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40466 * sysdeps/i386/fpu/e_logf.S: Likewise.
40467 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40468 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40469 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40470 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40471 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40472 * sysdeps/i386/fpu/e_log10.S: Likewise.
40473 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40474 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40475 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40476 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40477 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40478 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40479 * sysdeps/i386/asm-syntax.h: Likewise.
40480 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40481 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40482 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40483 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40484 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40485 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40486 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40487 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40488 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40489 * sysdeps/powerpc/sysdep.h: Likewise.
40490 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40491 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40492
d4a54ac6
JM
404932012-02-06 Joseph Myers <joseph@codesourcery.com>
40494
40495 [BZ #411]
40496 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40497
314054ea
JM
404982012-02-06 Joseph Myers <joseph@codesourcery.com>
40499
40500 * sysdeps/i386/sysdep.h: Include <features.h>.
40501 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40502 version.
40503
d8e0ca50
JM
405042012-02-05 Joseph Myers <joseph@codesourcery.com>
40505
40506 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40507 Define.
40508 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40509 LOAD_PIC_REG_STR.
40510
b1da7dd9
JM
405112012-02-03 Joseph Myers <joseph@codesourcery.com>
40512
40513 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40514 (SETUP_PIC_REG): Use GET_PC_THUNK.
40515 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40516 macro.
40517
9a1d9254
JM
405182012-02-03 Joseph Myers <joseph@codesourcery.com>
40519
40520 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40521 for non-PIC compilation.
40522 (SETUP_PIC_REG): Add .p2align directive.
40523 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40524 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40525 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40526 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40527 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40528 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40529 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40530 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40531 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40532 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40533 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40534 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40535 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40536 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40537 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40538 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40539 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40540 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40541 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40542 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40543 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40544 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40545 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40546 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40547 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40548 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40549 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40550 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40551 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40552 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40553 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40554 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40555 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40556 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40557 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40558 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40559 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40560 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40561 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40562 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40563 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40564
65dc3b75
JM
405652012-02-03 Joseph Myers <joseph@codesourcery.com>
40566
40567 * math/tst-CMPLX.c: Include <stdio.h>.
40568
d55bf177
JM
405692012-01-31 Joseph Myers <joseph@codesourcery.com>
40570
40571 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40572 float.
40573 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40574 * sysdeps/sparc/bits/mathdef.h: Likewise.
40575
69db4f8f
MP
405762012-01-31 Marek Polacek <polacek@redhat.com>
40577
40578 * libio/libio.h: Don't define _PARAMS.
40579 * locale/programs/config.h: Don't define PARAMS.
40580 * stdlib/strtol_l.c: Likewise.
40581 (__strtol_l): Remove PARAMS from the prototype.
40582
41b81892
UD
405832012-01-31 Ulrich Drepper <drepper@gmail.com>
40584
3b49edc0
UD
40585 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40586 names. Just use the correct names. Remove unnecessary wrapper
40587 functions.
40588 * malloc/arena.c: Likewise.
40589 * malloc/hooks.c: Likewise.
40590
41b81892
UD
40591 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40592 ARENA_TEST says not to. Simplify test for creation of a new arena.
40593 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40594
27a25b6e
UD
405952012-01-30 Ulrich Drepper <drepper@gmail.com>
40596
40597 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40598 into tail calls.
40599 (update_get_addr): New function.
40600 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40601 GET_ADDR_MODULE parameter.
40602
c8a89e7d
JM
406032012-01-30 Joseph Myers <joseph@codesourcery.com>
40604
40605 * crypt/cert.c: Remove __STDC__ conditionals.
40606 * crypt/crypt-entry.c: Likewise.
40607 * crypt/crypt_util.c: Likewise.
40608 * libio/filedoalloc.c: Likewise.
40609 * libio/fileops.c: Likewise.
40610 * libio/genops.c: Likewise.
40611 * libio/iofclose.c: Likewise.
40612 * libio/iofdopen.c: Likewise.
40613 * libio/iofopen.c: Likewise.
40614 * libio/iofopen64.c: Likewise.
40615 * libio/iogetdelim.c: Likewise.
40616 * libio/iopopen.c: Likewise.
40617 * libio/obprintf.c: Likewise.
40618 * libio/oldfileops.c: Likewise.
40619 * libio/oldiofclose.c: Likewise.
40620 * libio/oldiofdopen.c: Likewise.
40621 * libio/oldiofopen.c: Likewise.
40622 * libio/oldiopopen.c: Likewise.
40623 * libio/wfiledoalloc.c: Likewise.
40624 * libio/wgenops.c: Likewise.
40625 * locale/programs/xmalloc.c: Likewise.
40626 * misc/syslog.c: Likewise.
40627 * stdio-common/xbug.c: Likewise.
40628 * string/memchr.c: Likewise.
40629 * string/memcmp.c: Likewise.
40630 * string/memrchr.c: Likewise.
40631 * string/rawmemchr.c: Likewise.
40632 * sysdeps/posix/getcwd.c: Likewise.
40633 * time/strftime_l.c: Likewise.
40634
3b100462
JM
406352012-01-30 Joseph Myers <joseph@codesourcery.com>
40636
40637 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
40638 * config.make.in (config-cflags-sse2avx): Define.
40639 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40640 Fix typo.
40641
607998af
CM
406422012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40643
40644 * scripts/config.guess: Update from upstream config git repository.
40645 * scripts/config.sub: Likewise.
40646
3601428f
CM
406472012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40648
3ac8b282
CM
40649 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40650 (EM_NUM): Update.
40651 (R_TILEPRO_*, R_TILEGX_*): New macros.
40652
e034841e
CM
40653 * scripts/firstversions.awk: Fix bug in version range handling.
40654
540d7568
CM
40655 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40656
3601428f
CM
40657 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40658
463de862
CM
40659 * include/sys/epoll.h: New file.
40660 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40661 libc_hidden_def.
40662
73139a76
UD
406632012-01-28 Ulrich Drepper <drepper@gmail.com>
40664
96bc5b45
UD
40665 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40666 Avoid unnecessary __WORDSIZE == 64 test.
40667 (fmaxf): Use VEX format if possible.
40668 (fmax): Likewise.
40669 (fminf): Likewise.
40670 (fmin): Likewise.
40671
56f6f6a2
UD
40672 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40673 * math/math_private.h: Remove libc_fegetround* and
40674 libc_fesetround*.
40675 * sysdeps/i386/configure.in: Check for -msse2avx.
40676 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40677 also if SSE2AVX is defined.
40678 Remove libc_fegetround* and libc_fesetround*.
40679 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40680 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40681 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40682 of HAS_YMM_USABLE.
40683 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40684 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40685 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40686 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40687 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40688
73139a76
UD
40689 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40690
d73f93a4
AZ
406912012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40692
40693 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40694 size is not set.
40695 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40696
6ee65ed6
UD
406972012-01-27 Ulrich Drepper <drepper@gmail.com>
40698
40699 [BZ #13618]
40700 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40701 relocation.
40702 * Makeconfig (libm): Define.
40703 * elf/Makefile: Add rules to build and run tst-relsort1.
40704 * elf/tst-relsort1.c: New file.
40705 * elf/tst-relsort1mod1.c: New file.
40706 * elf/tst-relsort1mod2.c: New file.
40707
8db21882
JM
407082012-01-27 Joseph Myers <joseph@codesourcery.com>
40709
40710 * math/s_ldexp.c: Remove __STDC__ conditionals.
40711 * math/s_ldexpf.c: Likewise.
40712 * math/s_ldexpl.c: Likewise.
40713 * math/s_nextafter.c: Likewise.
40714 * math/s_nexttowardf.c: Likewise.
40715 * math/s_significand.c: Likewise.
40716 * math/s_significandf.c: Likewise.
40717 * math/s_significandl.c: Likewise.
40718 * math/w_jnl.c: Likewise.
40719 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40720 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40721 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40722 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40723 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40724 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40725 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40726 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40727 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40728 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40729 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40730 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40731 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40732 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40733 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40734 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40735 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40736 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40737 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40738 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40739 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40740 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40741 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40742 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40743 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40744 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40745 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40746 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40747 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40748 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40749 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40750 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40751 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40752 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40753 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40754 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40755 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40756 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40757 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40758 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40759 * sysdeps/ieee754/k_standard.c: Likewise.
40760 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40761 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40762 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40763 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40764 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40765 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40766 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40767 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40768 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40769 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40770 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40771 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40772 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40773 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40774 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40775 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40776 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40777 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40778 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40779 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40780 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40781 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40782 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40783 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40784 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40785 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40786 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40787 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40788 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40789 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40790 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40791 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40792 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40793 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40794 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40795 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40796 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40797 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40798 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40799 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40800 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40801 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40802 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40803 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40804 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40805 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40806 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40807 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40808 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40809 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40810 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40811 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40812 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40813 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40814 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40815 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40816 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40817 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40818 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40819 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40820 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40821 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40822 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40823 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40824 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40825 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40826 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40827 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40828 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40829 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40830 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40831 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40832 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40833 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40834 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40835 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40836 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40837 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40838 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40839 * sysdeps/ieee754/s_matherr.c: Likewise.
40840 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40841 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40842 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40843 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40844
965a54a4
JM
408452012-01-26 Joseph Myers <joseph@codesourcery.com>
40846
40847 * crypt/md5.h: Remove __STDC__ conditionals.
40848 * libio/libioP.h: Likewise.
40849 * locale/programs/config.h: Likewise.
40850 * sysdeps/generic/sysdep.h: Likewise.
40851 * sysdeps/i386/asm-syntax.h: Likewise.
40852 * sysdeps/s390/asm-syntax.h: Likewise.
40853 * sysdeps/unix/sysdep.h: Likewise.
40854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40856
7071ad79
JM
408572012-01-26 Joseph Myers <joseph@codesourcery.com>
40858
40859 * libio/libio.h: Remove __STDC__ conditionals.
40860 * malloc/obstack.h: Likewise.
40861 * math/complex.h: Likewise.
40862 * math/math.h: Likewise.
40863 * sysdeps/generic/_G_config.h: Likewise.
40864 * sysdeps/gnu/_G_config.h: Likewise.
40865 * sysdeps/mach/hurd/_G_config.h: Likewise.
40866 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40867 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40868 * sysdeps/sparc/bits/mathdef.h: Likewise.
40869
afc5ed09
UD
408702012-01-26 Ulrich Drepper <drepper@gmail.com>
40871
40872 [BZ #13583]
40873 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 40874 Clean up HAS_* macros.
afc5ed09 40875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
40876 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40877 possible.
40878 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40879 HAS_AVX.
40880 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40881 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40882 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40883 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40884 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 40885
bdb6de1d
JM
408862012-01-25 Joseph Myers <joseph@codesourcery.com>
40887
40888 * elf/tst-unique3.cc (gets): Remove declaration.
40889 * elf/tst-unique3lib.cc (gets): Likewise.
40890 * elf/tst-unique3lib2.cc (gets): Likewise.
40891 * elf/tst-unique4.cc (gets): Likewise.
40892
b15549e6
UD
408932012-01-24 Ulrich Drepper <drepper@gmail.com>
40894
40895 * include/stdio.h: Add C++ protection. Add gets declarations and
40896 definitions.
40897 * debug/tst-chk1.c: Don't declare gets here.
40898 * stdio-common/tst-gets.c: Likewise.
40899
a037381f
JM
409002012-01-24 Joseph Myers <joseph@codesourcery.com>
40901
40902 * posix/glob: Remove directory.
40903
f1d4aa75
JM
409042012-01-24 Joseph Myers <joseph@codesourcery.com>
40905
40906 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40907
81c0c964
PT
409082012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40909
40910 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40911 of the non-standard EPFNOSUPPORT.
40912
0ea698ae
ST
409132011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40914
40915 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40916 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40917 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40918
d220b117
UD
409192012-01-21 Ulrich Drepper <drepper@gmail.com>
40920
40921 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40922
3e1aa84e
UD
409232012-01-20 Ulrich Drepper <drepper@gmail.com>
40924
40925 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40926 transient errors.
40927 * nscd/grpcache.c (cache_addgr): Likewise.
40928 * nscd/hstcache.c (cache_addhst): Likewise.
40929 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40930 * nscd/pwdcache.c (cache_addpw): Likewise.
40931 * nscd/servicescache.c (cache_addserv): Likewise.
40932
400aa020
UD
409332012-01-16 Ulrich Drepper <drepper@gmail.com>
40934
d77e7869
UD
40935 * malloc/malloc.c: Various cleanups.
40936 * malloc/hooks.c: Likewise.
40937
400aa020
UD
40938 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40939 * stdlib/bug-fmtmsg1.c: New file.
40940
40941 * stdlib/fmtmsg.c (init): Add missing unlock.
40942 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40943
e0a309cf
MP
409442012-01-12 Marek Polacek <polacek@redhat.com>
40945
40946 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40947 and _GNU_SOURCE.
40948
929d11c7
WS
409492012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40950
40951 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40952 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40953 macro to ensure uniqueness of label name.
40954 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40955 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40956
41d0e869
UD
409572012-01-11 Ulrich Drepper <drepper@gmail.com>
40958
0cc5ed3b
UD
40959 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40960
41d0e869
UD
40961 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40962 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40963 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40964 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40965
a47a831a
UD
409662012-01-10 Ulrich Drepper <drepper@gmail.com>
40967
daa891c0
UD
40968 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40969
40970 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40971 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40972 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40973
e58ef0f2
UD
40974 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40975
a47a831a 40976 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
40977 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40978 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 40979 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
40980
40981 * math/bits/math-finite.h: Add ldexp support.
40982
a0bfc9c7
MP
409832012-01-10 Marek Polacek <polacek@redhat.com>
40984
40985 * locale/programs/localedef.h (show_archive_content): Add noreturn
40986 attribute.
40987
d6e97a1d
UD
409882012-01-09 Ulrich Drepper <drepper@gmail.com>
40989
40990 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40991
d5835c26
UD
409922012-01-08 Ulrich Drepper <drepper@gmail.com>
40993
e5f484c6
UD
40994 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40995
d5835c26
UD
40996 * io/Makefile (headers): Add bits/poll2.h.
40997
d1f741e9
WS
409982011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40999
41000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41001 typo #include statement.
41002
ec09c1c4
UD
410032012-01-08 Ulrich Drepper <drepper@gmail.com>
41004
41005 * include/sys/cdefs.h: Define __attribute_alloc_size.
41006 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41007 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41008 * elf/pldd.c: Likewise.
41009 * iconv/iconv_charmap.c: Likewise.
41010 * iconv/iconvconfig.c: Likewise.
41011 * iconv/strtab.c: Likewise.
41012 * locale/programs/locale.c: Likewise.
41013 * locale/programs/localedef.h: Likewise.
41014 * locale/programs/simple-hash.c: Likewise.
41015 * nscd/nscd.h: Likewise.
41016 * nss/makedb.c: Likewise.
41017 * sysdeps/generic/ldconfig.h: Likewise.
41018 * locale/programs/localedef.c: Remove xmalloc prototype.
41019 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41020
20b38e03
PP
410212012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41022
41023 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41024 appropriate.
41025
a0da5fe1
UD
410262012-01-08 Ulrich Drepper <drepper@gmail.com>
41027
1d5a644a 41028 * math/Makefile (tests): Add tst-CMPLX.
669704fd 41029 * math/tst-CMPLX.c: New file.
1d5a644a 41030
8784a6db
UD
41031 * math/complex.h (CMPLXL): Fix typo.
41032
d9a216c0
UD
41033 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41034 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41035 GLIBC_2.16.
41036 * debug/tst-chk1.c: Add poll and ppoll tests.
41037 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41038 * include/sys/poll.h: Add hidden proto for ppoll.
41039 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41040 * sysdeps/mach/hurd/ppoll.c: Likewise.
41041 * io/ppoll.c: Likewise.
41042 * debug/poll_chk.c: New file.
41043 * debug/ppoll_chk.c: New file.
41044 * include/bits/poll2.h: New file.
41045 * io/bits/poll2.h: New file.
41046
ac097f5c
UD
41047 [BZ #1350]
41048 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41049
2119dcfa
UD
41050 * configure.in: static is always set to yes. Remove.
41051 * config.make.in: Don't set build-static.
41052 * Makeconfig: Remove use of build-static.
41053 * dlfcn/Makefile: Likewise.
41054 * elf/Makefile: Likewise.
41055 * math/Makefile: Likewise.
41056 * misc/Makefile: Likewise.
41057 * nptl/Makefile: Likewise.
41058 * sysdeps/mach/hurd/Makefile: Likewise.
41059
121766a9
UD
41060 * configure.in: PWD_P is not used anymore.
41061 * config.make.in: Remove PWD_P entry.
41062
51a1d39c 41063 * configure.in: Remove last remnants of RANLIB.
8720d066 41064 No need to check for signed size_t anymore.
215f4bdc
UD
41065 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41066 and IA-64.
3857022a 41067 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
41068 * aclocal.m4: Likewise.
41069
d3ed7225
UD
41070 * wcsmbs/mbrtoc16.c: Implement using towc function.
41071 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41072 * wcsmbs/wcsmbsload.c: Likewise.
41073 * iconv/gconv_simple.c: Likewise.
41074 * iconv/gconv_int.h: Likewise.
41075 * iconv/gconv_builtin.h: Likewise.
41076 * iconv/iconv_prog.c: Remove CHAR16 handling.
41077
41078 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41079
41080 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41081
a0da5fe1
UD
41082 * configure.in: Remove --with-elf and --enable-bounded options.
41083 Dont set base_machine for ia64. More non-ELF conditions removed.
41084 Remove testing and setting of leading underscore information.
41085 * config.make.in (build-bounded): Set to no.
41086 * config.h.in: Remove NO_UNDERSCORES entry.
41087 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41088 them.
41089 * csu/start.c: Remove !NO_UNDERSCORE code.
41090 * locale/localeinfo.h: Likewise.
41091 * sysdeps/generic/machine-gmon.h: Likewise.
41092 * sysdeps/generic/sysdep.h: Likewise.
41093 * sysdeps/i386/sysdep.h: Likewise.
41094 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41095 * sysdeps/mach/sysdep.h: Likewise.
41096 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41097 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41098 * sysdeps/sh/sysdep.h: Likewise.
41099 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41100 * sysdeps/unix/i386/sysdep.S: Likewise.
41101 * sysdeps/unix/sparc/start.c: Likewise.
41102 * sysdeps/unix/sparc/sysdep.S: Likewise.
41103 * sysdeps/unix/sparc/sysdep.h: Likewise.
41104 * sysdeps/unix/start.c: Likewise.
41105 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41106 * sysdeps/x86_64/sysdep.h: Likewise.
41107
df78418a
UD
411082012-01-07 Ulrich Drepper <drepper@gmail.com>
41109
a784e502
UD
41110 [BZ #13553]
41111 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41112 for non-gcc.
41113 * argp/argp-fmtstream.h: Use const instead __const.
41114 * argp/argp.h: Likewise.
41115 * assert/assert.h: Likewise.
41116 * bits/fenv.h: Likewise.
41117 * bits/sched.h: Likewise.
41118 * bits/sigset.h: Likewise.
41119 * bits/sigthread.h: Likewise.
41120 * catgets/nl_types.h: Likewise.
41121 * conform/data/pthread.h-data: Likewise.
41122 * crypt/crypt-private.h: Likewise.
41123 * crypt/crypt.h: Likewise.
41124 * crypt/crypt_util.c: Likewise.
41125 * ctype/ctype.h: Likewise.
41126 * debug/execinfo.h: Likewise.
41127 * debug/mbsnrtowcs_chk.c: Likewise.
41128 * debug/mbsrtowcs_chk.c: Likewise.
41129 * debug/wcsnrtombs_chk.c: Likewise.
41130 * debug/wcsrtombs_chk.c: Likewise.
41131 * debug/wcstombs_chk.c: Likewise.
41132 * dirent/dirent.h: Likewise.
41133 * dlfcn/dlfcn.h: Likewise.
41134 * elf/neededtest4.c: Likewise.
41135 * grp/grp.h: Likewise.
41136 * gshadow/gshadow.h: Likewise.
41137 * iconv/gconv.h: Likewise.
41138 * iconv/gconv_int.h: Likewise.
41139 * iconv/gconv_simple.c: Likewise.
41140 * iconv/iconv.h: Likewise.
41141 * iconv/loop.c: Likewise.
41142 * iconv/skeleton.c: Likewise.
41143 * include/aio.h: Likewise.
41144 * include/aliases.h: Likewise.
41145 * include/argz.h: Likewise.
41146 * include/arpa/inet.h: Likewise.
41147 * include/assert.h: Likewise.
41148 * include/dirent.h: Likewise.
41149 * include/dlfcn.h: Likewise.
41150 * include/execinfo.h: Likewise.
41151 * include/fcntl.h: Likewise.
41152 * include/fenv.h: Likewise.
41153 * include/glob.h: Likewise.
41154 * include/grp.h: Likewise.
41155 * include/libintl.h: Likewise.
41156 * include/mntent.h: Likewise.
41157 * include/netdb.h: Likewise.
41158 * include/pwd.h: Likewise.
41159 * include/rpc/netdb.h: Likewise.
41160 * include/sched.h: Likewise.
41161 * include/search.h: Likewise.
41162 * include/shadow.h: Likewise.
41163 * include/signal.h: Likewise.
41164 * include/stdio.h: Likewise.
41165 * include/stdlib.h: Likewise.
41166 * include/string.h: Likewise.
41167 * include/sys/socket.h: Likewise.
41168 * include/sys/stat.h: Likewise.
41169 * include/sys/statfs.h: Likewise.
41170 * include/sys/statvfs.h: Likewise.
41171 * include/sys/syslog.h: Likewise.
41172 * include/sys/time.h: Likewise.
41173 * include/sys/uio.h: Likewise.
41174 * include/time.h: Likewise.
41175 * include/unistd.h: Likewise.
41176 * include/utmp.h: Likewise.
41177 * include/wchar.h: Likewise.
41178 * include/wctype.h: Likewise.
41179 * inet/aliases.h: Likewise.
41180 * inet/arpa/inet.h: Likewise.
41181 * inet/netinet/ether.h: Likewise.
41182 * inet/netinet/in.h: Likewise.
41183 * intl/libintl.h: Likewise.
41184 * io/bits/fcntl2.h: Likewise.
41185 * io/fcntl.h: Likewise.
41186 * io/ftw.h: Likewise.
41187 * io/sys/poll.h: Likewise.
41188 * io/sys/stat.h: Likewise.
41189 * io/sys/statfs.h: Likewise.
41190 * io/sys/statvfs.h: Likewise.
41191 * io/utime.h: Likewise.
41192 * libio/bits/stdio.h: Likewise.
41193 * libio/bits/stdio2.h: Likewise.
41194 * libio/libio.h: Likewise.
41195 * libio/libioP.h: Likewise.
41196 * libio/stdio.h: Likewise.
41197 * locale/lc-ctype.c: Likewise.
41198 * locale/locale.h: Likewise.
41199 * login/utmp.h: Likewise.
41200 * malloc/arena.c: Likewise.
41201 * malloc/malloc.c: Likewise.
41202 * malloc/malloc.h: Likewise.
41203 * malloc/mcheck.c: Likewise.
41204 * malloc/mtrace.c: Likewise.
41205 * math/bits/mathcalls.h: Likewise.
41206 * math/fenv.h: Likewise.
41207 * math/math_private.h: Likewise.
41208 * misc/bits/error.h: Likewise.
41209 * misc/bits/syslog.h: Likewise.
41210 * misc/err.h: Likewise.
41211 * misc/error.h: Likewise.
41212 * misc/fstab.h: Likewise.
41213 * misc/mntent.h: Likewise.
41214 * misc/regexp.h: Likewise.
41215 * misc/search.h: Likewise.
41216 * misc/sgtty.h: Likewise.
41217 * misc/sys/mman.h: Likewise.
41218 * misc/sys/syslog.h: Likewise.
41219 * misc/sys/uio.h: Likewise.
41220 * misc/sys/xattr.h: Likewise.
41221 * misc/ttyent.h: Likewise.
41222 * nis/rpcsvc/ypclnt.h: Likewise.
41223 * nss/nss.h: Likewise.
41224 * posix/bits/unistd.h: Likewise.
41225 * posix/fnmatch.h: Likewise.
41226 * posix/glob.h: Likewise.
41227 * posix/sched.h: Likewise.
41228 * posix/spawn.h: Likewise.
41229 * posix/sys/wait.h: Likewise.
41230 * posix/unistd.h: Likewise.
41231 * posix/wordexp.h: Likewise.
41232 * pwd/pwd.h: Likewise.
41233 * resolv/netdb.h: Likewise.
41234 * resource/sys/resource.h: Likewise.
41235 * rt/aio.h: Likewise.
41236 * rt/bits/mqueue2.h: Likewise.
41237 * rt/mqueue.h: Likewise.
41238 * shadow/shadow.h: Likewise.
41239 * signal/signal.h: Likewise.
41240 * socket/send.c: Likewise.
41241 * socket/sendto.c: Likewise.
41242 * socket/sys/socket.h: Likewise.
41243 * stdio-common/printf.h: Likewise.
41244 * stdlib/bits/stdlib.h: Likewise.
41245 * stdlib/fmtmsg.h: Likewise.
41246 * stdlib/monetary.h: Likewise.
41247 * stdlib/stdlib.h: Likewise.
41248 * stdlib/ucontext.h: Likewise.
41249 * streams/stropts.h: Likewise.
41250 * string/argz.h: Likewise.
41251 * string/bits/string2.h: Likewise.
41252 * string/string.h: Likewise.
41253 * string/strings.h: Likewise.
41254 * sunrpc/rpc/auth.h: Likewise.
41255 * sunrpc/rpc/auth_des.h: Likewise.
41256 * sunrpc/rpc/clnt.h: Likewise.
41257 * sunrpc/rpc/netdb.h: Likewise.
41258 * sunrpc/rpc/pmap_clnt.h: Likewise.
41259 * sunrpc/rpc/xdr.h: Likewise.
41260 * sysdeps/generic/inttypes.h: Likewise.
41261 * sysdeps/generic/net/if.h: Likewise.
41262 * sysdeps/generic/sys/swap.h: Likewise.
41263 * sysdeps/gnu/net/if.h: Likewise.
41264 * sysdeps/gnu/utmpx.h: Likewise.
41265 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41266 * sysdeps/i386/i486/bits/string.h: Likewise.
41267 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41268 * sysdeps/s390/bits/string.h: Likewise.
41269 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41270 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41271 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41272 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41273 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41274 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41275 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41276 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41277 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41278 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41279 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41280 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41281 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41282 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41283 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41284 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41285 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41286 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41287 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41288 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41289 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41290 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41291 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41292 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41293 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41294 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41295 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41296 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41297 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41298 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41299 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41300 * sysvipc/sys/ipc.h: Likewise.
41301 * sysvipc/sys/msg.h: Likewise.
41302 * sysvipc/sys/sem.h: Likewise.
41303 * sysvipc/sys/shm.h: Likewise.
41304 * termios/termios.h: Likewise.
41305 * time/sys/time.h: Likewise.
41306 * time/time.h: Likewise.
41307 * wcsmbs/bits/wchar2.h: Likewise.
41308 * wcsmbs/uchar.h: Likewise.
41309 * wcsmbs/wchar.h: Likewise.
41310 * wctype/wctype.h: Likewise.
41311
0269750c
UD
41312 [BZ #13551]
41313 * Makeconfig: Remove all but ELF support including AIX support.
41314 * Makerules: Likewise.
41315 * config.h.in: Likewise.
41316 * config.make.in: Likewise.
41317 * configure: Likewise.
41318 * configure.in: Likewise.
41319 * csu/Makefile: Likewise.
41320 * csu/version.c: Likewise.
41321 * debug/Makefile: Likewise.
41322 * dlfcn/Makefile: Likewise.
41323 * elf/Makefile: Likewise.
41324 * extra-lib.mk: Likewise.
41325 * iconv/Makefile: Likewise.
41326 * include/libc-symbols.h: Likewise.
41327 * include/shlib-compat.h: Likewise.
41328 * resolv/Makefile: Likewise.
41329 * resolv/res_libc.c: Likewise.
41330 * rt/Makefile: Likewise.
41331 * sysdeps/i386/asm-syntax.h: Likewise.
41332 * sysdeps/i386/sysdep.h: Likewise.
41333 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41334 * sysdeps/mach/sysdep.h: Likewise.
41335 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41336 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41337 * sysdeps/s390/asm-syntax.h: Likewise.
41338 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41339 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41340 * sysdeps/sh/sysdep.h: Likewise.
41341 * sysdeps/unix/sparc/sysdep.h: Likewise.
41342 * sysdeps/wordsize-32/divdi3.c: Likewise.
41343 * sysdeps/x86_64/sysdep.h: Likewise.
41344
00bbd29b
UD
41345 * argp/Versions: Remove _argp_unlock_xxx.
41346
41347 [BZ #13559]
41348 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41349 * abilist/libBrokenLocale.abilist: Likewise.
41350 * abilist/libanl.abilist: Likewise.
41351 * abilist/libc.abilist: Likewise.
41352 * abilist/libcrypt.abilist: Likewise.
41353 * abilist/libdl.abilist: Likewise.
41354 * abilist/libm.abilist: Likewise.
41355 * abilist/libnsl.abilist: Likewise.
41356 * abilist/libpthread.abilist: Likewise.
41357 * abilist/libresolv.abilist: Likewise.
41358 * abilist/librt.abilist: Likewise.
41359 * abilist/libthread_db.abilist: Likewise.
41360 * abilist/libutil.abilist: Likewise.
41361 * abilist/libnss_db.abilist: New file.
41362
41363 * scripts/abilist.awk: Add support for indirect functions.
41364
a2693a0e
UD
41365 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41366
3f05895f
UD
41367 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41368
ecb6fb48
UD
41369 * shlib-versions: Remove entries for ports architectures.
41370
664f8cb9
UD
41371 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41372 files in ports.
41373 * elf/stackguard-macros.h: Remove support for IA-64.
41374 * elf/tst-auditmod1.c: Likewise.
41375 * sysdeps/generic/ldsodefs.h: Likewise.
41376
7ae81d88
UD
41377 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41378 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41379 configure files.
41380
bdeba135
UD
41381 [BZ #13552]
41382 * configure.in: Remove --enable-omitfp support.
41383 * FAQ.in: Adjust.
41384 * config.make.in: Likewise.
41385 * Makeconfig: Likewise.
41386 * manual/install.texi: Likewise.
41387
d75a0a62
UD
41388 In case anyone cares, the IA-64 architecture could move to ports.
41389 * sysdeps/ia64/*: Removed.
41390 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 41391 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 41392
dcc9756b
UD
41393 [BZ #13555]
41394 * configure.in: Remove entries for unsupported architectures.
41395
d3761ebc 41396 [BZ #13533]
9954432e
UD
41397 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41398 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41399 routines.
41400 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41401 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41402 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41403 fall back to using wcrtomb.
41404 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41405 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41406 renaming.
41407 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41408 * wcsmbs/tst-c16c32-1.c: New file.
41409
41410 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41411 local variable.
41412
c3a87236
UD
41413 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41414
28926a1b
UD
41415 * elf/tst-unique3.cc: Add explicit declaration of gets.
41416 * elf/tst-unique3lib.cc: Likewise.
41417 * elf/tst-unique3lib2.cc: Likewise.
41418 * elf/tst-unique4.cc: Likewise.
41419
df78418a
UD
41420 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41421
8ecd6b2a
JM
414222012-01-06 Joseph Myers <joseph@codesourcery.com>
41423
41424 [BZ #13566]
41425 * assert/assert.h (static_assert): Don't define for C++.
41426 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41427 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41428
9f115170
UD
414292012-01-03 Ulrich Drepper <drepper@gmail.com>
41430
5e0d0300
UD
41431 * iconv/loop.c (single loop): Fix assertion in storing of
41432 remaining bytes.
41433
9f115170
UD
41434 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41435
81fb02b0
UD
414362012-01-01 Ulrich Drepper <drepper@gmail.com>
41437
41438 * posix/getconf.c: Update copyright year.
41439 * nss/getent.c: Likewise.
a316c1f6 41440 * nss/makedb.c: Likewise.
81fb02b0
UD
41441 * iconv/iconvconfig.c: Likewise.
41442 * iconv/iconv_prog.c: Likewise.
41443 * elf/ldconfig.c: Likewise.
a316c1f6
UD
41444 * elf/pldd.c: Likewise.
41445 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
41446 * catgets/gencat.c: Likewise.
41447 * csu/version.c: Likewise.
41448 * elf/ldd.bash.in: Likewise.
41449 * elf/sprof.c (print_version): Likewise.
41450 * locale/programs/locale.c: Likewise.
41451 * locale/programs/localedef.c: Likewise.
a316c1f6 41452 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
41453 * nscd/nscd.c (print_version): Likewise.
41454 * debug/xtrace.sh: Likewise.
41455 * malloc/memusage.sh: Likewise.
41456 * malloc/mtrace.pl: Likewise.
41457 * debug/catchsegv.sh: Likewise.
41458
2ba92745
JJ
414592011-12-30 Jakub Jelinek <jakub@redhat.com>
41460
41461 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41462 pure attribute.
41463
dadebdae
UD
414642011-12-24 Ulrich Drepper <drepper@gmail.com>
41465
d3761ebc 41466 [BZ #13533]
db6af3eb
UD
41467 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41468 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41469 transformations.
41470 * iconv/gconv_int.h: Likewise.
41471 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41472 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41473 from libc for GLIBC_2.16.
41474 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41475 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41476 * wcsmbs/uchar.h: Really define mbstate_t.
41477 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41478 * wcsmbs/c16rtomb.c: New file.
41479 * wcsmbs/mbrtoc16.c: New file.
41480 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41481 for C/POSIX locale.
41482 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41483 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41484
dadebdae
UD
41485 * wcsmbs/wchar.h: Add missing __restrict.
41486
67371b56
UD
414872011-12-23 Ulrich Drepper <drepper@gmail.com>
41488
74033a25
UD
41489 [BZ #13532]
41490 * time/Makefile (routines): Add timespec_get.
41491 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41492 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41493 timespec for ISO C11.
41494 * time/timespec_get.c: New file.
41495 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41496 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41497
380d7e87
UD
41498 [BZ #13531]
41499 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41500 * stdlib/stdlib.h: Declare aligned_alloc.
41501 * Versions.def: Add GLIBC_2.16 for libc.
41502 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41503
4e9e7a35
UD
41504 [BZ 13527]
41505 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41506 ISO C11.
41507
380d7e87 41508 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
41509 code.
41510
03a71829
UD
41511 [BZ #13528]
41512 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41513
839e283e
UD
41514 [BZ #13529]
41515 * assert/assert.h (static_assert): Define.
41516
ce5294e2 41517 * version.h: Update for 2.16 development version.
90fa7312 41518
8d44e150 41519 [BZ #13526]
d7809905
UD
41520 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41521 _ISOC11_SOURCE.
41522
c0da14cd
UD
41523 * version.h (RELEASE): Bump for 2.15 release.
41524 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41525
530a3249
MP
41526 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41527 Patch by Marek Polacek <mpolacek@redhat.com>.
41528
67371b56
UD
41529 * bits/byteswap.h: Protect long long constants with __extension__.
41530 * sysdeps/i386/bits/byteswap.h: Likewise.
41531 * sysdeps/ia64/bits/byteswap.h: Likewise.
41532 * sysdeps/s390/bits/byteswap.h: Likewise.
41533 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41534
15db4de1
LD
415352011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41536
41537 [BZ #13540]
bbe315ea
LD
41538 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41539 destination buffer.
15db4de1
LD
41540 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41541
2b2596b1
MP
415422011-12-23 Marek Polacek <polacek@redhat.com>
41543
41544 * elf/dl-addr.c (determine_info): Add inline keyword.
41545 * elf/tst-auditmod4b.c (check_avx): Likewise.
41546 * elf/tst-auditmod6b.c (check_avx): Likewise.
41547 * elf/tst-auditmod6c.c (check_avx): Likewise.
41548 * elf/tst-auditmod7b.c (check_avx): Likewise.
41549
70c6c246
UD
415502011-12-23 Ulrich Drepper <drepper@gmail.com>
41551
41552 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41553 !__SSE_MATH__.
41554
c044cf14
LD
415552011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41556
15db4de1 41557 [BZ #13540]
c044cf14
LD
41558 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41559 processing for last bytes.
41560
6b13d9d9
BH
415612011-08-06 Bruno Haible <bruno@clisp.org>
41562
d455f537
BH
41563 [BZ #13061]
41564 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41565 U+0385, not to U+1FEE.
41566
6b13d9d9
BH
41567 [BZ #13062]
41568 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41569 entry for U+00A5 U+0301.
41570
db910efd
UD
415712011-12-22 Ulrich Drepper <drepper@gmail.com>
41572
27deeafc
UD
41573 [BZ #13166]
41574 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41575 buffer for the output is too small.
41576
aed9d171
UD
41577 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41578 optimization.
41579
db910efd
UD
41580 [BZ #13185]
41581 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41582 SSE flags if possible.
41583
2bd779ae
LD
415842011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41585
e7f9dac3 41586 [BZ #13540]
2bd779ae
LD
41587 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41588 processing for last bytes.
41589
154bfc16
JM
415902011-12-22 Joseph Myers <joseph@codesourcery.com>
41591
41592 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41593 (syscall-list-default-options, syscall-list-default-condition)
41594 (syscall-list-includes): Define.
41595 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41596 list of ABIs and options and #if conditions for each ABI. Do not
41597 handle common syscalls between ABIs specially.
41598 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41599 Remove.
41600 (syscall-list-variants, syscall-list-32bit-options)
41601 (syscall-list-32bit-condition, syscall-list-64bit-options)
41602 (syscall-list-64bit-condition): Define.
41603 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41604 (syscall-list-variants, syscall-list-32bit-options)
41605 (syscall-list-32bit-condition, syscall-list-64bit-options)
41606 (syscall-list-64bit-condition): Define.
41607 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41608 Remove.
41609 (syscall-list-variants, syscall-list-32bit-options)
41610 (syscall-list-32bit-condition, syscall-list-64bit-options)
41611 (syscall-list-64bit-condition): Define.
41612 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41613 Remove.
41614 (syscall-list-variants, syscall-list-32bit-options)
41615 (syscall-list-32bit-condition, syscall-list-64bit-options)
41616 (syscall-list-64bit-condition): Define.
41617
21eaf3a5
UD
416182011-12-22 Ulrich Drepper <drepper@gmail.com>
41619
16c6f992
UD
41620 * locale/iso-639.def: Add brx entry.
41621
41043168
UD
41622 [BZ #13328]
41623 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41624 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41625
21eaf3a5
UD
41626 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41627 __feraiseexcept_renamed.
41628
e3a851a2
UD
416292011-12-21 Ulrich Drepper <drepper@gmail.com>
41630
4920765e
UD
41631 [BZ #13538]
41632 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41633 EPOLLET with unsigned values.
41634 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41635 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41636
e3a851a2
UD
41637 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41638 to large cancellation.
41639 * math/s_cacoshf.c: Likewise.
41640 * math/s_cacoshl.c: Likewise.
41641
b27e24b8
RK
416422011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41643
41644 [BZ #13305]
aebefeee 41645 [BZ #12786]
b27e24b8
RK
41646 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41647 * math/s_cacoshf.c: Likewise.
41648 * math/s_cacoshl.c: Likewise.
41649
ee190f67
UD
416502011-12-21 Ulrich Drepper <drepper@gmail.com>
41651
41652 [BZ #13439]
41653 * iconv/gconv.h: Define __GCONV_SWAP.
41654 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41655 * iconvdata/utf-16.c: Likewise.
41656 * iconvdata/utf-32.c: Likewise.
41657
707f25df
AS
416582011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41659
41660 [BZ #13524]
41661 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41662 numerator after shifting it by one limb.
41663
d2daaa1e
RÁE
416642011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41665
41666 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41667 under [__USE_EXTERN_INLINES].
41668
a4647e72
UD
416692011-12-17 Ulrich Drepper <drepper@gmail.com>
41670
41671 [BZ #13446]
41672 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41673
f0b264f1
AZ
416742011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41675
41676 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41677 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41678 optimized code.
41679 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41680 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41681 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41682 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41683 for strncasecmp/strncasecmp_l compilation.
41684 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41685 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41686
8ef4f244
MP
416872011-12-08 Marek Polacek <mpolacek@redhat.com>
41688
41689 [BZ #13484]
41690 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41691 of __asm__.
41692
97ac2654
UD
416932011-12-17 Ulrich Drepper <drepper@gmail.com>
41694
41695 [BZ #13506]
41696 * time/tzfile.c (__tzfile_read): Check values from file header.
41697
91d2a845
WS
416982011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41699
41700 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41701 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41702 * powerpc/powerpc32/dl-start.S: Likewise.
41703 * powerpc/powerpc32/elf/start.S: Likewise.
41704 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41705 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41706 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41707 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41708 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41709 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41710 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41711 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41712 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41713 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41714 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41715 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41716 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41717 * powerpc/powerpc32/memset.S: Likewise.
41718 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41719 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41720 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41721 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41722 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41723 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41724 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41725 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41726 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41727 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41728 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41729 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41730 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41731
a1267ba1
AZ
417322011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41733
41734 * math/libm-test.inc: Added more nearbyint tests.
41735 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41736 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41737 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41738 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41739
ad8ac1bd
RL
417402011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41741
41742 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41743 FD_CLOEXEC.
41744
1d3e4b61
UD
417452011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41746
41747 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41748 Add wcscpy-ssse3 wcscpy-c.
41749 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41750 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41751 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41752 * sysdeps/x86_64/wcschr.S: New file.
41753 * sysdeps/x86_64/wcsrchr.S: New file.
41754 * string/test-strcmp.c: Remove checking of wcscmp function for
41755 wrong alignments.
41756 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41757 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41758 wcsrchr-sse2 wcsrchr-c.
41759 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41760 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41761 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41762 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41763 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41764 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41765 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41766 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41767 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41768 * wcsmbc/wcschr.c (WCSCHR): New macro.
41769
5b330a2d
UD
417702011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41771
41772 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41773 * wcsmbs/test-wcsrchr.c: New file.
41774 * string/test-strrchr.c: Add wcsrchr support.
41775 (WIDE): New macro.
41776 * wcsmbs/test-wcscpy.c: New file.
41777 * string/test-strcpy.c: Add wcscpy support.
41778 (WIDE): New macro.
26428b7c 41779
f039c043
UD
417802011-12-10 Ulrich Drepper <drepper@gmail.com>
41781
41782 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41783 the inner loop.
41784
850fb039
AS
417852011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41786
41787 [BZ #13472]
41788 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41789
4efbd5cb
UD
417902011-12-04 Ulrich Drepper <drepper@gmail.com>
41791
52ff5dd0 41792 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 41793 Minor optimizations.
52ff5dd0 41794
4efbd5cb
UD
41795 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41796 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41797 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41798
8a426e12
UD
417992011-12-03 Ulrich Drepper <drepper@gmail.com>
41800
aff2453d
UD
41801 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41802 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41803 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41804 for gcc to avoid warnings.
41805 * inet/Makefile (tests): Add tst-checks.
41806 * inet/tst-checks.c: New file.
41807
41808 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41809 warning.
41810
41811 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41812 __wmemcmp_sse2.
41813
41814 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41815 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41816
8a426e12
UD
41817 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41818
9bea3473
UD
418192011-12-02 Ulrich Drepper <drepper@gmail.com>
41820
3a965496
UD
41821 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41822 problem.
41823
9bea3473
UD
41824 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41825
f101631b
UD
418262011-11-29 Joseph Myers <joseph@codesourcery.com>
41827
41828 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41829 conditional on GCC version.
41830 (__arch_compare_and_exchange_val_8_acq)
41831 (__arch_compare_and_exchange_val_16_acq)
41832 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41833 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41834 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41835
a98275aa
UD
418362011-12-02 Joseph Myers <joseph@codesourcery.com>
41837
41838 * sysdeps/sh/backtrace.c: New file.
41839
d4cc29a2
AS
418402011-12-02 Andreas Schwab <schwab@redhat.com>
41841
41842 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41843 parenthesis.
41844
6257af2d
AS
418452011-12-01 Andreas Schwab <schwab@redhat.com>
41846
41847 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41848 falling back to utime.
41849
b5f44c1a
AS
418502011-11-30 Andreas Schwab <schwab@redhat.com>
41851
41852 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41853 expectations for float.
41854
f3a6cc0a
AS
418552011-11-29 Andreas Schwab <schwab@redhat.com>
41856
41857 * locale/weight.h (findidx): Add parameter len.
41858 * locale/weightwc.h (findidx): Likewise.
41859 * posix/fnmatch_loop.c (FCT): Adjust caller.
41860 * posix/regcomp.c (build_equiv_class): Likewise.
41861 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41862 * posix/regexec.c (check_node_accept_bytes): Likewise.
41863 * string/strcoll_l.c (STRCOLL): Likewise.
41864 * string/strxfrm_l.c (STRXFRM): Likewise.
41865
9d65ea3a
UD
418662011-11-17 Ulrich Drepper <drepper@gmail.com>
41867
41868 * Makefile.in: Remove CVSOPT handling.
41869 * configure.in: Remove use of AC_REVISION.
41870 * iconvdata/Makefile (distribute): No need to filter out CVS.
41871 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41872 handling.
41873
5583a086
AS
418742011-11-16 Andreas Schwab <schwab@redhat.com>
41875
41876 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41877 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41878 [USE_AS_STRNCASECMP_L]: Likewise.
41879 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41880 NO_TLS_DIRECT_SEG_REFS.
41881 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41882 Fix argument offsets for non-PIC.
41883 [USE_AS_STRNCASECMP_L]: Likewise.
41884 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41885 NO_TLS_DIRECT_SEG_REFS.
41886
d62a8200
UD
418872011-11-15 Ulrich Drepper <drepper@gmail.com>
41888
9d65ea3a 41889 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
41890 O_CLOEXEC.
41891 * locale/loadlocale.c (_nl_load_locale): Likewise.
41892
09f93bd3
AS
418932011-11-15 Andreas Schwab <schwab@redhat.com>
41894
446514f9
AS
41895 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41896 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41897 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41898 (SYSCALL_GETTIME): Set errno on error.
41899
09f93bd3
AS
41900 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41901 count references to noai6ai_cached.
41902
312be3f9
UD
419032011-11-15 Ulrich Drepper <drepper@gmail.com>
41904
41905 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41906
41907 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41908 FD_CLOEXEC for /proc/self/maps.
41909
41910 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41911 FD_CLOEXEC for /proc/meminfo.
41912
41913 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41914 gai.conf.
41915
41916 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41917 FD_CLOEXEC for given file.
41918
41919 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41920
41921 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41922 FD_CLOEXEC for /etc/hosts.
41923 (_gethtent): Likewise.
41924
41925 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41926
41927 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41928 cancellation and set FD_CLOEXEC for /etc/netgroup.
41929
41930 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41931 reading /etc/publickey.
41932
41933 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41934 allow cancellation when reading /etc/group.
41935
41936 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41937 cancellation.
41938 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41939
41940 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41941 when using data file.
41942
41943 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41944
41945 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41946 (write_nis_obj): Use "c" and "e" in fopen.
41947
41948 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41949
41950 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41951
41952 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41953
41954 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41955
41956 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41957 locale.alias.
41958
41959 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41960
41961 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41962
41963 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41964
41965 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41966 file parsing and set FD_CLOEXEC.
41967
82af0fa8
UD
419682011-11-14 Ulrich Drepper <drepper@gmail.com>
41969
41970 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41971
a5fb313c
AS
419722011-11-14 Andreas Schwab <schwab@redhat.com>
41973
41974 * malloc/arena.c (arena_get2): Don't call reused_arena when
41975 _int_new_arena failed.
41976
6abf3465
UD
419772011-11-14 Ulrich Drepper <drepper@gmail.com>
41978
41979 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41980 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41981 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41982 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41983 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41984 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41985 to compile strcasecmp and strncasecmp.
41986 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41987 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41988
41989 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41990
76e3966e
UD
419912011-11-13 Ulrich Drepper <drepper@gmail.com>
41992
41993 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41994 locale-defines.sym to gen-as-const-headers.
41995 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41996 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41997 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41998 to compile strcasecmp and strncasecmp.
41999 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42000 strcasecmp_l and strncasecmp_l.
42001 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42002 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42003 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42004 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42005 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42006 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42007 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42008 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42009 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42010 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42011 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42012
ab26144e
UD
420132011-11-12 Ulrich Drepper <drepper@gmail.com>
42014
7edb22ef
UD
42015 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42016 result of SYSDEP_GETTIME_CPU to retval.
42017 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42018 parameter list to macro. Remove trailing semicolon. Adjust users.
42019
9694fc44
UD
42020 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42021 variable.
42022
8ad89ef8
UD
42023 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42024 mantissa words.
42025 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42026
0c822ef9
UD
42027 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42028 from unused variable.
42029
874e0564
UD
42030 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42031 DWARF definitions.
42032 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42033 for assembling.
42034
3a2edc79
UD
42035 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42036 over namespaces.
42037
f3c2577f
UD
42038 * sunrpc/rpc_prot.c (rejected): Fix case value.
42039
294ce126
UD
42040 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42041 unsigned long long int to avoid warnings in shift.
42042
5e2b63c6
UD
42043 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42044 of use of trans.
42045 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42046 variable tmp.
42047
e7f4b08e
UD
42048 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42049 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42050 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42051
ab26144e
UD
42052 * nis/nis_table.c (nis_list): Use variable of correct type for
42053 result of __follow_path call.
42054
8a6d5255
AZ
420552011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42056
42057 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42058 of math functions ceil, trunc, floor, round, and sqrt, when
42059 avaliable on the platform.
42060 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42061 name clash.
42062 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42063 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42064 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42065
aaddc98c
MP
420662011-10-30 Marek Polacek <mpolacek@redhat.com>
42067
42068 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42069 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42070
95b7042b
RM
420712011-11-11 Roland McGrath <roland@hack.frob.com>
42072
42073 * include/unistd.h: Fix __readlink return type.
42074 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42075
57769839
UD
420762011-11-11 Ulrich Drepper <drepper@gmail.com>
42077
42078 * stdlib/ucontext.h: Undo last change for makecontext.
42079
edc5984d
AS
420802011-11-11 Andreas Schwab <schwab@redhat.com>
42081
98591e58
AS
42082 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42083
edc5984d
AS
42084 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42085 * setjmp/setjmp.h: Mark functions as non-leaf.
42086 * setjmp/bits/setjmp2.h: Likewise.
42087 * stdlib/ucontext.h: Likewise.
42088
77cdc054
AS
420892011-11-10 Andreas Schwab <schwab@redhat.com>
42090
42091 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42092 (reused_arena): Don't check arena limit.
42093 (arena_get2): Atomically check arena limit.
42094
fe72eebd
UD
420952011-11-08 Ulrich Drepper <drepper@gmail.com>
42096
5f078c32
UD
42097 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42098 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42099
fe72eebd
UD
42100 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42101 instructions.
42102
ae1bc2fa
AS
421032011-11-07 Andreas Schwab <schwab@redhat.com>
42104
7583a88d
AS
42105 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42106 handler when locking.
42107
ae1bc2fa
AS
42108 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42109 Fix size of allocated buffer.
42110
10fb0bfa
AS
421112011-11-04 Andreas Schwab <schwab@redhat.com>
42112
998832a4
AS
42113 [BZ #10103]
42114 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42115 declarations for long double functions.
42116 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42117
10fb0bfa
AS
42118 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42119
3d7ba52b
AS
421202011-11-03 Andreas Schwab <schwab@redhat.com>
42121
a9ae54a1
AS
42122 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42123 installed.
42124
3d7ba52b
AS
42125 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42126 is disabled.
42127
bc8db248
ST
421282011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42129
42130 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42131
45b96dd6
AS
421322011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42133
647776f6
AS
42134 * include/alloca.h (stackinfo_alloca_round): Define.
42135 (extend_alloca): Use it.
42136 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42137 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42138 here.
42139
d91a8b93
AS
42140 * scripts/check-local-headers.sh: Ignore libaudit.h.
42141
45b96dd6
AS
42142 * nscd/Makefile (extra-objs): Make recursively expanded.
42143
432d41ce
UD
421442011-11-01 Ulrich Drepper <drepper@gmail.com>
42145
34372fc6
UD
42146 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42147 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42148
fadb59f8
UD
42149 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42150 * posix/tst-rfc3484-2.c: Likewise.
42151 * posix/tst-rfc3484-3.c: Likewise.
42152
78239589
UD
42153 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42154 process_vm_writev.
42155 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42156 process_vm_writev.
42157 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42158 process_vm_writev from libc using GLIBC_2.15 version.
42159
432d41ce
UD
42160 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42161
02f9c6cf
PP
421622011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42163
42164 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42165 stack usage.
42166
3a2c0242
UD
421672011-10-31 Ulrich Drepper <drepper@gmail.com>
42168
f4ec4833
UD
42169 [BZ #13367]
42170 * nss/getent.c (initgroups_keys): Show error message in case no group
42171 names are given.
42172
3a2c0242
UD
42173 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42174 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42175 __bump_nl_timestamp.
42176 * nscd/connections (nscd_init): When host database is served open
42177 netlink socket and request notification about configuration changes.
42178 (main_loop_poll): Track netlink file descriptor and bump timestamp
42179 in case data becomes available.
42180 (main_loop_epoll): Likewise.
42181 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42182 (database_pers_head): Add extra_data fileds.
42183 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42184 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42185 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42186 Adjust caller.
42187 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42188 in6ai data, call __free_in6ai.
42189 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42190 Add -DHAVE_NETLINK.
42191 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42192 interface information. Reuse previous data if netlink timestamp
42193 is not changed.
42194 (__bump_nl_timestamp): New function.
42195 (__free_in6ai): New function.
42196
636064eb
UD
421972011-10-30 Ulrich Drepper <drepper@gmail.com>
42198
42199 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42200 close_not_cancel_no_status here.
42201 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42202
9beb2334
UD
422032011-10-29 Ulrich Drepper <drepper@gmail.com>
42204
6ef76f3b
UD
42205 [BZ #13276]
42206 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42207 return value.
42208
0ffc4f3e 42209 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
42210 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42211 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42212
cb95113e
UD
422132011-07-03 Andreas Jaeger <aj@suse.de>
42214
42215 [BZ #10709]
42216 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42217 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42218 * math/libm-test.inc (sin_test): Add test case.
42219
a1b560ff
UD
422202011-10-29 Ulrich Drepper <drepper@gmail.com>
42221
c9aaface
UD
42222 [BZ #13337]
42223 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42224 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42225
d272e7f1
UD
42226 * elf/chroot_canon.c (chroot_canon): Cleanups.
42227
1bc33071
UD
42228 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42229
1760874d
TJ
42230 [BZ #13335]
42231 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42232 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42233
51d91b18
UD
42234 * string/test-strchr.c: Make usable for strchrnul testing.
42235 * string/test-strchrnul.c: New file.
42236 * string/Makefile (strop-tests): Add strchrnul.
42237
a1b560ff 42238 * po/it.po: Update from translation team.
b611fb81 42239 * po/es.po: Likewise.
a1b560ff 42240
a5b81e1f
UD
422412011-10-28 Ulrich Drepper <drepper@gmail.com>
42242
fd52bc6d
UD
42243 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42244 the three constants needed as parameters. Drop the others.
42245 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42246 __m128i_strloadu_tolower.
52e4b9eb
UD
42247 Create and initialize variable zero and use it in all the places
42248 where _mm_setzero_si128 was used.
fd52bc6d 42249
a5b81e1f
UD
42250 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42251 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42252 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42253 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42254 anymore.
42255 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42256 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42257 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42258 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42259 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42260 __mpranred, __mptan.
42261 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42262 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42263 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42264 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42265 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42266 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42267 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42268 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42269 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42270
b4343346
AS
422712011-10-28 Andreas Schwab <schwab@redhat.com>
42272
0c92d8a8
AS
42273 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42274 redefine if SHARED.
42275 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42276
b4343346
AS
42277 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42278 wide char related routines to wcsmbs subdir.
42279
3871f58f
AS
422802011-10-27 Andreas Schwab <schwab@redhat.com>
42281
42282 [BZ #13344]
42283 * misc/sys/cdefs.h (__THROWNL): Define.
42284 * posix/unistd.h: Use __THREADNL instead of __THREAD
42285 for memory synchronization functions.
42286
94d44d9f
RM
422872011-10-26 Roland McGrath <roland@hack.frob.com>
42288
21b64b15 42289 [BZ #13349]
94d44d9f
RM
42290 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42291 doesn't exist.
42292 * manual/stdio.texi (Obstack Streams): Node removed.
42293
f6ce9294
AS
422942011-10-26 Andreas Schwab <schwab@redhat.com>
42295
80479147
AS
42296 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42297 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42298 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42299
f6ce9294
AS
42300 * math/math_private.h (math_force_eval): Allow non-addressable
42301 arguments.
42302 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42303
618280a1
UD
423042011-10-25 Ulrich Drepper <drepper@gmail.com>
42305
e0016b11
UD
42306 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42307 file is not needed.
42308
42309 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42310 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42311 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42312 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42313 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42314 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42315 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42316 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42317 Add AVX variants.
42318 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42319 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42320 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42321 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42322 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42323 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42324 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42325 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42326 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42327 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42328 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42329 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42330 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42331 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42332 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42333 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42334 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42335 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42336 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42337
42338 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42339 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42340
618280a1
UD
42341 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42342 place. Use VEX encoding when compiling for AVX.
42343
37822576
AS
423442011-10-25 Andreas Schwab <schwab@redhat.com>
42345
1f1e1947
AS
42346 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42347 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42348
37822576
AS
42349 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42350
31ea014d
UD
423512011-10-25 Ulrich Drepper <drepper@gmail.com>
42352
d7826aa1 42353 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 42354 useless if() expression.
d7826aa1
UD
42355 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42356 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42357 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42358 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42359 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42360 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42361 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42362 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42363 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42364 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42365 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42366 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42367 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42368 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42369 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42370 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42371 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42372 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42373 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42374
31ea014d
UD
42375 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42376
16437fec
AS
423772011-10-25 Andreas Schwab <schwab@redhat.com>
42378
42379 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42380 condition.
42381 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42382
31d3cc00
UD
423832011-10-25 Ulrich Drepper <drepper@gmail.com>
42384
42385 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42386 .text section. Avoid duplicate constants.
42387 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42388 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42389 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42390 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42391 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42392 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42393 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42394 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42395 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42396 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42397 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42398 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42399 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42400 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42401 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42402 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42403 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42404 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42405 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42406 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42407 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42408 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42409 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42410 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42411 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42412 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42413 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42414 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42415 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42416 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42417 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42418 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42419 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42420 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42421 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42422 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42423 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42424 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42425 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42426 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42427 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42428 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42429 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42430 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42431 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42432
58985aa9
UD
424332011-10-24 Ulrich Drepper <drepper@gmail.com>
42434
202c9deb
UD
42435 * sysdeps/x86_64/dla.h: Move to ...
42436 * sysdeps/x86_64/fpu/dla.h: ...here.
42437 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42438 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 42439
af968f62
UD
42440 * config.make.in: Add have-mfma4 entry.
42441 * configure.in: Substitute libc_cv_cc_fma4.
42442 * math/Makefile (dbl-only-routines): Add sincostab.
42443 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42444 Use __sincostab not sincos.
42445 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42446 name is a macro.
42447 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42448 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42449 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42450 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42451 using __copysign.
42452 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42453 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42454 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42455 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42456 and __inv.
42457 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42458 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42459 __copysign.
42460 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42461 define aliases when function name is a macro.
42462 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42463 sysdeps/ieee754/dbl-64/sincos.tbl.
42464 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42465 fma4-enabled routines.
42466 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42467 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42468 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42469 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42470 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42471 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42472 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42473 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42474 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42475 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42476 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42477 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42478 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42479 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42480 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42481 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42482 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42483 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42484 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42485 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42486 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42487 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42488 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42489 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42490 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42491 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42492 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42493 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42494 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42495 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42496
58985aa9
UD
42497 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42498 rename.
42499 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42500 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42501 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42502 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42503 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42504 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42505 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42506 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42507
a201fbcf
AS
425082011-10-24 Andreas Schwab <schwab@redhat.com>
42509
42510 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42511
fc2ee42a
LD
425122011-10-23 Ulrich Drepper <drepper@gmail.com>
42513
bb3129bd
UD
42514 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42515
0275fff8
UD
42516 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42517 prediction.
42518 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42519
2fa2ae85
UD
42520 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42521 Remove unused variable magic_bits.
42522 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42523
fc2ee42a
LD
42524 * string/strnlen.c: Define and use STRNLEN macro.
42525 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42526 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42527 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42528 * wcsmbs/wcslen.c: Define and use WCSLEN.
42529 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42530 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42531 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42532 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42533 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42534 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42535 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42536
ce7dd29f
LD
425372011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42538
42539 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42540 strnlen-sse2-no-bsf.
42541 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42542 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42543 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42544 Add strnlen support.
42545 (USE_AS_STRNLEN): New macro.
42546 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42547 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42548 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42549 * sysdeps/x86_64/wcslen.S: New file.
42550
979c70a3
MZ
425512011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42552
42553 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42554 XMM-moves are used for copying on small sizes.
42555
2d09f82f
LD
425562011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42557
42558 * wcsmbs/Makefile (strop-tests): Add wcschr.
42559 * wcsmbs/test-wcschr.c: New file.
42560 * string/test-strchr.c: Update.
42561 Add wcschr support.
42562 (WIDE): New macro.
42563
619fccca
LD
425642011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42565
2d09f82f 42566 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
42567 * wcsmbs/test-wcslen.c: New file.
42568 * string/test-strlen.c: Update.
42569 Add wcslen support.
42570 (WIDE): New macro.
42571
09f699ea
UD
425722011-10-23 Ulrich Drepper <drepper@gmail.com>
42573
42574 * po/it.po: Update from translation team.
42575
95584d3b
LD
425762011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42577
42578 * sysdeps/x86_64/wcscmp.S: Update.
42579 Fix wrong comparison semantics.
42580 wcscmp shall use signed comparison not unsigned.
42581 Don't use substraction to avoid overflow bug.
42582 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42583 * wcsmbc/wcscmp.c: Likewise.
42584 * string/test-strcmp.c: Likewise.
42585 Add new tests to check cases with negative values.
42586
c8b3296b
UD
425872011-10-23 Ulrich Drepper <drepper@gmail.com>
42588
42589 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42590 * sysdeps/x86_64/dla.h: ...here. New file.
42591 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42592 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42593 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42594 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42595 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42596 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42597 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42598 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42599 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42600
246ad57a
AS
426012011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42602
42603 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42604 __ynl_finite aliases.
42605
a1a87169
UD
426062011-10-22 Ulrich Drepper <drepper@gmail.com>
42607
0d355eb7
UD
42608 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42609
a1a87169
UD
42610 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42611 define DLA_FMA.
42612 [DLA_FMA] (EMULV): Use DLA_FMA.
42613 [DLA_FMA] (MUL12): Use EMULV.
42614 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42615 that are not needed.
42616 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42617 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42618 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42619 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42620 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42621 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42622 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42623
ee2aafe0
AS
426242011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42625
42626 * math/s_nan.c: Undef __nan.
42627 * math/s_nanf.c: Undef __nanf.
42628 * math/s_nanl.c: Undef __nanl.
42629 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42630 "math_private.h".
42631
bc62c2fb
UD
426322011-10-22 Ulrich Drepper <drepper@gmail.com>
42633
77425c63
UD
42634 * math/s_catan.c: Add branch predictions.
42635 * math/s_catanf.c: Likewise.
42636 * math/s_catanh.c: Likewise.
42637 * math/s_catanhf.c: Likewise.
42638 * math/s_catanhl.c: Likewise.
42639 * math/s_catanl.c: Likewise.
42640 * math/s_cexp.c: Likewise.
42641 * math/s_cexpf.c: Likewise.
42642 * math/s_cexpl.c: Likewise.
42643 * math/s_clog.c: Likewise.
42644 * math/s_clog10.c: Likewise.
42645 * math/s_clog10f.c: Likewise.
42646 * math/s_clog10l.c: Likewise.
42647 * math/s_clogf.c: Likewise.
42648 * math/s_clogl.c: Likewise.
42649 * math/s_csqrt.c: Likewise.
42650 * math/s_csqrtf.c: Likewise.
42651 * math/s_csqrtl.c: Likewise.
42652 * math/s_ctanf.c: Likewise.
42653 * math/s_ctanh.c: Likewise.
42654 * math/s_ctanhf.c: Likewise.
42655 * math/s_ctanhl.c: Likewise.
42656 * math/s_ctanl.c: Likewise.
42657
bc62c2fb
UD
42658 * math/math_private.h: Define __nan, __nanf, __nanl.
42659 * math/s_cacosh.c: Include <math_private.h>.
42660 * math/s_cacoshl.c: Likewise.
42661 * math/s_casinh.c: Likewise.
42662 * math/s_casinhf.c: Likewise.
42663 * math/s_casinhl.c: Likewise.
42664 * math/s_ccos.c: Rely entire on ccosh.
42665 * math/s_ccosf.c: Rely entire on ccoshf.
42666 * math/s_ccosl.c: Rely entirely on ccoshl.
42667 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42668 Remove tests for FE_INVALID.
42669 * math/s_ccoshf.c: Likewise.
42670 * math/s_ccoshl.c: Likewise.
42671 * math/s_csin.c: Likewise.
42672 * math/s_csinf.c: Likewise.
42673 * math/s_csinh.c Likewise.
42674 * math/s_csinhf.c: Likewise.
42675 * math/s_csinhl.c: Likewise.
42676 * math/s_csinl.c: Likewise.
42677 * math/s_ctan.c: Likewise.
42678 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42679 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42680 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42681
8ec250a4
UD
426822011-10-21 Ulrich Drepper <drepper@gmail.com>
42683
c196fed8
UD
42684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42685 compilation problems.
42686
8ec250a4
UD
42687 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42688 __builtin_expect.
42689
8d4f46c6
UD
426902011-10-20 Ulrich Drepper <drepper@gmail.com>
42691
ed72b654
UD
42692 * sysdeps/i386/configure.in: Test for -mfma4 option.
42693 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42694 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42695 COMMON_CPUID_INDEX_80000001.
42696 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42697 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42698 use it if FMA3 is not supported.
42699 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42700
8d4f46c6
UD
42701 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42702 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42703
d45c60c2
AS
427042011-10-20 Andreas Schwab <schwab@redhat.com>
42705
42706 [BZ #12892]
42707 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42708 it would create a cycle with a link time dependency.
42709
d9a4d2ab
UD
427102011-10-19 Ulrich Drepper <drepper@gmail.com>
42711
855d1560
UD
42712 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42713 instruction.
42714 * string/Makefile (strop-tests): Add rawmemchr.
42715 * string/test-rawmemchr.c: New file.
42716
d9a4d2ab
UD
42717 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42718 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42719 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42720 when compiling str{,n}casecmp and when AVX is available. Hook up
42721 new optimized code in initializers.
42722
8f3b1ffe
AS
427232011-10-19 Andreas Schwab <schwab@redhat.com>
42724
42725 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42726 __feraiseexcept instead of feraiseexcept.
42727
d38f1dba
UD
427282011-10-18 Ulrich Drepper <drepper@gmail.com>
42729
d9a8d0ab
UD
42730 * math/math_private.h: Define defaults for libc_fetestexcept and
42731 libc_feupdateenv.
42732 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42733 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42734 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42735 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42736 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42737 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42738 libc_fetestexcept and libc_feupdateenv.
42739
4855e3dd
UD
42740 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42741 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42742 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42743 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42744 libc_feholdexcept_setround.
42745
581d30e3
UD
42746 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42747 Add s_nearbyint-c and s_nearbyintf-c.
42748 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42749 nearbyintf inlines.
42750 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42751 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42752 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42753 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42754
d38f1dba
UD
42755 * math/math_private.h: Define defaults for libc_fegetround,
42756 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42757 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42758 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42759 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42760 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42761 standard functions.
42762 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42763 Remove comments and hacks for old compiler versions.
42764 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42765 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42766 libc_feholdexceptl.
42767
caa6c9d8
AS
427682011-10-18 Andreas Schwab <schwab@redhat.com>
42769
42770 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
42771 (__feraiseexcept_renamed): Add __NTH.
42772 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
42773 namespace violations.
42774
97c066e6
UD
427752011-10-17 Ulrich Drepper <drepper@gmail.com>
42776
99ce7b04
UD
42777 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42778
1004d182
UD
42779 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42780
228a984d
UD
42781 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42782 recently added interfaces.
42783 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42784
c8553a6a
UD
42785 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42786 about macro parameter expansion.
42787
ed22dcf6
UD
42788 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42789 __NO_MATH_INLINES is defined. Cleanups.
42790
42791 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42792 and __floorf is target has SSE4.1.
42793 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42794 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42795 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42796 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42797
b171c137
UD
42798 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42799 name.
42800 (floorf): Likewise.
42801
97c066e6
UD
42802 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42803
629f62ef
AS
428042011-10-17 Andreas Schwab <schwab@redhat.com>
42805
49a43d80
AS
42806 * misc/sys/cdefs.h: Fix last change.
42807
629f62ef
AS
42808 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42809 database lookup.
42810
e453f6cd
UD
428112011-10-16 Ulrich Drepper <drepper@gmail.com>
42812
aa78043a
UD
42813 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42814
ad0f5cad
UD
42815 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42816 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42817 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42818 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42819 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42820 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42821 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42822 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42823 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42824 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42825 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42826 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42827 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42828 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42829 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42830 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42831 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42832 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42833 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42834 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42835 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42836 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42837
42838 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42839 ceil, ceilf, floor, floorf.
42840
42841 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42842 Perform IRELATIVE relocations last.
42843
e453f6cd
UD
42844 * elf/do-rel.h: Add another parameter nrelative, replacing the
42845 local variable with the same name. Change name of the function
42846 to end in Rel or Rela (uppercase).
42847 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42848 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42849 elf_dynamic_do_##reloc function.
42850
fd5bdc09
UD
428512011-10-15 Ulrich Drepper <drepper@gmail.com>
42852
79b195b5
UD
42853 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42854 is sufficient, at least on modern CPUs.
42855
d4a28569
UD
42856 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42857
b61099b5
UD
42858 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42859 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42860
bcf01e6d
UD
42861 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42862 __expl_finite.
42863 * math/bits/math-finite.h: Add entries for exp.
42864 * math/e_expl.c: Add __*_finite alias.
42865 * sysdeps/i386/fpu/e_exp.S: Likewise.
42866 * sysdeps/i386/fpu/e_expf.S: Likewise.
42867 * sysdeps/i386/fpu/e_expl.c: Likewise.
42868 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42869 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42870 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42871 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42872 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42873 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42874 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42875
ba1a0d59
UD
42876 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42877 is sufficient, at least on modern CPUs.
42878
fd5bdc09
UD
42879 * ctype/ctype-info.c (__ctype_init): Define.
42880 * include/ctype.h (__ctype_init): Declare.
42881 (__ctype_b_loc): The variable is always initialized.
42882 (__ctype_toupper_loc): Likewise.
42883 (__ctype_tolower_loc): Likewise.
42884 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42885 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42886
7872cfb0
AS
428872011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42888
b468825a
AS
42889 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42890
7872cfb0
AS
42891 * configure.in: Also look in $cxxmachine/include for C++ system
42892 headers.
42893
be13f7bf
LD
428942011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42895
42896 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42897 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42898 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42899 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42900 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42901 (USE_AS_WMEMCMP): New macro.
42902 Fixing indents.
42903 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42904 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42905 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42906 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42907 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42908 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42909 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42910 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42911 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42912 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42913 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42914 (USE_AS_WMEMCMP): New macro.
42915 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42916 * sysdeps/string/test-memcmp.c: Update.
42917 Fix simple_wmemcmp.
42918 Add new tests.
42919 * wcsmbs/wmemcmp.c: Update.
42920 (WMEMCMP): New macro.
42921 Fix overflow bug.
42922
556a2007
AJ
429232011-10-12 Andreas Jaeger <aj@suse.de>
42924
42925 [BZ #13268]
42926 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42927
538faaa7
UD
429282011-10-15 Ulrich Drepper <drepper@gmail.com>
42929
ab6737ff
UD
42930 * libio/iofwide.c (do_length): Avoid warning.
42931
538faaa7
UD
42932 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42933
396a21b1
UD
429342011-10-14 Ulrich Drepper <drepper@gmail.com>
42935
cdf2901f
UD
42936 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42937
38ad40ce
UD
42938 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42939 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42940 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42941 * sysdeps/i386/i686/fpu/e_log.S: New file.
42942 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42943 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42944
396a21b1
UD
42945 * ctype/ctype.h: Add support for inlined isXXX functions when
42946 compiling C++ code.
42947
6b1f68c9
AS
429482011-10-14 Andreas Schwab <schwab@redhat.com>
42949
349290c0
AS
42950 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42951
6b1f68c9
AS
42952 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42953
f2282d42
RM
429542011-10-13 Roland McGrath <roland@hack.frob.com>
42955
42956 [BZ #13291]
42957 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42958
5298ffa8
AS
429592011-10-13 Andreas Schwab <schwab@redhat.com>
42960
714fad23
AS
42961 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42962 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42963 feraiseexcept.
42964
81dcc7fb
AS
42965 * sysdeps/x86_64/memrchr.S: Check for zero size.
42966
5298ffa8
AS
42967 * string/stratcliff.c: Add memrchr tests.
42968
951fbcec
LD
429692011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42970
42971 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42972 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42973 rawmemchr-sse2 rawmemchr-sse2-bsf.
42974 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42975 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42976 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42977 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42978 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42979 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42980 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42981 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42982 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42983 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42984 * string/memrchr.c (MEMRCHR): New macro.
42985
0ac5ae23
UD
429862011-10-12 Ulrich Drepper <drepper@gmail.com>
42987
42988 Add integration with gcc's -ffinite-math-only and optimize wrapper
42989 functions in libm.
42990 * Versions.def: Define GLIBC_2.15 version for libm.
42991 * math/Makefile (headers): Add bits/math-finite.h.
42992 * math/bits/math-finite.h: New file.
42993 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42994 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42995 * math/e_acoshl.c: Add __*_finite alias.
42996 * math/e_acosl.c: Likewise.
42997 * math/e_asinl.c: Likewise.
42998 * math/e_atan2l.c: Likewise.
42999 * math/e_atanhl.c: Likewise.
43000 * math/e_coshl.c: Likewise.
43001 * math/e_exp10.c: Likewise.
43002 * math/e_exp10f.c: Likewise.
43003 * math/e_exp10l.c: Likewise.
43004 * math/e_exp2l.c: Likewise.
43005 * math/e_fmodl.c: Likewise.
43006 * math/e_gammal_r.c: Likewise.
43007 * math/e_hypotl.c: Likewise.
43008 * math/e_j0l.c: Likewise.
43009 * math/e_j1l.c: Likewise.
43010 * math/e_jnl.c: Likewise.
43011 * math/e_lgammal_r.c: Likewise.
43012 * math/e_log10l.c: Likewise.
43013 * math/e_log2l.c: Likewise.
43014 * math/e_logl.c: Likewise.
43015 * math/e_powl.c: Likewise.
43016 * math/e_sinhl.c: Likewise.
43017 * math/e_sqrtl.c: Likewise.
43018 * math/e_scalb.c: Completely rewritten and optimized.
43019 * math/e_scalbf.c: Likewise.
43020 * math/e_scalbl.c: Likewise.
43021 * math/w_acos.c: Likewise.
43022 * math/w_acosf.c: Likewise.
43023 * math/w_acosl.c: Likewise.
43024 * math/w_acosh.c: Likewise.
43025 * math/w_acoshf.c: Likewise.
43026 * math/w_acoshl.c: Likewise.
43027 * math/w_asin.c: Likewise.
43028 * math/w_asinf.c: Likewise.
43029 * math/w_asinl.c: Likewise.
43030 * math/w_atan2.c: Likewise.
43031 * math/w_atan2f.c: Likewise.
43032 * math/w_atan2l.c: Likewise.
43033 * math/w_atanh.c: Likewise.
43034 * math/w_atanhf.c: Likewise.
43035 * math/w_atanhl.c: Likewise.
43036 * math/w_exp10.c: Likewise.
43037 * math/w_exp10f.c: Likewise.
43038 * math/w_exp10l.c: Likewise.
43039 * math/w_fmod.c: Likewise.
43040 * math/w_fmodf.c: Likewise.
43041 * math/w_fmodl.c: Likewise.
43042 * math/w_j0.c: Likewise.
43043 * math/w_j0f.c: Likewise.
43044 * math/w_j0l.c: Likewise.
43045 * math/w_j1.c: Likewise.
43046 * math/w_j1f.c: Likewise.
43047 * math/w_j1l.c: Likewise.
43048 * math/w_jn.c: Likewise.
43049 * math/w_jnf.c: Likewise.
43050 * math/w_log.c: Likewise.
43051 * math/w_logf.c: Likewise.
43052 * math/w_logl.c: Likewise.
43053 * math/w_log10.c: Likewise.
43054 * math/w_log10f.c: Likewise.
43055 * math/w_log10l.c: Likewise.
43056 * math/w_log2.c: Likewise.
43057 * math/w_log2f.c: Likewise.
43058 * math/w_log2l.c: Likewise.
43059 * math/w_pow.c: Likewise.
43060 * math/w_powf.c: Likewise.
43061 * math/w_powl.c: Likewise.
43062 * math/w_remainder.c: Likewise.
43063 * math/w_remainderf.c: Likewise.
43064 * math/w_remainderl.c: Likewise.
43065 * math/w_scalb.c: Likewise.
43066 * math/w_scalbf.c: Likewise.
43067 * math/w_scalbl.c: Likewise.
43068 * math/w_sqrt.c: Likewise.
43069 * math/w_sqrtf.c: Likewise.
43070 * math/w_sqrtl.c: Likewise.
43071 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43072 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43073 used.
43074 * math/math_private.h: Declare __kernel_standard_f.
43075 * math/w_cosh.c: Remove cruft and optimize a bit.
43076 * math/w_coshf.c: Likewise.
43077 * math/w_coshl.c: Likewise.
43078 * math/w_exp2.c: Likewise.
43079 * math/w_exp2f.c: Likewise.
43080 * math/w_exp2l.c: Likewise.
43081 * math/w_hypot.c: Likewise.
43082 * math/w_hypotf.c: Likewise.
43083 * math/w_hypotl.c: Likewise.
43084 * math/w_lgamma.c: Likewise.
43085 * math/w_lgamma_r.c: Likewise.
43086 * math/w_lgammaf.c: Likewise.
43087 * math/w_lgammaf_r.c: Likewise.
43088 * math/w_lgammal.c: Likewise.
43089 * math/w_lgammal_r.c: Likewise.
43090 * math/w_sinh.c: Likewise.
43091 * math/w_sinhf.c: Likewise.
43092 * math/w_sinhl.c: Likewise.
43093 * math/w_tgamma.c: Likewise.
43094 * math/w_tgammaf.c: Likewise.
43095 * math/w_tgammal.c: Likewise.
43096 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43097 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43098 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43099 Minor optimizations. Pretty printing. Remove cruft.
43100 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43101 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43102 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43103 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43104 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43105 * sysdeps/i386/fpu/e_asin.S: Likewise.
43106 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43107 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43108 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43109 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43110 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43111 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43112 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43113 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43114 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43115 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43116 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43117 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43118 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43119 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43120 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43121 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43122 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43123 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43124 * sysdeps/i386/fpu/e_log.S: Likewise.
43125 * sysdeps/i386/fpu/e_log10.S: Likewise.
43126 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43127 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43128 * sysdeps/i386/fpu/e_log2.S: Likewise.
43129 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43130 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43131 * sysdeps/i386/fpu/e_logf.S: Likewise.
43132 * sysdeps/i386/fpu/e_logl.S: Likewise.
43133 * sysdeps/i386/fpu/e_pow.S: Likewise.
43134 * sysdeps/i386/fpu/e_powf.S: Likewise.
43135 * sysdeps/i386/fpu/e_powl.S: Likewise.
43136 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43137 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43138 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43139 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43140 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43141 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43142 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43143 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43144 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43145 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43146 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43147 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43148 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43149 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43150 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43151 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43152 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43153 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43154 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43155 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43156 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43157 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43158 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43159 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43160 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43161 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43162 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43163 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43164 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43165 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43166 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43167 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43168 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43169 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43170 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43171 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43172 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43173 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43174 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43175 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43176 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43177 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43178 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43179 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43180 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43181 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43182 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43183 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43184 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43185 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43186 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43187 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43188 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43189 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43190 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43191 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43192 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43193 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43194 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43195 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43196 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43197 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43198 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43199 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43200 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43201 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43202 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43203 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43204 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43205 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43206 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43207 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43208 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43209 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43210 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43211 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43212 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43213 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43214 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43215 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43216 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43217 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43218 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43219 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43220 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43221 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43222 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43223 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43224 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43225 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43226 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43227 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43228 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43229 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43230 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43231 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43232 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43233 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43234 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43235 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43236 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43237 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43238 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43239 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43240 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43241 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43242 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43243 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43244 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43245 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43246 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43247 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43248 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43249 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43250 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43251 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43252 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43253 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43254 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43255 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43256 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43257 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43258 (__isnanf): Likewise.
43259 (__isinf_ns): Likewise.
43260 (__isinf_nsf): Likewise.
43261 (__finite): Likewise.
43262 (__finitef): Likewise.
43263 (__ieee754_sqrt): Define as macro.
43264 (__ieee754_sqrtf): Define as macro.
43265 (__ieee754_sqrtl): Define as macro.
43266 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43267 inlined copy.
43268 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43269 __FINITE_MATH_ONLY__ consistent.
43270 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43271
12cc2fcd
AS
432722011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43273
a843a204
AS
43274 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43275 of rawmemchr.
43276
12cc2fcd
AS
43277 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43278
c853acd5
UD
432792011-10-09 Ulrich Drepper <drepper@gmail.com>
43280
43281 * po/ja.po: Update from translation team.
43282
c658d255
RM
432832011-10-08 Roland McGrath <roland@hack.frob.com>
43284
110946e4
RM
43285 * locale/programs/locarchive.c (prepare_address_space): New function.
43286 (create_archive, enlarge_archive, open_archive): Use it.
43287
50604220
RM
43288 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43289 inside [SHARED], where it is used.
43290
c658d255
RM
43291 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43292
43293 * nss/getent.c (netgroup_keys): Remove unused variable.
43294 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43295
6a621eb7
UD
432962011-10-08 Ulrich Drepper <drepper@gmail.com>
43297
7edb55ce
UD
43298 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43299 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43300 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43301 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43302 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43303 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43304 * math/Makefile (libm-calls): Add s_isinf_ns.
43305 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43306 * math/multc3.c: Likewise.
43307 * math/s_casin.c: Likewise.
43308 * math/s_casinf.c: Likewise.
43309 * math/s_casinl.c: Likewise.
43310 * math/s_ccos.c: Likewise.
43311 * math/s_ccosf.c: Likewise.
43312 * math/s_ccosl.c: Likewise.
43313 * math/s_ctan.c: Likewise.
43314 * math/s_ctanf.c: Likewise.
43315 * math/s_ctanh.c: Likewise.
43316 * math/s_ctanhf.c: Likewise.
43317 * math/s_ctanhl.c: Likewise.
43318 * math/s_ctanl.c: Likewise.
43319 * math/w_fmod.c: Likewise.
43320 * math/w_fmodf.c: Likewise.
43321 * math/w_fmodl.c: Likewise.
43322 * math/w_remainder.c: Likewise.
43323 * math/w_remainderf.c: Likewise.
43324 * math/w_remainderl.c: Likewise.
43325 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43326 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43327 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43328 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43329 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43330 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43331 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43332 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43333
187da0ae
UD
43334 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43335 of the number.
43336 * stdio-common/printf_fphex.c: Likewise.
43337 * stdio-common/printf_size.c: Likewise.
43338
9277c064
UD
43339 * math/e_exp10.c: Include math_private.h using <...> not "...".
43340 * math/e_exp10f.c: Likewise.
43341 * math/e_exp10l.c: Likewise.
43342 * math/e_exp2l.c: Likewise.
43343 * math/e_j0l.c: Likewise.
43344 * math/e_j1l.c: Likewise.
43345 * math/e_jnl.c: Likewise.
43346 * math/e_lgammal_r.c: Likewise.
43347 * math/e_rem_pio2l.c: Likewise.
43348 * math/e_scalb.c: Likewise.
43349 * math/e_scalbf.c: Likewise.
43350 * math/e_scalbl.c: Likewise.
43351 * math/k_cosl.c: Likewise.
43352 * math/k_sinl.c: Likewise.
43353 * math/k_tanl.c: Likewise.
43354 * math/s_cacoshf.c: Likewise.
43355 * math/s_catan.c: Likewise.
43356 * math/s_catanf.c: Likewise.
43357 * math/s_catanh.c: Likewise.
43358 * math/s_catanhf.c: Likewise.
43359 * math/s_catanhl.c: Likewise.
43360 * math/s_catanl.c: Likewise.
43361 * math/s_ccosh.c: Likewise.
43362 * math/s_ccoshf.c: Likewise.
43363 * math/s_ccoshl.c: Likewise.
43364 * math/s_cexp.c: Likewise.
43365 * math/s_cexpf.c: Likewise.
43366 * math/s_cexpl.c: Likewise.
43367 * math/s_clog.c: Likewise.
43368 * math/s_clog10.c: Likewise.
43369 * math/s_clog10f.c: Likewise.
43370 * math/s_clog10l.c: Likewise.
43371 * math/s_clogf.c: Likewise.
43372 * math/s_clogl.c: Likewise.
43373 * math/s_csin.c: Likewise.
43374 * math/s_csinf.c: Likewise.
43375 * math/s_csinh.c: Likewise.
43376 * math/s_csinhf.c: Likewise.
43377 * math/s_csinhl.c: Likewise.
43378 * math/s_csinl.c: Likewise.
43379 * math/s_csqrt.c: Likewise.
43380 * math/s_csqrtf.c: Likewise.
43381 * math/s_csqrtl.c: Likewise.
43382 * math/s_ctan.c: Likewise.
43383 * math/s_ctanf.c: Likewise.
43384 * math/s_ctanh.c: Likewise.
43385 * math/s_ctanhf.c: Likewise.
43386 * math/s_ctanhl.c: Likewise.
43387 * math/s_ctanl.c: Likewise.
43388 * math/s_ldexp.c: Likewise.
43389 * math/s_ldexpf.c: Likewise.
43390 * math/s_ldexpl.c: Likewise.
43391 * math/s_significand.c: Likewise.
43392 * math/s_significandf.c: Likewise.
43393 * math/s_significandl.c: Likewise.
43394 * math/w_acos.c: Likewise.
43395 * math/w_acosf.c: Likewise.
43396 * math/w_acosh.c: Likewise.
43397 * math/w_acoshf.c: Likewise.
43398 * math/w_acoshl.c: Likewise.
43399 * math/w_acosl.c: Likewise.
43400 * math/w_asin.c: Likewise.
43401 * math/w_asinf.c: Likewise.
43402 * math/w_asinl.c: Likewise.
43403 * math/w_atan2.c: Likewise.
43404 * math/w_atan2f.c: Likewise.
43405 * math/w_atan2l.c: Likewise.
43406 * math/w_atanh.c: Likewise.
43407 * math/w_atanhf.c: Likewise.
43408 * math/w_atanhl.c: Likewise.
43409 * math/w_cosh.c: Likewise.
43410 * math/w_coshf.c: Likewise.
43411 * math/w_coshl.c: Likewise.
43412 * math/w_dremf.c: Likewise.
43413 * math/w_exp10.c: Likewise.
43414 * math/w_exp10f.c: Likewise.
43415 * math/w_exp10l.c: Likewise.
43416 * math/w_exp2.c: Likewise.
43417 * math/w_exp2f.c: Likewise.
43418 * math/w_fmod.c: Likewise.
43419 * math/w_fmodf.c: Likewise.
43420 * math/w_fmodl.c: Likewise.
43421 * math/w_hypot.c: Likewise.
43422 * math/w_hypotf.c: Likewise.
43423 * math/w_hypotl.c: Likewise.
43424 * math/w_j0.c: Likewise.
43425 * math/w_j0f.c: Likewise.
43426 * math/w_j0l.c: Likewise.
43427 * math/w_j1.c: Likewise.
43428 * math/w_j1f.c: Likewise.
43429 * math/w_j1l.c: Likewise.
43430 * math/w_jn.c: Likewise.
43431 * math/w_jnf.c: Likewise.
43432 * math/w_jnl.c: Likewise.
43433 * math/w_lgamma.c: Likewise.
43434 * math/w_lgamma_r.c: Likewise.
43435 * math/w_lgammaf.c: Likewise.
43436 * math/w_lgammaf_r.c: Likewise.
43437 * math/w_lgammal.c: Likewise.
43438 * math/w_lgammal_r.c: Likewise.
43439 * math/w_log.c: Likewise.
43440 * math/w_log10.c: Likewise.
43441 * math/w_log10f.c: Likewise.
43442 * math/w_log10l.c: Likewise.
43443 * math/w_log2.c: Likewise.
43444 * math/w_log2f.c: Likewise.
43445 * math/w_log2l.c: Likewise.
43446 * math/w_logf.c: Likewise.
43447 * math/w_logl.c: Likewise.
43448 * math/w_pow.c: Likewise.
43449 * math/w_powf.c: Likewise.
43450 * math/w_powl.c: Likewise.
43451 * math/w_remainder.c: Likewise.
43452 * math/w_remainderf.c: Likewise.
43453 * math/w_remainderl.c: Likewise.
43454 * math/w_scalb.c: Likewise.
43455 * math/w_scalbf.c: Likewise.
43456 * math/w_scalbl.c: Likewise.
43457 * math/w_sinh.c: Likewise.
43458 * math/w_sinhf.c: Likewise.
43459 * math/w_sinhl.c: Likewise.
43460 * math/w_sqrt.c: Likewise.
43461 * math/w_sqrtf.c: Likewise.
43462 * math/w_sqrtl.c: Likewise.
43463 * math/w_tgamma.c: Likewise.
43464 * math/w_tgammaf.c: Likewise.
43465 * math/w_tgammal.c: Likewise.
43466
6a621eb7
UD
43467 * po/ja.po: Update from translation team.
43468
bf582445
AJ
434692011-09-29 Andreas Jaeger <aj@suse.de>
43470
f9efbf3a
AJ
43471 [BZ #13179]
43472 * sunrpc/netname.c (netname2host): Fix logic.
43473
bf582445
AJ
43474 [BZ #6779]
43475 [BZ #6783]
43476 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43477 correctly.
43478 * math/w_remainder.c (__remainder): Likewise.
43479 * math/w_remainderf.c (__remainderf): Likewise.
43480 * math/libm-test.inc (remainder_test): Add test cases.
43481
48693bea
AK
434822011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43483
43484 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43485 sdiv_qrnnd.
43486
42622229
LD
434872011-10-07 Ulrich Drepper <drepper@gmail.com>
43488
43489 * string/test-memcmp.c: Avoid unncessary #defines.
43490 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43491
093ecf92
LD
434922011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43493
43494 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43495 Use new sse2 version for core i3 - i7 as it's faster
43496 than sse42 version.
43497 (bit_Prefer_PMINUB_for_stringop): New.
43498 * sysdeps/x86_64/rawmemchr.S: Update.
43499 Replace with faster SSE2 version.
43500 * sysdeps/x86_64/memrchr.S: New file.
43501 * sysdeps/x86_64/memchr.S: Update.
43502 Replace with faster SSE2 version.
43503
fde56e5c
MP
435042011-09-12 Marek Polacek <mpolacek@redhat.com>
43505
43506 * elf/dl-load.c (lose): Add cast to avoid warning.
43507
21fd49a9
UD
435082011-10-07 Ulrich Drepper <drepper@gmail.com>
43509
5a06e643
UD
43510 * po/ca.po: Update from translation team.
43511
684ae515
UD
43512 * inet/getnetgrent_r.c: Hook up nscd.
43513 * nscd/Makefile (routines): Add nscd_netgroup.
43514 (nscd-modules): Add netgroupcache.
43515 (CFLAGS-netgroupcache.c): Define.
43516 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43517 (cache_search): Add const to second parameter.
43518 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43519 INNETGR.
43520 (dbs): Add netgrdb entry.
43521 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43522 (verify_persistent_db): Handle netgrdb.
43523 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43524 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43525 GETFDNETGR.
43526 (netgroup_response_header): Define.
43527 (innetgroup_response_header): Define.
43528 (datahead): Add netgroup_response_header and innetgroup_response_header
43529 elements.
43530 * nscd/nscd.conf: Add entries for netgroup cache.
43531 * nscd/nscd.h (dbtype): Add netgrdb.
43532 (_PATH_NSCD_NETGROUP_DB): Define.
43533 (netgroup_iov_disabled): Declare.
43534 (xmalloc, xcalloc, xrealloc): Move declarations here.
43535 (cache_search): Adjust prototype.
43536 Add netgroup-related prototypes.
43537 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43538 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43539 (__nscd_innetgr): Declare.
43540 * nscd/selinux.c (perms): Use access_vector_t as element type and
43541 add netgroup-related initializers.
43542 * nscd/netgroupcache.c: New file.
43543 * nscd/nscd_netgroup.c: New file.
43544 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43545 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43546 For four parameters use innetgr.
43547 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43548 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43549 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43550 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43551
21fd49a9
UD
43552 * nscd/connections.c (register_traced_file): Don't register file
43553 for disabled databases.
43554
054c0457
UD
435552011-10-06 Ulrich Drepper <drepper@gmail.com>
43556
32b63198
UD
43557 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43558
054c0457
UD
43559 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43560 from tree and freeing node.
43561
64031225
JO
435622011-09-25 Jiri Olsa <jolsa@redhat.com>
43563
43564 * nss/nsswitch.c (__nss_database_lookup): Handle
43565 nss_parse_service_list out of memory case.
43566
0490345c
JO
435672011-09-15 Jiri Olsa <jolsa@redhat.com>
43568
43569 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43570 out of memory case.
43571
3a62d00d
AS
435722011-10-04 Andreas Schwab <schwab@redhat.com>
43573
43574 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43575 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43576 pass it down.
43577 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43578 elf_machine_rela, elf_machine_lazy_rel.
43579 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43580 (ELF_DYNAMIC_DO_REL): Likewise.
43581 (ELF_DYNAMIC_DO_RELA): Likewise.
43582 (ELF_DYNAMIC_RELOCATE): Likewise.
43583 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43584 to ELF_DYNAMIC_DO_REL.
43585 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43586 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43587 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43588 elf_machine_rela.
43589 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43590 skip_ifunc, don't call ifunc function if non-zero.
43591 (elf_machine_rela): Likewise.
43592 (elf_machine_lazy_rel): Likewise.
43593 (elf_machine_lazy_rela): Likewise.
43594 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43595 (elf_machine_lazy_rel): Likewise.
43596 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43597 Likewise.
43598 (elf_machine_lazy_rel): Likewise.
43599 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43600 Likewise.
43601 (elf_machine_lazy_rel): Likewise.
43602 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43603 (elf_machine_lazy_rel): Likewise.
43604 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43605 (elf_machine_lazy_rel): Likewise.
43606 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43607 (elf_machine_lazy_rel): Likewise.
43608 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43609 (elf_machine_lazy_rel): Likewise.
43610 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43611 (elf_machine_lazy_rel): Likewise.
43612 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43613 (elf_machine_lazy_rel): Likewise.
43614
68577918
UD
436152011-09-28 Ulrich Drepper <drepper@gmail.com>
43616
43617 * nss/nss_files/files-init.c (_nss_files_init): Use static
43618 initialization for all the *_traced_file variables.
43619
68822d74
AS
436202011-09-28 Andreas Schwab <schwab@redhat.com>
43621
43622 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43623
2056100b
RM
436242011-09-27 Roland McGrath <roland@hack.frob.com>
43625
43626 [BZ #13226]
43627 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43628
32c76b63
AS
436292011-09-27 Andreas Schwab <schwab@redhat.com>
43630
43631 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43632 Reread the line before reparsing it.
43633
bf972c9d
AS
436342011-09-26 Andreas Schwab <schwab@redhat.com>
43635
43636 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43637
e057a1b5
JM
436382011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43639 Maxim Kuvyrkov <maxim@codesourcery.com>
43640 Joseph Myers <joseph@codesourcery.com>
43641
43642 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43643 if needed for __stack_chk_guard.
43644
bc7e1c36
RM
436452011-09-19 Roland McGrath <roland@hack.frob.com>
43646
ecb1482f
RM
43647 * sysdeps/posix/spawni.c (script_execute): Always define it.
43648 It will be optimized away if unused.
43649 (maybe_script_execute): New function.
43650 (__spawni): Call it.
43651
bc7e1c36
RM
43652 * Makerules: Don't include tls.make.
43653 (config-tls): Always set to thread.
43654 * tls.make.c: File removed.
43655
1c3b002b
MF
436562011-09-19 Mike Frysinger <vapier@gentoo.org>
43657
43658 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43659 * config.make.in (CPPFLAGS-config): New substituted variable.
43660
2840865d
UD
436612011-09-15 Ulrich Drepper <drepper@gmail.com>
43662
88738eb6
UD
43663 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43664
cbf645a6 43665 [BZ #13192]
2840865d
UD
43666 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43667 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43668
b402e91a
RM
436692011-09-15 Roland McGrath <roland@hack.frob.com>
43670
43671 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43672 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43673 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43674 (CALL_FAIL): Likewise.
43675 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43676 (CALL_FAIL): Macro removed.
43677 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43678
4c1a1f71
UD
436792011-09-15 Ulrich Drepper <drepper@gmail.com>
43680
43681 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43682 for __FINITE_MATH_ONLY__ == 1.
43683
edc121be
AS
436842011-09-15 Andreas Schwab <schwab@redhat.com>
43685
43686 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43687 __ieee754_sqrt instead of sqrt.
43688 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43689 __ieee754_sqrtf instead of sqrtf.
43690 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43691 __floorf instead of floorf.
43692 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43693 __floorf, __truncf instead of floorf, truncf.
43694
cd205654
UD
436952011-09-14 Ulrich Drepper <drepper@gmail.com>
43696
ee4d0315
UD
43697 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43698
cd205654
UD
43699 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43700 __extern_always_inline.
43701 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43702 32-bit.
43703
48b67d71
AS
437042011-09-14 Andreas Schwab <schwab@redhat.com>
43705
43706 * elf/rtld.c (dl_main): Also relocate in dependency order when
43707 doing symbol dependency testing.
43708
1ae12c75
AS
437092011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43710
43711 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43712 Always define `refsym'.
43713
995a80df
AS
437142011-09-13 Andreas Schwab <schwab@redhat.com>
43715
e529793b
AS
43716 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43717 (__FD_ELT): Renamed from __FDELT.
43718 * misc/bits/select2.h (__FD_ELT): Likewise.
43719 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43720 __FD_MASK instead of __FDELT, __FDMASK.
43721 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43722 Likewise.
43723 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43724 Likewise.
43725
52d4fef8
AS
43726 * elf/Makefile (gen-ldd): Fix pattern.
43727
995a80df
AS
43728 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43729 (init_tls): Likewise.
43730
8682f8b0
UD
437312011-09-12 Ulrich Drepper <drepper@gmail.com>
43732
43733 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43734
de82006d
AS
437352011-09-12 Andreas Schwab <schwab@redhat.com>
43736
a7c8e6a1
AS
43737 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43738 `struct cmsghdr *' instead of `void *'.
43739 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43740 Likewise.
43741
0f31fe77
AS
437422011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43743
43744 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43745 if non-absolute.
43746 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43747 ldd_rewrite_script.
0f31fe77 43748
32b4c839
UD
437492011-09-11 Ulrich Drepper <drepper@gmail.com>
43750
83cd1420
UD
43751 * configure.in: Remove --with-tls option.
43752 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43753 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43754 out in case it is missing.
43755 * sysdeps/ia64/elf/configure.in: Likewise.
43756 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43757 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43758 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43759 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43760 * sysdeps/sh/elf/configure.in: Likewise.
43761 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43762 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43763 * sysdeps/x86_64/elf/configure.in: Likewise.
43764 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43765 * sysdeps/mach/hurd/tls.h: Likewise.
43766
633f745d
UD
43767 [BZ #13067]
43768 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43769
f318beb8
UD
43770 [BZ #13090]
43771 * configure.in: Fix use of AC_INIT.
43772
32b4c839
UD
43773 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43774
3ce1f295
UD
437752011-09-10 Ulrich Drepper <drepper@gmail.com>
43776
bb016596
UD
43777 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43778 __set_errno.
8e58439c
UD
43779 * malloc/hooks.c: Likewise.
43780
aebae053 43781 [BZ #11929]
02d46fc4
UD
43782 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43783 variables statically.
43784 (narenas): Initialize.
43785 (list_lock): Initialize.
bb016596
UD
43786 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43787 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
43788 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43789 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43790 Add initializers to main_arena and mp_.
43791 (malloc_state): Remove pagesize member. Change all users to use
43792 GLRO(dl_pagesize).
43793
43794 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43795 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43796 is always initialized.
43797
22a89187
UD
43798 * malloc/malloc.c: Removed unused configurations and dead code.
43799 * malloc/arena.c: Likewise.
43800 * malloc/hooks.c: Likewise.
02d46fc4 43801 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 43802
d063d164
UD
43803 * include/tls.h: Removed. USE___THREAD must always be defined.
43804 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43805 * elf/dl-libc.c: Likewise.
43806 * elf/dl-tsd.c: Likewise.
43807 * include/errno.h: Likewise.
43808 * include/netdb.h: Likewise.
43809 * include/resolv.h: Likewise.
43810 * inet/herrno-loc.c: Likewise.
43811 * inet/herrno.c: Likewise.
43812 * malloc/arena.c: Likewise.
43813 * malloc/hooks.c: Likewise.
43814 * malloc/malloc.c: Likewise.
43815 * resolv/res-state.c: Likewise.
43816 * resolv/res_libc.c: Likewise.
43817 * sysdeps/i386/dl-machine.h: Likewise.
43818 * sysdeps/ia64/dl-machine.h: Likewise.
43819 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43820 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43821 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43822 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43823 * sysdeps/sh/dl-machine.h: Likewise.
43824 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43825 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43826 * sysdeps/unix/i386/sysdep.S: Likewise.
43827 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43828 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43829 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43830 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43831 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43832 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43833 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43834 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43835 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43836 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43837 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43838 * sysdeps/x86_64/dl-machine.h: Likewise.
43839 * tls.make.c: Likewise.
43840
3ce1f295
UD
43841 * configure.in: Remove --with-__thread option. Make tests for
43842 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43843 tls_model attribute fail if no support is available. Remove
43844 USE_IN_LIBIO.
43845 * Makeconfig: Adjust for dropped configure option. All features are
43846 now mandatory.
43847 * Makerules: Likewise.
43848 * Versions.def: Likewise.
43849 * argp/argp-fmtstream.c: Likewise.
43850 * argp/argp-fmtstream.h: Likewise.
43851 * argp/argp-help.c: Likewise.
43852 * assert/assert.c: Likewise.
43853 * config.h.in: Likewise.
43854 * config.make.in: Likewise.
43855 * configure: Likewise.
43856 * configure.in: Likewise.
43857 * csu/Versions: Likewise.
43858 * csu/init.c: Likewise.
43859 * elf/tst-audit2.c: Likewise.
43860 * elf/tst-tls10.c: Likewise.
43861 * elf/tst-tls10.h: Likewise.
43862 * elf/tst-tls11.c: Likewise.
43863 * elf/tst-tls12.c: Likewise.
43864 * elf/tst-tls14.c: Likewise.
43865 * elf/tst-tlsmod11.c: Likewise.
43866 * elf/tst-tlsmod12.c: Likewise.
43867 * elf/tst-tlsmod13.c: Likewise.
43868 * elf/tst-tlsmod13a.c: Likewise.
43869 * elf/tst-tlsmod14a.c: Likewise.
43870 * elf/tst-tlsmod15b.c: Likewise.
43871 * elf/tst-tlsmod16a.c: Likewise.
43872 * elf/tst-tlsmod16b.c: Likewise.
43873 * elf/tst-tlsmod7.c: Likewise.
43874 * elf/tst-tlsmod8.c: Likewise.
43875 * elf/tst-tlsmod9.c: Likewise.
43876 * gmon/gmon.c: Likewise.
43877 * grp/fgetgrent_r.c: Likewise.
43878 * grp/putgrent.c: Likewise.
43879 * hurd/fopenport.c: Likewise.
43880 * include/libc-symbols.h: Likewise.
43881 * include/tls.h: Likewise.
43882 * intl/gettextP.h: Likewise.
43883 * intl/loadinfo.h: Likewise.
43884 * locale/global-locale.c: Likewise.
43885 * locale/localeinfo.h: Likewise.
43886 * mach/devstream.c: Likewise.
43887 * malloc/arena.c: Likewise.
43888 * malloc/set-freeres.c: Likewise.
43889 * misc/err.c: Likewise.
43890 * misc/getttyent.c: Likewise.
43891 * misc/mntent_r.c: Likewise.
43892 * posix/getopt.c: Likewise.
43893 * posix/wordexp.c: Likewise.
43894 * pwd/fgetpwent_r.c: Likewise.
43895 * resolv/Versions: Likewise.
43896 * resolv/res_hconf.c: Likewise.
43897 * shadow/fgetspent_r.c: Likewise.
43898 * shadow/putspent.c: Likewise.
43899 * stdio-common/printf_fphex.c: Likewise.
43900 * stdio-common/tmpfile.c: Likewise.
43901 * stdlib/abort.c: Likewise.
43902 * stdlib/fmtmsg.c: Likewise.
43903 * sunrpc/auth_unix.c: Likewise.
43904 * sunrpc/clnt_perr.c: Likewise.
43905 * sunrpc/clnt_tcp.c: Likewise.
43906 * sunrpc/clnt_udp.c: Likewise.
43907 * sunrpc/clnt_unix.c: Likewise.
43908 * sunrpc/openchild.c: Likewise.
43909 * sunrpc/svc_simple.c: Likewise.
43910 * sunrpc/svc_tcp.c: Likewise.
43911 * sunrpc/svc_udp.c: Likewise.
43912 * sunrpc/svc_unix.c: Likewise.
43913 * sunrpc/xdr.c: Likewise.
43914 * sunrpc/xdr_array.c: Likewise.
43915 * sunrpc/xdr_rec.c: Likewise.
43916 * sunrpc/xdr_ref.c: Likewise.
43917 * sunrpc/xdr_stdio.c: Likewise.
43918
1248c1c4
PB
439192011-09-09 Ulrich Drepper <drepper@gmail.com>
43920
43921 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43922
439232011-07-03 Andreas Jaeger <aj@suse.de>
43924
43925 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43926 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43927 regenerate with gen-libm-tests.pl.
43928
439292010-05-12 Petr Baudis <pasky@suse.cz>
43930
43931 [BZ #11589]
43932 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43933 around j0() zero points by switching to j1().
43934 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43935 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43936 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43937 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43938
f22e1074
UD
439392011-09-09 Ulrich Drepper <drepper@gmail.com>
43940
f19009c1
UD
43941 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43942 instead of 0.
43943 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 43944 instead of 0.
f19009c1
UD
43945 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43946 Patch in part by Pavel Roskin <proski@gnu.org>.
43947
3f8cc204
UD
43948 [BZ #13138]
43949 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43950 realloc.
43951 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43952 Free memory block if necessary.
43953
f22e1074
UD
43954 [BZ #12847]
43955 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43956 be NULL. Don't lock in this case.
43957
0a2349f9
RM
439582011-09-09 Roland McGrath <roland@hack.frob.com>
43959
43960 * elf/elf.h (ELFOSABI_GNU): New macro.
43961 (ELFOSABI_LINUX): Define to that.
43962
f3cdd467
DZ
439632011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43964
43965 * string/strncat.c (strncat): Undef the symbol in case it has been
43966 defined in bits/string.h.
43967
74718d13
UD
439682011-09-09 Ulrich Drepper <drepper@gmail.com>
43969
633e9e0f
UD
43970 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43971
0a2349f9 43972 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
43973 link map.
43974
f9924780
AJ
439752011-08-17 Andreas Jaeger <aj@suse.de>
43976
43977 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43978
7f5517aa
PP
439792011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43980 Ian Lance Taylor <iant@google.com>
43981
43982 * math/libm-test.inc (lround_test): New testcase.
43983 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43984
762011fe
UD
439852011-09-08 Ulrich Drepper <drepper@gmail.com>
43986
92963737
UD
43987 * Makefile: Remove support for automatic cvs check-ins.
43988 * Makerules: Likewise.
43989 * config.make.in: Likewise.
43990 * configure.in: Likewise.
43991 * intl/Makefile: Likewise.
43992 * locale/Makefile: Likewise.
43993 * po/Makefile: Likewise.
43994 * posix/Makefile: Likewise.
43995 * sysdeps/gnu/Makefile: Likewise.
43996 * sysdeps/mach/hurd/Makefile: Likewise.
43997 * sysdeps/sparc/sparc32/Makefile: Likewise.
43998
b0727fd8
JS
43999 [BZ #13118]
44000 * posix/Makefile (bug-regex32-ENV): Define.
44001 Patch by John Stanley <jpsinthemix@verizon.net>.
44002
a0f33f99
UD
44003 * misc/Makefile (headers): Add bits/select2.h.
44004 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44005 * misc/bits/select2.h: New file.
44006 * include/bits/select2.h: New file.
44007 * debug/Makefile (routines): Add fdelt_chk.
44008 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44009 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44010 FD_ISSET.
44011 * debug/fdelt_chk.c: New file.
44012
762011fe
UD
44013 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44014 * wcsmbs/test-wmemcmp.c: Likewise.
44015 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 44016 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
44017
440182011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44019
44020 * string/Makefile (strop-tests): Add memcmp.
44021 * string/test-wmemcmp.c: New file.
44022 * string/test-memcmp.c: Add wmemcmp support.
44023
7f513ec8
RM
440242011-09-08 Roland McGrath <roland@hack.frob.com>
44025
0442afb4
RM
44026 [BZ #13153]
44027 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44028 2011-07-19 change.
44029
7f513ec8
RM
44030 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44031 garbage value in a __mach_port_mod_refs call in the cases of the
44032 task-self and thread-self ports.
44033
a12b2239
ST
440342011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44035
44036 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44037
610f9ab4
AS
440382011-09-08 Andreas Schwab <schwab@redhat.com>
44039
7f513ec8 44040 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 44041
48882a1a
LD
440422011-09-07 Ulrich Drepper <drepper@gmail.com>
44043
b49865be
UD
44044 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44045
fdc86bc9
UD
44046 * elf/dl-libc.c (dlerror_run): Pass back error code from
44047 dl_catch_error.
44048
c966526a
UD
44049 [BZ #13123]
44050 * elf/dl-load.c (lose): Free l_origin if it is valid.
44051
48882a1a
LD
44052 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44053 names.
44054 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44055 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44056 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44057 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44058 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44059 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44060
77a2a8b4
AZ
440612011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44062
44063 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44064 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44065 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44066 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44067 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44068 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44069 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44070 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44071 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44072 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44073
24f579d8
AM
440742011-08-15 Alan Modra <amodra@gmail.com>
44075
44076 [BZ #13092]
44077 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44078 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44079 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44080 ppc_mcount to static-only-routines.
44081 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44082 __mcount_internal.
44083 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44084 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44085
3d4837df
UD
440862011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44087
44088 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44089 for finite and infinity parameters.
44090
22700377
WS
440912011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44092
44093 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44094 and add nop instructions for throughput optimization.
44095 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44096
5025581e
WS
440972011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44098
44099 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44100 aligned copy for power7 with vector-scalar instructions.
44101 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44102
08a300c9
L
441032011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44104
44105 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44106 AVX check.
44107
59178ef9
AS
441082011-09-07 Andreas Schwab <schwab@redhat.com>
44109
44110 [BZ #13144]
44111 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44112 last change.
44113
e38ba7ab
UD
441142011-09-07 Ulrich Drepper <drepper@gmail.com>
44115
44116 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44117 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44118 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44119 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44120 clock_gettime.
44121
d53a73ac
UD
441222011-09-06 Ulrich Drepper <drepper@gmail.com>
44123
fc8bffcc
UD
44124 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44125 Forgot to demangle the pointer.
44126
ceaa0c5d
UD
44127 * sysdeps/i386/sysdep.h: Define atom_text_section.
44128 * sysdeps/x86_64/sysdep.h: Likewise.
44129 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44130 section with atom_text_section.
44131 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44132 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44133 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44134 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44135 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44136
a77d3c17
UD
44137 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44138 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44139 already be defined. Change to take two parameters and don't assign
44140 result to variable. Adjust all users.
44141 Define INTERNAL_GETTIME if not already defined.
44142 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44143 call.
44144 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44145 HAVE_CLOCK_GETTIME_VSYSCALL.
44146 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44147
d53a73ac
UD
44148 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44149 gettimeofday vsyscall, just use time.
44150
a8f84144
AS
441512011-09-06 Andreas Schwab <schwab@redhat.com>
44152
44153 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44154 <errno.h>.
44155
ef606249
UD
441562011-09-06 Ulrich Drepper <drepper@gmail.com>
44157
44158 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44159 syscall on x86-64.
44160 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44161 syscall.
44162 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44163 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44164 syscall if possible.
44165
6585cb60
UD
441662011-09-05 Ulrich Drepper <drepper@gmail.com>
44167
44168 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44169 e_ident. Don't pass to find_mapsXX.
44170 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44171
a5f524e4
LD
441722011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44173
44174 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44175 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44176 * sysdeps/x86_64/multiarch/strchr.S: Update.
44177 Check bit_slow_BSF bit.
44178 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44179 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44180 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44181
554881ef
UD
441822011-09-05 Ulrich Drepper <drepper@gmail.com>
44183
d96de963
UD
44184 [BZ #13134]
44185 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44186 before glibc 2.15.
44187 (tryshell): Define.
44188 (__spawni): Change last parameter to be flag. Test
44189 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44190 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44191 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44192 * posix/spawni.c: Likewise.
44193 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44194 * posix/spawnp.c: Likewise. Change normal version to use
44195 SPAWN_XFLAGS_USE_PATH.
44196 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44197 SPAWN_XFLAGS_TRY_SHELL.
44198
d48e5868
UD
44199 [BZ #13150]
44200 * posix/glob.h: Remove gcc 1.x support.
44201
554881ef
UD
44202 [BZ #13068]
44203 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44204
693fb948
LD
442052011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44206
44207 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44208 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44209 strrchr-sse2-bsf
44210 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44211 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44212 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44213 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44214 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44215 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44216
1b48c537
UD
442172011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44218
49d42c37
UD
44219 * sysdeps/x86_64/wcscmp.S: New file.
44220
1b48c537
UD
44221 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44222 wcscmp-c wcscmp-sse2
44223 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44224 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44225 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44226 * wcsmbs/wcscmp.c: Allow renaming.
44227
15c95c5d
DM
442282011-09-05 David S. Miller <davem@davemloft.net>
44229
44230 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44231 stack slot, rather than the struct return pointer slot.
44232 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44233 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44235 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44236
2f0ad8f3
UD
442372011-09-05 Ulrich Drepper <drepper@gmail.com>
44238
d88ae418
UD
44239 * po/ja.po: Update from translation team.
44240
2f0ad8f3
UD
44241 [BZ #13144]
44242 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44243 kernel in 64-bit binaries.
44244
5f4318d1
DM
442452011-09-01 David S. Miller <davem@davemloft.net>
44246
44247 * elf/elf.h (HWCAP_SPARC_*): Move to..
44248 * sysdeps/sparc/sysdep.h: this new file and add new values.
44249 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44250 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44251 _DL_HWCAP_COUNT to 24.
44252 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44253 entries.
44254 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44255 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44256 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44257 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44258 instead of magic constants.
44259 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44260
3ba57516
DM
442612011-08-31 David S. Miller <davem@davemloft.net>
44262
44263 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44264 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44265 Reimplement to do errno handling inline.
44266 (SYSCALL_ERROR_HANDLER): New macro.
44267 (__SYSCALL_STRING): Do not do errno handling in asm.
44268 (__CLONE_SYSCALL_STRING): Delete.
44269 (__INTERNAL_SYSCALL_STRING): Delete.
44270 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44271 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44272 (PSEUDO): Reimplement to do errno handling inline.
44273 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44274 (SYSCALL_ERROR_HANDLER): New macro.
44275 (__SYSCALL_STRING): Do not do errno handling in asm.
44276 (__CLONE_SYSCALL_STRING): Delete.
44277 (__INTERNAL_SYSCALL_STRING): Delete.
44278 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44279 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44280 i386.
44281 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44282 (inline_syscall*): Add 'err' argument.
44283 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44284 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44285 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44286 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44287
44288 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44289 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44290
2bc17433
AS
442912011-08-30 Andreas Schwab <schwab@redhat.com>
44292
44293 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44294
fbeb5f4d
JO
442952011-08-29 Jiri Olsa <jolsa@redhat.com>
44296
44297 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44298 directive.
44299
ad69cc26
DM
443002011-08-24 David S. Miller <davem@davemloft.net>
44301
44302 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44303
39dd69df
AS
443042011-08-24 Andreas Schwab <schwab@redhat.com>
44305
44306 * elf/Makefile: Add rules to build and run unload8 test.
44307 * elf/unload8.c: New file.
44308 * elf/unload8mod1.c: New file.
44309 * elf/unload8mod1x.c: New file.
44310 * elf/unload8mod2.c: New file.
44311 * elf/unload8mod3.c: New file.
44312
44313 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44314 it wasn't used.
44315
2c0b250a
DM
443162011-08-23 David S. Miller <davem@davemloft.net>
44317
44318 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44319 subtract stack bias.
44320 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44321 %sp not %fp in calculations.
44322 (_JMPBUF_UNWINDS_ADJ): Likewise.
44323
22044b48
DM
44324 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44325 (aio_suspend): Call it to force an exception region around the
44326 AIO_MISC_WAIT() invocation.
44327
2cae4995
AS
443282011-08-23 Andreas Schwab <schwab@redhat.com>
44329
44330 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44331 backslash.
44332
873a772e
AJ
443332011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44334
44335 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44336 protection macro.
44337 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44338 and <dl-machine.h>.
44339 (Elf64_FuncDesc): Remove.
44340
25ad0df1
DM
443412011-08-22 David S. Miller <davem@davemloft.net>
44342
44343 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44344 sigaltstack check, add missing cfi directives.
44345 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44346 missing cfi directives, and sigaltstack handling.
44347
e888bcbe
AS
443482011-08-16 Andreas Schwab <schwab@redhat.com>
44349
44350 [BZ #11724]
44351 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44352 object is seen twice.
44353 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44354
44355 * elf/Makefile (distribute): Add tst-initorder2.c.
44356 (tests): Add tst-initorder2.
44357 (modules-names): Add tst-initorder2a tst-initorder2b
44358 tst-initorder2c tst-initorder2d. Add rules to build them.
44359 ($(objpfx)tst-initorder2.out): New rule.
44360 * elf/tst-initorder2.c: New file.
44361 * elf/tst-initorder2.exp: New file.
44362
87162f46
AS
443632011-08-22 Andreas Schwab <schwab@redhat.com>
44364
70538b7f
AS
44365 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44366
f55ffe58
AS
44367 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44368 dependencies back to end of function.
44369
87162f46
AS
44370 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44371 $(elfobjdir)/ld.so.
44372
91b392a4
UD
443732011-08-21 Ulrich Drepper <drepper@gmail.com>
44374
44375 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44376 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44377 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44378 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44379 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44380 of __vdso_gettimeofday.
44381 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44382 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44383 attribute_hidden.
44384 (_libc_vdso_platform_setup): Remove initialization of
44385 __vdso_gettimeofday and __vdso_time.
44386
5c43483f
UD
443872011-08-20 Ulrich Drepper <drepper@gmail.com>
44388
775a77e7
UD
44389 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44390 and fgetc_unlocked.
44391 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44392 getc_unlocked.
89f447ed 44393
49c74ba9
UD
44394 * elf/dl-open.c (add_to_global): Report additions to the global scope
44395 for LD_DEBUG=scopes.
44396 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 44397 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 44398
5c43483f
UD
44399 [BZ #13114]
44400 * stdio-common/Makefile (tests): Add bug24.
44401 * stdio-common/bug24.c: New file.
44402
a101b025
AJ
444032011-08-19 Andreas Jaeger <aj@suse.de>
44404
44405 [BZ #13114]
44406 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44407 non-existant file when using close-on-exec mode.
44408
c88f1766
UD
444092011-08-20 Ulrich Drepper <drepper@gmail.com>
44410
0276a718
UD
44411 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44412 the very first instruction.
44413
c88f1766
UD
44414 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44415 the CFI state in the end.
44416 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44417 inclusion of dl-trampoline.h.
44418 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44419
51ccffa0
AS
444202011-08-19 Andreas Schwab <schwab@redhat.com>
44421
94d7165f
AS
44422 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44423 expectations for long double.
44424
51ccffa0
AS
44425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44426 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44427
fd708658 444282011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
44429
44430 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44431 artificual limit depends upon the system page size.
44432
44f0a71e
UD
444332011-08-17 Ulrich Drepper <drepper@gmail.com>
44434
44435 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44436 * resolv/Makefile: Define CFLAGS-libresolv.
44437
8de79a24
AS
444382011-08-17 Andreas Schwab <schwab@redhat.com>
44439
44440 * nss/makedb.c (compute_tables): Make variables used in nested
44441 function static.
44442
27724598
UD
444432011-08-17 Ulrich Drepper <drepper@gmail.com>
44444
c5305d88
UD
44445 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44446 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44447 if buffer was too small.
44448
27724598
UD
44449 * elf/pldd.c (main): Attach to all threads in the process.
44450 Rewrite /proc handling to use *at functions.
44451
076fe015
UD
444522011-08-16 Ulrich Drepper <drepper@gmail.com>
44453
174baab3
UD
44454 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44455 specifies first scope to show.
44456 (dl_open_worker): Update callers. Move printing scope of new
44457 object to before the relocation.
44f0a71e 44458 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
44459 * sysdeps/generic/ldsodefs.h: Update declaration.
44460
076fe015
UD
44461 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44462 string for the scope number.
44463
a60df2c3
UD
444642011-08-14 Ulrich Drepper <drepper@gmail.com>
44465
44466 * nscd/servicescache.c (cache_addserv): Make sure written is always
44467 initialized.
44468
5e4287d1
RM
444692011-08-14 Roland McGrath <roland@hack.frob.com>
44470
85ae0589
RM
44471 * sysdeps/i386/i486/bits/atomic.h
44472 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44473 statement expression, so as to suppress "set but not used" warning.
44474 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44475
69f63097
RM
44476 * string/strncat.c (STRNCAT): Use prototype definition.
44477
675456ef
RM
44478 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44479 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44480 -Iprograms here.
44481 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44482 (localedef-modules): Add localedef.
44483 (locale-modules): Add locale.
44484
5e4287d1
RM
44485 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44486 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44487 to avoid a warning.
44488
9c96ff23
DM
444892011-08-14 David S. Miller <davem@davemloft.net>
44490
44491 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44492 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44493
f9ddf089
UD
444942011-08-13 Ulrich Drepper <drepper@gmail.com>
44495
44f0a71e 44496 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
44497 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44498 * elf/rtld.c (dl_main): Set l_name of vDSO.
44499 Call _dl_show_scope when DL_DEBUG_SCOPES.
44500 (process_dl_debug): Recognize scopes flag and also set it for all.
44501 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44502 Declare _dl_show_scope.
44503
1dc27704
UD
44504 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44505 (do_dlopen): Pass caller_dlopen to dl_open.
44506 (__libc_dlopen_mode): Initialize caller_dlopen.
44507
f9ddf089
UD
44508 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44509 of libc. Make tolower call locale-independent. Optimize a bit by
44510 using isdigit instead of isalnum.
44511 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44512
9ac533d3
UD
445132011-08-12 Ulrich Drepper <drepper@gmail.com>
44514
44515 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44516 was a dependency or dynamically loaded.
44517
89edf2e9
UD
445182011-08-11 Ulrich Drepper <drepper@gmail.com>
44519
8e999d29
UD
44520 * intl/l10nflist.c: Allow architecture-specific pop function.
44521 * sysdeps/x86_64/l10nflist.c: New file.
44522
89edf2e9
UD
44523 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44524 classification.
44525
14d96785
AS
445262011-08-10 Andreas Schwab <schwab@redhat.com>
44527
44528 * include/dirent.h: Add libc_hidden_proto for scandirat and
44529 scandirat64. Don't declare __scandirat64.
44530 * dirent/scandirat.c: Add libc_hidden_def.
44531 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44532 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44533
6761ac04
DM
445342011-08-10 David S. Miller <davem@davemloft.net>
44535
44536 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44537 enum.
44538 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44539 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44540 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44541
c55fbd1e
UD
445422011-08-09 Ulrich Drepper <drepper@gmail.com>
44543
44544 * Versions.def [libc]: Add GLIBC_2.15.
44545 * dirent/Makefile (routines): Add scandirat and scandirat64.
44546 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44547 GLIBC_2.15.
44548 * dirent/dirent.h: Declare scandirat and scandirat64.
44549 * dirent/scandirat.c: New file.
44550 * dirent/scandirat64.c: New file.
44551 * sysdeps/wordsize-64/scandirat.c: New file.
44552 * sysdeps/wordsize-64/scandirat64.c: New file.
44553 * dirent/opendir.c: Define opendirat.
44554 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44555 using scandirat.
44556 * dirent/scandir64.c: Adjust for scandir.c change.
44557 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44558 __scandirat64, and __scandir_cancel_handler.
44559 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44560 additional parameter and use openat instead of open (outside of ld.so).
44561 Add new __opendir as wrapper around __opendirat.
44562 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44563 here without requiring old scandirat implementation.
44564
879165f2
UD
445652011-08-08 Ulrich Drepper <drepper@gmail.com>
44566
44567 * dirent/scandir.c (cancel_handler): Renamed to
44568 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44569 defined. Adjust users.
44570 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44571 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44572
cb7e923b
UD
445732011-08-04 Ulrich Drepper <drepper@gmail.com>
44574
16292edd
UD
44575 * string/test-string.h (IMPL): Use __STRING to expand name and then
44576 stringify it.
44577
cb7e923b
UD
44578 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44579 of cleanups.
44580
cff82933
LD
445812011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44582
44583 * string/Makefile: Update.
44584 (strop-tests): Append strncat.
44585 * string/test-wcscmp.c: New file.
44586 New comprehensive test for wcscmp.
44587 * string/test-strcmp.c: Update.
44588 (WIDE): New define.
44589
9be9bfcc
AS
445902011-07-22 Andreas Schwab <schwab@redhat.com>
44591
44592 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44593 line.
44594
2e96f1c7
AS
445952011-07-26 Andreas Schwab <schwab@redhat.com>
44596
44597 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44598 encoding to ACE if AI_IDN.
44599
85188888
JJ
446002011-08-01 Jakub Jelinek <jakub@redhat.com>
44601
44602 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44603 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44604
5fa16e9b
LD
446052011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44606
44607 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44608 Fix overflow bug in strncat.
44609 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44610
44611 * string/test-strncat.c: Update.
44612 Add new tests for checking overflow bugs.
44613
446142011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44615
44616 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44617 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44618 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44619 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44620 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44621 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44622 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44623 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44624 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44625
44626 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44627 (USE_AS_STRCAT): Define.
44628 Add strcat and strncat support.
44629 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44630
8c1a459f
AS
446312011-07-25 Andreas Schwab <schwab@redhat.com>
44632
44633 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44634 __n bigger than INT_MAX+1.
44635 (__strncmp_g): Likewise.
44636
bba33c28
UD
446372011-07-23 Ulrich Drepper <drepper@gmail.com>
44638
798be72d
UD
44639 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44640 * libio/stido.h: Likewise.
44641
8accd4dc
UD
44642 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44643 (AF_NFC): Define.
44644 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44645 (AF_NFC): Define.
44646
cbff0d96
UD
44647 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44648 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44649 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44650 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44651 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44652
9191c04a
UD
44653 [BZ #13021]
44654 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44655 installed.
44656
bba33c28
UD
44657 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44658 typo.
44659 (_dl_x86_64_save_sse): Likewise.
44660
90f139dd
UD
446612011-07-22 Ulrich Drepper <drepper@gmail.com>
44662
1aae088a
UD
44663 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44664 OSXSAVE.
44665 (_dl_x86_64_save_sse): Likewise.
44666
8e2045f5
UD
44667 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44668
90f139dd
UD
44669 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44670
1d002f25
AS
446712011-07-21 Andreas Schwab <schwab@redhat.com>
44672
44673 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44674 change.
44675 (_dl_x86_64_save_sse): Use correct AVX check.
44676
21137f89
UD
446772011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44678
44679 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44680 bug in strncpy/strncat.
44681 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44682
a65c0b7a
UD
446832011-07-21 Ulrich Drepper <drepper@gmail.com>
44684
44685 * string/tester.c (test_strcat): Add tests for different alignments
44686 of source and destination.
44687 (test_strncat): Likewise.
44688
6986b98a
UD
446892011-07-20 Ulrich Drepper <drepper@gmail.com>
44690
90bb2039
UD
44691 [BZ #12852]
44692 * posix/glob.c (glob): Check passed in values before using them in
44693 expressions to avoid some overflows.
44694 (glob_in_dir): Likewise.
44695
5644ef54
UD
44696 [BZ #13007]
44697 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44698 check for AVX enablement so that we don't crash with old kernels and
44699 new hardware.
44700 * elf/tst-audit4.c: Add same checks here.
44701 * elf/tst-audit6.c: Likewise.
44702
44703 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 44704
bfc9dc9b
AS
447052011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44706
44707 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44708
702e64bb
UD
447092011-07-20 Ulrich Drepper <drepper@gmail.com>
44710
44711 * po/cs.po: Update from translation team.
44712 * po/bg.po: Likewise.
44713
295e904f
MP
447142011-07-12 Marek Polacek <mpolacek@redhat.com>
44715
44716 * misc/sys/cdefs.h: Add support for const attribute.
44717 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44718 to gnu_dev_{major,minor,makedev} functions.
44719
3ff94596
MP
447202011-07-20 Marek Polacek <mpolacek@redhat.com>
44721
44722 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44723
28b59fca
AS
447242011-07-20 Andreas Schwab <schwab@redhat.com>
44725
44726 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44727 strlen results.
44728
19df733e
AK
447292011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44730
44731 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44732 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44733 register in order to avoid conflicts with the soft frame pointer
44734 being held in r11 when necessary.
44735 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44736 (INTERNAL_VSYSCALL_NCS): Likewise.
44737
c8835729
MP
447382011-07-14 Marek Polacek <mpolacek@redhat.com>
44739
44740 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44741 * elf/dl-fini.c (_dl_fini): Adjust caller.
44742 * elf/dl-close.c (_dl_close_worker): Likewise.
44743 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44744
b902330c
MP
447452011-07-15 Marek Polacek <mpolacek@redhat.com>
44746
8991e135
MP
44747 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44748 "aux_cache->nlibs < 0".
44749
b902330c
MP
44750 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44751 in the reload-count case.
44752
99710781
LD
447532011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44754
44755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44756 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44757 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44758 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44759 * sysdeps/x86_64/multiarch/strcat.S: New file.
44760 * sysdeps/x86_64/multiarch/strncat.S: New file.
44761 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44762 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44763 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44764 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44765 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44766 (USE_AS_STRCAT): Define.
44767 Add strcat and strncat support.
44768 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44769 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44770 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44771 * string/strncat.c: Update.
44772 (USE_AS_STRNCAT): Define.
44773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44774 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44775 and i7.
44776 * sysdeps/x86_64/multiarch/init-arch.h
44777 (bit_Prefer_PMINUB_for_stringop): New.
44778 (index_Prefer_PMINUB_for_stringop): Likewise.
44779 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44780 bit_Prefer_PMINUB_for_stringop.
44781
7dc6bd90
UD
447822011-07-19 Ulrich Drepper <drepper@gmail.com>
44783
44784 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44785 buffer64.
44786 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44787 of casting of buffer.
44788 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44789 buffer32 and buffer64.
44790 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44791 writes instead of casting of buffer.
44792 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44793 buffer32.
44794 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44795 casting of buffer.
44796
e0e72284
AS
447972011-07-19 Andreas Schwab <schwab@redhat.com>
44798
44799 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44800
feb1eb0b
UD
448012011-07-19 Ulrich Drepper <drepper@gmail.com>
44802
44803 * nscd/nscd.c (termination_handler): Don't do anything for a database
44804 if it has not yet been initialized.
44805
298711ff
UD
448062011-07-18 Ulrich Drepper <drepper@gmail.com>
44807
44808 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44809
448102011-07-15 Marek Polacek <mpolacek@redhat.com>
44811
44812 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44813
f9d68389
UD
448142011-07-18 Ulrich Drepper <drepper@gmail.com>
44815
44816 * po/nl.po: Update from translation team.
44817 * po/sv.po: Likewise.
44818
db290cf5
RM
448192011-07-16 Roland McGrath <roland@hack.frob.com>
44820
44821 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44822 now disallowed by GCC.
5c550700 44823
fd5e21c7
RM
44824 * configure.in (use-default-link): Default to yes if a test -shared
44825 link meets our qualifications.
44826 * configure: Regenerated.
44827
5c550700
RM
44828 * config.make.in (output-format): New variable.
44829 * configure.in: Check for ld --print-output-format support.
44830 * configure: Regenerated.
44831 * Makerules ($(common-objpfx)format.lds)
44832 [$(output-format) != unknown]: Just use $(output-format),
44833 instead of the linker-script munging.
44834
9fa2c032
RM
448352011-07-14 Roland McGrath <roland@hack.frob.com>
44836
a6928d51
RM
44837 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44838 of $(common-objpfx)shlib.lds.
44839 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44840
661607b3
RM
44841 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44842 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44843
9fa2c032
RM
44844 * configure.in (-z relro check): Adjust test code to add a large
44845 writable data section after it.
44846 * configure: Regenerated.
44847
defe9061
RM
448482011-07-11 Roland McGrath <roland@hack.frob.com>
44849
44850 * configure.in (-z relro check): Fix test code to make the variable
44851 truly const.
44852 * configure: Regenerated.
44853
319b9ad4
UD
448542011-07-11 Ulrich Drepper <drepper@gmail.com>
44855
44856 * nscd/nscd.h (struct traced_file): Define.
44857 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44858 elements. Add traced_files.
44859 (inotify_fd): Declare.
44860 (register_traced_file): Declare.
44861 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44862 (inotify_fd): Export.
44863 (resolv_conf_descr): Remove.
44864 (nscd_init): Move inotify descriptor creation to main.
44865 Don't register files for notification here.
44866 (register_traced_file): New function.
44867 (invalidate_cache): Don't use reset_res to determine whether to call
44868 res_init, go through the list of registered files.
44869 (main_loop_poll): The inotify descriptors are now stored in the
44870 structures for the traced files.
44871 (main_loop_epoll): Likewise
44872 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44873 to __nss_disable_nscd.
44874 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44875 for a database anymore. Check the records for all the registered
44876 files instead.
44877 * nss/Makefile (libnss_files-routines): Add files-init.
44878 (libnss_db-routines): Add db-init.
44879 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44880 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44881 * nss/nss_db/db-init.c: New file.
44882 * nss/nss_files/files-init.c: New file.
44883 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44884 __nss_lookup_function.
44885 (__nss_lookup_function): Call nss_load_library.
44886 (nss_load_all_libraries): New function.
44887 (__nss_disable_nscd): Take parameter with callback function for files
44888 to register. Set is_nscd. Load all the DSOs for the NSS modules
44889 used for the cached services.
44890 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44891 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44892 options for features to all the files in nscd.
44893
44894 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44895
23bee3e8
RM
448962011-07-10 Roland McGrath <roland@hack.frob.com>
44897
44898 * csu/elf-init.c (__libc_csu_init): Comment typo.
44899
46a5b7f0
UD
449002011-07-09 Ulrich Drepper <drepper@gmail.com>
44901
44902 * po/pl.po: Update from translation team.
44903 * po/ja.po: Likewise.
44904 * po/ru.po: Likewise.
44905 * po/ko.po: Likewise.
44906 * po/fr.po: Likewise.
44907
d30cf5bb
RM
449082011-07-09 Roland McGrath <roland@hack.frob.com>
44909
113ddea4
RM
44910 * configure.in (.ctors/.dtors header and trailer check):
44911 Use an empirical test on a built program.
44912 * configure: Regenerated.
44913
574920b4
RM
44914 * configure.in (-z relro check): Use an empirical test on a built DSO.
44915 Detect, but do not require, on ia64.
44916 * configure: Regenerated.
44917
d30cf5bb
RM
44918 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44919 Update tests that use readelf to use $READELF instead.
44920 * configure: Regenerated.
44921
8538fdb3
UD
449222011-07-08 Ulrich Drepper <drepper@gmail.com>
44923
44924 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44925 if the result is not used.
44926
04d08991
AJ
449272011-07-05 Andreas Jaeger <aj@suse.de>
44928
44929 [BZ#9696]
44930 * stdlib/tst-strtod.c: Add testcase.
44931
de283087
AD
449322011-07-07 Ulrich Drepper <drepper@gmail.com>
44933
4e5f31c8 44934 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 44935 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
44936 The latter has a higher limit. Take additional parameter to pass to
44937 the new function.
44938 (__pathconf): Pass file to __statfs_link_max.
44939 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44940 __statfs_link_max.
44941 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44942 __statfs_link_max.
44943
de283087
AD
44944 [BZ #12868]
44945 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44946 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44947 Handle Lustre.
44948 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44949 (__statfs_filesize_max): Likewise.
44950 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44951
c75fa153
AJ
449522011-07-05 Andreas Jaeger <aj@suse.de>
44953
44954 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44955
1a544854
UD
449562011-07-06 Marek Polacek <mpolacek@redhat.com>
44957
44958 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44959 `status' variable.
44960 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44961 Likewise.
44962
6f0eec67
UD
449632011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44964
44965 * Makefile (strop-tests): Add strncat.
44966 * string/test-strncat.c: New file.
44967
aae30307
UD
449682011-06-30 Marek Polacek <mpolacek@redhat.com>
44969
44970 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44971
c0cfb5eb
UD
449722011-06-21 Andreas Jaeger <aj@suse.de>
44973
44974 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44975 Copy rule from iconvdata/Makefile.
44976
01636b21
UD
449772011-07-06 Ulrich Drepper <drepper@gmail.com>
44978
44979 [BZ #12922]
44980 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44981 but no long options are defined, just return 'W'.
44982
9895c8bc
UD
449832011-06-22 Marek Polacek <mpolacek@redhat.com>
44984
44985 [BZ #9696]
44986 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44987
5d4cf042
UD
449882011-07-06 Ulrich Drepper <drepper@gmail.com>
44989
44990 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44991 netgroups to read.
960e5535 44992 (innetgr): Likewise.
5d4cf042 44993
751eb97e
RM
449942011-07-05 Roland McGrath <roland@hack.frob.com>
44995
44996 * config.make.in (install_root): Default to $(DESTDIR).
44997
f15f1e45
UD
449982011-07-05 Ulrich Drepper <drepper@gmail.com>
44999
45000 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45001
4e34ac6a
RM
450022011-07-02 Roland McGrath <roland@hack.frob.com>
45003
5e9b6af4
RM
45004 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45005
84f9ea0f
RM
45006 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45007 containing directory rather than embedding absolute directory names.
45008
ea5ee9f7
RM
45009 * scripts/check-local-headers.sh: Rewritten using awk.
45010 Match by word, not by line. Print error messages for matches.
45011 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45012
1b74661a
RM
45013 * Makerules [shlib-lds-flags empty]:
45014 ($(common-objpfx)libc_pic.opts): New target.
45015 ($(common-objpfx)libc_pic.os.clean): New target.
45016 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45017
45018 * config.make.in (OBJCOPY): New variable.
45019 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45020 * configure: Regenerated.
45021
f781ef40
RM
45022 * config.make.in (use-default-link): New variable.
45023 * configure.in (use_default_link): Grok --with-default-link to set it.
45024 * configure: Regenerated.
45025 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45026 (shlib-lds, shlib-lds-flags): Define to empty.
45027
2d4fa81e
RM
45028 * Makerules (shlib-lds): New variable.
45029 (shlib-lds-flags): New variable.
45030 (build-shlib, build-moduile, build-module-asneeded): Use it.
45031 ($(common-objpfx)libc.so): Use $(shlib-lds).
45032 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45033 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45034
31fffa6b
RM
45035 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45036 DT_FLAGS/DT_FLAGS_1 with zero flags.
45037
4e34ac6a
RM
45038 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45039 linker script munging.
45040
fcfc776b
UD
450412011-07-02 Ulrich Drepper <drepper@gmail.com>
45042
45043 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45044 as 128-bit value.
45045 * crypt/sha512.c (sha512_process_block): Perform total addition using
45046 128-bit if possible.
45047 (__sha512_finish_ctx): Likewise.
45048 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45049 as 64-bit value.
45050 * crypt/sha256.c (SWAP64): Define.
45051 (sha256_process_block): Perform total addition using 64-bit if
45052 possible.
45053 (__sha256_finish_ctx): Likewise.
45054
99231d9a
UD
450552011-07-01 Ulrich Drepper <drepper@gmail.com>
45056
45057 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45058 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45059 * nscd/hstcache.c (cache_addhst): Likewise.
45060 * nscd/grpcache.c (cache_addgr): Likewise.
45061 * nscd/aicache.c (addhstaiX): Likewise
45062 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45063
445b4a53
TK
450642011-07-01 Thorsten Kukuk <kukuk@suse.de>
45065
45066 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45067 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45068 * nscd/hstcache.c (cache_addhst): Likewise.
45069 * nscd/grpcache.c (cache_addgr): Likewise.
45070 * nscd/aicache.c (addhstaiX): Likewise
45071
6d4d8e8e
AS
450722011-07-01 Andreas Schwab <schwab@redhat.com>
45073
45074 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45075 domain only when needed.
45076
89f654c5
AS
450772011-06-30 Andreas Schwab <schwab@redhat.com>
45078
45079 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45080 is always restored.
45081
cf3b23ff
UD
450822011-06-29 Ulrich Drepper <drepper@gmail.com>
45083
45084 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45085 are re-adding the entry.
45086 * nscd/servicescache.c (cache_addserv): Likewise.
45087
751626f9
AJ
450882011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45089
45090 * sysdeps/generic/dl-irel.h: fix protection against multiple
45091 inclusions.
45092 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45093
9113ea1f
UD
450942011-06-28 Ulrich Drepper <drepper@gmail.com>
45095
5c0b8d90
UD
45096 [BZ #12935]
45097 * malloc/memusage.sh: Fix quoting in message.
45098 * debug/xtrace.sh: Likewise.
45099
9113ea1f
UD
45100 * configure.in: Remove support for --experimental-malloc option, make
45101 it the default.
45102 * config.make.in: Likewise.
45103 * malloc/Makefile: Likewise.
45104
a4172181
AS
451052011-06-27 Andreas Schwab <schwab@redhat.com>
45106
45107 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45108 two-byte characters.
45109
78a7eee7
RM
451102011-06-27 Roland McGrath <roland@hack.frob.com>
45111
62bede13
RM
45112 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45113 AC_CACHE_CHECK invocation.
45114 * configure: Regenerated.
45115
78a7eee7
RM
45116 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45117
5ce33a62
UD
451182011-06-27 Ulrich Drepper <drepper@gmail.com>
45119
034807a9
UD
45120 [BZ #12350]
45121 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45122 bit from old_res_options.
45123
4902da17
UD
45124 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45125
5ce33a62
UD
45126 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45127 value type for setfct.
45128
c2344f56
L
451292011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45130
45131 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45132 __gettimeofday instead of gettimeofday.
45133
68468076
UD
451342011-06-26 Ulrich Drepper <drepper@gmail.com>
45135
45136 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45137
acb0d739
L
451382011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45139
45140 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45141
45142 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45143 info.
45144
8912479f
L
451452011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45146
45147 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45148 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45149 strcpy-sse2-unaligned strncpy-sse2-unaligned
45150 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45151 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45152 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45153 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45154 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45155 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45156 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45157 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45158 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45159 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45160 (STRCPY): Support SSE2 and SSSE3 versions.
45161
d5495a11
UD
451622011-06-24 Ulrich Drepper <drepper@gmail.com>
45163
45164 [BZ #12874]
45165 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45166 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45167 kernels which artificially limit size of requests.
45168
0b1cbaae
L
451692011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45170
45171 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45172 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45173 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45174 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45175 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45176 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45177 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45178 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45179 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45180 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45181 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45182 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45183 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45184 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45185 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45187 Enable unaligned load optimization for Intel Core i3, i5 and i7
45188 processors.
45189 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45190 Define.
45191 (index_Fast_Unaligned_Load): Define.
45192 (HAS_FAST_UNALIGNED_LOAD): Define.
45193
07f494a0
MP
451942011-06-23 Marek Polacek <mpolacek@redhat.com>
45195
45196 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45197
fa3fc0fe
UD
451982011-06-22 Ulrich Drepper <drepper@gmail.com>
45199
45200 [BZ #12907]
45201 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45202 until it is clear that the information is realy needed.
45203 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45204
e12df166
AS
452052011-06-22 Andreas Schwab <schwab@redhat.com>
45206
45207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45208
852eb34d
UD
452092011-06-22 Ulrich Drepper <drepper@gmail.com>
45210
84e2a551
UD
45211 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45212 /sys/devices/system/cpu/online if it is usable.
45213
852eb34d
UD
45214 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45215 reading the information from the /proc filesystem to once a second.
45216
6e502e19
UD
452172011-06-21 Andreas Jaeger <aj@suse.de>
45218
45219 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45220 NULL after inclusion of kernel headers.
45221
75d39ff2
UD
452222011-06-21 Ulrich Drepper <drepper@gmail.com>
45223
51f9aa6a
UD
45224 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45225 calls to internal_setent.
45226
c0244a9d
UD
45227 [BZ #12885]
45228 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45229 addresses using gethostbyname4_r ignore IPv4 addresses.
45230
c5e3c2ae
UD
45231 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45232 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45233
75d39ff2
UD
45234 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45235
42675c6f
DM
452362011-06-20 David S. Miller <davem@davemloft.net>
45237
45238 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45239 inclusions.
45240 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45241
45242 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45243 (elf_irel): Use it.
45244 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45245 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45246 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45247 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45248 * sysdeps/x86_64/dl-irel.h: Likewise.
45249
45250 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45251 * elf/dl-sym.c: Likewise.
45252
57912a71
UD
452532011-06-15 Ulrich Drepper <drepper@gmail.com>
45254
45255 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45256 need to dereference resplen2.
45257
ee22793d
AS
452582011-06-14 Andreas Schwab <schwab@redhat.com>
45259
45260 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45261
a9e836b0
UD
452622011-06-15 Ulrich Drepper <drepper@gmail.com>
45263
77fb9117
UD
45264 * Makeconfig: Define vardbdir and inst_vardbdir.
45265 * nss/Makefile: Add rules to install db-Makefile.
45266
40c1b22c
UD
45267 * nss/nss_db/db-XXX.c: Cleanup.
45268
9f2da732
UD
45269 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45270 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45271 GLIBC_PRIVATE.
45272 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45273 * nss/makedb.c: Implement -g option to specify that value strings
45274 are generated and should not be added to table iterated over for
45275 get*ent calls.
45276 * nss/nss_db/db-initgroups.c: New file.
45277
82e9a1f7
UD
45278 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45279 interface.
45280
c41af17e
UD
45281 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45282 (internal_getgrouplist): Adjust to name change.
45283 Update use_initgroups_entry if this is not the first call.
45284 * nss/databases.def: Add initgroups entry.
45285
a9e836b0
UD
45286 * nss/makedb.c (compute_tables): Check result of multiple hash table
45287 sizes to minimize maximum chain length.
45288
2666d441
UD
452892011-06-14 Ulrich Drepper <drepper@gmail.com>
45290
45291 * Versions.def: Add entry for libnss_db.
45292 * shlib-versions: Likewise.
45293 * nss/Makefile: Add rules to build libnss_db.
45294 * nss/Versions: Add libnss_db information. Organize libnss_files
45295 entries better.
45296 * nss/db-Makefile: Add gshadow support. Change rules for the new
45297 makedb progra. Some minor improvements to generate smaller files.
45298 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45299 here from...
45300 * nss/makedb.c: ...here.
45301 Improve database format to be smaller and require less memory at
45302 runtime.
45303 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45304 db anymore.
45305 * nss/nss_db/db-netgrp.c: Likewise.
45306 * nss/nss_db/db-open.c: Likewise.
45307 * nss/nss_files/flies-XXX.x: Adjust comments.
45308 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45309 * nss/nss_files/files-grp.c: Likewise.
45310 * nss/nss_files/files-hosts.c: Likewise.
45311 * nss/nss_files/files-network.c: Likewise.
45312 * nss/nss_files/files-proto.c: Likewise.
45313 * nss/nss_files/files-pwd.c: Likewise.
45314 * nss/nss_files/files-rpc.c: Likewise.
45315 * nss/nss_files/files-service.c: Likewise.
45316 * nss/nss_files/files-sgrp.c: Likewise.
45317 * nss/nss_files/files-spwd.c: Likewise.
45318 * nss/nss_db/db-alias.c: Removed.
45319 * nss/nss_db/dummy-db.h: Removed.
45320
9ee76b5a
UD
453212011-06-02 Ulrich Drepper <drepper@gmail.com>
45322
45323 * nss/makedb.c: Rewritten to not use database library.
45324 * nss/Makefile: Update to build new makedb program.
45325
c71ca1f8
AJ
453262011-06-14 Andreas Jaeger <aj@suse.de>
45327
45328 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45329 memset declaration.
45330
3154bfb8
UD
453312011-06-10 Andreas Schwab <schwab@redhat.com>
45332
45333 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45334 tmpbuf.
45335
b350afab
RM
453362011-06-10 Roland McGrath <roland@hack.frob.com>
45337
decd4e50
RM
45338 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45339 * elf/Makefile ($(objpfx)ld.so): Likewise.
45340
5615eaf2
RM
45341 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45342 Don't list ld.so twice in dependencies.
45343
45344 * posix/bug-regex31.c: Include <stdlib.h>.
45345
45346 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45347
45348 * nis/nss_compat/compat-spwd.c
45349 (getspent_next_nss_netgr): Remove unused variable.
45350 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45351
45352 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45353 nonmembers" output to use the right array.
45354
45355 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45356
45357 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45358
45359 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45360 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45361 * catgets/gencat.c (read_input_file): Likewise.
45362 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45363
45364 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45365 variable definition inside #if's controlling its use.
45366
45367 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45368
45369 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45370
45371 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45372
45373 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45374 unreachable code.
45375
45376 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45377
b68e08db
RM
45378 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45379 * configure: Regenerated.
45380
b350afab
RM
45381 * Makerules: Revert last change.
45382 * elf/Makefile: Likewise.
45383
28368601
RM
453842011-06-09 Roland McGrath <roland@hack.frob.com>
45385
45386 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45387 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45388 (reloc-link): Likewise.
45389
11988f8f
UD
453902011-06-09 Ulrich Drepper <drepper@gmail.com>
45391
45392 * elf/Makefile: Add rules to build pldd.
45393 * elf/pldd.c: New file.
45394 * elf/pldd-xx.c: New file.
45395
e80fab37
UD
453962011-06-07 Ulrich Drepper <drepper@gmail.com>
45397
45398 * version.h: Update for 2.15 development version.
45399
9b849836
DM
454002011-06-07 David S. Miller <davem@davemloft.net>
45401
45402 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45403 ifuncs.
45404 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45405 elf_machine_lazy_rel): Likewise.
45406 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45407 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45408 elf_machine_lazy_rel): Likewise.
45409 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45410 dl_hwcap via passed in argument.
45411 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45412 Likewise.
45413
5a31b283
AK
454142011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45415
45416 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45417
069e52f8
RM
454182011-06-06 Roland McGrath <roland@hack.frob.com>
45419
45420 [BZ #12849]
45421 * manual/fdl-1.1.texi: New file, verbatim from:
45422 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45423 * manual/lgpl-2.1.texi: New file, verbatim from:
45424 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45425 * manual/Makefile (licenses): New variable, list those new file names.
45426 (texis): Use it.
45427 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45428
45429 * manual/fdl.texi: File removed.
45430 * manual/lesser.texi: File removed.
45431 * manual/libc.texinfo (Copying, Documentation License):
45432 Use new @include file names, put @appendix directive before @include.
45433
f16846a5
JJ
454342011-06-04 Jakub Jelinek <jakub@redhat.com>
45435
45436 [BZ #12841]
45437 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45438 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45439 (mq_open): Add __NTH.
45440
3d29045b
L
454412011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45442
45443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45444 Assume Intel Core i3/i5/i7 processor if AVX is available.
45445
8c297311
UD
454462011-05-31 Ulrich Drepper <drepper@gmail.com>
45447
45448 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45449 typo.
45450
c8fc0c91
UD
454512011-05-31 Andreas Schwab <schwab@redhat.com>
45452
45453 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45454 memory. Use alloca_account. Fix memory leak when retrying.
45455
5b27a807
UD
454562011-05-31 Ulrich Drepper <drepper@gmail.com>
45457
356f8bc6
UD
45458 * version.h (RELEASE): Bump for 2.14 release.
45459 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45460
5b27a807
UD
45461 * config.make.in (RANLIB): Remove entry.
45462
01f16ab0
UD
454632011-05-30 Ulrich Drepper <drepper@gmail.com>
45464
41fce8bd
UD
45465 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45466 (libc.pot): Work around missing support for .ksh extension in xgettext.
45467
4769ae77
UD
45468 [BZ #12684]
45469 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45470 if both request failed.
45471 (send_dg): In case of server errors clear resplen or *resplen2.
45472
6b1e7d19
UD
45473 [BZ #12454]
45474 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45475 when there are multiple maps.
45476 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45477 (_dl_fini): Remove test here.
45478
01f16ab0
UD
45479 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45480
b1ebd700
UD
454812011-05-29 Ulrich Drepper <drepper@gmail.com>
45482
7ae22829
UD
45483 [BZ #12350]
45484 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45485 bit from old_res_options.
45486 (gaih_inet): Likewise.
45487
553149f6 45488 [BZ #11099]
18a84741 45489 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
45490 as signed.
45491
652ffab1
UD
45492 * resolv/res_init.c (res_setoptions): Make the code more compact.
45493
16985fd0
UD
45494 [BZ #11558]
45495 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45496 set RES_USEVC.
45497
0464f746
UD
45498 [BZ #11634]
45499 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45500
7d17596c
UD
45501 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45502
cf6bbbd7
UD
45503 [BZ #11781]
45504 * malloc/malloc.h: Declare malloc hook variables as volatile.
45505
13f1ab36
UD
45506 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45507 in last patch.
45508
b1ebd700
UD
45509 [BZ #11799]
45510 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 45511 raise in the comment.
80e2212d
UD
45512 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45513 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45514 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 45515
ce67228d
UD
455162011-05-28 Ulrich Drepper <drepper@gmail.com>
45517
8887a920
UD
45518 [BZ #12811]
45519 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45520 grow the buffers more if it already has to be sufficient.
45521 (build_wcs_upper_buffer): Likewise.
45522 * posix/regexec.c (check_matching): Likewise.
45523 (clean_state_log_if_needed): Likewise.
45524 (extend_buffers): Don't enlarge buffers beyond size of the input
45525 buffer.
45526 Patches mostly by Emil Wojak <emil@wojak.eu>.
45527 * posix/bug-regex32.c: New file.
45528 * posix/Makefile (tests): Add bug-regex32.
45529
4f031072
UD
45530 * locale/findlocale.c (_nl_find_locale): Return right away if
45531 _nl_explode_name failed.
45532 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45533
d0478f0c
UD
45534 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45535
de81b246
UD
45536 * debug/xtrace.sh: Unify messages.
45537 * malloc/memusage.sh: Likewise.
45538
c738465a
UD
45539 [BZ #12813]
45540 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45541 time symbol from vDSO. Substitute with vsyscall if not available.
45542 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45543 __vdso_time.
45544
f1f929d7
UD
45545 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45546 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45547 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45548 Add sendmmsg and internal_sendmmsg.
45549 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45550 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45551 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45552
ce67228d
UD
45553 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45554 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45555 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45556
e57420c6
UD
455572011-05-27 Ulrich Drepper <drepper@gmail.com>
45558
a8509ca5
UD
45559 [BZ #12813]
45560 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45561 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45562 available.
45563 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45564 __vdso_getcpu.
45565
e57420c6
UD
45566 [BZ #12814]
45567 * iconvdata/Makefile (tests): Add bug-iconv9.
45568 * iconvdata/bug-iconv9.c: New file.
45569
4d07db15
AS
455702011-05-27 Andreas Schwab <schwab@redhat.com>
45571
45572 [BZ #12814]
45573 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45574
ea486f69
JJ
455752011-05-25 Jakub Jelinek <jakub@redhat.com>
45576
45577 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45578 (struct user_regs_struct): Change intcs field back to cs.
45579
6f038433
UD
455802011-05-25 Ulrich Drepper <drepper@gmail.com>
45581
45582 * po/ja.po: Update from translation team.
45583
67f86a25
UD
455842011-05-23 Ulrich Drepper <drepper@gmail.com>
45585
45586 [BZ #12795]
45587 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45588 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45589
def7fbd6
AS
455902011-05-20 Andreas Schwab <schwab@redhat.com>
45591
45592 * stdlib/longlong.h: Update from GCC.
45593
f50ef8f1
AS
455942011-05-23 Andreas Schwab <schwab@redhat.com>
45595
45596 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45597 parameter name.
45598 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45599 Add parameter name.
45600 (__sysconf): Pass it down.
45601
de7ce8f1
UD
456022011-05-22 Ulrich Drepper <drepper@gmail.com>
45603
f2962a71
UD
45604 [BZ #12671]
45605 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45606 some situations.
45607 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45608 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45609 add in in __libc_use_alloca calls. Adjust callers.
45610 (glob): Use malloc in some situations.
45611
de7ce8f1
UD
45612 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45613 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45614 pltexit.
45615
aec84f53
UD
456162011-05-21 Ulrich Drepper <drepper@gmail.com>
45617
05bb4a68
UD
45618 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45619 and CLOCK_BOOTTIME_ALARM.
45620
7ea72f99
UD
45621 [BZ #12782]
45622 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45623 is returned.
45624
7e4afad5
UD
45625 * string/_strerror.c (__strerror_r): Print negative errors as signed
45626 numbers.
45627
8e211fec
UD
45628 [BZ #12777]
45629 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45630 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45631 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45632
f7d82dc9
UD
45633 * configure.in: Fix typo in redirection and correct removal of test
45634 files in two cases.
45635
cc9e536d
UD
45636 [BZ #12788]
45637 * locale/setlocale.c (new_composite_name): Fix test to check for
45638 identical name of all categories.
45639
aec84f53
UD
45640 [BZ #12792]
45641 * libio/filedoalloc.c (local_isatty): New function.
45642 (_IO_file_doallocate): Use local_isatty.
45643 * stdio-common/perror.c (perror): In case a new stream is used
45644 forward the stream error.
45645 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45646 error flag.
45647
78e64fdc
RT
456482011-05-20 Ulrich Drepper <drepper@gmail.com>
45649
34a9094f
UD
45650 [BZ #11869]
45651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45652 alloca.
45653 * include/alloca.h (extend_alloca_account): Define.
45654
78e64fdc
RT
45655 [BZ #11857]
45656 * posix/regex.h: Fix comments with documentation of user-accessible
45657 fields after compilation and describe correct free'ing of pattern
45658 after re_compile_pattern.
45659 Patch by Reuben Thomas <rrt@sc3d.org>.
45660
457bddfc
RA
456612011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45662
45663 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45664 and -mno-altivec to prevent the compiler from using Altivec and/or
45665 VSX instructions when the corresponding registers are not available.
45666
a4527b51
AS
456672011-05-19 Andreas Schwab <schwab@redhat.com>
45668
45669 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45670
ed690b2f
UD
456712011-05-19 Ulrich Drepper <drepper@gmail.com>
45672
45673 * libio/freopen.c (freopen): Use __dup2, not dup2.
45674 * libio/freopen64.c (freopen64): Likewise.
45675
8db73634
L
456762011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45677
45678 [BZ #12775]
45679 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45680 * math/Makefile (tests): Add test-powl.
45681 (CFLAGS-test-powl.c): Define.
45682 * math/test-powl.c: New file.
45683
0a197a9d
L
456842011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45685
45686 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45687
ee30c380
UD
456882011-05-17 Ulrich Drepper <drepper@gmail.com>
45689
45690 [BZ #11837]
45691 * iconvdata/gb18030.c: Update to GB18020-2005.
45692
6ce75379
UD
456932011-05-16 Ulrich Drepper <drepper@gmail.com>
45694
a4b89fd8
AR
45695 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45696 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45697 Patch by Aharon Robbins <arnold@skeeve.com>.
45698
ea389b12
UD
45699 [BZ #11892]
45700 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45701 on the stack.
45702
68a3f91f
UD
45703 [BZ #11895]
45704 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45705 through underflows.
45706
15cc7dd1
UD
45707 [BZ #12766]
45708 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45709 point to strings before performing equality test for error_one_per_line
45710 mode.
45711
f3799213
UD
45712 [BZ #11697]
45713 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45714
d79a9c94
UD
45715 [BZ #11820]
45716 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45717 (struct user_fpregs_struct): Avoid __uint*_t types.
45718
56e5eb46
UD
45719 [BZ #6420]
45720 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45721 symbol info. Use it instead of calling _dl_addr locally.
45722 (lock_and_info): New function.
45723 (tr_freehook): Call lock_and_info and pass symbol info as additional
45724 parameter to tr_where.
45725 (tr_mallochook): Likewise.
45726 (tr_reallochook): Likewise.
45727 (tr_memalignhook): Likewise.
45728
6ce75379
UD
45729 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45730 used and couldn't be at all thread-safe.
45731
f8a3b5bf
UD
457322011-05-15 Ulrich Drepper <drepper@gmail.com>
45733
94b7cc37
UD
45734 * libio/freopen.c (freopen): Don't close old file descriptor
45735 before the new one is opened. Instead dup the new file descriptor
45736 to the old one after the new stream is created.
45737 * libio/freopen64.c (freopen64): Likewise.
45738 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45739 * libio/fileops.c (_IO_new_file_close_it): Handle new
45740 _IO_FLAGS2_NOCLOSE flag.
45741 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45742 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45743 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45744 _IO_FLAGS2_NOCLOSE flag.
45745 * include/unistd.h: Add hidden_proto for dup3.
45746 Define __have_dup3.
45747 * io/dup3.c: Define hidden symbol.
45748 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45749
bd25564e
UD
45750 [BZ #7101]
45751 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45752 when an incomplete long option is used.
45753 * posix/tst-getopt_long1.c: New file.
45754 * posix/Makefile (tests): Add tst-getopt_long1.
45755
c84cfef4
UD
45756 [BZ #10138]
45757 * scripts/config.guess: Update from autoconf-2.68.
45758 * scripts/config.sub: Likewise.
45759
3b85df27
UD
45760 [BZ #10157]
45761 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45762 tests into ...
45763 (has_cpuclock): ...this. New function.
45764 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45765 macro here based on has_cpuclock code.
45766
15a856b1
UD
45767 [BZ #10149]
45768 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45769 First byte (not low byte) is now always NUL.
45770 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45771
05f399e6
UD
45772 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45773 Use non-cancelable interfaces.
45774
10a52685 45775 [BZ #9809]
94ecc67d
UD
45776 * locale/iso-639.def: Add entry for Sorani.
45777
f8a3b5bf
UD
45778 [BZ #11901]
45779 * include/stdlib.h: Move include protection to the right place.
45780 Define abort_msg_s. Declare __abort_msg with it.
45781 * stdlib/abort.c (__abort_msg): Adjust type.
45782 * assert/assert.c (__assert_fail_base): New function. Majority
45783 of code from __assert_fail. Allocate memory for __abort_msg with
45784 mmap.
45785 (__assert_fail): Now call __assert_fail_base.
45786 * assert/assert-perr.c: Remove bulk of implementation. Use
45787 __assert_fail_base.
45788 * include/assert.hL Declare __assert_fail_base.
45789 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45790 mmap.
45791 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45792
1af4e298
UD
457932011-05-14 Ulrich Drepper <drepper@gmail.com>
45794
f8a3b5bf 45795 [BZ #11952]
d26dfc60
MG
45796 [BZ #12453]
45797 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45798 until all modules are registered in the DTV.
45799 * elf/Makefile: Add rules to build and run tst-tls19.
45800 * elf/tst-tls19.c: New file.
45801 * elf/tst-tls19mod1.c: New file.
45802 * elf/tst-tls19mod2.c: New file.
45803 * elf/tst-tls19mod3.c: New file.
45804 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45805
2fc54d6f
UD
45806 [BZ #12083]
45807 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45808 correctly.
45809
98d76b46
UD
45810 [BZ #12601]
45811 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45812 two-byte sequence errors.
45813 * iconvdata/Makefile (tests): Add bug-iconv8.
45814 * iconvdata/bug-iconv8.c: New file.
45815
da3c19ef
UD
45816 [BZ #12626]
45817 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45818 buf2 definition.
45819
ca408c15
UD
45820 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45821
d6f67f7d
UD
45822 [BZ #12432]
45823 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45824 (dummy_getcfa): New function.
45825 (init): Get _Unwind_GetCFA address, use dummy if not found.
45826 (backtrace_helper): In recursion check, also check whether CFA changes.
45827 (__backtrace): Completely initialize arg.
45828
1af4e298 45829 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
45830 storing incomplete byte sequence in state object. Avoid testing for
45831 guaranteed too small input if we know there is enough data available.
1af4e298 45832
da62f81b
AS
458332011-05-11 Andreas Schwab <schwab@redhat.com>
45834
45835 * Makeconfig (+link-pie): Indent.
45836 * Rules (binaries-pie): Define if $(have-fpie) and
45837 $(build-shared).
45838 (binaries-shared): Also filter out $(binaries-pie).
45839 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45840 * nscd/Makefile (others-pie): Add nscd.
45841 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45842 ($(objpfx)nscd): Remove command override.
45843 * login/Makefile (others-pie): Add pt_chown.
45844 ($(objpfx)pt_chown): Remove command override.
45845 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45846 remove command overrides.
45847
fcabc0f8
UD
458482011-05-13 Ulrich Drepper <drepper@gmail.com>
45849
20030ae6
UD
45850 * libio/tst_putwc.c: Fix error messages.
45851
fcabc0f8
UD
45852 [BZ #12724]
45853 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45854 currently writing and seek to current position when not.
45855 * libio/Makefile (tests): Add bug-fclose1.
45856 * libio/bug-fclose1.c: New file.
45857
320a5dc0
PB
458582011-05-12 Ulrich Drepper <drepper@gmail.com>
45859
45860 [BZ #12511]
45861 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45862 don't set DF_1_NODELETE here.
45863 (do_lookup_x): When entering new entry test for copy relocation
45864 and if necessary set DF_1_NODELETE flag.
45865 * elf/tst-unique4.cc: New file.
45866 * elf/tst-unique4.h: New file.
45867 * elf/tst-unique4lib.cc: New file.
45868 * elf/Makefile: Add rules to build and run tst-unique4.
45869 Patch by Piotr Bury <pbury@goahead.com>.
45870
22836f52
UD
458712011-05-11 Ulrich Drepper <drepper@gmail.com>
45872
f574184a
UD
45873 [BZ #12052]
45874 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45875
e1fb097f
UD
45876 [BZ #12625]
45877 * misc/mntent_r.c (addmntent): Flush the stream after the output
45878
22836f52
UD
45879 [BZ #12393]
45880 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45881 (is_trusted_path_normalize): Skip initial colon. Append slash
45882 to empty buffer. Duplicate is_trusted_path code but allow
45883 constructed patch to be prefix.
45884 (is_dst): Allow $ORIGIN followed by /.
45885 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45886 Correct testing of result of is_trusted_path_normalize
45887 (decompose_rpath): Fix warning.
45888
7b3b0b2a
UD
458892011-05-10 Ulrich Drepper <drepper@gmail.com>
45890
45891 [BZ #11257]
45892 * grp/initgroups.c (internal_getgrouplist): When we found the service
45893 list through the initgroups entry in nsswitch.conf do not always
45894 continue on a successful lookup. Don't always use the
eac80ce2 45895 __nss_group_database value if it is set.
7b3b0b2a
UD
45896 * nss/nsswitch.conf (initgroups): Change action for successful db
45897 lookup to continue for compatibility.
45898
2a81eaa5
UD
458992011-05-09 Ulrich Drepper <drepper@gmail.com>
45900
be97a69e
UD
45901 [BZ #11532]
45902 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45903 and CP774 modules.
45904 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45905 and CP774 modules.
45906 * iconvdata/tst-tables.sh: Likewise.
45907 * iconvdata/cp770.c: New file.
45908 * iconvdata/cp771.c: New file.
45909 * iconvdata/cp772.c: New file.
45910 * iconvdata/cp773.c: New file.
45911 * iconvdata/cp774.c: New file.
45912 * iconvdata/testdata/CP770: New file.
45913 * iconvdata/testdata/CP770..UTF8: New file.
45914 * iconvdata/testdata/CP771: New file.
45915 * iconvdata/testdata/CP771..UTF8: New file.
45916 * iconvdata/testdata/CP772: New file.
45917 * iconvdata/testdata/CP772..UTF8: New file.
45918 * iconvdata/testdata/CP773: New file.
45919 * iconvdata/testdata/CP773..UTF8: New file.
45920 * iconvdata/testdata/CP774: New file.
45921 * iconvdata/testdata/CP774..UTF8: New file.
45922
45923 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45924 END CHARMAP line.
45925 * iconvdata/gen-8bit-gap.sh: Likewise.
45926 * iconvdata/gen-8bit.sh: Likewise.
45927
c1e9e399
UD
45928 * locale/iso-639.def: Add ary entry.
45929
24c55fb3 45930 [BZ #11258]
96b4b1b0
UD
45931 * locale/C-translit.h.in: Add U20A1 transliteration.
45932
bdc2f971
KB
45933 [BZ #12178]
45934 * locale/iso-639.def: Add wae entry.
45935 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45936
2952b117
UD
45937 [BZ #12545]
45938 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45939 for n.
45940
2a81eaa5
UD
45941 [BZ #12711]
45942 * locale/C-translit.h.in: Add entry for U20B9.
45943 Patch by pravin.d.s@gmail.com.
45944
28377d1b
UD
459452011-05-08 Ulrich Drepper <drepper@gmail.com>
45946
7fb90fb8
UD
45947 [BZ #12713]
45948 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45949 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
45950 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45951 in rtld. Use *stat64.
7fb90fb8 45952 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 45953 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 45954 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
45955 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45956 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45957 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45958 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45959 __fstatat64 macros.
7fb90fb8
UD
45960 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45961 * dirent/rewinddir.c: Add libc_hidden_def.
45962 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 45963 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 45964
28377d1b
UD
45965 * include/dirent.h (__alloc_dir): Add flags parameter.
45966 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45967 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45968 __alloc_dir.
45969 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45970 from fdopendir if O_CLOEXEC is already set.
45971
66bdbaa4
AM
459722011-03-15 Alan Modra <amodra@gmail.com>
45973
45974 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45975 l_tls_firstbyte_offset non-zero. Save padding offset in
45976 l_tls_firstbyte_offset for later use.
45977 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45978 freeing static tls block.
45979
95721191
JN
459802011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45981
45982 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45983 where #ifdef was intended. The intent is to prevent ARG_MAX from
45984 being defined by the kernel headers.
45985
f87dfb1f
UD
459862011-05-07 Ulrich Drepper <drepper@gmail.com>
45987
45988 [BZ #12734]
45989 * resolv/resolv.h: Define RES_NOTLDQUERY.
45990 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45991 no-tld-query and set RES_NOTLDQUERY.
45992 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45993 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45994 modern BIND to search name as TLD unless forbidden.
45995
47c3cd7a
UD
459962011-05-07 Petr Baudis <pasky@suse.cz>
45997 Ulrich Drepper <drepper@gmail.com>
45998
45999 [BZ #12393]
46000 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46001 (is_trusted_path): ...to here.
c1e9ea35 46002 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 46003 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 46004 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 46005
8a35c912
PP
460062011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46007
46008 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46009 __BEGIN/__END_DECLS.
46010
acd41f47
UD
460112011-05-06 Ulrich Drepper <drepper@gmail.com>
46012
46013 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46014 NSS_STATUS_NOTFOUND if no record was found.
46015
597df647
AS
460162011-05-05 Andreas Schwab <schwab@redhat.com>
46017
46018 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46019 (headers-not-in-tirpc): Remove rpc/netdb.h
46020 * resolv/netdb.h: Revert last change.
46021
b9af1301
PP
460222011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46023
46024 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46025 circular dependency between libgcc.a and libc.a.
46026
4e34d5f5
AS
460272011-05-05 Andreas Schwab <schwab@redhat.com>
46028
46029 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46030 * nis/Makefile: Don't install rpcsvc/*.
46031 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46032 instead of <rpc/types.h>.
46033 (MAXHOSTNAMELEN): Define.
46034
00ee369c
AS
460352011-05-03 Andreas Schwab <schwab@redhat.com>
46036
46037 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46038
0b592a30
MB
460392011-04-28 Maciej Babinski <mbabinski@google.com>
46040
46041 [BZ #12714]
46042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46043 gethostbyname4_r when IPv6 results are possible.
46044
6e04cbbe
UD
460452011-05-02 Ulrich Drepper <drepper@gmail.com>
46046
46047 [BZ #12723]
46048 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46049 _PC_PIPE_BUF handling.
46050
e4ecafe0
BH
460512011-04-30 Bruno Haible <bruno@clisp.org>
46052
46053 [BZ #12717]
46054 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46055 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46056 to 'int'.
46057 * inet/getnameinfo.c (getnameinfo): Likewise.
46058
125ee683
UD
460592011-04-29 Ulrich Drepper <drepper@gmail.com>
46060
46061 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46062 to groups setting in database lookup.
46063 * nss/nsswitch.conf: Add initgroups entry.
46064
b722481a
EB
460652011-04-22 Ulrich Drepper <drepper@gmail.com>
46066
46067 [BZ #12685]
46068 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46069 mode string.
46070 Patch by Eric Blake <eblake@redhat.com>.
46071
4df46dbd
L
460722011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46073
46074 * sunrpc/Makefile (need-export-routines): Add svc_run.
46075 (routines): Remove svc_run.
46076 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46077 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46078 * sunrpc/svc_run.c (svc_run): Likewise.
46079 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46080
e84142d2
UD
460812011-04-21 Ulrich Drepper <drepper@gmail.com>
46082
46083 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46084 problem in reallocation in last patch.
46085
877175d8
UD
460862011-04-20 Ulrich Drepper <drepper@gmail.com>
46087
46088 * sunrpc/Makefile: Move inclusion of Rules.
46089
ab8eed78
UD
460902011-04-19 Ulrich Drepper <drepper@gmail.com>
46091
46092 * nss/nss_files/files-initgroups.c: New file.
46093 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46094 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46095 _nss_files_initgroups_dyn.
46096
e3d8f584
RS
460972011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46098
46099 * elf/elf.h (R_ARM_IRELATIVE): Define.
46100
af190f45
UD
461012011-04-19 Ulrich Drepper <drepper@gmail.com>
46102
46103 * po/ru.po: Update from translation team.
46104
53cf59ef
UD
461052011-04-17 Ulrich Drepper <drepper@gmail.com>
46106
46107 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46108 dependencies.
46109
4c559bcd
MF
461102011-02-06 Mike Frysinger <vapier@gentoo.org>
46111
46112 [BZ #12653]
46113 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46114 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46115 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46116 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46117 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46118
4420675c
AS
461192011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46120
46121 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46122 differing bytes.
46123 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46124 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46125 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46126
75ea32ab
UD
461272011-04-17 Ulrich Drepper <drepper@gmail.com>
46128
46129 [BZ #12420]
46130 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46131 storing it.
46132 * stdlib/bug-getcontext.c: New file.
46133 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46134
27390476
AK
461352011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46136
46137 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46138 instructions into .machine "z9-109".
46139 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46140 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46141
10442705
AK
461422011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46143
46144 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46145 between environment variables and auxiliary vector.
46146
7b57bfe5
UD
461472011-04-16 Ulrich Drepper <drepper@gmail.com>
46148
46149 * Makefile: Add rules to build linkobj/libc.so.
46150 * include/libc-symbols.h: Define libc_hidden_nolink.
46151 * include/rpc/auth.h: Mark functions which are to be hidden.
46152 * include/rpc/auth_des.h: Likewise.
46153 * include/rpc/auth_unix.h: Likewise.
46154 * include/rpc/clnt.h: Likewise.
46155 * include/rpc/des_crypt.h: Likewise.
46156 * include/rpc/key_prot.h: Likewise.
46157 * include/rpc/pmap_clnt.h: Likewise.
46158 * include/rpc/pmap_prot.h: Likewise.
46159 * include/rpc/pmap_rmt.h: Likewise.
46160 * include/rpc/rpc_msg.h: Likewise.
46161 * include/rpc/svc.h: Likewise.
46162 * include/rpc/svc_auth.h: Likewise.
46163 * include/rpc/xdr.h: Likewise.
46164 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46165 * nss/Makefile: Likewise.
46166 * sunrpc/Makefile: Don't install headers. Build library with normal
46167 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46168 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46169 for the compat linking library. Remove use of INTDEF/INTUSE.
46170 * sunrpc/auth_none.c: Likewise.
46171 * sunrpc/auth_unix.c: Likewise.
46172 * sunrpc/authdes_prot.c: Likewise.
46173 * sunrpc/authuxprot.c: Likewise.
46174 * sunrpc/clnt_gen.c: Likewise.
46175 * sunrpc/clnt_perr.c: Likewise.
46176 * sunrpc/clnt_raw.c: Likewise.
46177 * sunrpc/clnt_simp.c: Likewise.
46178 * sunrpc/clnt_tcp.c: Likewise.
46179 * sunrpc/clnt_udp.c: Likewise.
46180 * sunrpc/clnt_unix.c: Likewise.
46181 * sunrpc/des_crypt.c: Likewise.
46182 * sunrpc/des_soft.c: Likewise.
46183 * sunrpc/get_myaddr.c: Likewise.
46184 * sunrpc/key_call.c: Likewise.
46185 * sunrpc/key_prot.c: Likewise.
46186 * sunrpc/netname.c: Likewise.
46187 * sunrpc/pm_getmaps.c: Likewise.
46188 * sunrpc/pm_getport.c: Likewise.
46189 * sunrpc/pmap_clnt.c: Likewise.
46190 * sunrpc/pmap_prot.c: Likewise.
46191 * sunrpc/pmap_prot2.c: Likewise.
46192 * sunrpc/pmap_rmt.c: Likewise.
46193 * sunrpc/publickey.c: Likewise.
46194 * sunrpc/rpc_cmsg.c: Likewise.
46195 * sunrpc/rpc_common.c: Likewise.
46196 * sunrpc/rpc_dtable.c: Likewise.
46197 * sunrpc/rpc_prot.c: Likewise.
46198 * sunrpc/rpc_thread.c: Likewise.
46199 * sunrpc/rtime.c: Likewise.
46200 * sunrpc/svc.c: Likewise.
46201 * sunrpc/svc_auth.c: Likewise.
46202 * sunrpc/svc_authux.c: Likewise.
46203 * sunrpc/svc_raw.c: Likewise.
46204 * sunrpc/svc_run.c: Likewise.
46205 * sunrpc/svc_simple.c: Likewise.
46206 * sunrpc/svc_tcp.c: Likewise.
46207 * sunrpc/svc_udp.c: Likewise.
46208 * sunrpc/svc_unix.c: Likewise.
46209 * sunrpc/svcauth_des.c: Likewise.
46210 * sunrpc/xcrypt.c: Likewise.
46211 * sunrpc/xdr.c: Likewise.
46212 * sunrpc/xdr_array.c: Likewise.
46213 * sunrpc/xdr_float.c: Likewise.
46214 * sunrpc/xdr_intXX_t.c: Likewise.
46215 * sunrpc/xdr_mem.c: Likewise.
46216 * sunrpc/xdr_rec.c: Likewise.
46217 * sunrpc/xdr_ref.c: Likewise.
46218 * sunrpc/xdr_sizeof.c: Likewise.
46219 * sunrpc/xdr_stdio.c: Likewise.
46220
e6c61494
UD
462212011-04-10 Ulrich Drepper <drepper@gmail.com>
46222
46223 [BZ #12650]
46224 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46225 * sysdeps/ia64/dl-tls.h: Likewise.
46226 * sysdeps/powerpc/dl-tls.h: Likewise.
46227 * sysdeps/s390/dl-tls.h: Likewise.
46228 * sysdeps/sh/dl-tls.h: Likewise.
46229 * sysdeps/sparc/dl-tls.h: Likewise.
46230 * sysdeps/x86_64/dl-tls.h: Likewise.
46231 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46232
34fe483e
AS
462332011-03-14 Andreas Schwab <schwab@redhat.com>
46234
46235 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46236 rpath element also skip the following colon.
46237 (expand_dynamic_string_token): Add is_path parameter and pass
46238 down to DL_DST_REQUIRED and _dl_dst_substitute.
46239 (decompose_rpath): Call expand_dynamic_string_token with
46240 non-zero is_path. Ignore empty rpaths.
46241 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46242 with zero is_path.
46243
f12a32e6
AS
462442011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46245
46246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46247 Make cancelable.
46248
38a7d692
UD
462492011-04-09 Ulrich Drepper <drepper@gmail.com>
46250
46251 [BZ #12655]
46252 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46253 Patch by Filipe David Manana <fdmanana@apache.org>.
46254
e451d22b
AS
462552011-04-07 Andreas Schwab <schwab@redhat.com>
46256
46257 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46258 Maintain aligned stack.
46259 (CHECK_RSP): Remove unused macro.
46260
dedc7c7b
UD
462612011-04-03 Ulrich Drepper <drepper@gmail.com>
46262
46263 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46264 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46265
94521213
UD
462662011-04-02 Ulrich Drepper <drepper@gmail.com>
46267
46268 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46269
8cb700c0 46270 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 46271
0354e355
L
462722011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46273
46274 [BZ #12518]
46275 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46276 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46277 * sysdeps/x86_64/memmove.c: New file.
46278 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46279 (memcpy): Renamed to ...
46280 (__new_memcpy): This.
46281 (memcpy): Provide GLIBC_2_14 memcpy.
46282 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46283 (memcpy): Provide GLIBC_2_2_5 memcpy.
46284
8593482f
UD
462852011-04-01 Ulrich Drepper <drepper@gmail.com>
46286
46287 [BZ #12631]
46288 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46289
81a5726b
AS
462902011-03-30 Andreas Schwab <schwab@redhat.com>
46291
46292 * misc/syncfs.c: New file.
46293 * misc/Makefile (routines): Add syncfs.
46294 * posix/unistd.h: Declare syncfs.
46295 * sysdeps/unix/syscalls.list: Add syncfs.
46296
00e5419f
AS
462972011-04-01 Andreas Schwab <schwab@redhat.com>
46298
46299 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46300 open_by_handle_at.
46301 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46302 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46303 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46304 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46305 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46306 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46307 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46308
748876bf
UD
463092011-04-01 Ulrich Drepper <drepper@gmail.com>
46310
658e451d
UD
46311 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46312 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46313 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46314 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46315 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46316 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46317 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46318
748876bf
UD
46319 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46320 sync_file_range.c with -fexceptions.
46321 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46322 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46323 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46324 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46325 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46326 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46327 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
46328 sync_file_range as cancellation point
46329 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46330 now a wrapper around __call_sync_file_range with cancellation handling.
46331 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46332 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46333 function name to __call_sync_file_range.
46334 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46335 Add call_sync_file_range.
748876bf 46336
6e63d5e1
AS
463372011-04-01 Andreas Schwab <schwab@redhat.com>
46338
46339 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 46340 bits/timex.h.
6e63d5e1 46341
46998f74
UD
463422011-04-01 Ulrich Drepper <drepper@gmail.com>
46343
4c1423ed
UD
46344 * iconv/iconv.h: Fix typo in comment.
46345 * io/fcntl.h: Likewise.
46346 * libio/stdio.h: Likewise.
46347 * posix/spawn.h: Likewise.
46348 * posix/unistd.h: Likewise.
46349 * stdlib/stdlib.h: Likewise.
46350 * time/time.h: Likewise.
46351 * wcsmbs/wchar.h: Likewise.
46352
158648c0
UD
46353 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46354 open_by_handle): Add.
46355 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46356 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46357 Augment a few comments.
46358 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46359 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46360 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46361 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46362 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46363 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46364 open_by_handle.
46365
46998f74
UD
46366 * io/fcntl.h (AT_EMPTY_PATH): Define.
46367
83fe108b
UD
463682011-03-30 Ulrich Drepper <drepper@gmail.com>
46369
46370 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46371 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46372 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46373 to...
46374 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
46375 * Versions.def: Add GLIBC_2.14.
46376 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46377 Export.
83fe108b 46378
bb242059
UD
463792011-03-22 Ulrich Drepper <drepper@gmail.com>
46380
46381 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46382 round counter.
46383 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46384
c97a1282
L
463852011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46386
46387 [BZ #12597]
46388 * string/test-strncmp.c (do_page_test): New function.
46389 (check2): Likewise.
46390 (test_main): Call check2.
46391 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46392
2a115601
UD
463932011-03-20 Ulrich Drepper <drepper@gmail.com>
46394
46395 [BZ #12587]
46396 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46397 Handle cache information in CPU leaf 4.
46398 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46399
8126d904
UD
464002011-03-18 Ulrich Drepper <drepper@gmail.com>
46401
042c49c6 46402 [BZ #12583]
8126d904
UD
46403 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46404 character representation.
46405 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46406
ccfe366e
RA
464072011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46408
46409 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46410 END(__isnan) to END(__isnanf) to match function entry point/label
46411 EALIGN(__isnanf,...).
46412
c6e13027
JJ
464132011-03-10 Jakub Jelinek <jakub@redhat.com>
46414
46415 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46416
33f85a3f
UD
464172011-03-10 Ulrich Drepper <drepper@gmail.com>
46418
028478fa
UD
46419 [BZ #12510]
46420 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46421 copy from the symbol referenced in the relocation to initialize the
46422 used variable.
46423 Patch by Piotr Bury <pbury@goahead.com>.
46424 * elf/Makefile: Add rules to build and tst-unique3.
46425 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46426 * elf/tst-unique3.cc: New file.
46427 * elf/tst-unique3.h: New file.
46428 * elf/tst-unique3lib.cc: New file.
46429 * elf/tst-unique3lib2.cc: New file.
46430
33f85a3f
UD
46431 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46432
03592fc7
MF
464332011-03-10 Mike Frysinger <vapier@gentoo.org>
46434
46435 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46436 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46437 to _start.
03592fc7 46438
6a5ee102
UD
464392011-03-06 Ulrich Drepper <drepper@gmail.com>
46440
46441 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46442 to-be-loaded object along a path to loader is ld.so.
46443
7e4ba49c
HJ
464442011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46445 Ulrich Drepper <drepper@gmail.com>
46446
46447 * sysdeps/x86_64/memset.S: After aligning destination, code
46448 branches to different locations depending on the value of
46449 misalignment, when multiarch is enabled. Fix this.
46450
464512011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46452
46453 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46454 Set _x86_64_preferred_memory_instruction for AMD processsors.
46455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46456 Set bit_Prefer_SSE_for_memop for AMD processors.
46457
13a804de
UD
464582011-03-04 Ulrich Drepper <drepper@gmail.com>
46459
46460 * libio/fmemopen.c (fmemopen): Optimize a bit.
46461
9d25c392
AS
464622011-03-03 Andreas Schwab <schwab@redhat.com>
46463
46464 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46465
a5543c6a
RM
464662011-03-03 Roland McGrath <roland@redhat.com>
46467
46468 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46469
012d35f7
DM
464702011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46471
7e4ba49c 46472 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
46473 __bzero_ultra1 instead of __memset_ultra1.
46474
4bff6e01
AS
464752011-02-23 Andreas Schwab <schwab@redhat.com>
46476 Ulrich Drepper <drepper@gmail.com>
46477
46478 [BZ #12509]
46479 * include/link.h (struct link_map): Add l_orig_initfini.
46480 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46481 returning unsuccessfully.
46482 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46483 close of a file loaded at startup, restore the original l_initfini
46484 list.
46485 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46486 list, store the pointer.
46487 * elf/Makefile ($(objpfx)noload-mem): New rule.
46488 (noload-ENV): Define.
46489 (tests): Add $(objpfx)noload-mem.
46490 * elf/noload.c: Include <memcheck.h>.
46491 (main): Call mtrace. Close all opened handles.
46492
f2092faf
AS
464932011-02-17 Andreas Schwab <schwab@redhat.com>
46494
46495 [BZ #12454]
46496 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46497 dependencies are missing.
46498
6c8a2e88
ST
464992011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46500
f2092faf 46501 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
46502 Hurd needs munmap.
46503 * sysdeps/mach/hurd/ifreq.h: New file.
46504
84a42118
PB
465052011-01-27 Petr Baudis <pasky@suse.cz>
46506 Ulrich Drepper <drepper@gmail.com>
46507
071f805e 46508 [BZ 12445]#
84a42118
PB
46509 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46510 to extend_alloca().
46511 * stdio-common/bug23.c: New file.
46512 * stdio-common/Makefile (tests): Add bug23.
46513
e23fe25b
AS
465142010-09-28 Andreas Schwab <schwab@redhat.com>
46515 Ulrich Drepper <drepper@gmail.com>
46516
46517 [BZ #12489]
46518 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46519 before performing relro protection. At old place add assertion
46520 to make sure nothing changed.
46521
d3f02e10
NS
465222011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46523 Glauber de Oliveira Costa <glommer@gmail.com>
46524
46525 * elf/elf.h: Add new ARM TLS relocs.
46526
d55fd7a5
RA
465272011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46528
46529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46530 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46531 cast from r3.
46532 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46533 'tests' variable.
46534 * sysdeps/wordsize-64/tst-writev.c: New file.
46535
2206397e
RA
465362011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46537
46538 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46539 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46540 insns in _dl_start to prevent a TOC reference before relocs are
46541 resolved.
46542
e9433893
UD
465432011-02-15 Ulrich Drepper <drepper@gmail.com>
46544
46545 [BZ #12469]
46546 * Makeconfig: Remove RANLIB definition.
46547 * Makerules: Don't use RANLIB.
46548 * aclocal.m4: Remove ranlib test.
46549 * configure.in: No need to check for ranlib.
46550 * elf/rtld-Rules: Don't use RANLIB.
46551
f75286c6
ST
465522011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46553
8e31c82d
ST
46554 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46555 protection macro.
46556 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46557 inclusion protection macro.
46558
f75286c6
ST
46559 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46560 SIGRTMIN and SIGRTMAX and print information in that case only when
46561 SIGRTMIN is defined.
46562
c1d0e639
JJ
465632011-02-11 Jakub Jelinek <jakub@redhat.com>
46564
46565 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46566 arginfo fn returning -1.
46567
46568 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46569 and thousands string is zero terminated.
46570
edf9294e
AS
465712011-02-03 Andreas Schwab <schwab@redhat.com>
46572
46573 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46574 sysdeps/unix/sysv/linux/bits/socket.h.
46575
2b7e92df
ST
465762011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46577
edf9294e
AS
46578 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46579 (__CPU_COUNT): Remove old macros.
46580 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46581 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46582 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
46583 (__sched_cpualloc, __sched_cpufree): Add declarations.
46584
a4c7ea7b
UD
465852011-02-05 Ulrich Drepper <drepper@gmail.com>
46586
46587 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46588 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46589 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46590 (readdhstai): Return value of addhstaiX call.
46591 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46592 (addgrbyX): Return value returned by cache_addgr.
46593 (readdgrbyname): Return value returned by addgrbyX.
46594 (readdgrbygid): Likewise.
46595 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46596 (addpwbyX): Return value returned by cache_addpw.
46597 (readdpwbyname): Return value returned by addhstbyX.
46598 (readdpwbyuid): Likewise.
46599 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46600 (addservbyX): Return value returned by cache_addserv.
46601 (readdservbyname): Return value returned by addservbyX:
46602 (readdservbyport): Likewise.
46603 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46604 (addhstbyX): Return value returned by cache_addhst.
46605 (readdhstbyname): Return value returned by addhstbyX.
46606 (readdhstbyaddr): Likewise.
46607 (readdhstbynamev6): Likewise.
46608 (readdhstbyaddrv6): Likewise.
46609 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46610 (readdinitgroups): Return value returned by addinitgroupsX.
46611 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46612 (prune_cache): Keep track of timeout value of re-added entries.
46613 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46614 * nscd/nscd.h: Adjust prototypes of readd* functions.
46615
a0bf67cc
RM
466162011-02-04 Roland McGrath <roland@redhat.com>
46617
46618 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46619 (nis_stats): Likewise.
46620 * nis/nis_modify.c (nis_modify): Likewise.
46621 * nis/nis_remove.c (nis_remove): Likewise.
46622 * nis/nis_add.c (nis_add): Likewise.
46623
46624 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46625
46626 * posix/fnmatch_loop.c: Add some consts.
46627
46628 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46629
435b95eb
L
466302011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46631
46632 [BZ #12460]
46633 * config.make.in (config-cflags-novzeroupper): Define.
46634 * configure.in: Substitute libc_cv_cc_novzeroupper.
46635 * elf/Makefile (AVX-CFLAGS): Define.
46636 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46637 (CFLAGS-tst-auditmod4a.c): Likewise.
46638 (CFLAGS-tst-auditmod4b.c): Likewise.
46639 (CFLAGS-tst-auditmod6b.c): Likewise.
46640 (CFLAGS-tst-auditmod6c.c): Likewise.
46641 (CFLAGS-tst-auditmod7b.c): Likewise.
46642 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46643
8517b15e
UD
466442011-02-02 Ulrich Drepper <drepper@gmail.com>
46645
46646 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46647 function to the callback.
46648 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46649
10a656fe
AS
466502011-02-02 Andreas Schwab <schwab@redhat.com>
46651
46652 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46653 of errno.
46654
968dad0a
UD
466552011-01-19 Ulrich Drepper <drepper@gmail.com>
46656
9f94d2ea 46657 [BZ #11724]
968dad0a
UD
46658 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46659 of constructors.
46660 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46661 of destructors.
46662 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46663
46664 [BZ #11724]
46665 * elf/Makefile: Add rules to build and run new test.
46666 * elf/tst-initorder.c: New file.
46667 * elf/tst-initorder.exp: New file.
46668 * elf/tst-initordera1.c: New file.
46669 * elf/tst-initordera2.c: New file.
46670 * elf/tst-initordera3.c: New file.
46671 * elf/tst-initordera4.c: New file.
46672 * elf/tst-initorderb1.c: New file.
46673 * elf/tst-initorderb2.c: New file.
46674 * elf/tst-order-a1.c: New file.
46675 * elf/tst-order-a2.c: New file.
46676 * elf/tst-order-a3.c: New file.
46677 * elf/tst-order-a4.c: New file.
46678 * elf/tst-order-b1.c: New file.
46679 * elf/tst-order-b2.c: New file.
46680 * elf/tst-order-main.c: New file.
46681 New test case by George Gensure <werkt0@gmail.com>.
46682
86e92359
UD
466832010-10-01 Andreas Schwab <schwab@redhat.com>
46684
46685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46686 decoding ACE if AI_CANONIDN.
46687
5d5732b0
UD
466882011-01-18 Ulrich Drepper <drepper@gmail.com>
46689
46690 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46691
a77e8cbc
UD
466922011-01-17 Ulrich Drepper <drepper@gmail.com>
46693
6392473f
UD
46694 * version.h (RELEASE): Bump for 2.13 release.
46695 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46696
620a0529
UD
46697 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46698
18ba70a5
UD
46699 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46700 MADV_NOHUGEPAGE.
32465c3e
UD
46701 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46702 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46703 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46704 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46705 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46706 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46707
c0dafcf1
UD
46708 * posix/getconf.c: Update copyright year.
46709 * catgets/gencat.c: Likewise.
46710 * csu/version.c: Likewise.
46711 * debug/catchsegv.sh: Likewise.
46712 * debug/xtrace.sh: Likewise.
46713 * elf/ldconfig.c: Likewise.
46714 * elf/ldd.bash.in: Likewise.
46715 * elf/sprof.c (print_version): Likewise.
46716 * iconv/iconv_prog.c: Likewise.
46717 * iconv/iconvconfig.c: Likewise.
46718 * locale/programs/locale.c: Likewise.
46719 * locale/programs/localedef.c: Likewise.
46720 * malloc/memusage.sh: Likewise.
46721 * malloc/mtrace.pl: Likewise.
46722 * nscd/nscd.c (print_version): Likewise.
46723 * nss/getent.c: Likewise.
46724
a77e8cbc
UD
46725 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46726 PF_CAIF, and PF_ALG.
46727 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46728
77e8bddf
AS
467292011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46730
1f20b93a
AS
46731 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46732 (modules-names): Use them.
46733 (ifunc-test-modules, ifunc-pie-tests): Define.
46734 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46735 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46736 (test-extras): Likewise.
46737 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46738 $(compile-command.c).
46739 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46740 (all-built-dso): Define.
46741 (check-textrel.out, check-execstack.out): Depend on it.
46742
77e8bddf
AS
46743 * configure.in: Don't override --enable-multi-arch.
46744
bc425b33
UD
467452011-01-15 Ulrich Drepper <drepper@gmail.com>
46746
46747 [BZ #6812]
46748 * nscd/hstcache.c (tryagain): Define.
46749 (cache_addhst): Return tryagain not notfound for temporary errors.
46750 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46751 failed.
46752
794c3ad3
UD
467532011-01-14 Ulrich Drepper <drepper@gmail.com>
46754
70181fdd
UD
46755 [BZ #10563]
46756 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46757 to make the syscall.
46758 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46759
794c3ad3
UD
46760 [BZ #12378]
46761 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46762 and fall back to matching as normal character if the string ends before
46763 the matching ']' is found. This is what POSIX requires.
46764 * posix/testfnm.c: Adjust test result.
46765 * posix/globtest.sh: Adjust test result. Add new test.
46766 * posix/tst-fnmatch.input: Likewise.
46767 * posix/tst-fnmatch2.c: Add new test.
46768
68dc9497
AS
467692010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46770
46771 * elf/Makefile (check-execstack): Revert last change. Depend on
46772 check-execstack.h.
46773 (check-execstack.h): New target.
46774 (generated): Add check-execstack.h.
46775 * elf/check-execstack.c: Include "check-execstack.h".
46776 (main): Revert last change.
46777 (handle_file): Return zero if GNU_STACK is absent and
46778 DEFAULT_STACK_PERMS doesn't include PF_X.
46779
451f001b
UD
467802011-01-13 Ulrich Drepper <drepper@gmail.com>
46781
cfa28e56
UD
46782 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46783 in child fails because the descriptor is already closed.
8cf8ce17
UD
46784 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46785 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46786 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 46787
1086d70d
UD
46788 [BZ #12397]
46789 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46790 syscall.
46791
451f001b
UD
46792 [BZ #10484]
46793 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46794 temporary buffer used to handle multi lookups locally.
a85b5cb4 46795 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 46796
08769175
UD
467972011-01-12 Ulrich Drepper <drepper@gmail.com>
46798
46799 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46800 loader is ld.so.
46801
5e49c52e
UD
468022011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46803
46804 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46805 alignment for SSE2.
46806
60522a5f
UD
468072011-01-12 Ulrich Drepper <drepper@gmail.com>
46808
46809 [BZ #12394]
46810 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46811 characters. When rounding increased number of integer digits recompute
46812 number of groups.
46813 * stdio-common/tst-grouping.c: New file.
46814 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46815
f257bbd7
UD
468162011-01-09 Ulrich Drepper <drepper@gmail.com>
46817
46818 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46819 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46820
46821 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46822 void.
46823 * bits/select.h: Likewise.
46824
fa9c15cb
UD
468252011-01-08 Ulrich Drepper <drepper@gmail.com>
46826
46827 * po/ja.po: Update from translation team.
46828
16c2895f
DM
468292011-01-04 David S. Miller <davem@sunset.davemloft.net>
46830
46831 [BZ #11155]
46832 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46833 implementation just like for lxstat, fxstatat, et al.
46834
2543fef2
JM
468352010-12-27 Jim Meyering <meyering@redhat.com>
46836
46837 [BZ #12348]
46838 * posix/regexec.c (build_trtable): Return failure indication upon
46839 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46840
98727dbe
UD
468412010-12-25 Ulrich Drepper <drepper@gmail.com>
46842
5bd6dc5c
UD
46843 [BZ #12201]
46844 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46845 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46846 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46847 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46848
97983464
UD
46849 [BZ #12207]
46850 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46851
98727dbe
UD
46852 [BZ #12204]
46853 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46854 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46855
4a531bb0
L
468562010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46857
46858 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46859 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46860 script has SORT_BY_INIT_PRIORITY.
46861 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46862 NO_CTORS_DTORS_SECTIONS is defined.
46863 * elf/soinit.c: Likewise.
46864 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46865 NO_CTORS_DTORS_SECTIONS is defined.
46866 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46867 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46868 * sysdeps/sh/init-first.c: Likewise.
46869 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46870
07eb4b71
UD
468712010-12-24 Ulrich Drepper <drepper@gmail.com>
46872
46873 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46874 always use the slow path.
46875
30950a5f
RA
468762010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46877
46878 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46879 similar rule which adds the sysdep directories to the header search in
46880 order to pick up the correct platform stackinfo.h.
46881 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46882 perform test if it is, otherwise return successfully without testing.
46883 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46884 DEFAULT_STACK_PERMS define in stackinfo.h.
46885 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46886 defined in stackinfo.h.
46887 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46888 DEFAULT_STACK_PERMS defined in stackinfo.h.
46889 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46890 * sysdeps/ia64/stackinfo.h: Likewise.
46891 * sysdeps/s390/stackinfo.h: Likewise.
46892 * sysdeps/sh/stackinfo.h: Likewise.
46893 * sysdeps/sparc/stackinfo.h: Likewise.
46894 * sysdeps/x86_64/stackinfo.h: Likewise.
46895 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46896 PF_X for powerpc64. Retain PF_X for powerpc32.
46897
db753e2c
UD
468982010-12-19 Ulrich Drepper <drepper@gmail.com>
46899
14b697f7
UD
46900 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46901 accurately.
db753e2c
UD
46902 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46903 GETDENTS_64BIT_ALIGNED.
46904
28300719
UD
469052010-12-14 Ulrich Drepper <dreper@gmail.com>
46906
14b697f7 46907 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 46908
4f197237
AS
469092010-12-10 Andreas Schwab <schwab@redhat.com>
46910
dbb0472f
AS
46911 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46912 _GNU_SOURCE.
46913
4f197237
AS
46914 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46915 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46916 Remove __restrict.
46917 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46918 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46919
fb88ac72
UD
469202010-12-09 Ulrich Drepper <drepper@gmail.com>
46921
46922 [BZ #11655]
46923 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46924 are initialized.
46925
42acbb92
JJ
469262010-12-09 Jakub Jelinek <jakub@redhat.com>
46927
46928 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46929
c038d98d
UD
469302010-12-03 Ulrich Drepper <drepper@gmail.com>
46931
46932 * po/it.po: Update from translation team.
46933
3a4a2499
L
469342010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46935
46936 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46937 unused codes.
46938
1e24cf6e
UD
469392010-11-30 Ulrich Drepper <drepper@gmail.com>
46940
46941 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46942
a7690819
AS
469432010-11-24 Andreas Schwab <schwab@redhat.com>
46944
46945 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46946 specially.
46947 (gaih_getanswer_slice): Likewise.
46948
3bf8d1b1
JJ
469492010-10-20 Jakub Jelinek <jakub@redhat.com>
46950
46951 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46952
6db52fbb
PB
469532010-05-31 Petr Baudis <pasky@suse.cz>
46954
46955 [BZ #11149]
46956 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46957 silently even in the chroot mode.
46958
eaca7569
UD
469592010-11-22 Ulrich Drepper <drepper@gmail.com>
46960
46961 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46962 last patch a bit. Pretty printing
46963
3056dcdb
UD
469642010-05-31 Petr Baudis <pasky@suse.cz>
46965
46966 [BZ #10085]
46967 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46968 initialization of skip_initgroups_dyn.
46969
cf7c9078
UD
469702010-11-19 Ulrich Drepper <drepper@gmail.com>
46971
46972 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46973 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46974
a1fb5e3e
UD
469752010-11-16 Ulrich Drepper <drepper@gmail.com>
46976
46977 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46978
3540d66b
AS
469792010-11-11 Andreas Schwab <schwab@redhat.com>
46980
46981 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46982 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46983 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46984 ($(objpfx)tst-fnmatch-mem): New rule.
46985 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46986 * posix/tst-fnmatch.c (main): Call mtrace.
46987
13b69574
L
469882010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46989
46990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46991 Support Intel processor model 6 and model 0x2c.
46992
da93d214
LM
469932010-11-10 Luis Machado <luisgpm@br.ibm.com>
46994
46995 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46996 signed comparison.
46997
8ca52c6e
L
469982010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46999
47000 [BZ #12205]
47001 * string/test-strncasecmp.c (check_result): New function.
47002 (do_one_test): Use it.
47003 (check1): New function.
47004 (test_main): Use it.
47005 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47006 Support strcasecmp and strncasecmp.
47007
69da074d
UD
470082010-11-08 Ulrich Drepper <drepper@gmail.com>
47009
47010 [BZ #12194]
47011 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47012 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47013
ff02d528
L
470142010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47015
47016 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47017 IFUNC support.
47018 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47019 memset-x86-64.
47020 * sysdeps/x86_64/multiarch/bzero.S: New file.
47021 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47022 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47023 * sysdeps/x86_64/multiarch/memset.S: New file.
47024 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47026 Set bit_Prefer_SSE_for_memop for Intel processors.
47027 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47028 Define.
47029 (index_Prefer_SSE_for_memop): Define.
47030 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47031
344d0b54
LM
470322010-11-04 Luis Machado <luisgpm@br.ibm.com>
47033
47034 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47035 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47036
c0dde15b
UD
470372010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47038
47039 [BZ #12191]
47040 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47041 (__x86_64_raw_data_cache_size_half): Likewise.
47042 (__x86_64_raw_shared_cache_size): Likewise.
47043 (__x86_64_raw_shared_cache_size_half): Likewise.
47044
47045 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47046 (__x86_64_raw_data_cache_size_half): Likewise.
47047 (__x86_64_raw_shared_cache_size): Likewise.
47048 (__x86_64_raw_shared_cache_size_half): Likewise.
47049 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47050 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47051 and __x86_64_raw_shared_cache_size_half. Round
47052 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47053 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47054 to multiple of 256 bytes.
47055
0e516e0e
MS
470562010-11-03 Ulrich Drepper <drepper@gmail.com>
47057
47058 [BZ #12167]
47059 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47060 of inacessible symlinks. Verify result of symlink before returning it.
47061 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47062 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47063
0e012e87
ER
470642010-10-28 Erich Ritz <erichritz@gmail.com>
47065
47066 * math/math.h (isinf): Fix typo in comment.
47067
de0ff7bc
UD
470682010-11-01 Ulrich Drepper <drepper@gmail.com>
47069
47070 * po/da.po: Update from translation team.
47071
fa41c84d
UD
470722010-10-26 Ulrich Drepper <drepper@gmail.com>
47073
47074 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47075 is added to the list.
47076
f0967738
AK
470772010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47078 Ulrich Drepper <drepper@gmail.com>
47079
47080 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47081 the global list here. Move code to...
47082 (_dl_add_to_namespace_list): ...here. New function.
47083 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47084 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47085 * elf/dl-load.c (lose): Don't remove the element from the list.
47086 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47087 (_dl_map_object): Likewise.
47088
470892010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
47090
47091 [BZ #12159]
47092 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47093 into all bytes of SSE register.
47094 Patch by Richard Li <richardpku@gmail.com>.
47095
f0967738 470962010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
47097
47098 [BZ #12140]
47099 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47100 perturbing.
47101
d0b9e94f
MB
471022010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47103
47104 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47105 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47106 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47107 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47109 submachine.
47110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47111
8e9f92e9
AS
471122010-10-22 Andreas Schwab <schwab@redhat.com>
47113
47114 * include/dlfcn.h (__RTLD_SECURE): Define.
47115 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47116 mode & __RTLD_SECURE instead.
47117 (open_path): Rename preloaded parameter to secure.
47118 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47119 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47120 * elf/dl-deps.c (openaux): Likewise.
47121 * elf/rtld.c (struct map_args): Remove is_preloaded.
47122 (map_doit): Don't use it.
47123 (dl_main): Likewise.
47124 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47125 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47126
bc96fbda
AS
471272010-09-09 Andreas Schwab <schwab@redhat.com>
47128
47129 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47130 (sysd-rules-targets): Remove duplicates.
47131 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47132 rtld-%.$o dependency.
47133
22cd1c9b
AS
471342010-10-18 Andreas Schwab <schwab@redhat.com>
47135
47136 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47137 _dl_map_object do it.
47138
18edac48
UD
471392010-10-19 Ulrich Drepper <drepper@gmail.com>
47140
47141 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47142 fast fma builtins, define the macros in the C99 standard.
47143 (FP_FAST_FMAF): Likewise.
47144 (FP_FAST_FMAL): Likewise.
47145 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47146
47147 * bits/mathdef.h: Update copyright year.
47148 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47149
d2050124
MM
471502010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47151
47152 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47153 builtins, define the macros in the C99 standard.
47154 (FP_FAST_FMAF): Likewise.
47155 (FP_FAST_FMAL): Likewise.
47156 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47157 multiply/add.
47158 (FP_FAST_FMAF): Likewise.
47159
475facd1
JJ
471602010-10-15 Jakub Jelinek <jakub@redhat.com>
47161
47162 [BZ #3268]
47163 * math/libm-test.inc (fma_test): Some new testcases.
47164 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47165 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47166 y and infinite z. Do multiplication by C already in long double.
47167 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47168 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47169 y and infinite z. Do bitwise or of inexact bit into u.d.
47170 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47171 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47172 * sysdeps/i386/fpu/s_fma.S: Removed.
47173 * sysdeps/i386/fpu/s_fmal.S: Removed.
47174
7c08a05c
JJ
471752010-10-16 Jakub Jelinek <jakub@redhat.com>
47176
47177 [BZ #3268]
47178 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47179 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47180 computation is not scheduled after fetestexcept. Fix value
47181 of minimum denormal long double.
47182
f3f7372d
JJ
471832010-10-14 Jakub Jelinek <jakub@redhat.com>
47184
47185 [BZ #3268]
47186 * math/libm-test.inc (fma_test): Add some more tests.
47187 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47188 correctly.
47189
14d43591
AS
471902010-10-15 Andreas Schwab <schwab@redhat.com>
47191
47192 * scripts/data/localplt-s390-linux-gnu.data: New file.
47193 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47194
5e908464
JJ
471952010-10-13 Jakub Jelinek <jakub@redhat.com>
47196
47197 [BZ #3268]
47198 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47199 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47200 instead of dbl-64.
47201 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47202 inlines.
47203 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47204 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47205 if one of x and y is very large and the other is subnormal.
47206 * sysdeps/s390/fpu/s_fmaf.c: New file.
47207 * sysdeps/s390/fpu/s_fma.c: New file.
47208 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47209 * sysdeps/powerpc/fpu/s_fma.S: New file.
47210 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47211 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47212 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47213
472142010-10-12 Jakub Jelinek <jakub@redhat.com>
47215
47216 [BZ #3268]
47217 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47218 fma tests.
47219 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47220 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47221 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47222 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47223 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47224 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47225 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47226
b833d51f
UD
472272010-10-12 Ulrich Drepper <drepper@redhat.com>
47228
47229 [BZ #12078]
47230 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47231 * posix/bug-regex31.input: Add test case.
47232
1751705d
UD
472332010-10-11 Ulrich Drepper <drepper@gmail.com>
47234
e9b9cbf5
UD
47235 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47236 * posix/bug-regex31.input: New file.
47237
47238 [BZ #12078]
47239 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47240 (parse_sub_exp): Fix last change, use postorder.
47241
ef06edbe
UD
47242 * posix/bug-regex31.c: New file.
47243 * posix/Makefile: Add rules to build and run bug-regex31.
47244
a129c80d
UD
47245 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47246
47247 [BZ #12078]
47248 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47249
b76b818e
UD
47250 [BZ #12108]
47251 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47252 to have entries in sys_siglist.
47253
1751705d
UD
47254 [BZ #12093]
47255 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47256 be NULL.
47257
9ff8d36f
JJ
472582010-10-07 Jakub Jelinek <jakub@redhat.com>
47259
47260 [BZ #3268]
47261 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47262 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47263 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47264 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47265 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47266 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47267 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47268 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47269 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47270 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47271 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47272 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47273 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47274 * math/ftestexcept.c (fetestexcept): Likewise.
47275 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47276 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47277 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47278 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47279 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47280 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47281 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47282
af325969
UD
472832010-10-11 Ulrich Drepper <drepper@gmail.com>
47284
c579b202 47285 [BZ #12107]
af325969
UD
47286 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47287 newline.
47288
67a67b95
UD
472892010-10-06 Ulrich Drepper <drepper@gmail.com>
47290
47291 * string/bug-strstr1.c: New file.
47292 * string/Makefile: Add rules to build and run bug-strstr1.
47293
5fb308bc
EB
472942010-10-05 Eric Blake <eblake@redhat.com>
47295
47296 [BZ #12092]
47297 * string/str-two-way.h (two_way_long_needle): Always clear memory
47298 when skipping input due to the shift table.
47299
45db99c7
UD
473002010-10-03 Ulrich Drepper <drepper@gmail.com>
47301
3b111893
UD
47302 [BZ #12005]
47303 * malloc/mcheck.c: Handle large requests.
47304
45db99c7
UD
47305 [BZ #12077]
47306 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47307 for strncmp and strncasecmp.
47308 * string/stratcliff.c: Add tests for strcmp and strncmp.
47309 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47310
cf7a1eb8
NI
473112010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47312
47313 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47314 __set_fpscr.
47315
6484ba5e
AJ
473162010-09-30 Andreas Jaeger <aj@suse.de>
47317
47318 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47319 (CGROUP_SUPER_MAGIC): Define.
47320 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47321 Handle btrfs and cgroup file systems.
47322 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47323 Likewise.
47324
91c42559
LM
473252010-09-27 Luis Machado <luisgpm@br.ibm.com>
47326
47327 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47328 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47329
87a97932
AK
473302010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47331
47332 [BZ #12067]
47333 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47334 trying to locate the ELF header.
47335
c21cc9bc
AS
473362010-09-27 Andreas Schwab <schwab@redhat.com>
47337
47338 [BZ #11611]
47339 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47340 Mask out sign-bit copies when constructing f_fsid.
47341
315970f6
PB
473422010-09-24 Petr Baudis <pasky@suse.cz>
47343
47344 * debug/stack_chk_fail_local.c: Add missing licence exception.
47345 * debug/warning-nop.c: Likewise.
47346
1ac7a2c7
JM
473472010-09-15 Joseph Myers <joseph@codesourcery.com>
47348
47349 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47350 implementing getdents64 using getdents syscall, set d_type if
47351 __ASSUME_GETDENTS32_D_TYPE.
47352
56801c50
AS
473532010-09-16 Andreas Schwab <schwab@redhat.com>
47354
47355 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47356 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47357
dda51327
UD
473582010-09-21 Ulrich Drepper <drepper@redhat.com>
47359
47360 [BZ #12037]
47361 * posix/unistd.h: Undo change of feature selection for ftruncate from
47362 2010-01-11.
47363
8ffcee4a
UD
473642010-09-20 Ulrich Drepper <drepper@redhat.com>
47365
a545ecd9 47366 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
47367 detection.
47368
e24f0a8b
AS
473692010-09-20 Andreas Schwab <schwab@redhat.com>
47370
47371 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47372 fanotify_mark.
47373 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47374
7291c56f
AS
473752010-09-14 Andreas Schwab <schwab@redhat.com>
47376
47377 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47378 variables after CHECK_SP call.
47379 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47380
bc5fb037
AS
473812010-09-13 Andreas Schwab <schwab@redhat.com>
47382 Ulrich Drepper <drepper@redhat.com>
47383
47384 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47385 re-relocationg ld.so.
47386 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47387 _dl_init_paths call.
47388 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47389 here anymore.
47390
e66e7419
UD
473912010-09-14 Ulrich Drepper <drepper@redhat.com>
47392
47393 * resolv/res_init.c (__res_vinit): Count the default server we added.
47394
c044aa75
CLT
473952010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47396 Ulrich Drepper <drepper@redhat.com>
47397
47398 [BZ #11968]
47399 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47400 (____longjmp_chk): Use %ebx for saving value across system call.
47401 Add unwind info.
47402
32cf4069
AS
474032010-09-06 Andreas Schwab <schwab@redhat.com>
47404
47405 * manual/Makefile: Don't mix pattern rules with normal rules.
47406
817328ee
AS
474072010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47408
47409 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47410 operation.
47411 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47412 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47413 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47414 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47415 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47416 Likewise.
47417
29fddf61
UD
474182010-09-04 Ulrich Drepper <drepper@redhat.com>
47419
47420 [BZ #11979]
47421 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47422 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47423
0959ffc9
UD
474242010-09-02 Ulrich Drepper <drepper@redhat.com>
47425
47426 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47427 * sysdeps/x86_64/addmul_1.S: Likewise.
47428 * sysdeps/x86_64/lshift.S: Likewise.
47429 * sysdeps/x86_64/mul_1.S: Likewise.
47430 * sysdeps/x86_64/rshift.S: Likewise.
47431 * sysdeps/x86_64/sub_n.S: Likewise.
47432 * sysdeps/x86_64/submul_1.S: Likewise.
47433
ece29840
ST
474342010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47435
0959ffc9
UD
47436 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47437 Define __sched_param instead of SCHED_* and sched_param when
ece29840 47438 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 47439 * bits/sched.h [__need_schedparam]
ece29840 47440 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
47441 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47442 (__defined_schedparam): Define to 1.
ece29840
ST
47443 (__sched_param): New structure, identical to sched_param.
47444 (__need_schedparam): Undefine.
47445
e53a31fe
MF
474462010-08-31 Mike Frysinger <vapier@gentoo.org>
47447
fdc0c10d
MF
47448 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47449 (epoll_create1): Declare.
47450
e53a31fe
MF
47451 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47452
a726d796
AS
474532010-08-31 Andreas Schwab <schwab@redhat.com>
47454
47455 [BZ #7066]
47456 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47457 shifting retval into place.
47458
2f3e3dc7
UD
474592010-09-01 Ulrich Drepper <drepper@redhat.com>
47460
f2933da9
UD
47461 * nis/rpcsvc/nis.h: Update copyright notice.
47462 * nis/rpcsvc/nis.x: Likewise.
47463 * nis/rpcsvc/nis_callback.h: Likewise.
47464 * nis/rpcsvc/nis_callback.x: Likewise.
47465 * nis/rpcsvc/nis_object.x: Likewise.
47466 * nis/rpcsvc/nis_tags.h: Likewise.
47467 * nis/rpcsvc/yp.h: Likewise.
47468 * nis/rpcsvc/yp.x: Likewise.
47469 * nis/rpcsvc/ypupd.h: Likewise.
47470 * nis/yp_xdr.c: Likewise.
47471 * nis/ypupdate_xdr.c: Likewise.
47472
2f3e3dc7
UD
47473 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47474 mainly the body of pmap_getport. Add parameters to specify timeouts.
47475 (pmap_getport): Use __libc_rpc_getport.
47476 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47477 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47478 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47479
f3dcc2f9
AS
474802010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47481
47482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47483 fanotify_mark.
47484
6d34eb5b
RM
474852010-08-27 Roland McGrath <roland@redhat.com>
47486
47487 * sysdeps/i386/i686/multiarch/Makefile
47488 (CFLAGS-varshift.c): New variable.
47489
9ea3de11
UD
474902010-08-27 Ulrich Drepper <drepper@redhat.com>
47491
c96d23fc
UD
47492 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47493 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47494
9ea3de11
UD
47495 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47496
47497 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47498
623aac7f
L
474992010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47500
47501 * sysdeps/x86_64/strlen.S: Unroll the loop.
47502 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47503 strlen-sse2 strlen-sse2-bsf.
47504 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47505 __strlen_no_bsf if bit_Slow_BSF is set.
47506 (__strlen_sse42): Removed.
47507 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47508 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47509
8b2b7715
RM
475102010-08-25 Roland McGrath <roland@redhat.com>
47511
47512 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47513 * sysdeps/x86_64/multiarch/varshift.c: New file.
47514 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47515 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47516 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47517 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47518
e73015f2
L
475192010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47520
47521 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47522 strlen-sse2 strlen-sse2-bsf.
47523 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47524 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47525 (__strlen_sse2): Removed.
47526 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47527 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47528 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47529 bit_Slow_BSF for Atom.
47530 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47531 (index_Slow_BSF): Define.
47532 (HAS_SLOW_BSF): Define.
47533
df24a73e
UD
475342010-08-25 Ulrich Drepper <drepper@redhat.com>
47535
47536 [BZ #10851]
47537 * resolv/res_init.c (__res_vinit): When no server address at all
47538 is given default to loopback.
47539
f2ac4868
RM
475402010-08-24 Roland McGrath <roland@redhat.com>
47541
09055553
RM
47542 * configure.in: Remove config-name.h generation.
47543 * configure: Regenerated.
47544 * config-name.in: File removed.
47545 * scripts/config-uname.sh: New file.
47546 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47547 ($(objdir)config-name.h): New target.
47548
f2ac4868
RM
47549 * sunrpc/rpc_parse.h: Avoid nested comment.
47550
73f27d5e
RH
475512010-08-24 Richard Henderson <rth@redhat.com>
47552 Ulrich Drepper <drepper@redhat.com>
47553 H.J. Lu <hongjiu.lu@intel.com>
47554
47555 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47556 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47557 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47558 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47559 _mm_alignr_epi8 with _mm_loadu_si128.
47560 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47561 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47562 (__m128i_shift_right): Removed.
47563 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47564 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47565 * sysdeps/x86_64/multiarch/varshift.h: New file.
47566 * sysdeps/x86_64/multiarch/varshift.S: New file.
47567
84b9230c
MF
475682010-08-21 Mike Frysinger <vapier@gentoo.org>
47569
47570 * configure.in: Move assembler checks to before sysdep dir checking.
47571
9bbd0ddc
PB
475722010-08-20 Petr Baudis <pasky@suse.cz>
47573
47574 * LICENSES: Sync the sunrpc license.
47575
9da4bb31
UD
475762010-08-19 Ulrich Drepper <drepper@redhat.com>
47577
a7ab6ec8
UD
47578 * sunrpc/auth_des.c: Update copyright notice once again.
47579 * sunrpc/auth_none.c: Likewise.
47580 * sunrpc/auth_unix.c: Likewise.
47581 * sunrpc/authdes_prot.c: Likewise.
47582 * sunrpc/authuxprot.c: Likewise.
47583 * sunrpc/bindrsvprt.c: Likewise.
47584 * sunrpc/clnt_gen.c: Likewise.
47585 * sunrpc/clnt_perr.c: Likewise.
47586 * sunrpc/clnt_raw.c: Likewise.
47587 * sunrpc/clnt_simp.c: Likewise.
47588 * sunrpc/clnt_tcp.c: Likewise.
47589 * sunrpc/clnt_udp.c: Likewise.
47590 * sunrpc/clnt_unix.c: Likewise.
47591 * sunrpc/des_crypt.c: Likewise.
47592 * sunrpc/des_soft.c: Likewise.
47593 * sunrpc/get_myaddr.c: Likewise.
47594 * sunrpc/getrpcport.c: Likewise.
47595 * sunrpc/key_call.c: Likewise.
47596 * sunrpc/key_prot.c: Likewise.
47597 * sunrpc/openchild.c: Likewise.
47598 * sunrpc/pm_getmaps.c: Likewise.
47599 * sunrpc/pm_getport.c: Likewise.
47600 * sunrpc/pmap_clnt.c: Likewise.
47601 * sunrpc/pmap_prot.c: Likewise.
47602 * sunrpc/pmap_prot2.c: Likewise.
47603 * sunrpc/pmap_rmt.c: Likewise.
47604 * sunrpc/rpc/auth.h: Likewise.
47605 * sunrpc/rpc/auth_unix.h: Likewise.
47606 * sunrpc/rpc/clnt.h: Likewise.
47607 * sunrpc/rpc/des_crypt.h: Likewise.
47608 * sunrpc/rpc/key_prot.h: Likewise.
47609 * sunrpc/rpc/netdb.h: Likewise.
47610 * sunrpc/rpc/pmap_clnt.h: Likewise.
47611 * sunrpc/rpc/pmap_prot.h: Likewise.
47612 * sunrpc/rpc/pmap_rmt.h: Likewise.
47613 * sunrpc/rpc/rpc.h: Likewise.
47614 * sunrpc/rpc/rpc_des.h: Likewise.
47615 * sunrpc/rpc/rpc_msg.h: Likewise.
47616 * sunrpc/rpc/svc.h: Likewise.
47617 * sunrpc/rpc/svc_auth.h: Likewise.
47618 * sunrpc/rpc/types.h: Likewise.
47619 * sunrpc/rpc/xdr.h: Likewise.
47620 * sunrpc/rpc_clntout.c: Likewise.
47621 * sunrpc/rpc_cmsg.c: Likewise.
47622 * sunrpc/rpc_common.c: Likewise.
47623 * sunrpc/rpc_cout.c: Likewise.
47624 * sunrpc/rpc_dtable.c: Likewise.
47625 * sunrpc/rpc_hout.c: Likewise.
47626 * sunrpc/rpc_main.c: Likewise.
47627 * sunrpc/rpc_parse.c: Likewise.
47628 * sunrpc/rpc_parse.h: Likewise.
47629 * sunrpc/rpc_prot.c: Likewise.
47630 * sunrpc/rpc_sample.c: Likewise.
47631 * sunrpc/rpc_scan.c: Likewise.
47632 * sunrpc/rpc_scan.h: Likewise.
47633 * sunrpc/rpc_svcout.c: Likewise.
47634 * sunrpc/rpc_tblout.c: Likewise.
47635 * sunrpc/rpc_util.c: Likewise.
47636 * sunrpc/rpc_util.h: Likewise.
47637 * sunrpc/rpcinfo.c: Likewise.
47638 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47639 * sunrpc/rpcsvc/key_prot.x: Likewise.
47640 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47641 * sunrpc/rpcsvc/mount.x: Likewise.
47642 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47643 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47644 * sunrpc/rpcsvc/rex.x: Likewise.
47645 * sunrpc/rpcsvc/rstat.x: Likewise.
47646 * sunrpc/rpcsvc/rusers.x: Likewise.
47647 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47648 * sunrpc/rpcsvc/spray.x: Likewise.
47649 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47650 * sunrpc/rtime.c: Likewise.
47651 * sunrpc/svc.c: Likewise.
47652 * sunrpc/svc_auth.c: Likewise.
47653 * sunrpc/svc_authux.c: Likewise.
47654 * sunrpc/svc_raw.c: Likewise.
47655 * sunrpc/svc_run.c: Likewise.
47656 * sunrpc/svc_simple.c: Likewise.
47657 * sunrpc/svc_tcp.c: Likewise.
47658 * sunrpc/svc_udp.c: Likewise.
47659 * sunrpc/svc_unix.c: Likewise.
47660 * sunrpc/svcauth_des.c: Likewise.
47661 * sunrpc/xcrypt.c: Likewise.
47662 * sunrpc/xdr.c: Likewise.
47663 * sunrpc/xdr_array.c: Likewise.
47664 * sunrpc/xdr_float.c: Likewise.
47665 * sunrpc/xdr_mem.c: Likewise.
47666 * sunrpc/xdr_rec.c: Likewise.
47667 * sunrpc/xdr_ref.c: Likewise.
47668 * sunrpc/xdr_sizeof.c: Likewise.
47669 * sunrpc/xdr_stdio.c: Likewise.
47670
9da4bb31
UD
47671 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47672 handling.
47673
bdaa77bc
AS
476742010-08-19 Andreas Schwab <schwab@redhat.com>
47675
47676 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47677
fe2f79db
LM
476782010-08-19 Luis Machado <luisgpm@br.ibm.com>
47679
47680 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47681 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47682 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47683 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47684 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47685 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47686 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47687 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47688 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47689 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47690 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47691 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47692 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47693 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47694
b9b42ee0
AB
476952010-07-26 Anton Blanchard <anton@samba.org>
47696
47697 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47698 * malloc/arena.c (heap_trim): Likewise.
47699
1c06ba31
UD
477002010-08-16 Ulrich Drepper <drepper@redhat.com>
47701
47702 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47703 here. Not...
47704 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47705 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47706
f8392f40
L
477072010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47708
47709 * sysdeps/i386/elf/Makefile: New file.
47710
3162f12e
AS
477112010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47712
47713 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47714 from fanotify_init.
47715 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47716 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47717
28c90b2c
UD
477182010-08-15 Ulrich Drepper <drepper@redhat.com>
47719
47720 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47721 of strncasecmp_l.
1feccb6c 47722 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 47723
ca6bb004
UD
477242010-08-14 Ulrich Drepper <drepper@redhat.com>
47725
e9f82e0d
UD
47726 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47727 strncase_l-nonascii.
47728 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47729 Add strncase_l-ssse3.
47730 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47731 * sysdeps/x86_64/strcmp.S: Likewise.
47732 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47733 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47734 * sysdeps/x86_64/strncase.S: New file.
47735 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47736 * sysdeps/x86_64/strncase_l.S: New file.
47737 * string/Makefile (strop-tests): Add strncasecmp.
47738 * string/test-strncasecmp.c: New file.
47739
47740 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47741 warning.
47742
ca6bb004
UD
47743 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47744 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47745
052fa7b3
AS
477462010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47747
47748 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47749
962dba78
UD
477502010-08-12 Ulrich Drepper <drepper@redhat.com>
47751
47752 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47753 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47754 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47755
bebff237
AM
477562010-05-01 Alan Modra <amodra@gmail.com>
47757
47758 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47759 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47760 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47761 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47762 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47763 tidying. Don't tail-call __sigjmp_save for static lib.
47764 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47765 save location.
47766 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47767 (CALL_MCOUNT): Add eh info, and nop after bl.
47768 (TAIL_CALL_SYSCALL_ERROR): New macro.
47769 (PSEUDO_RET): Use it.
47770 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47771 Correct save location of integer regs and cr.
47772 (_dl_profile_resolve): Correct cr save location. Delete nops
47773 after bl when SHARED. Reduce cfi size a little by better
47774 placement of cfi directives.
47775 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47776 make a stack frame. Instead use parm save area as a temp.
47777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47778 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47780 Don't make a stack frame for parent, use parm save area.
47781 Increase child stack frame to 112 bytes. Don't save unused reg,
47782 and adjust reg usage. Set up cfi on error recovery and
47783 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47785 (__makecontext): Add dummy nop after jump to exit.
47786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47787 Use correct parm save area and cr save, reduce stack frame.
47788 Correct cfi for possible PSEUDO_RET frame setup.
47789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47790 Branch to local label emitted by PSEUDO_RET rather than
47791 __syscall_error.
47792
02637374
AS
477932010-08-12 Andreas Schwab <schwab@redhat.com>
47794
47795 [BZ #11904]
47796 * locale/programs/locale.c (print_assignment): New function.
47797 (show_locale_vars): Use it.
47798
c3e2f19b
UD
477992010-08-11 Ulrich Drepper <drepper@redhat.com>
47800
3cdaa6ad
UD
47801 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47802 field.
47803 (struct statfs64): Likewise.
47804 (_STATFS_F_FLAGS): Define.
47805 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47806 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47807 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47808 (ST_VALID): Define locally.
47809 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47810 __statvfs_getflags, use the provided value.
47811 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47812 __ASSUME_STATFS_F_FLAGS.
47813
754f7da3
UD
47814 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47815
10b3bedc
UD
47816 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47817 Add sys/fanotify.h.
47818 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47819 fanotify_mask for GLIBC_2.13.
47820 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47821 fanotify_init and fanotify_mark.
47822 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47823 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47824
c08fb0d7
UD
47825 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47826 Add prlimit.
47827 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47828 prlimit64 for GLIBC_2.13.
47829 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47830 prlimit64.
47831 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47832 syscall.
47833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47834 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47835 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47836 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47837 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47838 add prlimit alias.
47839 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47840
15bac72b
UD
47841 [BZ #11903]
47842 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47843 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47844
c3e2f19b
UD
47845 * nss/Makefile: Add rules to build and run tst-nss-test1.
47846 * shlib-versions: Add entry for libnss_test1.
47847 * nss/nss_test1.c: New file.
47848 * nss/tst-nss-test1.c: New file.
47849
47850 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47851 (__nss_configure_lookup): Set appropriate entry in
47852 __nss_configure_lookup to true.
47853 * nss/nsswitch.h: Define enum with indeces of databases in
47854 databases and __nss_database_custom arrays. Declare
47855 __nss_database_custom.
47856 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47857 to avoid using nscd when custom rules are installed.
47858 * nss/getXXbyYY_r.c: Likewise.
47859 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47860
47861 * nss/nss_files/files-parse.c: Whitespace fixes.
47862
f15ce4d8
UD
478632010-08-09 Ulrich Drepper <drepper@redhat.com>
47864
47865 [BZ #11883]
47866 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47867 * posix/fnmatch_loop.c: Likewise.
47868
d22e4cc9
AK
478692010-07-17 Andi Kleen <ak@linux.intel.com>
47870
47871 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47872 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47873 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47874 * Versions.def [GLIBC_2.13]: Add.
47875
805bc17d
UD
478762010-08-06 Ulrich Drepper <drepper@redhat.com>
47877
47878 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47879 Also fail if tpwd after pwuid call is NULL.
47880
5a42321d
ST
478812010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47882
47883 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47884 when converting to ms.
47885
fd3ebeda
ST
478862010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47887
47888 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47889 EOPNOTSUPP errors with ENOTTY.
47890 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47891 EOPNOTSUPP errors with ENOTTY.
47892
73507d3a
UD
478932010-07-31 Ulrich Drepper <drepper@redhat.com>
47894
47895 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47896 Add strcasecmp_l-ssse3.
47897 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47898 strcasecmp.
47899 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47900 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47901 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47902
fe36dd02
UD
479032010-07-30 Ulrich Drepper <drepper@redhat.com>
47904
66f6765a
UD
47905 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47906
42e08a54
UD
47907 * string/Makefile (strop-tests): Add strcasecmp.
47908 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47909 strcasecmp_l-nonascii.
47910 (gen-as-const-headers): Add locale-defines.sym.
47911 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47912 * sysdeps/x86_64/strcasecmp.S: New file.
47913 * sysdeps/x86_64/strcasecmp_l.S: New file.
47914 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47915 * sysdeps/x86_64/locale-defines.sym: New file.
47916 * string/test-strcasecmp.c: New file.
47917
fe36dd02
UD
47918 * string/test-strcasestr.c: Test both ends of the range of characters.
47919 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47920
48cbc0d6
RM
479212010-07-29 Roland McGrath <roland@redhat.com>
47922
76e6d6bc 47923 [BZ #11856]
48cbc0d6
RM
47924 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47925
880113d9
UD
479262010-07-27 Ulrich Drepper <drepper@redhat.com>
47927
47928 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47929 for ld.so.
47930
deb9cabb
AS
479312010-07-27 Andreas Schwab <schwab@redhat.com>
47932
47933 * manual/memory.texi (Malloc Tunable Parameters): Document
47934 M_PERTURB.
47935
1c7570ff
RM
479362010-07-26 Roland McGrath <roland@redhat.com>
47937
47938 [BZ #11840]
47939 * configure.in (-fgnu89-inline check): Set and substitute
47940 gnu89_inline, not libc_cv_gnu89_inline.
47941 * configure: Regenerated.
47942 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47943
24fb0f88
UD
479442010-07-26 Ulrich Drepper <drepper@redhat.com>
47945
47946 * string/test-strnlen.c: New file.
47947 * string/Makefile (strop-tests): Add strnlen.
47948 * string/tester.c (test_strnlen): Add a few more test cases.
47949 * string/tst-strlen.c: Better error reporting.
47950
47951 * sysdeps/x86_64/strnlen.S: New file.
47952
8e96b93a
UD
479532010-07-24 Ulrich Drepper <drepper@redhat.com>
47954
47955 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47956 lower-latency instructions.
47957
dbc676d4
UD
479582010-07-23 Ulrich Drepper <drepper@redhat.com>
47959
47960 * string/test-strcasestr.c: New file.
47961 * string/test-strstr.c: New file.
47962 * string/Makefile (strop-tests): Add strstr and strcasestr.
47963 * string/str-two-way.h: Don't undefine MAX.
47964 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47965
f6a31e0e
AS
479662010-07-21 Andreas Schwab <schwab@redhat.com>
47967
47968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47969 strcasestr-nonascii.
47970 (CFLAGS-strcasestr-nonascii.c): Define.
47971 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47972 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47973 Remove unused attribute.
47974
5dbc3b6c
RM
479752010-07-20 Roland McGrath <roland@redhat.com>
47976
47977 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47978 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47979 ld.so.cache was broken. With it, there is no way to disable dsocaps
47980 like LD_HWCAP_MASK can disable hwcaps.
47981
23d101d8
EPM
479822010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47983
47984 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47985
cc9f2e47
UD
479862010-07-16 Ulrich Drepper <drepper@redhat.com>
47987
47988 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47989 call in strcasestr.
47990 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47991 __strcasestr_sse42_nonascii.
47992 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47993 strcasestr-nonascii.c.
47994 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47995
77c1b069
LM
479962010-06-15 Luis Machado <luisgpm@br.ibm.com>
47997
47998 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47999 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48000 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48001 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48002
440566c3
UD
480032010-07-09 Ulrich Drepper <drepper@redhat.com>
48004
48005 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48006 fcntl.
48007
5be9d05d
AS
480082010-07-06 Andreas Schwab <schwab@redhat.com>
48009
c30b7ee2 48010 [BZ #11577]
5be9d05d
AS
48011 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48012 dl_signal_cerror.
48013
8a492a67
UD
480142010-07-06 Ulrich Drepper <drepper@redhat.com>
48015
48016 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48017 _PC_PIPE_BUF using F_GETPIPE_SZ.
48018
713df3d5
RM
480192010-07-05 Roland McGrath <roland@redhat.com>
48020
48021 * manual/arith.texi (Rounding Functions): Fix rint description
48022 implicit in round description.
48023
702e8f14
UD
480242010-07-02 Ulrich Drepper <drepper@redhat.com>
48025
48026 * elf/Makefile: Fix linking for a few tests to make recent linker
48027 happy.
48028
52ed8be9
AS
480292010-06-30 Andreas Schwab <schwab@redhat.com>
48030
48031 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48032 $(common-objpfx)libc_nonshared.a.
48033
f47c9a11
LM
480342010-06-21 Luis Machado <luisgpm@br.ibm.com>
48035
48036 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48037 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48038 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48039 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48040 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48041 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48042 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48043 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48058 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48059 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48060 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48061 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48062 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48063 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48064 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48065 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48066 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48067 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48068 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48069 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48084
6fb8cbcb
L
480852010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48086
48087 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48088 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48089 * string/memmove.c (memmove): Renamed to ...
48090 (MEMMOVE): ...this. Default to memmove.
48091 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48092 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48093 (END_CHK): Define.
48094 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48095 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48096 mempcpy-ssse3-back memmove-ssse3-back.
48097 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48098 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48099 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48100 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48101 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48102 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48103 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48104 * sysdeps/x86_64/multiarch/memmove.c: New file.
48105 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48106 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48107 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48108 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48109 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48110 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48111 Define.
48112 (index_Fast_Copy_Backward): Define.
48113 (HAS_ARCH_FEATURE): Define.
48114 (HAS_FAST_REP_STRING): Define.
48115 (HAS_FAST_COPY_BACKWARD): Define.
48116
4e733bac 481172010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
48118
48119 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48120 Restore proper fallback handling.
48121
63c4ed22
UD
481222010-06-19 Ulrich Drepper <drepper@redhat.com>
48123
ac2b484c
UD
48124 [BZ #11701]
48125 * posix/group_member.c (__group_member): Correct checking loop.
48126
63c4ed22
UD
48127 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48128 OOM in getpwuid_r correctly. Return error number when the caller
48129 should return, otherwise -1.
48130 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48131 call returning > 0 value.
48132 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48133
765ade4b
AS
481342010-06-07 Andreas Schwab <schwab@redhat.com>
48135
48136 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48137 libc_nonshared.a from targets in modules-names.
48138
80da2e09
KS
481392010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48140
48141 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48142 requires it.
48143
158db122
LM
481442010-06-10 Luis Machado <luisgpm@br.ibm.com>
48145
48146 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48147 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48148 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48149 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48150
caa78cf8
AS
481512010-06-02 Andreas Schwab <schwab@redhat.com>
48152
48153 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48154
b2ef2c01
UD
481552010-06-14 Ulrich Drepper <drepper@redhat.com>
48156
48157 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48158 and F_GETPIPE_SZ.
48159 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48160 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48161 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48162 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48163 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48164 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48165
fbd643b6
RM
481662010-06-14 Roland McGrath <roland@redhat.com>
48167
48168 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48169
f32f2869
JJ
481702010-06-07 Jakub Jelinek <jakub@redhat.com>
48171
48172 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48173 __REDIRECT followed by __THROW.
48174 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48175 * posix/getopt.h (getopt): Likewise.
48176
2a50c078
EPM
481772010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48178
48179 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48180 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48181 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48182 in AT_FLAGS.
48183 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48184 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48185
eb5ad2eb
LM
481862010-05-28 Luis Machado <luisgpm@br.ibm.com>
48187
48188 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48189
3c88fe1e
L
481902010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48191
48192 [BZ #11640]
48193 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48194 Properly check family and model.
48195
d2f73151
TY
481962010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48197
48198 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48199
ebd2e13d
LM
482002010-05-24 Luis Machado <luisgpm@br.ibm.com>
48201
48202 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48203
b32b8b45
UD
482042010-05-21 Ulrich Drepper <drepper@redhat.com>
48205
48206 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48207 symbol reference.
48208
9acbe24d
AS
482092010-05-19 Andreas Schwab <schwab@redhat.com>
48210
48211 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48212 symbol reference.
48213
f0ccf6ea
AS
482142010-05-21 Andreas Schwab <schwab@redhat.com>
48215
3d04ff3a
AS
48216 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48217 and internal_recvmmsg.
48218 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48219 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48220 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48221 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48222
f0ccf6ea
AS
48223 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48224 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48225 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48226
5b08ac57
AS
482272010-05-20 Andreas Schwab <schwab@redhat.com>
48228
48229 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48230
4828935d
LM
482312010-05-17 Luis Machado <luisgpm@br.ibm.com>
48232
48233 POWER7 optimizations.
48234 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48235 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48236
373d545e
UD
482372010-05-19 Ulrich Drepper <drepper@redhat.com>
48238
48239 * version.h: Update for 2.13 development version.
48240
21a2b1ae
AS
482412010-05-12 Andrew Stubbs <ams@codesourcery.com>
48242
48243 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48244 exceptions. Return 0.
48245
3f7dcb2b
RM
482462010-05-07 Roland McGrath <roland@redhat.com>
48247
48248 * elf/ldconfig.c (main): Add a const.
48249
5f24d53a 482502010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 48251
a160f8d8
UD
48252 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48253 (args_options): Add no-idn option.
48254 (ahosts_keys_int): Add idn_flags to ai_flags.
48255 (parse_option): Handle 'i' option to clear idn_flags.
48256
5f24d53a
UD
48257 * malloc/malloc.c (_int_free): Possible race in the most recently
48258 added check. Only act on the data if no current modification
48259 happened.
265bb1ce
UD
48260
48261See ChangeLog.17 for earlier changes.