1 2014-06-27 Joseph Myers <joseph@codesourcery.com>
3 * configure.ac (libc_commonpagesize): Remove variable.
4 (libc_relro_required): Likewise.
5 (libc_cv_z_relro): Remove configure test.
6 * configure: Regenerated.
7 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9 (libc_relro_required): Likewise.
10 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
11 (libc_relro_required): Likewise.
12 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13 (libc_relro_required): Likewise.
14 * sysdeps/arm/preconfigure: Regenerated.
15 * sysdeps/ia64/preconfigure: Remove file.
16 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
18 (libc_relro_required): Likewise.
22 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
23 (__ieee754_yn): Set FE_TONEAREST mode internally and then
24 recompute overflowing results in original rounding mode.
25 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
26 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
27 recompute overflowing results in original rounding mode.
28 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
29 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30 recompute overflowing results in original rounding mode.
31 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
32 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33 recompute overflowing results in original rounding mode.
34 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
35 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
36 recompute overflowing results in original rounding mode.
37 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
38 (libc_feholdsetround_ctx): New macro.
39 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
40 * sysdeps/i386/fpu/libm-test-ulps: Update.
41 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
43 2014-06-26 Joseph Myers <joseph@codesourcery.com>
45 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
46 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
47 corresponding .cpsetup call.
49 2014-06-26 Roland McGrath <roland@hack.frob.com>
51 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
52 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
53 * sysdeps/arm/Makefile [$(subdir) = csu]
54 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
55 (static-only-routines): Add aeabi_read_tp here.
56 (shared-only-routines): Add libc-aeabi_read_tp here.
57 (CFLAGS-libc-start.c): Add -fexceptions here.
58 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
59 (sysdep_routines, static-only-routines, shared-only-routines):
60 Don't add to these here.
61 (CFLAGS-libc-start.c): Likewise.
63 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
64 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
65 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
66 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
67 * sysdeps/arm/Makefile [$(subdir) = rt]
68 (librt-sysdep_routines, librt-shared-only-routines):
69 Append rt-aeabi_unwind_cpp_pr1 here.
70 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
71 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
72 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
73 (libpthread-sysdep_routines, libpthread-shared-only-routines):
74 Append nptl-aeabi_unwind_cpp_pr1 here.
75 (tests): Filter out tst-cleanupx4 here.
76 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
77 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
80 2014-06-26 Joseph Myers <joseph@codesourcery.com>
82 * scripts/list-sources.sh: Do not handle ports specially.
84 2014-06-26 Roland McGrath <roland@hack.frob.com>
86 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
87 * sysdeps/arm/feupdateenv.c: Likewise.
89 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
91 2014-06-26 Joseph Myers <joseph@codesourcery.com>
93 * manual/texinfo.tex: Update to version 2014-05-05.10 with
94 trailing whitespace removed.
95 * scripts/config.guess: Update to version 2014-03-23.
96 * scripts/config.sub: Update to version 2014-05-01
97 * scripts/install-sh: Update to version 2013-12-25.23.
98 * scripts/move-if-change: Update from gnulib.
100 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
102 * debug/memmove_chk.c: Remove pagecopy.h include.
104 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
106 * time/mktime.c (leapyear): Remove inline keyword. The code is now
107 identical to gnulib mktime.
109 2014-06-26 Joseph Myers <joseph@codesourcery.com>
111 * configure.ac: Do not test for machine being rs6000. Do not test
113 * configure: Regenerated.
115 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
117 * configure: Regenerated.
118 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
119 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
120 Remove configure test.
121 * sysdeps/arm/configure: Regenerated.
122 * sysdeps/nptl/configure.ac: Do not check
123 libc_cv_asm_cfi_directives.
124 * sysdeps/nptl/configure: Regenerated.
125 * sysdeps/x86_64/nptl/configure.ac: Remove file.
126 * sysdeps/x86_64/nptl/configure: Remove generated file.
127 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
129 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
131 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
133 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
134 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
135 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
138 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
139 instead of whether it is defined.
140 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
141 * sysdeps/hppa/dl-machine.h: Likewise.
142 * sysdeps/ia64/dl-machine.h: Likewise.
143 * sysdeps/m68k/dl-machine.h: Likewise.
144 * sysdeps/microblaze/dl-machine.h: Likewise.
145 * sysdeps/mips/dl-machine.: Likewise.
146 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
147 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
148 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
149 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
150 * sysdeps/sh/dl-machine.h: Likewise.
151 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
152 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
153 * sysdeps/tile/dl-machine.h: Likewise.
154 * sysdeps/x86_64/dl-machine.h: Likewise.
156 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
158 (verify_persistent_db): Likewise.
160 2014-06-26 Roland McGrath <roland@hack.frob.com>
162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
163 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
165 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
168 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
171 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
173 Identical file removed.
174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
175 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
177 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
179 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
181 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
183 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
186 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
188 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
190 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
193 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
195 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
197 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
199 Identical file removed.
200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
201 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
203 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
206 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
209 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
211 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
213 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
215 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
217 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
220 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
223 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
225 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
228 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
230 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
232 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
234 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
235 * sysdeps/unix/sysv/linux/s390/Versions
236 (libpthread: GLIBC_2.19): New version set.
237 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
238 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
239 (librt: GLIBC_2.3.3): New version set.
240 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
241 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
242 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
243 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
244 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
245 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
246 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
247 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
248 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
249 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
250 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
251 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
252 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
253 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
254 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
255 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
256 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
257 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
258 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
259 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
260 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
261 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
262 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
263 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
264 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
265 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
266 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
267 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
268 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
269 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
270 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
271 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
272 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
273 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
274 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
275 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
276 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
277 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
278 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
279 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
280 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
281 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
282 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
283 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
284 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
286 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
287 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
288 (__libc_vfork): Define the function under this name.
289 [!NOT_IN_libc] (__vfork): Make this an alias.
290 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
291 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
292 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
293 (__libc_vfork): Define the function under this name.
294 [!NOT_IN_libc] (__vfork): Make this an alias.
295 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
296 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
297 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
298 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
299 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
300 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
302 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
303 code that was previously under [RESET_PID].
304 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
305 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
306 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
308 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
309 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
310 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
311 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
312 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
313 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
314 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
315 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
316 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
317 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
318 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
320 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
321 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
322 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
323 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
324 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
325 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
326 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
327 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
328 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
329 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
330 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
331 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
332 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
333 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
334 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
335 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
336 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
337 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
338 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
339 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
340 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
341 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
342 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
343 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
344 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
345 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
346 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
347 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
348 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
350 2014-06-25 Roland McGrath <roland@hack.frob.com>
352 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
353 that was previously under [RESET_PID].
354 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
356 2014-06-25 Joseph Myers <joseph@codesourcery.com>
358 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
359 not undefine and redefine.
360 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
361 [O_CLOEXEC]: Make code unconditional.
362 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
363 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
365 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
366 conditional variable definition.
367 (shm_open) [O_CLOEXEC]: Make code unconditional.
368 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
371 * configure.ac (USE_REGPARMS): Don't define here.
372 * configure: Regenerated.
373 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
374 * sysdeps/i386/configure: Regenerated.
376 * nptl/createthread.c: Don't include kernel-features.h.
377 * nptl/pthread_cancel.c: Likewise.
378 * nptl/pthread_condattr_setclock.c: Likewise.
379 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
380 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
381 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
382 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
383 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
384 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
385 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
386 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
387 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
388 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
389 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
390 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
391 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
392 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
393 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
394 * nscd/gai.c: Likewise.
395 * nss/nss_db/db-open.c: Likewise.
396 * sysdeps/generic/ldsodefs.h: Likewise.
397 * sysdeps/sh/nptl/tls.h: Likewise.
398 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
399 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
400 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
401 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
402 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
403 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
404 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
405 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
406 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
407 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
408 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
409 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
410 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
411 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
412 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
413 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
414 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
415 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
416 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
417 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
418 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
419 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
420 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
421 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
422 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
423 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
424 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
425 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
426 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
427 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
428 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
429 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
430 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
431 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
432 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
433 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
434 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
435 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
436 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
437 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
438 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
439 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
440 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
441 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
442 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
443 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
444 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
445 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
446 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
447 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
448 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
449 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
450 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
451 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
452 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
453 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
454 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
455 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
478 * sysdeps/unix/sysv/linux/pread.c: Likewise.
479 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
480 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
481 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
482 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
483 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
484 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
485 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
486 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
487 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
488 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
489 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
490 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
491 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
492 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
493 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
494 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
495 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
496 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
497 * sysdeps/unix/sysv/linux/system.c: Likewise.
498 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
499 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
500 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
501 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
502 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
503 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
504 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
506 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
507 * configure: Regenerated.
508 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
510 * configure.ac (base_machine): Do not set specially for particular
512 * configure: Regenerated.
513 * sysdeps/powerpc/preconfigure: Move machine and base_machine
514 settings from configure.ac.
515 * sysdeps/i386/preconfigure: New file.
516 * sysdeps/s390/preconfigure: Likewise.
517 * sysdeps/sh/preconfigure: Likewise.
518 * sysdeps/sparc/preconfigure: Likewise.
520 2014-06-25 Roland McGrath <roland@hack.frob.com>
522 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
523 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
524 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
525 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
526 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
527 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
528 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
529 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
530 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
531 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
532 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
533 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
534 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
535 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
536 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
537 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
538 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
539 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
540 * sysdeps/sparc/sparc64/Makefile: ... appended here.
542 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
543 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
544 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
545 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
546 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
547 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
548 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
549 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
550 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
551 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
552 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
553 * sysdeps/sparc/sparc32/sem_post.c: ... here.
554 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
555 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
556 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
557 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
558 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
559 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
560 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
561 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
562 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
563 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
564 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
565 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
566 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
567 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
568 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
569 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
570 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
571 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
572 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
573 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
574 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
575 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
576 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
577 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
578 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
579 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
582 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
584 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
587 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
590 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
592 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
595 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
597 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
599 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
601 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
604 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
607 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
609 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
612 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
614 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
616 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
618 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
620 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
623 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
626 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
628 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
631 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
633 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
635 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
637 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
640 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
643 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
645 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
648 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
650 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
652 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
654 2014-06-25 Joseph Myers <joseph@codesourcery.com>
656 * timezone/checktab.awk: Update from tzcode 2014e.
657 * timezone/private.h: Likewise.
658 * timezone/tzfile.h: Likewise.
659 * timezone/zdump.c: Likewise.
660 * timezone/zic.c: Likewise.
662 * sysdeps/unix/sysv/linux/kernel-features.h
663 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
664 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
665 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
666 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
667 Remove conditional code.
669 2014-06-25 Will Newton <will.newton@linaro.org>
671 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
672 (_dl_arm_cap_flags): Add HWCAP2 values.
673 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
674 (_DL_HWCAP_COUNT): Increase to 37.
675 (_DL_HWCAP_LAST): New define.
676 (_DL_HWCAP2_LAST): New define.
677 (_dl_procinfo): Add support for printing
679 (_dl_string_hwcap): Use _dl_hwcap_string.
681 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
685 2014-06-25 Joseph Myers <joseph@codesourcery.com>
687 * README: Do not mention ports directory.
689 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
691 * sysdeps/unix/sysv/linux/futimes.c: Do not include
693 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
694 conditional variable definition.
695 (__futimes): Update comment.
696 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
697 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
700 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
701 arguments close to 0.
702 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
704 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
706 * math/auto-libm-test-in: Add more tests of exp10.
707 * math/auto-libm-test-out: Regenerated.
708 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
710 * sysdeps/unix/sysv/linux/kernel-features.h
711 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
712 * sysdeps/unix/sysv/linux/readv.c: Do not include
714 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
715 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
716 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
718 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
720 * sysdeps/unix/sysv/linux/writev.c: Do not include
722 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
723 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
724 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
726 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
729 2014-06-25 Will Newton <will.newton@linaro.org>
731 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
732 comment changes throughout the file. Remove checks
733 for HAVE_*_H definitions that are not required.
734 (__gen_tempname): Call abort if an unknown kind value is
737 2014-06-25 Andreas Schwab <schwab@suse.de>
740 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
741 scalbln, scalblnf, scalblnl in libc.
743 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
746 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
747 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
748 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
750 2014-06-24 Roland McGrath <roland@hack.frob.com>
752 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
753 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
754 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
755 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
757 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
758 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
760 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
761 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
762 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
763 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
764 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
765 * sysdeps/x86/bits/pthreadtypes.h: ... here.
766 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
767 * sysdeps/x86/bits/semaphore.h: ... here.
768 * sysdeps/x86/nptl/elide.h: Moved ...
769 * sysdeps/x86/elide.h: ... here.
770 * sysdeps/x86_64/nptl/Implies: File removed.
771 * sysdeps/i386/nptl/Implies: File removed.
773 2014-06-24 Joseph Myers <joseph@codesourcery.com>
776 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
777 return the argument for normal arguments with exponent below -64.
778 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
780 * math/auto-libm-test-in: Add another test of expm1.
781 * math/auto-libm-test-out: Regenerated.
784 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
785 calling __erfcl for arguments at least 16.
786 * math/auto-libm-test-in: Add more tests of erf.
787 * math/auto-libm-test-out: Regenerated.
789 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
790 individual architectures.
791 * sysdeps/unix/sysv/linux/configure: Regenerated.
792 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
793 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
794 * sysdeps/unix/sysv/linux/powerpc/configure.ac
795 (ldd_rewrite_script): Define variable.
796 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
801 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
802 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
803 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
804 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
805 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
806 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
807 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
808 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
810 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
813 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
814 Rename member __data.d to __data.__elision_data.
816 2014-06-24 Wilco <wdijkstr@arm.com>
818 * NEWS: Add 16918 to fixed bug list.
820 2014-06-24 Wilco <wdijkstr@arm.com>
822 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
824 2014-06-24 Wilco <wdijkstr@arm.com>
826 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
827 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
828 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
829 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
830 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
831 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
832 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
835 2014-06-24 Wilco <wdijkstr@arm.com>
837 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
839 2014-06-24 Wilco <wdijkstr@arm.com>
841 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
842 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
843 * sysdeps/arm/fesetround.c (fesetround): Remove space.
844 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
846 2014-06-24 Wilco <wdijkstr@arm.com>
849 * sysdeps/arm/feupdateenv.c (feupdateenv):
850 Rewrite to reduce FPSCR accesses and fix return value.
852 2014-06-24 Wilco <wdijkstr@arm.com>
854 * sysdeps/arm/fclrexcpt.c (feclearexcept):
855 Optimize to avoid unnecessary FPSCR writes.
856 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
857 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
858 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
859 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
861 2014-06-24 Wilco <wdijkstr@arm.com>
863 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
864 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
865 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
866 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
867 Call libc_fetestexcept_vfp.
868 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
869 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
870 __SOFTFP__ ifdef so that they can be built for softfp.
872 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
874 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
875 argument type signed char.
877 * Makerules (check-abi): Dump diff of symlist if the test
880 2014-06-23 Roland McGrath <roland@hack.frob.com>
882 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
885 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
886 Remove unused variable ST.
888 2014-06-23 Joseph Myers <joseph@codesourcery.com>
892 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
893 small arguments before calling __expm1.
894 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
895 small arguments before calling __expm1f.
896 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
897 small arguments before calling __expm1l.
898 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
900 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
901 * math/auto-libm-test-in: Add more cosh tests. Do not allow
902 spurious underflow for some cosh tests.
903 * math/auto-libm-test-out: Regenerated.
904 * sysdeps/i386/fpu/libm-test-ulps: Update.
907 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
908 (__ieee754_y1): Set errno if return value overflows.
909 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
910 (__ieee754_y1f): Set errno if return value overflows.
911 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
912 (__ieee754_y1l): Set errno if return value overflows.
913 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
914 (__ieee754_y1l): Set errno if return value overflows.
915 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
916 * math/auto-libm-test-out: Regenerated.
918 * math/gen-auto-libm-tests.c: Document use of
919 ignore-zero-inf-sign.
920 (input_flag_type): Add value flag_ignore_zero_inf_sign.
921 (input_flags): Add ignore-zero-inf-sign.
922 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
923 * math/gen-libm-test.pl (generate_testfile): Handle
924 ignore-zero-inf-sign.
925 * math/auto-libm-test-in: Mark some cpow tests with
926 ignore-zero-inf-sign and some with xfail-rounding.
927 * math/auto-libm-test-out: Regenerated.
928 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
929 * sysdeps/i386/fpu/libm-test-ulps: Update.
930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
933 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
934 overflowing or underflowing operations take place with sign of
936 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
937 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
938 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
939 (__ieee754_pow): Recompute overflowing and underflowing results in
940 original rounding mode.
941 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
942 (__powl_helper): Allow negative argument X and scale negated value
943 as needed. Avoid passing value outside [-1, 1] to f2xm1.
944 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
945 overflowing or underflowing operations take place with sign of
947 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
949 * math/auto-libm-test-in: Add more tests of pow.
950 * math/auto-libm-test-out: Regenerated.
951 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
952 (pow_tonearest_test_data): Remove.
953 (pow_test_tonearest): Likewise.
954 (pow_towardzero_test_data): Likewise.
955 (pow_test_towardzero): Likewise.
956 (pow_downward_test_data): Likewise.
957 (pow_test_downward): Likewise.
958 (pow_upward_test_data): Likewise.
959 (pow_test_upward): Likewise.
960 (main): Don't call removed functions.
961 * sysdeps/i386/fpu/libm-test-ulps: Update.
962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
964 2014-06-23 Roland McGrath <roland@hack.frob.com>
966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1140 2014-06-23 Will Newton <will.newton@linaro.org>
1141 Wilco <wdijkstr@arm.com>
1143 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1144 implementation. Include get-rounding-mode.h.
1145 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1146 [!libc_feholdsetround_noex_ctx]: Define
1147 libc_feholdsetround_noex_ctx.
1148 [!libc_feholdsetround_noexf_ctx]: Define
1149 libc_feholdsetround_noexf_ctx.
1150 [!libc_feholdsetround_noexl_ctx]: Define
1151 libc_feholdsetround_noexl_ctx.
1152 (libc_feholdsetround_ctx): New function.
1153 (libc_feresetround_ctx): New function.
1154 (libc_feholdsetround_noex_ctx): New function.
1155 (libc_feresetround_noex_ctx): New function.
1157 2014-06-23 Roland McGrath <roland@hack.frob.com>
1159 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1160 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1161 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1162 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1163 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1164 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1166 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1167 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1168 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1169 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1170 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1171 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1172 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1173 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1174 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1175 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1176 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1178 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1180 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1181 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1182 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1183 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1184 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1186 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1187 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1188 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1189 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1190 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1191 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1192 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1193 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1195 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1196 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1198 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1199 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1200 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1201 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1203 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1204 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1205 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1206 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1207 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1208 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1209 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1210 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1211 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1212 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1214 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1216 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1217 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1218 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1219 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1220 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1221 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1222 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1223 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1224 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1225 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1226 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1227 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1228 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1230 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1231 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1232 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1233 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1234 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1235 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1237 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1238 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1239 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1240 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1241 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1243 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1244 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1245 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1246 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1247 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1248 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1249 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1250 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1251 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1252 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1253 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1254 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1255 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1256 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1257 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1258 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1259 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1260 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1261 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1262 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1263 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1264 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1265 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1266 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1267 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1268 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1269 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1270 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1272 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1274 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1275 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1276 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1277 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1278 (IPV6_PMTUDISC_INTERFACE): Likewise.
1279 (IPV6_PMTUDISC_OMIT): Likewise.
1281 2014-06-23 Andreas Schwab <schwab@suse.de>
1283 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1284 Remove unused errout label.
1286 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1288 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1289 macro: hardware supports Vector Crypto instructions.
1291 2014-06-23 Will Newton <will.newton@linaro.org>
1293 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1294 rather than __builtin_expect.
1296 * elf/dl-lookup.c (undefined_msg): Remove variable.
1297 (_dl_lookup_symbol_x): Replace undefined_msg with string
1300 * elf/dl-lookup.c (do_lookup_unique): New function.
1301 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1302 to a separate function.
1304 2014-06-23 Andreas Schwab <schwab@suse.de>
1307 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1308 before reading the next line.
1310 2014-06-23 Will Newton <will.newton@linaro.org>
1312 * test-skeleton.c (signal_handler): Use printf and %m
1313 rather than perror. Use printf rather than fprintf to
1314 stderr. Use puts rather than fputs to stderr.
1317 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1319 * nscd/nscd.c (thread_info_t): Remove typedef.
1320 (thread_info): Remove variable.
1322 2014-06-21 Allan McRae <allan@archlinux.org>
1324 * NEWS: Mention CVE-2014-4043.
1326 2014-06-20 Roland McGrath <roland@hack.frob.com>
1328 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1329 * nptl/smp.h: ... here.
1331 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1333 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1334 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1335 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1336 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1338 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1339 * nptl/stack-aliasing.h: New file.
1340 * sysdeps/i386/i686/stack-aliasing.h: New file.
1341 * sysdeps/i386/i686/nptl/Makefile: File removed.
1342 * sysdeps/x86_64/stack-aliasing.h: New file.
1343 * sysdeps/x86_64/nptl/Makefile
1344 (CFLAGS-pthread_create.c): Variable removed.
1346 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1347 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1349 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1350 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1353 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1355 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1356 (__ASSUME_SIGFRAME_V2): Remove macro.
1357 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1358 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1359 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1360 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1361 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1362 Declare as function. Remove conditional macro definitions.
1363 (__default_rt_sa_restorer): Likewise.
1364 (__default_sa_restorer_v1): Remove declaration.
1365 (__default_sa_restorer_v2): Likewise.
1366 (__default_rt_sa_restorer_v1): Likewise.
1367 (__default_rt_sa_restorer_v2): Likewise.
1368 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1369 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1370 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1372 2014-06-20 Roland McGrath <roland@hack.frob.com>
1374 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1375 (libpthread-routines): Add sysdep.
1376 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1377 * sysdeps/unix/sysv/linux/sparc/Versions
1378 (libpthread: GLIBC_2.3.3): New version set.
1379 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1380 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1381 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1382 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1383 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1384 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1386 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1387 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1388 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1389 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1390 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1391 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1392 * sysdeps/sparc/nptl/sem_init.c: ... here.
1393 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1394 * sysdeps/sparc/nptl/sem_post.c: ... here.
1395 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1396 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1397 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1398 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1399 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1400 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1401 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1402 (libpthread-routines): Add cpu_relax.
1403 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1405 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1406 (librt: GLIBC_2.3.3): New version set.
1407 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1408 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1409 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1410 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1411 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1412 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1413 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1414 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1416 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1417 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1418 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1419 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1420 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1421 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1422 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1423 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1424 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1425 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1427 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1429 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1431 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1433 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1435 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1437 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1439 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1441 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1443 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1445 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1447 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1449 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1450 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1452 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1453 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1454 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1455 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1456 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1457 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1458 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1459 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1461 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1462 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1463 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1464 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1465 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1467 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1469 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1470 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1471 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1472 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1473 * nscd/nscd.c: Likewise.
1474 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1475 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1476 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1477 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1479 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1480 <kernel-features.h>.
1481 (init_mq_netlink): Remove conditional have_sock_cloexec
1482 definitions. Remove code conditional on have_sock_cloexec < 0.
1483 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1484 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1485 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1486 <kernel-features.h>.
1487 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1488 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1490 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1492 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1493 Add tests for memset_chk and memset.
1495 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1498 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1501 * elf/tst-dl-iter-static.c: New file.
1502 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1504 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1507 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1509 * sysdeps/unix/sysv/linux/kernel-features.h
1510 (__ASSUME_F_GETOWN_EX): Remove macro.
1511 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1512 <kernel-features.h>.
1513 (miss_F_GETOWN_EX): Remove variable or macro.
1514 (do_fcntl): Do not check miss_F_GETOWN_EX.
1515 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1517 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1519 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1520 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1521 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1523 * sysdeps/unix/sysv/linux/kernel-features.h
1524 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1525 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1526 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1527 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1529 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1532 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1533 Fix calculation of the symbol's value.
1534 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1535 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1536 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1537 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1538 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1539 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1540 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1541 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1542 (modules-names): Add `tst-armtlsdescmod',
1543 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1544 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1545 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1546 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1547 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1548 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1549 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1550 ($(objpfx)tst-armtlsdescloc): New dependency.
1551 ($(objpfx)tst-armtlsdescextnow): Likewise.
1552 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1553 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1555 * sysdeps/arm/configure: Regenerate.
1557 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1559 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1560 (__atfct_seterrno_2): Likewise.
1561 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1562 <kernel-features.h>.
1563 (__ASSUME_ATFCTS): Do not undefine and redefine.
1564 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1565 (__have_atfcts): Remove conditional definition.
1566 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1567 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1568 unreachable if [__ASSUME_ATFCTS].
1569 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1570 not undefine and redefine.
1571 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1572 <kernel-features.h>.
1573 (faccessat) [__NR_faccessat]: Make code unconditional.
1574 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1575 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1576 <kernel-features.h>.
1577 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1578 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1579 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1580 <kernel-features.h>.
1581 (fchownat) [__NR_fchownat]: Make code unconditional.
1582 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1583 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1584 <kernel-features.h>.
1585 (futimesat) [__NR_futimesat]: Make code unconditional.
1586 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1587 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1588 <kernel-features.h>.
1589 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1590 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1591 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1592 <kernel-features.h>.
1593 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1594 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1595 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1596 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1597 <kernel-features.h>.
1598 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1599 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1600 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1601 <kernel-features.h>.
1602 (linkat) [__NR_linkat]: Make code unconditional.
1603 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1604 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1605 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1606 <kernel-features.h>.
1607 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1608 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1609 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1610 <kernel-features.h>.
1611 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1612 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1613 * sysdeps/unix/sysv/linux/openat.c: Do not include
1614 <kernel-features.h>.
1615 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1616 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1617 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1618 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1619 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1620 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1621 <kernel-features.h>.
1622 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1623 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1624 result of INLINE_SYSCALL directly, not via int variable.
1625 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1626 <kernel-features.h>.
1627 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1628 (renameat) [__NR_renameat]: Make code unconditional.
1629 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1630 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1631 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1632 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1633 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1634 (__ASSUME_ATFCTS): Do not undefine and redefine.
1635 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1636 <kernel-features.h>.
1637 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1638 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1639 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1640 <kernel-features.h>.
1641 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1642 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1643 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1644 (__ASSUME_ATFCTS): Do not undefine and redefine.
1645 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1646 <kernel-features.h>.
1647 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1648 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1649 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1650 <kernel-features.h>.
1651 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1652 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1654 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1656 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1658 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1661 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1662 constructed tree before returning error.
1663 * posix/bug-regexp36.c: Expand test case.
1665 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1668 * math/libm-test.inc (scalbln_test_date):
1669 Add errno expectations.
1670 * math/w_scalblnf.c: New File.
1671 Add wrapper which checks for setting errno to ERANGE.
1672 Add weak_alias for corresponding scalbln function.
1673 * math/w_scalbln.c: Likewise.
1674 * math/w_scalblnl.c: Likewise.
1675 * math/Makefile (libm-calls): Add w_scalbln.
1676 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1677 Remove weak_alias for corresponding scalbln function.
1678 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1679 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1680 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1681 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1682 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1683 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1684 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1685 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1686 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1687 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1688 Remove long_double_symbol for scalblnl function in libm, libc.
1689 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1690 Add wrapper which checks for setting errno to ERANGE.
1691 Add long_double_symbol for scalblnl function in libm, libc.
1692 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1693 Remove long_double_symbol for scalblnl in libm.
1694 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1695 Add wrapper which checks for setting errno to ERANGE.
1696 Add long_double_symbol for scalblnl function in libm.
1697 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1698 Do not use wrapper because of own implementation.
1700 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1702 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1703 3 bytes for __pad1 for x32.
1704 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1706 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1707 H.J. Lu <hongjiu.lu@intel.com>
1709 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1710 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1711 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1712 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1713 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1715 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1718 * posix/regcomp.c (parse_expression): Deallocate partially
1719 constructed tree before returning error.
1720 * posix/Makefile.c (tests): Add bug-regex36.
1721 (generated): Add bug-regex36.mtrace.
1722 (tests-special): Add $(objpfx)bug-regex36-mem.out
1723 (bug-regex36-ENV): New variable.
1724 ($(objpfx)bug-regex36-mem.out): New rule.
1725 * posix/bug-regex36.c: New file.
1727 2014-06-19 Will Newton <will.newton@linaro.org>
1729 * malloc/malloc.c (systrim): If extra is zero then return
1732 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1734 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1736 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
1738 * sysdeps/aarch64/strchr.S: New file.
1740 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1743 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1744 from arguments -2 or below.
1745 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1746 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1748 2014-06-18 Andreas Schwab <schwab@suse.de>
1751 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1752 of a bracket expr not to run off the end of the string.
1753 * posix/Makefile (tests): Add tst-fnmatch3.
1754 * posix/tst-fnmatch3.c: New file.
1756 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1758 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1759 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1760 [$(cross-compiling) = no]: Likewise.
1761 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1762 [$(cross-compiling) = no]: Likewise.
1764 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1767 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1768 double, adjusted for any remainder from the high double.
1769 * math/libm-test.inc (nearbyint): Add tests.
1772 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1774 * nptl/sysdeps/powerpc/Makefile: Moved ...
1775 * sysdeps/powerpc/nptl/Makefile: ... here.
1776 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1777 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1778 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1779 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1780 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1781 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1782 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1783 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1784 * nptl/sysdeps/powerpc/tls.h: Moved ...
1785 * sysdeps/powerpc/nptl/tls.h: ... here.
1787 2014-06-16 Joseph Myers <joseph@codesourcery.com>
1790 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1791 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1792 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1793 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1794 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1795 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1796 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1797 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1798 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1800 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1802 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1804 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1806 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1809 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1812 2014-06-16 Florian Weimer <fweimer@redhat.com>
1815 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1816 non-executed part of the test.
1818 2014-06-16 Andreas Schwab <schwab@suse.de>
1820 * string/bits/string2.h (strdup, strndup): Update feature guard.
1822 2014-06-14 David S. Miller <davem@davemloft.net>
1824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1826 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1828 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1829 that was previously under [RESET_PID].
1830 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1832 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1833 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1834 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1835 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1836 (__libc_vfork): New strong alias.
1837 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1839 2014-06-14 Andi Kleen <ak@linux.intel.com>
1841 * sysdeps/generic/elide.h: New file.
1843 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1845 * Makefile (installed-headers): Adjust path of pthread.h header.
1847 2014-06-13 Roland McGrath <roland@hack.frob.com>
1849 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1850 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1851 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1852 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1854 * nptl/sysdeps/s390/Makefile: Moved ...
1855 * sysdeps/s390/nptl/Makefile: ... here.
1856 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1857 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1858 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1859 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1860 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1861 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1862 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1863 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1864 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1865 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1866 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1867 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1868 * nptl/sysdeps/s390/tls.h: Moved ...
1869 * sysdeps/s390/nptl/tls.h: ... here.
1871 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1872 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1874 2014-06-13 David S. Miller <davem@davemloft.net>
1876 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1877 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1878 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1879 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1880 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1881 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1882 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1883 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1884 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1885 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1886 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1887 Remove RESET_PID cpp guards.
1888 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1889 Remove RESET_PID cpp guards.
1890 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1892 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1894 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1897 2014-06-13 Andi Kleen <ak@linux.intel.com>
1899 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1900 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1901 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1902 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1903 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1904 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1905 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1906 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1907 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1908 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1909 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1910 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1911 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1912 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1913 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1914 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1915 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1916 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1917 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1918 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1920 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1921 (pthread_rwlock_rdlock): Add elision.
1922 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1923 (pthread_rwlock_wrlock): Add elision.
1924 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1925 (pthread_rwlock_trywrlock): Add elision.
1926 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1927 (pthread_rwlock_tryrdlock): Add elision.
1928 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1929 (pthread_rwlock_tryrdlock): Add elision unlock.
1930 * nptl/sysdeps/pthread/pthread.h:
1931 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1932 (PTHREAD_RWLOCK_INITIALIZER,
1933 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1934 Handle new elision field.
1935 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1936 * sysdeps/arm/nptl/bits/pthreadtypes.h
1937 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1938 * sysdeps/sh/nptl/bits/pthreadtypes.h
1939 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1940 * sysdeps/tile/nptl/bits/pthreadtypes.h
1941 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1942 * sysdeps/a/nptl/bits/pthreadtypes.h
1943 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1944 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1945 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1946 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1947 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1948 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1949 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1950 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1951 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1952 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1953 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1954 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1955 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1956 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1957 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1958 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1959 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1960 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1961 (elision_init): Set try_xbegin to zero when no RTM.
1962 * sysdeps/x86/nptl/bits/pthreadtypes.h
1963 (pthread_rwlock_t): Change __pad1 to __rwelision.
1964 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1966 2014-06-13 Andi Kleen <ak@linux.intel.com>
1968 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1969 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1970 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1971 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1973 2014-06-13 Meador Inge <meadori@codesourcery.com>
1976 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1977 that the cached result has been set before returning it.
1979 2014-06-12 Roland McGrath <roland@hack.frob.com>
1981 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1982 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1983 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1984 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1985 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1986 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1988 * nptl/sysdeps/sparc/Makefile: Moved ...
1989 * sysdeps/sparc/nptl/Makefile: ... here.
1990 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1991 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1992 * nptl/sysdeps/sparc/tls.h: Moved ...
1993 * sysdeps/sparc/nptl/tls.h: ... here.
1994 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1995 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1996 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1997 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1998 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1999 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2000 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2001 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2002 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2003 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2004 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2005 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2006 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2007 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2008 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2009 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2010 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2011 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2013 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2014 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2016 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2017 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2019 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2020 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2023 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2025 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2026 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2028 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2029 (struct list_links): Type removed.
2030 (struct thread_node, struct timer_node): Replace struct list_links
2031 with struct list_head.
2032 (list_unlink_ip): Likewise.
2033 * sysdeps/pthread/timer_routines.c
2034 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2035 (list_append, list_insbefore): Likewise.
2036 (list_init): Function removed.
2037 (thread_init, init_module): Use INIT_LIST_HEAD instead.
2038 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2039 * sysdeps/pthread/Makefile: ... here, new file.
2041 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2042 * sysdeps/nptl/Implies: ... here.
2043 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2044 * nptl/sysdeps/pthread/list.h: Moved ...
2045 * include/list.h: ... here.
2046 * nptl/sysdeps/pthread/createthread.c: Moved ...
2047 * nptl/createthread.c: ... here.
2048 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2049 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2050 * nptl/pt-longjmp.c: ... here.
2051 * nptl/sysdeps/pthread/Makefile: Moved ...
2052 * sysdeps/nptl/Makefile: ... here.
2053 * nptl/sysdeps/pthread/Subdirs: Moved ...
2054 * sysdeps/nptl/Subdirs: ... here.
2055 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2056 * sysdeps/nptl/aio_misc.h: ... here.
2057 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2058 * sysdeps/nptl/bits/libc-lock.h: ... here.
2059 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2060 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2061 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2062 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2063 * nptl/sysdeps/pthread/configure: Moved ...
2064 * sysdeps/nptl/configure: ... here.
2065 * nptl/sysdeps/pthread/configure.ac: Moved ...
2066 * sysdeps/nptl/configure.ac: ... here.
2067 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2068 * sysdeps/nptl/gai_misc.h: ... here.
2069 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2070 * sysdeps/nptl/librt-cancellation.c: ... here.
2071 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2072 * sysdeps/nptl/malloc-machine.h: ... here.
2073 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2074 * sysdeps/nptl/pthread-functions.h: ... here.
2075 * nptl/sysdeps/pthread/pthread.h: Moved ...
2076 * sysdeps/nptl/pthread.h: ... here.
2077 * nptl/sysdeps/pthread/setxid.h: Moved ...
2078 * sysdeps/nptl/setxid.h: ... here.
2079 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2080 * sysdeps/nptl/sigfillset.c: ... here.
2081 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2082 * sysdeps/nptl/tcb-offsets.h: ... here.
2083 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2084 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2085 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2086 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2087 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2088 * sysdeps/pthread/allocalim.h: ... here.
2089 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2090 * sysdeps/pthread/bits/sigthread.h: ... here.
2091 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2092 * sysdeps/pthread/flockfile.c: ... here.
2093 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2094 * sysdeps/pthread/ftrylockfile.c: ... here.
2095 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2096 * sysdeps/pthread/funlockfile.c: ... here.
2097 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2098 * sysdeps/pthread/posix-timer.h: ... here.
2099 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2100 * sysdeps/pthread/timer_create.c: ... here.
2101 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2102 * sysdeps/pthread/timer_delete.c: ... here.
2103 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2104 * sysdeps/pthread/timer_getoverr.c: ... here.
2105 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2106 * sysdeps/pthread/timer_gettime.c: ... here.
2107 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2108 * sysdeps/pthread/timer_routines.c: ... here.
2109 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2110 * sysdeps/pthread/timer_settime.c: ... here.
2111 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2112 * sysdeps/pthread/tst-timer.c: ... here.
2113 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2114 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2116 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2117 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2119 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2120 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2121 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2122 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2123 Update #include target.
2124 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2125 * sysdeps/i386/i686/nptl/Makefile: ... here.
2126 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2127 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2128 Update #include target.
2129 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2130 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2131 * nptl/sysdeps/i386/Makefile: Moved ...
2132 * sysdeps/i386/nptl/Makefile: ... here.
2133 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2134 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2135 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2136 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2137 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2138 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2139 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2140 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2141 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2142 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2143 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2144 * nptl/sysdeps/i386/tls.h: Moved ...
2145 * sysdeps/i386/nptl/tls.h: ... here.
2147 * sysdeps/sh/Makefile [$(subdir) = csu]
2148 (gen-as-const-headers): Add tcb-offsets.sym.
2149 * nptl/sysdeps/sh/Makefile: File removed.
2150 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2151 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2152 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2153 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2154 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2155 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2156 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2157 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2158 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2159 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2160 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2161 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2162 * nptl/sysdeps/sh/tls.h: Moved ...
2163 * sysdeps/sh/nptl/tls.h: ... here.
2164 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2165 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2166 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2167 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2168 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2169 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2170 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2171 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2172 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2173 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2174 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2175 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2176 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2177 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2178 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2179 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2180 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2181 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2182 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2183 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2184 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2185 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2186 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2187 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2188 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2190 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2191 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2193 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2194 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2195 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2196 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2197 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2198 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2199 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2200 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2201 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2202 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2203 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2204 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2205 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2206 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2207 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2208 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2209 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2210 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2211 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2213 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2215 * posix/spawn_faction_addopen.c: Include string.h.
2217 2014-06-11 Roland McGrath <roland@hack.frob.com>
2219 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2220 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2221 * nptl/sysdeps/x86_64/Makefile: Moved ...
2222 * sysdeps/x86_64/nptl/Makefile: ... here.
2223 * nptl/sysdeps/x86_64/configure: Moved ...
2224 * sysdeps/x86_64/nptl/configure: ... here.
2225 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2226 * sysdeps/x86_64/nptl/configure.ac: ... here.
2227 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2228 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2229 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2230 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2231 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2232 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2233 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2234 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2235 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2236 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2237 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2238 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2239 * nptl/sysdeps/x86_64/tls.h: Moved ...
2240 * sysdeps/x86_64/nptl/tls.h: ... here.
2241 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2242 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2243 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2244 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2246 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2248 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2252 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2254 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2256 [POSIX] (off_t): Likewise.
2257 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2258 [POSIX] (S_ISBLK): Require macro.
2259 [POSIX] (S_ISCHR): Likewise.
2260 [POSIX] (S_ISDIR): Likewise.
2261 [POSIX] (S_ISFIFO): Likewise.
2262 [POSIX] (S_ISREG): Likewise.
2263 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2265 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2267 [POSIX] (time_t): Likewise.
2268 [POSIX] (timer_t): Likewise.
2270 2014-06-11 Florian Weimer <fweimer@redhat.com>
2273 * posix/spawn_int.h (struct __spawn_action): Make the path string
2274 non-const to support deallocation.
2275 * posix/spawn_faction_addopen.c
2276 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2277 * posix/spawn_faction_destroy.c
2278 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2279 path in all spawn_do_open actions.
2280 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2281 posix_spawn_file_actions_addopen.
2283 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2285 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2286 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2287 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2288 conditional code always true.
2289 (__libc_vfork): New alias.
2291 2014-06-11 Roland McGrath <roland@hack.frob.com>
2293 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2294 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2296 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2298 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2299 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2301 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2302 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2304 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2305 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2307 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2309 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2310 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2311 multiarch strcmp for PPC64.
2312 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2313 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2315 multiarch optimizations.
2316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2317 (__libc_ifunc_impl_list): Likewise.
2319 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2321 * benchtests/scripts/validate_benchout.py: New script.
2322 * benchtests/Makefile (bench-func): Call it.
2323 * benchtests/scripts/benchout.schema.json: New file.
2325 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2327 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2328 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2329 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2330 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2331 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2332 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2333 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2334 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2335 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2336 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2337 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2338 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2339 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2340 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2341 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2342 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2446 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2447 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2448 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2449 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2450 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2452 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2454 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2455 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2456 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2457 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2458 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2459 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2460 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2461 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2462 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2463 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2464 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2465 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2466 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2468 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2469 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2471 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2472 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2473 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2474 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2476 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2477 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2478 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2479 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2480 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2481 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2482 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2484 2014-06-10 Wilco <wdijkstr@arm.com>
2486 * math/test-fenv-return.c: New file.
2487 * math/Makefile: Add new test test-fenv-return.
2489 2014-06-10 Joseph Myers <joseph@codesourcery.com>
2492 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2494 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2495 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2496 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2497 0.0L for an argument of 1.0L.
2498 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2500 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2501 value when x - 1 is zero.
2502 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2503 * sysdeps/i386/fpu/libm-test-ulps: Update.
2504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2506 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2509 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2511 2014-06-09 Roland McGrath <roland@hack.frob.com>
2513 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2514 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2516 2014-06-09 Roland McGrath <roland@hack.frob.com>
2518 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2519 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2521 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2522 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2524 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2525 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2527 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2528 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2530 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2531 if not already defined.
2532 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2533 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2534 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2535 (TLS_INIT_TP): Use it.
2536 (TLS_DEFINE_INIT_TP): New macro.
2537 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2539 2014-06-09 Joseph Myers <joseph@codesourcery.com>
2541 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2543 [POSIX] (IXANY): Likewise.
2544 [POSIX] (OLCUC): Likewise.
2545 [POSIX || POSIX2008] (CBAUD): Do not allow.
2546 [POSIX || POSIX2008] (DEFECHO): Likewise.
2547 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2548 [POSIX || POSIX2008] (ECHOKE): Likewise.
2549 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2550 [POSIX || POSIX2008] (EXTA): Likewise.
2551 [POSIX || POSIX2008] (EXTB): Likewise.
2552 [POSIX || POSIX2008] (FLUSHO): Likewise.
2553 [POSIX || POSIX2008] (LOBLK): Likewise.
2554 [POSIX || POSIX2008] (PENDIN): Likewise.
2555 [POSIX || POSIX2008] (SWTCH): Likewise.
2556 [POSIX || POSIX2008] (VDISCARD): Likewise.
2557 [POSIX || POSIX2008] (VDSUSP): Likewise.
2558 [POSIX || POSIX2008] (VLNEXT): Likewise.
2559 [POSIX || POSIX2008] (VREPRINT): Likewise.
2560 [POSIX || POSIX2008] (VSTATUS): Likewise.
2561 [POSIX || POSIX2008] (VWERASE): Likewise.
2562 (B*): Change to B[0123456789]*.
2563 * conform/data/time.h-data [POSIX || UNIX98]
2564 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2565 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2566 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2567 [POSIX] (tm_*): Do not allow.
2569 2014-06-07 Joseph Myers <joseph@codesourcery.com>
2571 * Makefile (install): Don't set LANGUAGE.
2572 * Makefile.in (install): Likewise.
2573 * assert/Makefile (test-assert-ENV): Remove variable.
2574 (test-assert-perr-ENV): Likewise.
2575 * elf/Makefile (neededtest4-ENV): Likewise.
2576 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2577 [$(cross-compiling) = no]: Don't set LANGUAGE.
2578 * io/ftwtest-sh (LANG): Remove variable.
2579 * libio/Makefile (tst-widetext-ENV): Likewise.
2580 * manual/install.texi (Running make install): Don't refer to
2581 environment settings for make install.
2582 * INSTALL: Regenerated.
2583 * nptl/tst-tls6.sh: Don't set LANG.
2584 * posix/globtest.sh (LANG): Remove variable.
2585 * string/Makefile (tester-ENV): Likewise.
2586 (inl-tester-ENV): Likewise.
2587 (noinl-tester-ENV): Likewise.
2588 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2589 [$(cross-compiling) = no]: Don't set LANGUAGE.
2590 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2591 without explicit environment settings.
2593 2014-06-06 Roland McGrath <roland@hack.frob.com>
2595 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2596 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2597 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2598 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2600 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2602 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2603 other files in the crypt directory.
2604 * crypt/crypt.c: Remove duplicate includes.
2605 * crypt/crypt-entry.c: Likewise.
2606 * crypt/crypt_util.c: Likewise.
2608 2014-06-06 Joseph Myers <joseph@codesourcery.com>
2610 * Makeconfig (run-program-env): New variable.
2611 (run-program-prefix-before-env): Likewise.
2612 (run-program-prefix-after-env): Likewise.
2613 (run-program-prefix): Define in terms of new variables.
2614 (built-program-cmd-before-env): New variable.
2615 (built-program-cmd-after-env): Likewise.
2616 (built-program-cmd): Define in terms of new variables.
2617 (test-program-prefix-before-env): New variable.
2618 (test-program-prefix-after-env): Likewise.
2619 (test-program-prefix): Define in terms of new variables.
2620 (test-program-cmd-before-env): New variable.
2621 (test-program-cmd-after-env): Likewise.
2622 (test-program-cmd): Define in terms of new variables.
2623 * Rules (make-test-out): Use $(run-program-env).
2624 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2625 (help): Do not mention environment variables. Mention
2626 --timeoutfactor option.
2627 (timeoutfactor): New variable.
2628 (blacklist_exports): Remove function.
2629 (exports): Remove variable.
2630 (command): Do not include ${exports}.
2631 * manual/install.texi (Configuring and compiling): Do not mention
2632 test wrappers preserving environment variables. Mention that last
2633 assignment to a variable must take precedence.
2634 * INSTALL: Regenerated.
2635 * benchtests/Makefile (run-bench): Use $(run-program-env).
2636 * catgets/Makefile ($(objpfx)test1.cat): Use
2637 $(built-program-cmd-before-env), $(run-program-env) and
2638 $(built-program-cmd-after-env).
2639 ($(objpfx)test2.cat): Do not specify environment variables
2641 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2642 $(run-program-env) and $(built-program-cmd-after-env).
2643 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2644 $(run-program-env) and $(test-program-cmd-after-env).
2645 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2647 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2648 run_program_env and test_program_cmd_after_env arguments.
2649 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2650 * elf/tst-pathopt.sh: Use run_program_env argument.
2651 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2652 $(test-wrapper-env) and $(run-program-env).
2653 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2654 run_program_env arguments.
2655 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2656 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2657 $(test-program-prefix-before-env), $(run-program-env) and
2658 $(test-program-prefix-after-env).
2659 ($(objpfx)tst-gettext2.out): Likewise.
2660 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2661 run_program_env and test_program_prefix_after_env arguments.
2662 * intl/tst-gettext2.sh: Likewise.
2663 * intl/tst-gettext4.sh: Do not set environment variables
2665 * intl/tst-gettext6.sh: Likewise.
2666 * intl/tst-translit.sh: Likewise.
2667 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2668 $(test-program-prefix-before-env), $(run-program-env) and
2669 $(test-program-prefix-after-env).
2670 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2671 run_program_env and test_program_prefix_after_env arguments.
2672 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2673 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2674 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2675 explicitly with each use of ${test_wrapper_env}.
2676 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2677 $(test-program-prefix-before-env), $(run-program-env) and
2678 $(test-program-prefix-after-env).
2679 * posix/tst-getconf.sh: Do not set environment variables
2681 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2682 run_program_env and test_program_prefix_after_env arguments.
2683 * stdio-common/tst-printf.sh: Do not set environment variables
2685 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2686 $(test-program-prefix-before-env), $(run-program-env) and
2687 $(test-program-prefix-after-env).
2688 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2689 run_program_env and test_program_prefix_after_env arguments.
2690 Split $test calls into $test_pre and $test.
2691 * timezone/Makefile (build-testdata): Use
2692 $(built-program-cmd-before-env), $(run-program-env) and
2693 $(built-program-cmd-after-env).
2695 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2697 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2698 strlen for non SHARED builds.
2700 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2702 * nptl/allocatestack.c (check_list): Inlined function...
2703 (__reclaim_stacks): ... here.
2705 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2708 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2711 2014-06-05 Joseph Myers <joseph@codesourcery.com>
2713 * Rules (make-test-out): Include
2714 LOCPATH=$(common-objpfx)localedata in default environment.
2715 * debug/Makefile (tst-chk1-ENV): Remove variable.
2716 (tst-chk2-ENV): Likewise.
2717 (tst-chk3-ENV): Likewise.
2718 (tst-chk4-ENV): Likewise.
2719 (tst-chk5-ENV): Likewise.
2720 (tst-chk6-ENV): Likewise.
2721 (tst-lfschk1-ENV): Likewise.
2722 (tst-lfschk2-ENV): Likewise.
2723 (tst-lfschk3-ENV): Likewise.
2724 (tst-lfschk4-ENV): Likewise.
2725 (tst-lfschk5-ENV): Likewise.
2726 (tst-lfschk6-ENV): Likewise.
2727 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2728 (tst-iconv7-ENV): Likewise.
2729 * intl/Makefile (LOCPATH-ENV): Likewise.
2730 (tst-codeset-ENV): Likewise.
2731 (tst-gettext3-ENV): Likewise.
2732 (tst-gettext5-ENV): Likewise.
2733 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2734 (tst-fopenloc-ENV): Likewise.
2735 (tst-fgetws-ENV): Remove variable.
2736 (tst-ungetwc1-ENV): Likewise.
2737 (tst-ungetwc2-ENV): Likewise.
2738 (bug-ungetwc2-ENV): Likewise.
2739 (tst-swscanf-ENV): Likewise.
2740 (bug-ftell-ENV): Likewise.
2741 (tst-fgetwc-ENV): Likewise.
2742 (tst-fseek-ENV): Likewise.
2743 (tst-ftell-partial-wide-ENV): Likewise.
2744 (tst-ftell-active-handler-ENV): Likewise.
2745 (tst-ftell-append-ENV): Likewise.
2746 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2747 (tst-regexloc-ENV): Likewise.
2748 (bug-regex1-ENV): Likewise.
2749 (tst-regex-ENV): Likewise.
2750 (tst-regex2-ENV): Likewise.
2751 (bug-regex5-ENV): Likewise.
2752 (bug-regex6-ENV): Likewise.
2753 (bug-regex17-ENV): Likewise.
2754 (bug-regex18-ENV): Likewise.
2755 (bug-regex19-ENV): Likewise.
2756 (bug-regex20-ENV): Likewise.
2757 (bug-regex22-ENV): Likewise.
2758 (bug-regex23-ENV): Likewise.
2759 (bug-regex25-ENV): Likewise.
2760 (bug-regex26-ENV): Likewise.
2761 (bug-regex30-ENV): Likewise.
2762 (bug-regex32-ENV): Likewise.
2763 (bug-regex33-ENV): Likewise.
2764 (bug-regex34-ENV): Likewise.
2765 (bug-regex35-ENV): Likewise.
2766 (tst-rxspencer-ENV): Likewise.
2767 (tst-rxspencer-no-utf8-ENV): Likewise.
2768 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2769 (tst-sscanf-ENV): Likewise.
2770 (tst-swprintf-ENV): Likewise.
2771 (tst-swscanf-ENV): Likewise.
2772 (test-vfprintf-ENV): Likewise.
2773 (scanf13-ENV): Likewise.
2774 (bug14-ENV): Likewise.
2775 (tst-grouping-ENV): Likewise.
2776 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2777 (tst-strtod3-ENV): Likewise.
2778 (tst-strtod4-ENV): Likewise.
2779 (tst-strtod5-ENV): Likewise.
2780 (testmb2-ENV): Likewise./
2781 * string/Makefile (tst-strxfrm-ENV): Likewise.
2782 (tst-strxfrm2-ENV): Likewise.
2783 (bug-strcoll1-ENV): Likewise.
2784 (test-strcasecmp-ENV): Likewise.
2785 (test-strncasecmp-ENV): Likewise.
2786 * time/Makefile (tst-strptime-ENV): Likewise.
2787 (tst-ftime_l-ENV): Likewise.
2788 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2789 (tst-mbrtowc-ENV): Likewise.
2790 (tst-wcrtomb-ENV): Likewise.
2791 (tst-mbrtowc2-ENV): Likewise.
2792 (tst-c16c32-1-ENV): Likewise.
2793 (tst-mbsnrtowcs-ENV): Likewise.
2795 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2797 * manual/resource.texi (How to get information about the memory
2798 subsystem?): Fix typo.
2799 Reported by Peon de la Parra Ivan <peon@keba.com>
2801 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2804 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2805 (pthread_spin_lock): Branch out of spin loop to proper location.
2806 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2807 (pthread_spin_lock): Likewise.
2809 * nptl/tst-spin4.c: New test.
2810 * nptl/Makefile (tests): Add tst-spin4.
2812 2014-06-03 Andreas Schwab <schwab@suse.de>
2815 * resolv/res_send.c (send_dg): Reload file descriptor after
2818 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2820 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2822 2014-06-03 Richard Henderson <rth@redhat.com>
2824 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2825 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2826 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2827 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2828 in the SAVE_PID block.
2829 (__libc_vfork): New alias.
2830 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2832 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2833 child in registers, not on the stack. Remove RESET_PID conditionals.
2834 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2836 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2838 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2840 2014-06-03 Wilco <wdijkstr@arm.com>
2842 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2843 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2844 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2845 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2846 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2849 2014-06-03 Wilco <wdijkstr@arm.com>
2851 * sysdeps/aarch64/fpu/math_private.h
2852 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2853 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2854 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2855 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2858 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2860 * crypt/crypt-private.h: Include ufc-crypt.h.
2861 (__b64_from_24bit): Declare extern.
2862 * crypt/crypt_util.c(__b64_from_24bit): New function.
2863 (b64t): New static const variable.
2864 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2865 (b64t): Remove variable.
2866 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2867 * crypt/sha256-crypt.c: Include crypt-private.h.
2868 (b64t): Remove variable.
2869 (__sha256_crypt_r): Remove b64_from_24bit and replace
2870 with __b64_from_24bit.
2871 * crypt/sha512-crypt.c: Likewise.
2873 2014-06-02 Roland McGrath <roland@hack.frob.com>
2875 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2876 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2877 Label the code __libc_vfork rather than __vfork.
2878 [!NOT_IN_libc] (vfork): Define as weak alias.
2879 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2880 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2881 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2883 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2885 * malloc/malloc.c (malloc_info): Fix format specifier for
2888 2014-06-02 Wilco <wdijkstr@arm.com>
2890 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2893 2014-06-02 Wilco <wdijkstr@arm.com>
2896 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2897 Rewrite to reduce FPCR/FPSR accesses.
2899 2014-06-01 David S. Miller <davem@davemloft.net>
2901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2903 2014-05-31 David S. Miller <davem@davemloft.net>
2905 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2906 to occur in round to nearest mode when |x| >= 2.0
2908 2014-05-30 Richard Henderson <rth@twiddle.net>
2910 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2911 (PSEUDO_RET_NOERRNO): Remove.
2912 (ret): Don't redefine.
2913 (ret_NOERRNO): Define in terms of ret.
2914 (ret_ERRVAL): Likewise.
2916 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2917 use of PSEUDO_RET; perform the error check directly.
2919 2014-05-30 Marko Myllynen <myllynen@redhat.com>
2921 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2924 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2926 * malloc/malloc (malloc_info): Fix formatting.
2928 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2929 Roland McGrath <roland@hack.frob.com>
2931 * malloc/malloc (malloc_info): Also print mmapped statistics.
2933 2014-05-30 Roland McGrath <roland@hack.frob.com>
2935 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2936 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2938 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
2940 * malloc/malloc.c (malloc_info): Inline mi_arena.
2942 2014-05-29 Richard Henderson <rth@twiddle.net>
2944 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2945 Remove comma before expanding ASM_ARGS_##nr.
2946 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2947 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2949 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2950 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2951 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2952 (ASM_ARGS_1): Add leading comma.
2954 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2955 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2956 to __errno_location.
2957 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2958 Remove the expected plt for __errno_location.
2960 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2961 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2964 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2965 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2966 it and break it down.
2967 (DOCARGS_0, DOCARGS_1): Do nothing.
2968 (DOCARGS_2): Update to store into the new stack frame.
2969 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2970 (UNDOCARGS_1): Update to restore from the new stack frame.
2971 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2972 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2974 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2975 (SINGLE_THREAD_P): New parameter for result regno.
2976 (PSEUDO): Update to match; use cbz instead of beq.
2978 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2979 Use ENTRY to define the _nocancel entry point. Share the syscall
2980 and syscall error check paths with the cancel path.
2983 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2984 whitespace; tabs before and after asm mnemonics.
2986 2014-05-29 Eric Wong <normalperson@yhbt.net>
2989 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2990 Call fstat64 or stat64 internally, depending on arguments passed.
2991 Replace stat buffer argument with file descriptor argument.
2992 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2993 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2994 Pass fd to __internal_statvfs instead of calling fstat64.
2995 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2996 Pass fd to __internal_statvfs64 instead of calling fstat64.
2997 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2998 Pass -1 to __internal_statvfs instead of calling stat64.
2999 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3000 Pass -1 to __internal_statvfs64 instead of calling stat64.
3002 2014-05-28 Roland McGrath <roland@hack.frob.com>
3004 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3005 that was previously under [RESET_PID].
3006 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3008 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3009 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3011 2014-05-27 Roland McGrath <roland@hack.frob.com>
3013 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3015 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3016 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3018 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
3020 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3022 2014-05-27 Andreas Schwab <schwab@suse.de>
3024 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3026 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3027 * elf/rtld.c (init_tls, dl_main): Likewise.
3028 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3029 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3030 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3031 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3032 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3033 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3034 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3035 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3036 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3037 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3038 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3039 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3040 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3041 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3042 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3043 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3044 * sysdeps/generic/tls.h: Update description.
3046 2014-05-27 Will Newton <will.newton@linaro.org>
3049 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3050 and restore r2 rather than just restoring.
3052 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3055 * libio/tst-ftell-append.c: New test case.
3056 * libio/Makefile (tests): Add test case.
3057 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3059 * libio/wfileops.c (do_ftell_wide): Likewise.
3061 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3065 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3069 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3070 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3071 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3072 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3073 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3074 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3075 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3078 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3081 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3082 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3083 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3084 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3085 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3087 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3088 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3090 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3092 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3094 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3095 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3096 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3098 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3099 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3100 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3101 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3103 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3106 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3109 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3112 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3116 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3119 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3124 conditional [RESET_PID].
3125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3126 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3128 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3133 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3134 (__libc_vfork): New strong alias.
3135 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3137 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3142 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3143 (__libc_vfork): New strong alias.
3144 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3146 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3149 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3151 * malloc/malloc.c (mi_arena): New function.
3152 (malloc_info): Remove nested function mi_arena. Call non-nosted
3155 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3157 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3159 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3160 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3161 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3162 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3163 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3164 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3165 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3167 2014-05-26 Andreas Schwab <schwab@suse.de>
3170 * locale/programs/repertoire.c (repertoire_read): Add slash
3171 between I18NPATH element and file name.
3172 * locale/programs/locfile.c (locfile_read): Likewise.
3174 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3176 * nptl/pthread_mutexattr_settype.c
3177 (__pthread_mutexattr_settype):
3178 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3180 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3182 * nptl/tst-mutex5 (do_test):
3183 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3185 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3187 * benchtests/README: Document 'init' directive.
3188 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3190 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3191 (parse_file): Recognize 'init' directive.
3193 2014-05-26 Kyle McMartin <kyle@redhat.com>
3196 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3197 alignment of struct pthread.
3199 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3202 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3203 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3204 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3205 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3207 2014-05-25 Richard Henderson <rth@twiddle.net>
3209 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3210 (SINGLE_THREAD_P_PIC): Remove.
3211 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3212 (SINGLE_THREAD_P_PIC): Remove.
3214 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3215 branch to syscall error ...
3217 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3218 from __local_syscall_error to .Lsyscall_error.
3219 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3220 (SYSCALL_ERROR): Update label name.
3222 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3223 Do not use DOARGS/UNDOARGS.
3224 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3225 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3226 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3227 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3228 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3230 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3233 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3234 define if !NOT_IN_libc.
3235 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3236 define with non-default symbol versions.
3238 2014-05-23 Richard Henderson <rth@twiddle.net>
3240 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3241 (vfork, __vfork): Define via compat_symbol.
3243 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3244 [!HAVE_IFUNC] (vfork_compat): Remove.
3245 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3247 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3250 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3251 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3254 2014-05-23 Richard Henderson <rth@twiddle.net>
3256 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3257 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3258 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3259 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3261 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3262 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3263 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3264 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3265 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3266 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3267 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3268 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3269 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3270 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3271 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3272 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3273 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3274 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3275 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3276 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3277 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3278 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3279 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3280 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3281 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3282 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3283 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3284 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3285 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3286 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3287 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3288 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3289 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3290 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3291 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3292 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3293 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3294 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3295 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3296 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3297 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3298 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3299 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3300 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3301 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3302 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3303 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3304 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3305 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3306 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3307 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3308 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3309 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3310 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3311 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3312 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3313 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3314 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3315 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3316 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3318 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3319 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3320 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3321 before exiting on error.
3322 (__libc_vfork): New strong alias.
3323 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3324 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3326 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3327 that was previously under [RESET_PID].
3328 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3330 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3332 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3335 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3336 value when x - 1 is zero.
3337 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3338 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3339 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3340 0.0L for an argument of 1.0L.
3341 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3343 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3344 value when x - 1 is zero.
3345 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3346 * sysdeps/i386/fpu/libm-test-ulps: Update.
3347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3349 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3351 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3352 alphasort and versionsort.
3354 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3356 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3358 [copysignf]: Likewise.
3360 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3362 * crypt/md5-crypt.c: Fix formatting.
3364 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3366 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3367 (b64_from_24bit): New function.
3369 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3371 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3372 libc_hidden_builtin_def to ifunc.
3373 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3374 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3376 2014-05-21 Roland McGrath <roland@hack.frob.com>
3378 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3379 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3381 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3383 * nscd/Depend (linuxthreads): Remove.
3385 * resolv/Depend (linuxthreads): Remove.
3386 * rt/Depend (linuxthreads): Remove.
3388 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3389 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3390 $(common-objpfx)elf/.
3391 (link-libc-before-gnulib): Likewise.
3392 (elfobjdir): Remove variable.
3393 * Makefile (install): Use $(elf-objpfx) instead of
3394 $(common-objpfx)elf/.
3395 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3397 (link-libc-deps): Likewise.
3398 ($(common-objpfx)libc.so): Likewise.
3399 ($(common-objpfx)linkobj/libc.so): Likewise.
3400 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3401 instead of $(common-objpfx)elf/.
3402 (symbolic-link-list): Likewise.
3403 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3404 [$(cross-compiling) = no]: Likewise.
3405 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3407 (static-gnulib-arch): Likewise.
3408 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3409 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3410 $(common-objpfx)elf/.
3412 2014-05-21 Richard Henderson <rth@redhat.com>
3414 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3415 (SINGLE_THREAD_P): Use the correct width load. Fold
3416 into the ldr offset.
3418 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3419 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3421 2014-05-20 Joseph Myers <joseph@codesourcery.com>
3423 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3424 (libgcc_s_resume): Use __attribute_used__.
3425 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3428 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3430 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3431 optimization when used with float constants.
3433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3435 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3438 * locale/nl_langinfo_l.c: Make direct reference to every
3439 _nl_current_CATEGORY symbol.
3440 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3441 (tests-static): Add tst-langinfo-static.
3442 (tests-special): Add tst-langinfo-static.out.
3443 ($(objpfx)tst-langinfo.out): Redirect output.
3444 ($(objpfx)tst-langinfo-static.out): New.
3445 * localedata/tst-langinfo.sh: Send output to stdout.
3446 * localedata/tst-langinfo-static.c: New file.
3449 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3450 when the shift amount is modulo the limb size.
3452 2014-05-20 Richard Henderson <rth@redhat.com>
3455 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3456 Change type of sa_flags from unsigned int to int.
3459 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3461 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3463 2014-05-20 Will Newton <will.newton@linaro.org>
3465 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3466 Test the return value of the system call in the nocancel case.
3468 2014-05-20 Will Newton <will.newton@linaro.org>
3469 Yvan Roux <yvan.roux@linaro.org>
3471 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3472 #include of asm/ptrace.h.
3473 (PTRACE_GET_THREAD_AREA): Remove #undef.
3474 (PTRACE_GETHBPREGS): Likewise.
3475 (PTRACE_SETHBPREGS): Likewise.
3476 (struct user_regs_struct): New structure.
3477 (struct user_fpsimd_struct): New structure.
3478 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3479 #include of asm/ptrace.h and second #include of sys/user.h.
3480 (PTRACE_GET_THREAD_AREA): Remove #undef.
3481 (PTRACE_GETHBPREGS): Likewise.
3482 (PTRACE_SETHBPREGS): Likewise.
3483 (ELF_NGREG): Use new struct user_regs_struct.
3484 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3486 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3488 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3489 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3491 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3494 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3495 membar to avoid block loads/stores to overlap previous stores.
3497 2014-05-17 Richard Henderson <rth@redhat.com>
3499 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3500 Create the __##syscall_name##_nocancel entry point.
3501 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3502 Remove; let the sysdep-cancel.h code create it.
3504 2014-05-17 David S. Miller <davem@davemloft.net>
3506 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3507 Protect with __USE_GNU.
3508 (TIOCSET_TEMPT): Likewise.
3509 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3510 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3511 these are already provided in bits/ioctl-types.h
3513 2014-05-16 Roland McGrath <roland@hack.frob.com>
3515 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3516 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3518 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3519 Use wait4 regardless of [__NR_waitpid].
3521 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3524 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3525 (_FP_NANSIGN_Q): Set the quiet bit.
3527 2014-05-16 Joseph Myers <joseph@codesourcery.com>
3529 * benchtests/Makefile
3530 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3531 not $(common-objpfx)math/libm.so.
3532 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3533 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3534 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3535 $(common-objpfx)dlfcn/libdl.so.
3536 ($(objpfx)tst-audit8): Depend on $(libm), not
3537 $(common-objpfx)math/libm.so.
3538 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3539 not $(common-objpfx)dlfcn/libdl.so.
3541 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3542 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3543 [$(build-shared) = yes].
3544 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3545 $(common-objpfx)nptl/libpthread.so.
3546 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3547 $(common-objpfx)math/libm.so$(libm.so-version) or
3548 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3549 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3550 $(common-objpfx)dlfcn/libdl.so.
3551 * setjmp/Makefile (link-libm): Remove variable.
3552 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3553 * stdio-common/Makefile (link-libm): Remove variable.
3554 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3555 * stdlib/Makefile (link-libm): Remove variable.
3556 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3557 ($(objpfx)tst-strtod-round): Likewise.
3558 ($(objpfx)tst-tininess): Likewise.
3559 ($(objpfx)tst-strtod-underflow): Likewise.
3560 ($(objpfx)tst-strtod6): Likewise.
3561 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3562 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3563 $(common-objpfx)dlfcn/libdl.so.
3565 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3567 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3568 BSD terminal modes definitions.
3570 2014-05-16 Roland McGrath <roland@hack.frob.com>
3572 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3573 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3575 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3576 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3577 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3578 Don't do #include_next.
3579 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3580 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3581 Don't do #include_next.
3582 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3583 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3584 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3585 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3587 2014-05-16 Allan McRae <allan@archlinux.org>
3589 * po/sv.po: Update Swedish translation from translation project.
3591 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3594 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3597 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3598 errno if the TIOCGPTN ioctl fails with an error different than
3600 * login/tst-ptsname.c: New file.
3601 * login/Makefile (tests): Add tst-ptsname.
3604 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3607 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3611 herrno to return EAI_AGAIN.
3613 2014-05-14 Roland McGrath <roland@hack.frob.com>
3615 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3616 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3617 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3618 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3619 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3620 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3621 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3622 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3623 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3624 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3625 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3626 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3627 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3628 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3629 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3630 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3631 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3632 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3633 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3634 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3635 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3636 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3637 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3638 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3639 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3640 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3641 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3642 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3643 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3644 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3646 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3648 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3651 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3653 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3655 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3657 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3659 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3661 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3663 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3665 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3667 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3669 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3671 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3673 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3675 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3677 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3678 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3680 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3682 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3684 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3686 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3688 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3690 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3692 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3694 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3695 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3696 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3698 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3701 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3703 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3705 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3706 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3707 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3708 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3709 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3710 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3711 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3712 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3713 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3714 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3715 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3716 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3717 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3718 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3719 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3720 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3721 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3722 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3723 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3724 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3725 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3726 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3727 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3728 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3729 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3730 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3731 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3732 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3733 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3734 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3735 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3737 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3738 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3740 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3741 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3742 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3743 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3744 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3745 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3747 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3748 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3750 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3751 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3753 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3754 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3756 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3757 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3758 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3759 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3761 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3762 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3763 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3764 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3765 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3766 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3767 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3768 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3770 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3771 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3773 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3775 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3776 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3777 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3778 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3779 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3781 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3783 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3785 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3786 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3787 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3788 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3789 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3790 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3792 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3793 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3795 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3796 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3798 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3799 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3801 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3802 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3803 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3804 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3806 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3807 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3808 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3809 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3810 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3811 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3812 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3813 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3815 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3816 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3818 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3820 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3821 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3822 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3823 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3824 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3826 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3828 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3830 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3831 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3832 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3833 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3834 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3835 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3836 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3837 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3838 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3839 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3841 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3842 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3844 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3845 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3847 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3848 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3850 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3851 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3852 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3853 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3854 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3855 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3857 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3858 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3859 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3860 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3861 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3862 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3863 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3864 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3866 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3867 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3869 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3871 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3872 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3873 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3874 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3875 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3877 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3879 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3881 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3882 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3883 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3884 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3885 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3886 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3887 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3888 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3889 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3890 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3891 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3893 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3894 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3896 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3897 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3899 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3900 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3901 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3902 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3903 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3904 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3905 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3906 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3907 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3908 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3909 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3910 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3911 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3912 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3913 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3914 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3915 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3916 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3918 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3919 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3920 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3921 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3923 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3924 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3925 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3926 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3927 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3928 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3929 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3930 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3932 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3933 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3935 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3936 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3937 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3938 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3939 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3940 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3941 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3942 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3943 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3944 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3945 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3946 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3947 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3948 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3949 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3950 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3951 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3953 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3954 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3955 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3956 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3957 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3959 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3960 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3961 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3962 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3963 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3964 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3965 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3966 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3967 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3968 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3970 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3971 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3973 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3974 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3975 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3976 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3977 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3978 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3979 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3980 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3981 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3982 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3983 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3984 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3985 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3986 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3987 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3989 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3991 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3993 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3995 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3997 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3999 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4001 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4003 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4005 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4007 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4008 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4009 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4010 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4011 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4012 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4013 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4014 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4015 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4016 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4017 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4018 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4019 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4020 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4021 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
4023 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4024 that was previously under [RESET_PID].
4025 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4026 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4027 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4029 * sysdeps/i386/nptl/Implies: New file.
4030 * sysdeps/x86_64/nptl/Implies: New file.
4031 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4032 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4033 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4034 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4036 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4037 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4038 (__libc_vfork): New strong alias.
4039 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4040 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4042 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4043 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4044 (__libc_vfork): New strong alias.
4045 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4046 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4048 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4049 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4050 (__libc_vfork): New strong alias.
4051 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4052 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4053 * nptl/pt-vfork.c: New file.
4054 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4055 (libpthread: GLIBC_2.20): New version set (empty).
4057 2014-05-14 Will Newton <will.newton@linaro.org>
4059 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4062 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4065 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4066 arguments with exponent 65 or above.
4067 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4068 arguments 0x1p113L or above.
4069 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4070 to arguments 0x1p107L or above.
4071 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4072 positive arguments with exponent 65 or above.
4073 * math/auto-libm-test-in: Add more tests of log1p.
4074 * math/auto-libm-test-out: Regenerated.
4077 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4078 non-finite arguments is +0.
4079 * math/s_cacosf.c (__cacosf): Likewise.
4080 * math/s_cacosl.c (__cacosl): Likewise.
4081 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4082 * sysdeps/i386/fpu/libm-test-ulps: Update.
4083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4086 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4088 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4089 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4090 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4091 for explicit high bit of mantissa when testing for argument equal
4093 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4094 * sysdeps/i386/fpu/libm-test-ulps: Update.
4095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4098 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4099 (__erf): Scale by 16 instead of 8 in potentially underflowing
4100 case. Ensure exception if result actually underflows.
4101 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4102 (__erff): Scale by 16 instead of 8 in potentially underflowing
4103 case. Ensure exception if result actually underflows.
4104 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4105 (efx8): Remove variable.
4106 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4107 case. Ensure exception if result actually underflows.
4108 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4109 (efx8): Remove variable.
4110 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4111 case. Ensure exception if result actually underflows.
4112 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4113 (efx8): Remove variable.
4114 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4115 case. Ensure exception if result actually underflows.
4116 * math/auto-libm-test-in: Add more tests of erf.
4117 * math/auto-libm-test-out: Regenerated.
4119 2014-05-14 Andreas Schwab <schwab@suse.de>
4121 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4122 Remove code conditionalized on USE___THREAD.
4124 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4125 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4128 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4130 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4131 Define unconditionally.
4132 (__ASSUME_O_CLOEXEC): Likewise.
4133 (__ASSUME_SOCK_CLOEXEC): Likewise.
4134 (__ASSUME_IN_NONBLOCK): Likewise.
4135 (__ASSUME_PIPE2): Likewise.
4136 (__ASSUME_EVENTFD2): Likewise.
4137 (__ASSUME_SIGNALFD4): Likewise.
4138 (__ASSUME_DUP3): Likewise.
4139 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4140 (__ASSUME_DUP3): Do not define.
4141 (__ASSUME_EVENTFD2): Likewise.
4142 (__ASSUME_IN_NONBLOCK): Likewise.
4143 (__ASSUME_O_CLOEXEC): Likewise.
4144 (__ASSUME_PIPE2): Likewise.
4145 (__ASSUME_SIGNALFD4): Likewise.
4146 (__ASSUME_SOCK_CLOEXEC): Likewise.
4147 (__ASSUME_UTIMES): Undefine.
4148 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4149 (__ASSUME_UTIMES): Do not define.
4150 (__ASSUME_O_CLOEXEC): Likewise.
4151 (__ASSUME_SOCK_CLOEXEC): Likewise.
4152 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4153 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4155 (__ASSUME_PIPE2): Likewise.
4156 (__ASSUME_EVENTFD2): Likewise.
4157 (__ASSUME_SIGNALFD4): Likewise.
4158 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4159 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4161 (__ASSUME_EVENTFD2): Likewise.
4162 (__ASSUME_SIGNALFD4): Likewise.
4163 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4164 (__ASSUME_32BITUIDS): Likewise.
4165 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4166 (__ASSUME_IPC64): Likewise.
4167 (__ASSUME_ST_INO_64_BIT): Likewise.
4168 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4169 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4170 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4171 (__ASSUME_UTIMES): Do not define.
4172 (__ASSUME_PSELECT): Likewise.
4173 (__ASSUME_PPOLL): Likewise.
4174 (__ASSUME_O_CLOEXEC): Likewise.
4175 (__ASSUME_SOCK_CLOEXEC): Likewise.
4176 (__ASSUME_IN_NONBLOCK): Likewise.
4177 (__ASSUME_PIPE2): Likewise.
4178 (__ASSUME_EVENTFD2): Likewise.
4179 (__ASSUME_SIGNALFD4): Likewise.
4180 (__ASSUME_DUP3): Likewise.
4181 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4182 (__ASSUME_UTIMES): Likewise.
4183 (__ASSUME_O_CLOEXEC): Likewise.
4184 (__ASSUME_SOCK_CLOEXEC): Likewise.
4185 (__ASSUME_IN_NONBLOCK): Likewise.
4186 (__ASSUME_PIPE2): Likewise.
4187 (__ASSUME_EVENTFD2): Likewise.
4188 (__ASSUME_SIGNALFD4): Likewise.
4189 (__ASSUME_DUP3): Likewise.
4190 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4191 (__ASSUME_UTIMES): Likewise.
4192 (__ASSUME_O_CLOEXEC): Likewise.
4193 (__ASSUME_SOCK_CLOEXEC): Likewise.
4194 (__ASSUME_IN_NONBLOCK): Likewise.
4195 (__ASSUME_PIPE2): Likewise.
4196 (__ASSUME_EVENTFD2): Likewise.
4197 (__ASSUME_SIGNALFD4): Likewise.
4198 (__ASSUME_DUP3): Likewise.
4199 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4201 (__ASSUME_UTIMES): Likewise.
4202 (__ASSUME_EVENTFD2): Likewise.
4203 (__ASSUME_SIGNALFD4): Likewise.
4204 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4205 (__ASSUME_O_CLOEXEC): Likewise.
4206 (__ASSUME_SOCK_CLOEXEC): Likewise.
4207 (__ASSUME_IN_NONBLOCK): Likewise.
4208 (__ASSUME_PIPE2): Likewise.
4209 (__ASSUME_EVENTFD2): Likewise.
4210 (__ASSUME_SIGNALFD4): Likewise.
4211 (__ASSUME_DUP3): Likewise.
4212 (__ASSUME_UTIMES): Undefine.
4214 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4215 feclearexcept. Remove symbol versioning code.
4216 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4217 symbol versioning code.
4218 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4219 symbol versioning code.
4220 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4221 feupdateenv. Remove symbol versioning code.
4222 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4223 fegetexceptflag. Remove symbol versioning code.
4224 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4225 fesetexceptflag. Remove symbol versioning code.
4226 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4227 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4228 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4229 (__posix_fadvise64_l32): Remove prototype.
4230 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4233 2014-05-13 Roland McGrath <roland@hack.frob.com>
4235 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4236 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4237 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4238 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4240 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4242 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4243 current working directory
4245 2014-05-13 Roland McGrath <roland@hack.frob.com>
4247 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4248 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4249 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4250 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4251 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4252 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4253 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4254 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4255 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4256 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4257 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4258 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4259 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4260 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4261 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4262 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4263 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4264 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4265 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4266 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4267 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4268 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4269 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4270 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4271 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4272 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4273 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4274 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4275 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4276 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4277 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4278 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4279 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4280 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4281 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4282 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4283 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4284 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4285 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4286 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4287 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4288 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4290 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4291 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4293 * sysdeps/unix/sysv/linux/arm/Makefile
4294 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4295 Add rt-aeabi_unwind_cpp_pr1.
4296 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4297 Add nptl-aeabi_unwind_cpp_pr1.
4298 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4299 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4300 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4301 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4302 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4303 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4305 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4306 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4307 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4308 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4310 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4311 Deconditionalize the code that was previously under [RESET_PID].
4312 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4314 * sysdeps/generic/exit-thread.h: New file.
4315 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4316 * include/unistd.h (__exit_thread): Remove declaration.
4317 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4318 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4319 * csu/libc-start.c: Include <exit-thread.h>.
4320 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4321 * nptl/pthread_create.c: Include <exit-thread.h>.
4322 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4323 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4324 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4325 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4326 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4327 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4328 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4329 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4330 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4331 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4332 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4333 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4334 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4335 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4336 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4337 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4338 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4340 2014-05-13 Andreas Schwab <schwab@suse.de>
4342 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4344 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4346 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4347 (__ASSUME_UTIMES): Do not condition on kernel version.
4348 (__ASSUME_PSELECT): Define unconditionally.
4349 (__ASSUME_PPOLL): Likewise.
4350 (__ASSUME_ATFCTS): Likewise.
4351 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4352 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4353 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4354 (__ASSUME_UTIMENSAT): Define unconditionally.
4355 (__ASSUME_PRIVATE_FUTEX): Likewise.
4356 (__ASSUME_FALLOCATE): Likewise.
4357 (__ASSUME_O_CLOEXEC): Likewise.
4358 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4359 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4360 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4361 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4362 (__ASSUME_IN_NONBLOCK): Likewise.
4363 (__ASSUME_PIPE2): Likewise.
4364 (__ASSUME_EVENTFD2): Likewise.
4365 (__ASSUME_SIGNALFD4): Likewise.
4366 (__ASSUME_DUP3): Likewise.
4367 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4368 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4369 (__ASSUME_AT_RANDOM): Likewise.
4370 (__ASSUME_PREADV): Likewise.
4371 (__ASSUME_PWRITEV): Likewise.
4372 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4373 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4374 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4375 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4376 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4377 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4378 (__ASSUME_O_CLOEXEC): Define unconditionally.
4379 (__ASSUME_PSELECT): Do not undefine conditionally.
4380 (__ASSUME_PPOLL): Likewise.
4381 (__ASSUME_ATFCTS): Likewise.
4382 (__ASSUME_SET_ROBUST_LIST): Likewise.
4383 (__ASSUME_UTIMENSAT): Likewise.
4384 (__ASSUME_FDATASYNC): Define unconditionally.
4385 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4386 (__ASSUME_SIGFRAME_V2): Likewise.
4387 )__ASSUME_EVENTFD2): Likewise.
4388 (__ASSUME_SIGNALFD4): Likewise.
4389 (__ASSUME_PSELECT): Do not undefine conditionally.
4390 (__ASSUME_PPOLL): Likewise.
4391 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4392 (__ASSUME_PSELECT): Define unconditionally.
4393 (__ASSUME_PPOLL): Likewise.
4394 (__ASSUME_O_CLOEXEC): Likewise.
4395 (__ASSUME_SOCK_CLOEXEC): Likewise.
4396 (__ASSUME_IN_NONBLOCK): Likewise.
4397 (__ASSUME_PIPE2): Likewise.
4398 (__ASSUME_EVENTFD2): Likewise.
4399 (__ASSUME_SIGNALFD4): Likewise.
4400 (__ASSUME_DUP3): Likewise.
4401 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4402 (__ASSUME_O_CLOEXEC): Likewise.
4403 (__ASSUME_SOCK_CLOEXEC): Likewise.
4404 (__ASSUME_IN_NONBLOCK): Likewise.
4405 (__ASSUME_PIPE2): Likewise.
4406 (__ASSUME_EVENTFD2): Likewise.
4407 (__ASSUME_SIGNALFD4): Likewise.
4408 (__ASSUME_DUP3): Likewise.
4409 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4410 (__ASSUME_EVENTFD2): Likewise.
4411 (__ASSUME_SIGNALFD4): Likewise.
4412 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4414 2014-05-12 Andreas Schwab <schwab@suse.de>
4417 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4418 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4419 than maximum RPC packet size.
4420 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4421 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4422 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4423 (_nss_nis_getservbyport_r): Likewise.
4425 2014-05-12 Will Newton <will.newton@linaro.org>
4427 * malloc/Makefile (tests): Add tst-mallopt.
4428 * malloc/tst-mallopt.c: New file.
4430 2014-05-09 Roland McGrath <roland@hack.frob.com>
4432 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4433 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4435 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4437 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4438 (tst-tlsmod6.so): Likewise.
4440 2014-05-09 Roland McGrath <roland@hack.frob.com>
4442 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4444 2014-05-09 Joseph Myers <joseph@codesourcery.com>
4447 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4448 and <dl-procinfo.h>.
4449 (__fegetenv): Save SSE state in envp->__eip if supported.
4450 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4451 envp->__eip if supported.
4452 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4453 and <dl-procinfo.h>.
4454 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4455 __data_offset and __data_selector in environment to 0. Set SSE
4457 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4459 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4461 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4463 2014-05-09 Will Newton <will.newton@linaro.org>
4465 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4466 and libc_relro_required for ARM.
4467 * sysdeps/arm/preconfigure: Regenerate.
4469 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4470 Stefan Liebler <stli@linux.vnet.ibm.com>
4472 * config.make.in (enable-lock-elision): New Makefile variable.
4473 * configure.ac: Likewise.
4474 * configure: Regenerate.
4475 * sysdeps/s390/configure.ac:
4476 Add check for gcc transactions support.
4477 * sysdeps/s390/configure: Regenerate.
4478 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4479 Build elision files if enabled.
4480 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4481 Add lock elision support for s390.
4482 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4483 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4484 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4485 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4486 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4487 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4488 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4490 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4492 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4494 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4496 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4497 (__lll_timedlock_elision, __lll_lock_elision)
4498 (__lll_unlock_elision, __lll_trylock_elision)
4499 (lll_timedlock_elision, lll_lock_elision)
4500 (lll_unlock_elision, lll_trylock_elision): Add.
4501 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4502 (pthread_mutex_t): Add lock elision support for s390.
4504 2014-05-14 Wilco <wdijkstr@arm.com>
4506 * sysdeps/arm/fclrexcpt.c: Cleanup.
4507 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4508 * sysdeps/arm/feenablxcpt.c: Cleanup.
4509 * sysdeps/arm/fegetenv.c: Cleanup.
4510 * sysdeps/arm/fegetexcept.c: Cleanup.
4511 * sysdeps/arm/fegetround.c: Cleanup.
4512 * sysdeps/arm/feholdexcpt.c: Cleanup.
4513 * sysdeps/arm/fesetenv.c: Cleanup.
4514 * sysdeps/arm/fesetround.c: Cleanup.
4515 * sysdeps/arm/feupdateenv.c: Cleanup.
4516 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4517 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4518 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4519 * sysdeps/arm/ftestexcept.c: Cleanup.
4520 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4521 * sysdeps/arm/setfpucw.c: Cleanup.
4523 2014-05-09 Will Newton <will.newton@linaro.org>
4525 * sysdeps/arm/armv7/strcmp.S: New file.
4526 * NEWS: Mention addition of ARMv7 optimized strcmp.
4528 2014-05-08 Roland McGrath <roland@hack.frob.com>
4530 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4531 look for %.ac rather than %.in.
4533 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4534 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4535 * sysdeps/mach/hurd/configure: Regenerated.
4536 * sysdeps/unix/sysv/linux/configure: Regenerated.
4538 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4540 2014-05-07 Steve Ellcey <sellcey@mips.com>
4543 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4547 2014-05-07 Andreas Schwab <schwab@suse.de>
4549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4550 when skipping over non-matching result from nscd.
4552 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
4555 * nptl/sockperf.c (client): Check socket return value.
4558 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4559 nscd security class.
4561 2014-05-06 Roland McGrath <roland@hack.frob.com>
4563 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4564 * sysdeps/arm/unwind.h: ... here.
4566 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4569 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4572 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4574 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4575 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4576 multiarch strncpy for PPC64.
4577 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4578 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4579 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4580 multiarch optimizations.
4581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4582 (__libc_ifunc_impl_list): Likewise.
4583 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4584 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4585 multiarch stpncpy for PPC64.
4586 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4587 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4589 2014-05-06 Andreas Schwab <schwab@suse.de>
4592 * gmon/mcount.c (_MCOUNT_DECL): Use
4593 atomic_compare_and_exchange_bool_acq instead of
4594 catomic_compare_and_exchange_bool_acq.
4596 2014-05-05 Roland McGrath <roland@hack.frob.com>
4598 * elf/Makefile (others, install-bin): Remove pldd.
4599 (pldd-modules): Variable removed.
4600 ($(objpfx)pldd): Target removed.
4601 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4602 (others, install-bin): Append pldd here.
4603 ($(objpfx)pldd): New target.
4605 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4606 to 0, so the first #if test emitted later doesn't see it undefined.
4607 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4608 * sysdeps/gnu/errlist.c: Regenerated.
4610 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4612 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4613 [libc_hidden_builtin_def]: Define to empty value.
4614 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4615 [libc_hidden_builtin_def]: Likewise.
4616 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4617 [libc_hidden_builtin_def]: Likewise.
4618 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4619 [libc_hidden_builtin_def]: Likewise.
4620 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4621 __redirect_memcpy and define ifunc as default hidden symbol.
4622 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4623 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4625 2014-05-04 Adam Conrad <adconrad@0c3.net>
4627 * locale/iso-4217.def: Reintroduce XDR currency.
4629 2014-05-04 Allan McRae <allan@archlinux.org>
4631 * po/eo.po: Update Esperanto translation from translation project.
4633 2014-05-02 Carlos O'Donell <carlos@redhat.com>
4635 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4636 and FEATURE_INDEX_MAX to 1.
4637 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4639 2014-05-01 Steve Ellcey <sellcey@mips.com>
4641 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4642 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4643 * iconvdata/big5.c (ONE_DIRECTION): Define.
4644 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4645 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4646 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4647 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4648 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4649 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4650 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4651 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4652 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4653 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4654 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4655 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4656 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4657 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4658 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4659 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4660 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4661 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4662 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4663 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4664 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4665 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4666 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4667 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4668 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4669 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4670 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4671 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4672 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4673 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4674 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4675 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4676 * iconvdata/johab.c (ONE_DIRECTION): Define.
4677 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4678 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4679 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4680 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4681 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4682 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4683 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4684 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4685 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4686 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4688 2014-05-01 Roland McGrath <roland@hack.frob.com>
4690 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4691 (_IO_JUMPS_OFFSET): Define to 0.
4693 * nptl/sysdeps/pthread/bits/libc-lock.h
4694 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4695 (__libc_lock_define_initialized_recursive): Always define using
4696 initializer. Modern compilers treat uninitialized (implicit zero) and
4697 explicit zero initializers the same (i.e. put the datum in bss).
4699 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4701 * nscd/nscd-client.h: Include <string.h>.
4703 2014-05-01 David S. Miller <davem@davemloft.net>
4706 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4707 multiple zero bytes exist at the end of a string.
4708 Reported by Aurelien Jarno <aurelien@aurel32.net>
4710 * string/test-strcmp.c (check): Add explicit test for situations where
4711 there are multiple zero bytes after the first.
4713 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4716 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4717 when compiling wprintf.
4718 * stdio-common/tstdiomisc.c (t3): New function.
4721 2014-05-01 Steve Ellcey <sellcey@mips.com>
4723 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4724 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4725 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4726 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4728 2014-05-01 Steve Ellcey <sellcey@mips.com>
4730 * stdlib/longlong.h: Updated from GCC.
4732 2014-05-01 Will Newton <will.newton@linaro.org>
4733 Bernard Ogden <bernie.ogden@linaro.org>
4735 * NEWS: Update fixed bug list.
4738 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4740 2014-04-30 David S. Miller <davem@davemloft.net>
4742 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4743 (libc_feholdexcept_setround_sparc_ctx): New function.
4744 (libc_fesetenv_sparc_ctx): Likewise.
4745 (libc_feupdateenv_sparc_ctx): Likewise.
4746 (libc_feholdsetround_sparc_ctx): Likewise.
4747 (libc_feholdexcept_setround_ctx): Define.
4748 (libc_feholdexcept_setroundf_ctx): Likewise.
4749 (libc_feholdexcept_setroundl_ctx): Likewise.
4750 (libc_fesetenv_ctx): Likewise.
4751 (libc_fesetenvf_ctx): Likewise.
4752 (libc_fesetenvl_ctx): Likewise.
4753 (libc_feupdateenv_ctx): Likewise.
4754 (libc_feupdateenvf_ctx): Likewise.
4755 (libc_feupdateenvl_ctx): Likewise.
4756 (libc_feresetround_ctx): Likewise.
4757 (libc_feresetroundf_ctx): Likewise.
4758 (libc_feresetroundl_ctx): Likewise.
4759 (libc_feholdsetround_ctx): Likewise.
4760 (libc_feholdsetroundf_ctx): Likewise.
4761 (libc_feholdsetroundl_ctx): Likewise.
4763 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4764 with __USE_GNU instead of XOPEN cpp guards.
4766 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4769 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4770 with XOPEN cpp guards.
4772 2014-04-30 Julian Brown <julian@codesourcery.com>
4775 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4778 2014-04-30 Joseph Myers <joseph@codesourcery.com>
4781 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4783 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4784 * sysdeps/unix/sysv/linux/configure: Regenerated.
4785 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4786 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4787 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4788 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4789 * README: Update reference to required Linux kernel version.
4790 * manual/install.texi (Linux): Update reference to required Linux
4791 kernel headers version.
4792 * INSTALL: Regenerated.
4794 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4796 [POSIX] (limits.h): Likewise.
4797 [POSIX] (math.h): Likewise.
4798 [POSIX] (sys/wait.h): Likewise.
4799 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4801 [POSIX] (stddef.h): Do not allow header inclusion.
4803 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4805 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4807 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4809 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4810 Return immediately after lll_futex_wake.
4812 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4815 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4817 (datahead_init_pos): Call datahead_init_common early.
4818 (datahead_init_neg): Likewise.
4820 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4821 datahead_init_neg): New functions.
4822 * nscd/aicache.c (addhstaiX): Use them.
4823 * nscd/grpcache.c (cache_addgr): Likewise.
4824 * nscd/hstcache.c (cache_addhst): Likewise.
4825 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4826 * nscd/netgroupcache.c (do_notfound): Likewise.
4827 (addgetnetgrentX): Likewise.
4828 (addinnetgrX): Likewise.
4829 * nscd/pwdcache.c (cache_addpw): Likewise.
4830 * nscd/servicescache.c (cache_addserv): Likewise.
4832 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4833 Atsushi Onoe <atsushi@onoe.org>
4838 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4839 one response is valid.
4840 * resolv/res_send.c (send_dg): Check for validity of other
4841 response if the current response is a referral.
4843 2014-04-29 Steve Ellcey <sellcey@mips.com>
4845 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4847 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4850 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4851 Always divide by positive zero when computing -Inf result.
4852 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4853 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4855 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4857 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4858 FPSCR if value do not change.
4859 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4860 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4861 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4862 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4863 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4864 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4867 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4869 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4870 * sysdeps/unix/sysv/linux/hppa: Move directory from
4871 ports/systeps/unix/sysv/linux/hppa.
4872 * README: Update listing for hppa-*-linux-gnu.
4874 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
4877 * manual/stdio.texi (Hook functions): Fix types of stream hook
4880 * socket/sys/socket.h: Fix typo in comment.
4882 2014-04-28 Wilco <wdijkstr@arm.com>
4884 * sysdeps/arm/fenv_private.h: New file.
4885 * sysdeps/arm/math_private.h: New file.
4886 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4888 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4890 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4892 (La_x86_64_retval): Likewise.
4894 2014-04-24 Ian Bolton <ian.bolton@arm.com>
4896 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4897 fpsr if value didn't change.
4898 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4899 to fpcr if value didn't change.
4900 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4901 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4902 fpsr or fpcr if value didn't change.
4903 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4904 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4905 fpcr if value didn't change.
4906 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4907 to fpsr if value didn't change.
4909 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4911 * nptl/tst-sem3.c: Use test-skeleton.c
4912 (main): Rename to do_test. Use return instead of
4914 * nptl/tst-sem4.c: Use test-skeleton.c
4915 (main): Rename to do_test.
4917 2014-04-22 David S. Miller <davem@davemloft.net>
4919 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4920 (struct sigaction): New struct member __glibc_reserved0, change
4921 type of sa_flags to int.
4923 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4925 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4926 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4928 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4930 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4931 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4933 2014-04-22 Will Newton <will.newton@linaro.org>
4934 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4936 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4937 (__longjmp): Add longjmp and longjmp_target SystemTap
4939 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4940 (__sigsetjmp): Add setjmp SystemTap probe.
4942 2014-04-17 Carlos O'Donell <carlos@redhat.com>
4944 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4947 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4949 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4951 * sysdeps/powerpc/fpu/fenv_private.h
4952 (libc_feholdexcept_setroundl_ctx): Define to
4953 libc_feholdexcept_setround_ppc_ctx.
4954 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4955 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4956 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4957 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4959 2014-04-17 Ian Bolton <ian.bolton@arm.com>
4961 * sysdeps/aarch64/math-tests.h: New file.
4963 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4965 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4967 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4968 Check and set bit_AVX2_Usable.
4969 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4971 (bit_AVX2): Likewise.
4972 (index_AVX2_Usable): Likewise.
4973 (CPUID_AVX2): Likewise.
4974 (HAS_AVX2): Likewise.
4976 2014-04-17 Will Newton <will.newton@linaro.org>
4978 * manual/setjmp.texi (System V contexts): Add note that
4979 calling setcontext on a context created by a call to a
4980 signal handler is undefined. Update text to note that
4981 setcontext from a signal handler is possible but not
4985 * stdlib/tst-setcontext.c: Include signal.h.
4986 (main): Check that the signal stack before and
4987 after swapcontext is the same.
4989 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4990 Re-implement to restore registers in user code and avoid
4991 rt_sigreturn system call.
4993 2014-04-17 Wilco <wdijkstr@arm.com>
4995 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4996 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4997 * math/test-fenv.c: Skip exception trap tests on targets which only
4998 support non-stop mode.
5000 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5001 Wilco Dijkstra <wilco.dijkstra@arm.com>
5003 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5004 (libc_feholdsetround_aarch64_ctx)
5005 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5006 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5007 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5008 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5009 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5010 (libc_feresetround_noexl_ctx): Define.
5012 2014-04-16 Richard Henderson <rth@redhat.com>
5014 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5016 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5019 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5020 const from the non-libc, non-ldso copy.
5022 * sysdeps/alpha/libm-test-ulps: Regenerate.
5024 2014-04-16 Ian Bolton <ian.bolton@arm.com>
5025 Wilco Dijkstra <wilco.dijkstra@arm.com>
5027 * sysdeps/aarch64/fpu/math_private.h: New file.
5029 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5031 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5033 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5035 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5036 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5037 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5038 Intel MPX bound registers before _dl_profile_fixup.
5039 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5040 registers after _dl_profile_fixup. Save and restore bound
5041 registers bnd0/bnd1 when calling _dl_call_pltexit.
5042 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5043 (LR_BND_OFFSET): Likewise.
5044 (LRV_BND0_OFFSET): Likewise.
5045 (LRV_BND1_OFFSET): Likewise.
5047 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5049 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5051 * sysdeps/mach/hurd/i386/tls.h: ... here.
5052 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5053 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5056 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5058 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5060 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5062 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5064 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5067 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5068 * sysdeps/s390/configure: Regenerate.
5071 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5072 Set round-to-nearest internally to reduce error accumulation.
5074 2014-04-16 Alan Modra <amodra@gmail.com>
5078 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5079 * math/libm-test.inc (frexp_test_data): Add tests.
5080 * NEWS: Update fixed bug list.
5082 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5084 * benchtests/Makefile: Depend on libraries in build directory.
5085 (bench-math): Separate out math tests.
5086 (bench-pthread): Separate out pthread tests.
5087 (bench): Include math and pthread tests.
5089 2014-04-14 Carlos O'Donell <carlos@redhat.com>
5092 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5093 _dl_debug_initialize.
5095 * configure.ac: Remove SELinux header check.
5096 * configure: Regenerate.
5097 * nscd/selinux.c (perms): Array of const char* to permission names.
5098 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5099 default policy. Call string_to_security_class and string_to_av_perm to
5100 translate strings. Enforce default policy and call avs_has_perm with
5101 results of translated strings.
5103 2014-04-13 David S. Miller <davem@davemloft.net>
5105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5107 2014-04-12 Allan McRae <allan@archlinux.org>
5110 * manual/string.texi (Collation Functions): Fix qsort argument
5112 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5114 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5116 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5117 Make the test a no-op if there are no exceptions defined.
5119 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5121 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5122 enable-hardcoded-path-in-tests
5124 2014-04-11 Will Newton <will.newton@linaro.org>
5126 * benchtests/Makefile (extra-objs): Add json-lib.o.
5127 (bench-func): Tidy up JSON output.
5128 * benchtests/bench-skeleton.c: Include json-lib.h.
5129 (main): Use JSON library functions to do output of
5131 * benchtests/bench-timing-type.c (main): Output the
5132 timing type simply, leaving formatting to the user.
5133 * benchtests/json-lib.c: New file.
5134 * benchtests/json-lib.h: Likewise.
5136 2014-04-11 Torvald Riegel <triegel@redhat.com>
5139 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5140 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5141 memory barriers. Add comments.
5142 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5143 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5144 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5145 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5146 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5147 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5149 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5151 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5152 * sysdeps/s390/s390-64/configure.ac: ... this ...
5153 * sysdeps/s390/configure.ac: ... to here.
5154 * sysdeps/s390/s390-32/configure: Delete file.
5155 * sysdeps/s390/s390-64/configure: Delete file.
5156 * sysdeps/s390/configure: Regenerate.
5158 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5160 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5162 2014-04-11 Will Newton <will.newton@linaro.org>
5164 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5165 to zero if it is not defined elsewhere. (mtrim): Test
5166 the value of MALLOC_DEBUG with #if rather than #ifdef.
5168 2014-04-10 Torvald Riegel <triegel@redhat.com>
5170 * benchtests/pthread_once-inputs: New file.
5171 * benchtests/pthread_once-source.c: New file.
5172 * benchtests/README: Update documentation.
5174 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5175 H.J. Lu <hongjiu.lu@intel.com>
5177 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5178 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5179 * sysdeps/x86_64/configure: Regenerated.
5180 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5182 (REGISTER_SAVE_RAX): Likewise.
5183 (REGISTER_SAVE_RCX): Likewise.
5184 (REGISTER_SAVE_RDX): Likewise.
5185 (REGISTER_SAVE_RSI): Likewise.
5186 (REGISTER_SAVE_RDI): Likewise.
5187 (REGISTER_SAVE_R8): Likewise.
5188 (REGISTER_SAVE_R9): Likewise.
5189 (REGISTER_SAVE_BND0): Likewise.
5190 (REGISTER_SAVE_BND1): Likewise.
5191 (REGISTER_SAVE_BND2): Likewise.
5192 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5193 bound registers when calling _dl_fixup.
5195 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5197 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5198 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5200 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5201 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5202 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5203 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5204 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5205 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5206 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5208 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5211 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5212 pathconf(_PC_NAME_MAX).
5214 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5216 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5218 (__PTHREAD_SPINS): Move definition to ...
5219 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5220 (__PTHREAD_SPINS): ... here.
5221 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5222 (__PTHREAD_SPIN): Likewise.
5223 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5224 (__PTHREAD_SPIN): Likewise.
5225 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5226 (__PTHREAD_SPIN): Likewise.
5227 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5228 (__PTHREAD_SPIN): Likewise.
5229 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5230 (__PTHREAD_SPIN): Likewise.
5231 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5232 (__PTHREAD_SPIN): Likewise.
5233 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5234 (__PTHREAD_SPIN): Likewise.
5235 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5236 (__PTHREAD_SPIN): Likewise.
5237 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5238 (__PTHREAD_SPIN): Likewise.
5239 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5240 (__PTHREAD_SPIN): Likewise.
5241 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5242 (__PTHREAD_SPIN): Likewise.
5243 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5244 (__PTHREAD_SPIN): Likewise.
5246 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5247 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5248 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5249 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5251 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5252 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5253 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5254 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5256 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5257 strlen symbol for non multi-arch builds.
5258 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5259 missing hidden_def and weak_alias.
5261 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5263 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5265 2014-04-07 Will Newton <will.newton@linaro.org>
5267 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5268 and contents. [!_LIBC] Remove #ifndef and contents.
5269 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5270 * string/memccpy.c (__memccpy): Use ANSI prototype.
5271 * string/memfrob.c (memfrob): Likewise.
5272 * string/strcoll.c (STRCOLL): Likewise.
5273 * string/strlen.c (strlen): Likewise.
5274 * string/strtok.c (STRTOK): Likewise.
5275 * string/strcat.c: Remove unused #include of memcopy.h.
5276 (strcat): Use ANSI prototype.
5277 * string/strchr.c: Remove unused #include of memcopy.h.
5278 (strchr): Use ANSI prototype.
5279 * string/strcmp.c: Remove unused #include of memcopy.h.
5280 (strcmp): Use ANSI prototype.
5281 * string/strcpy.c: Remove unused #include of memcopy.h.
5282 (strcpy): Use ANSI prototype.
5284 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5286 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5287 * config.make.in (config-extra-cppflags): Set it from
5288 libc_extra_cppflags.
5289 * configure.ac (libc_extra_cflags): Make it accumulate over
5290 configure fragments.
5291 (libc_extra_cppflags): New flag.
5292 * configure. Regenerate.
5293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5294 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5295 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5299 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5300 result for FE_DOWNWARD rounding mode.
5301 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5305 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5307 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5308 in function argument name.
5310 2014-04-03 David Svoboda <svoboda@cert.org>
5313 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5316 2014-04-03 Roland McGrath <roland@hack.frob.com>
5318 * elf/dl-unmap-segments.h: New file.
5319 * sysdeps/generic/ldsodefs.h
5320 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5321 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5322 * elf/dl-fptr.c: Likewise.
5323 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5324 * sysdeps/aarch64/tlsdesc.c: Likewise.
5325 * sysdeps/arm/tlsdesc.c: Likewise.
5326 * sysdeps/i386/tlsdesc.c: Likewise.
5327 * sysdeps/tile/dl-runtime.c: Likewise.
5328 * sysdeps/x86_64/tlsdesc.c: Likewise.
5329 * elf/dl-load.h: New file.
5330 * elf/dl-load.c: Include it.
5331 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5332 Macros moved to dl-load.h.
5333 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5334 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5335 Use _dl_unmap_segments in place of __munmap.
5336 Break out segment-mapping loop into ...
5337 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5339 2014-04-03 Will Newton <will.newton@linaro.org>
5341 * elf/dl-lookup.c (do_lookup_x): Remove comment
5342 referring to nested function and move variable
5343 declarations down to before first use.
5345 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5349 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5351 * math/s_catanf.c (__catanf): Likewise.
5352 * math/s_catanh.c (__catanh): Likewise.
5353 * math/s_catanhf.c (__catanhf): Likewise.
5354 * math/s_catanhl.c (__catanhl): Likewise.
5355 * math/s_catanl.c (__catanl): Likewise.
5356 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5357 by positive zero when computing -Inf result.
5358 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5359 (catanh_test): Likewise.
5360 * sysdeps/i386/fpu/libm-test-ulps: Update.
5361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5364 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5365 instead of using underflowing value in computing result.
5366 * math/s_clog10.c (__clog10): Likewise.
5367 * math/s_clog10f.c (__clog10f): Likewise.
5368 * math/s_clog10l.c (__clog10l): Likewise.
5369 * math/s_clogf.c (__clogf): Likewise.
5370 * math/s_clogl.c (__clogl): Likewise.
5371 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5372 (clog10_test): Likewise.
5373 * sysdeps/i386/fpu/libm-test-ulps: Update.
5374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5376 2014-04-02 Alan Modra <amodra@gmail.com>
5379 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5380 output when value is near a power of two. Use int64_t for lx and
5381 remove casts. Use decimal rather than hex exponent constants.
5382 Don't use long double multiplication when double will suffice.
5383 * math/libm-test.inc (nextafter_test_data): Add tests.
5384 * NEWS: Add 16739 and 16786 to bug list.
5386 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5388 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5390 2014-04-01 Will Newton <will.newton@linaro.org>
5392 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5393 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5395 2014-04-01 Florian Weimer <fweimer@redhat.com>
5398 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5399 * nptl/tst-setuid2.c: New file.
5400 * nptl/Makefile (xtests): Add tst-setuid2.
5402 2014-04-01 Alan Modra <amodra@gmail.com>
5405 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5407 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5411 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5412 set errno as appropriate.
5413 * math/w_scalbf.c (__scalbf): Likewise.
5414 * math/w_scalbl.c (__scalbl): Likewise.
5415 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5416 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5417 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5421 * math/w_atan2.c: Include <errno.h>.
5422 (__atan2): Set errno for result underflowing to zero.
5423 * math/w_atan2f.c: Include <errno.h>.
5424 (__atan2f): Set errno for result underflowing to zero.
5425 * math/w_atan2l.c: Include <errno.h>.
5426 (__atan2l): Set errno for result underflowing to zero.
5427 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5429 * math/auto-libm-test-out: Regenerated.
5431 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5433 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5434 Encode instruction correctly in little endian.
5435 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5437 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5439 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5441 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5444 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5447 * sysdeps/unix/sysv/linux/kernel-features.h
5448 [__sparc__ && !__arch64__ && !__sparc_v9__]
5449 (__ASSUME_SET_ROBUST_LIST): Do not define.
5450 [__sparc__ && !__arch64__ && !__sparc_v9__]
5451 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5452 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5454 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5455 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5456 (__ASSUME_REQUEUE_PI): Likewise.
5457 (__ASSUME_SET_ROBUST_LIST): Likewise.
5458 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5459 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5461 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5462 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5464 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5466 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5468 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5469 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5471 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5472 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5476 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5477 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5478 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5480 2014-03-31 Will Newton <will.newton@linaro.org>
5482 * benchtests/Makefile (bench): Add ffs and ffsll to list
5484 * benchtests/ffs-inputs: New file.
5485 * benchtests/ffsll-inputs: Likewise.
5487 2014-03-29 Joseph Myers <joseph@codesourcery.com>
5490 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5491 too large before casting to int.
5492 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5493 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5494 * math/libm-test.inc (scalb_test_data): Add more tests.
5496 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5498 * benchtests/Makefile (DETAILED_OPT): New make option.
5499 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5501 * benchtests/bench-skeleton.c: Include stdbool.h.
5502 (main): Store and print timings per input.
5503 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5504 member to each argument value.
5505 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5506 (_print_arg_data): Initialize per-input timing to 0.
5508 * benchtests/Makefile (timing-type): New binary.
5509 (bench-clean): Also remove bench-timing-type.
5510 (bench): New target for timing-type.
5511 (bench-func): Print output in JSON format.
5512 * benchtests/bench-skeleton.c (main): Print output in JSON
5514 * benchtests/bench-timing-type.c: New file.
5515 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5516 (TIMING_PRINT_STATS): Remove.
5517 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5520 * benchtests/bench-modf.c: Remove.
5521 * benchtests/modf-inputs: New inputs file.
5523 2014-03-28 Joseph Myers <joseph@codesourcery.com>
5526 * math/s_clog10.c (M_PI_LOG10E): New macro.
5527 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5528 imaginary parts are 0.
5529 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5530 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5531 imaginary parts are 0.
5532 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5533 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5534 imaginary parts are 0.
5535 * math/libm-test.inc (clog10_test_data): Update expected results
5536 for when real and imaginary parts are 0.
5538 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5540 * elf/dl-load.c: Finish conversion of __builtin_expect into
5543 2014-03-27 Joseph Myers <joseph@codesourcery.com>
5546 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5547 1+x for argument with exponent below -67.
5548 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5550 * math/auto-libm-test-in: Add more tests of exp.
5551 * math/auto-libm-test-out: Regenerated.
5553 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5556 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5557 (nscd_getnetgrent): Use it.
5560 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5563 2014-03-27 Andi Kleen <ak@linux.intel.com>
5565 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5566 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5567 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5568 (lll_robust_unlock): Remove out of line section. Use cfi
5570 (LLL_STUB_UNWIND_INFO*): Remove.
5571 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5572 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5573 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5574 (lll_robust_unlock): Remove out of line section. Use cfi
5576 (LLL_STUB_UNWIND_INFO*): Remove.
5578 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5581 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5584 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5586 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5588 2014-03-26 Joseph Myers <joseph@codesourcery.com>
5591 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5593 * math/test-fenv-preserve.c: New file.
5594 * math/Makefile (tests): Add test-fenv-preserve.
5596 2014-03-26 Will Newton <will.newton@linaro.org>
5598 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5600 2014-03-25 Roland McGrath <roland@hack.frob.com>
5602 * scripts/versionlist.awk: Partition the version sets and emit all
5603 GLIBC_* (sorted) before all others (sorted).
5605 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5607 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5608 GLIBC_2.2.5 version.
5610 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5612 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5615 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5620 2014-03-25 Andreas Schwab <schwab@suse.de>
5622 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5623 label to be used after in6ailist is initialized.
5625 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5627 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5628 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5630 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5634 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5636 (fp_formats): Update initializers.
5637 (init_fp_formats): Initialize new field.
5638 (output_for_one_input_case): Allow underflow for results up to
5640 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5641 * math/auto-libm-test-in: Don't mark some underflows from asin and
5643 * math/auto-libm-test-out: Regenerated.
5644 * sysdeps/i386/fpu/libm-test-ulps: Update.
5645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5647 2014-03-25 Andreas Schwab <schwab@suse.de>
5649 * libio/Makefile (tst-ftell-partial-wide-ENV)
5650 (tst-ftell-active-handler-ENV): Define.
5652 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5654 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5656 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5658 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5660 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5662 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5663 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5664 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5666 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5669 * elf/dl-load.c (open_verify): Add mode parameter.
5670 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5671 (open_path): Change from boolean 'secure' to complete flag 'mode'
5672 (_dl_map_object): Adjust.
5673 * elf/Makefile (tests): Add tst-dlopen-aout.
5674 * elf/tst-dlopen-aout.c: New test.
5676 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5679 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5680 (struct stat): Rename member pad0 to __glibc_reserved0.
5683 * sysdeps/s390/s390-32/bits/wordsize.h
5684 (__WORDSIZE32_SIZE_ULONG): New define.
5685 * sysdeps/s390/s390-64/bits/wordsize.h
5686 (__WORDSIZE32_SIZE_ULONG): Likewise.
5687 * sysdeps/generic/stdint.h (SIZE_MAX):
5688 Define as UL if __WORDSIZE32_SIZE_ULONG.
5691 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5692 (__glibc_reserved0): New variable.
5693 (sa_flags): Change type to int.
5695 * posix/Makefile (before-compile): Use += before-compile instead
5698 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5699 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5701 2014-03-20 Andreas Schwab <schwab@suse.de>
5704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5705 non-matching result from nscd.
5707 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5709 * scripts/bench.py: Moved to ...
5710 * benchtests/scripts/bench.py: ... here.
5711 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5713 2014-03-24 Andreas Schwab <schwab@suse.de>
5716 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5717 alloca_account and account alloca use for struct in6ailist.
5719 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5722 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5723 rounding mode to recompute results that overflow to infinity or
5725 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5727 * math/auto-libm-test-out: Regenerated.
5728 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5729 (ccosh_test): Likewise.
5730 (csin_test_data): Use plus_oflow.
5731 (csin_test): Use ALL_RM_TEST.
5732 (csinh_test_data): Use plus_oflow.
5733 (csinh_test): Use ALL_RM_TEST.
5734 * sysdeps/i386/fpu/libm-test-ulps: Update.
5735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5737 2014-03-21 Joseph Myers <joseph@codesourcery.com>
5739 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5740 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5741 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5744 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5746 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5747 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5748 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5749 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5751 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5752 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5754 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5755 * sysdeps/i386/fpu/libm-test-ulps: Update.
5756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5758 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5760 * scripts/bench.pl: Remove file.
5761 * scripts/bench.py: New benchmark script.
5762 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5763 * benchtests/README: Mention python dependency.
5764 * scripts/pylintrc: New file.
5765 * scripts/pylint: New file.
5767 * bits/mathdef.h: Use #ifdef instead of #if.
5768 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5769 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5770 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5771 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5772 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5773 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5775 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5776 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5778 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5779 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5780 and strpbrk-ppc64 objects.
5781 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5782 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5783 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5784 multiarch strpbrk for POWER7.
5785 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5786 multiarch strpbrk for PPC64.
5787 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5789 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5792 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5794 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5795 (atan_test): Likewise.
5796 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5797 (atanh_test): Use ALL_RM_TEST.
5798 (atan2_test_data): Likewise.
5799 (cabs_test): Likewise.
5800 (cacosh_test): Likewise.
5801 (carg_test): Likewise.
5802 (casin_test): Likewise.
5803 (casinh_test): Likewise.
5804 (cbrt_test): Likewise.
5805 (csqrt_test): Likewise.
5806 (erf_test): Likewise.
5807 (erfc_test): Likewise.
5808 (pow10_test): Likewise.
5809 (exp2_test): Likewise.
5810 (hypot_test): Likewise.
5811 (j0_test): Likewise.
5812 (j1_test): Likewise.
5813 (lgamma_test): Likewise.
5814 (gamma_test): Likewise.
5815 (sincos_test): Likewise.
5816 (tanh_test): Likewise.
5817 (y0_test): Likewise.
5818 (y1_test): Likewise.
5819 * sysdeps/i386/fpu/libm-test-ulps: Update.
5820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5822 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5824 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5825 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5826 and strcspn-ppc64 objects.
5827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5828 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5829 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5830 multiarch strcspn for POWER7.
5831 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5832 multiarch strcspn for PPC64.
5833 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5835 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5838 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5840 * math/gen-libm-test.pl (generate_testfile): Expect only function
5841 name as argument to AUTO_TESTS_* and pass results for all rounding
5842 modes to parse_args.
5843 (parse_auto_input): Separate inputs of automatic tests from
5844 outputs before storing in %auto_tests.
5845 * math/libm-test.inc (acos_test_data): Update call to
5847 (acos_test): Use ALL_RM_TEST.
5848 (acos_tonearest_test_data): Remove.
5849 (acos_test_tonearest): Likewise.
5850 (acos_towardzero_test_data): Likewise.
5851 (acos_test_towardzero): Likewise.
5852 (acos_downward_test_data): Likewise.
5853 (acos_test_downward): Likewise.
5854 (acos_upward_test_data): Likewise.
5855 (acos_test_upward): Likewise.
5856 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5857 (asin_test_data): Likewise.
5858 (asin_test): Use ALL_RM_TEST.
5859 (asin_tonearest_test_data): Remove.
5860 (asin_test_tonearest): Likewise.
5861 (asin_towardzero_test_data): Likewise.
5862 (asin_test_towardzero): Likewise.
5863 (asin_downward_test_data): Likewise.
5864 (asin_test_downward): Likewise.
5865 (asin_upward_test_data): Likewise.
5866 (asin_test_upward): Likewise.
5867 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5868 (atan_test_data): Likewise.
5869 (atanh_test_data): Likewise.
5870 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5871 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5872 (carg_test_data): Likewise.
5873 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5874 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5875 (ccosh_test_data): Likewise.
5876 (cexp_test_data): Likewise.
5877 (clog_test_data): Likewise.
5878 (clog10_test_data): Likewise.
5879 (cos_test_data): Update call to AUTO_TESTS_f_f.
5880 (cos_test): Use ALL_RM_TEST.
5881 (cos_tonearest_test_data): Remove.
5882 (cos_test_tonearest): Likewise.
5883 (cos_towardzero_test_data): Likewise.
5884 (cos_test_towardzero): Likewise.
5885 (cos_downward_test_data): Likewise.
5886 (cos_test_downward): Likewise.
5887 (cos_upward_test_data): Likewise.
5888 (cos_test_upward): Likewise.
5889 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5890 (cosh_test): Use ALL_RM_TEST.
5891 (cosh_tonearest_test_data): Remove.
5892 (cosh_test_tonearest): Likewise.
5893 (cosh_towardzero_test_data): Likewise.
5894 (cosh_test_towardzero): Likewise.
5895 (cosh_downward_test_data): Likewise.
5896 (cosh_test_downward): Likewise.
5897 (cosh_upward_test_data): Likewise.
5898 (cosh_test_upward): Likewise.
5899 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5900 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5901 (ctan_test_data): Likewise.
5902 (ctan_test): Use ALL_RM_TEST.
5903 (ctan_tonearest_test_data): Remove.
5904 (ctan_test_tonearest): Likewise.
5905 (ctan_towardzero_test_data): Likewise.
5906 (ctan_test_towardzero): Likewise.
5907 (ctan_downward_test_data): Likewise.
5908 (ctan_test_downward): Likewise.
5909 (ctan_upward_test_data): Likewise.
5910 (ctan_test_upward): Likewise.
5911 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5912 (ctanh_test): Use ALL_RM_TEST.
5913 (ctanh_tonearest_test_data): Remove.
5914 (ctanh_test_tonearest): Likewise.
5915 (ctanh_towardzero_test_data): Likewise.
5916 (ctanh_test_towardzero): Likewise.
5917 (ctanh_downward_test_data): Likewise.
5918 (ctanh_test_downward): Likewise.
5919 (ctanh_upward_test_data): Likewise.
5920 (ctanh_test_upward): Likewise.
5921 (erf_test_data): Update call to AUTO_TESTS_f_f.
5922 (erfc_test_data): Likewise.
5923 (exp_test_data): Likewise.
5924 (exp_test): Use ALL_RM_TEST.
5925 (exp_tonearest_test_data): Remove.
5926 (exp_test_tonearest): Likewise.
5927 (exp_towardzero_test_data): Likewise.
5928 (exp_test_towardzero): Likewise.
5929 (exp_downward_test_data): Likewise.
5930 (exp_test_downward): Likewise.
5931 (exp_upward_test_data): Likewise.
5932 (exp_test_upward): Likewise.
5933 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5934 (exp10_test): Use ALL_RM_TEST.
5935 (exp10_tonearest_test_data): Remove.
5936 (exp10_test_tonearest): Likewise.
5937 (exp10_towardzero_test_data): Likewise.
5938 (exp10_test_towardzero): Likewise.
5939 (exp10_downward_test_data): Likewise.
5940 (exp10_test_downward): Likewise.
5941 (exp10_upward_test_data): Likewise.
5942 (exp10_test_upward): Likewise.
5943 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5944 (expm1_test_data): Likewise.
5945 (expm1_test): Use ALL_RM_TEST.
5946 (expm1_tonearest_test_data): Remove.
5947 (expm1_test_tonearest): Likewise.
5948 (expm1_towardzero_test_data): Likewise.
5949 (expm1_test_towardzero): Likewise.
5950 (expm1_downward_test_data): Likewise.
5951 (expm1_test_downward): Likewise.
5952 (expm1_upward_test_data): Likewise.
5953 (expm1_test_upward): Likewise.
5954 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5955 (fma_test): Use ALL_RM_TEST.
5956 (fma_towardzero_test_data): Remove.
5957 (fma_test_towardzero): Likewise.
5958 (fma_downward_test_data): Likewise.
5959 (fma_test_downward): Likewise.
5960 (fma_upward_test_data): Likewise.
5961 (fma_test_upward): Likewise.
5962 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5963 (j0_test_data): Update call to AUTO_TESTS_f_f.
5964 (j1_test_data): Likewise.
5965 (jn_test_data): Update call to AUTO_TESTS_if_f.
5966 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5967 (log_test_data): Update call to AUTO_TESTS_f_f.
5968 (log10_test_data): Likewise.
5969 (log1p_test_data): Likewise.
5970 (log2_test_data): Likewise.
5971 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5972 (pow_tonearest_test_data): Likewise.
5973 (sin_test_data): Update call to AUTO_TESTS_f_f.
5974 (sin_test): Use ALL_RM_TEST.
5975 (sin_tonearest_test_data): Remove.
5976 (sin_test_tonearest): Likewise.
5977 (sin_towardzero_test_data): Likewise.
5978 (sin_test_towardzero): Likewise.
5979 (sin_downward_test_data): Likewise.
5980 (sin_test_downward): Likewise.
5981 (sin_upward_test_data): Likewise.
5982 (sin_test_upward): Likewise.
5983 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5984 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5985 (sinh_test): Use ALL_RM_TEST.
5986 (sinh_tonearest_test_data): Remove.
5987 (sinh_test_tonearest): Likewise.
5988 (sinh_towardzero_test_data): Likewise.
5989 (sinh_test_towardzero): Likewise.
5990 (sinh_downward_test_data): Likewise.
5991 (sinh_test_downward): Likewise.
5992 (sinh_upward_test_data): Likewise.
5993 (sinh_test_upward): Likewise.
5994 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5995 (sqrt_test): Use ALL_RM_TEST.
5996 (sqrt_tonearest_test_data): Remove.
5997 (sqrt_test_tonearest): Likewise.
5998 (sqrt_towardzero_test_data): Likewise.
5999 (sqrt_test_towardzero): Likewise.
6000 (sqrt_downward_test_data): Likewise.
6001 (sqrt_test_downward): Likewise.
6002 (sqrt_upward_test_data): Likewise.
6003 (sqrt_test_upward): Likewise.
6004 (tan_test_data): Update call to AUTO_TESTS_f_f.
6005 (tan_test): Use ALL_RM_TEST.
6006 (tan_tonearest_test_data): Remove.
6007 (tan_test_tonearest): Likewise.
6008 (tan_towardzero_test_data): Likewise.
6009 (tan_test_towardzero): Likewise.
6010 (tan_downward_test_data): Likewise.
6011 (tan_test_downward): Likewise.
6012 (tan_upward_test_data): Likewise.
6013 (tan_test_upward): Likewise.
6014 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6015 (tgamma_test_data): Likewise.
6016 (y0_test_data): Likewise.
6017 (y1_test_data): Likewise.
6018 (yn_test_data): Update call to AUTO_TESTS_if_f.
6019 (main): Do not call removed functions.
6021 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6023 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6024 (ldexp_test_data): Remove.
6025 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6027 (scalb_test): Use ALL_RM_TEST.
6029 2014-03-19 Andreas Schwab <schwab@suse.de>
6031 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6033 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6036 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6037 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6038 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6039 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6040 (__ASSUME_PREADV): Undefine.
6041 (__ASSUME_PWRITEV): Likewise.
6043 2014-03-18 Roland McGrath <roland@hack.frob.com>
6045 * bits/mman-linux.h: Add comment about non-Linux use.
6046 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6047 bits/mman-linux.h resting place.
6049 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6050 * bits/mman-linux.h: ... here.
6052 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6054 * conform/conformtest.pl: Add standard definition when calling C
6055 preprocessor on data files.
6056 (checknamespace): Remove unused variable.
6058 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6060 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6061 minus_oflow, plus_uflow and minus_uflow in expected results.
6062 * math/libm-test.inc (scalbn_test_data): Add more tests of
6063 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6065 (scalbn_test): Use ALL_RM_TEST.
6066 (scalbln_test_data): Add more tests of negative arguments. Use
6067 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6068 (scalbln_test): Use ALL_RM_TEST.
6070 2014-03-18 Roland McGrath <roland@hack.frob.com>
6072 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6074 2014-03-18 Will Newton <will.newton@linaro.org>
6076 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6079 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6081 * Makerules [!subdir] (check-abi): Exit with error status if a
6084 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6086 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6087 for rint. Include results for all rounding modes.
6088 (nearbyint_test): Use ALL_RM_TEST.
6089 (rint_test_data): Include all tests used for nearbyint.
6091 2014-03-17 Will Newton <will.newton@linaro.org>
6093 * nptl/sysdeps/pthread/pthread.h: Revert previous
6096 * sysdeps/generic/ldsodefs.h: Revert previous
6099 * libio/genops.c: Revert previous change.
6100 * libio/libioP.h: Likewise.
6101 * stdio-common/vfprintf.c: Likewise.
6103 * sysdeps/generic/math_private.h: Revert previous
6106 * sysdeps/generic/math_private.h: Check whether
6107 HAVE_RM_CTX is defined with #ifdef rather
6110 * argp/argp-fmtstream.h: Check whether
6111 __STRICT_ANSI__ is defined with #ifdef rather
6113 * argp/argp.h: Likewise.
6115 * libio/genops.c: Check whether
6116 _IO_JUMPS_OFFSET is defined with #ifdef rather
6118 * libio/libioP.h: Likewise.
6119 * stdio-common/vfprintf.c: Likewise.
6121 * sysdeps/generic/ldsodefs.h: Check whether
6122 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6125 * nptl/sysdeps/pthread/pthread.h: Check
6126 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6129 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6131 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6133 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6137 * libio/fileops.c (_IO_file_open): Seek to end of file but
6138 don't cache the offset.
6139 (get_file_offset): Remove function.
6140 (do_ftell): Use cached offset when available.
6141 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6142 don't cache the offset.
6143 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6145 (do_one_test): Call it.
6146 (do_ftell_test): Fix up expected old offset for a+ mode.
6147 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6150 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6151 up test status with function return status.
6152 (do_write_test): Likewise.
6153 (do_append_test): Likewise.
6155 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6156 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6159 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6161 * math/gen-libm-test.pl (parse_args): Handle results specified for
6162 each rounding mode separately.
6163 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6164 tests and results from lrint_tonearest_test_data,
6165 lrint_towardzero_test_data, lrint_downward_test_data and
6166 lrint_upward_test_data.
6167 (lrint_test): Use ALL_RM_TEST.
6168 (lrint_tonearest_test_data): Remove.
6169 (lrint_test_tonearest): Likewise.
6170 (lrint_towardzero_test_data): Likewise.
6171 (lrint_test_towardzero): Likewise.
6172 (lrint_downward_test_data): Likewise.
6173 (lrint_test_downward): Likewise.
6174 (lrint_upward_test_data): Likewise.
6175 (lrint_test_upward): Likewise.
6176 (llrint_test_data): Merge in per-rounding-mode tests and results
6177 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6178 llrint_downward_test_data and llrint_upward_test_data.
6179 (llrint_test): Use ALL_RM_TEST.
6180 (llrint_tonearest_test_data): Remove.
6181 (llrint_test_tonearest): Likewise.
6182 (llrint_towardzero_test_data): Likewise.
6183 (llrint_test_towardzero): Likewise.
6184 (llrint_downward_test_data): Likewise.
6185 (llrint_test_downward): Likewise.
6186 (llrint_upward_test_data): Likewise.
6187 (llrint_test_upward): Likewise.
6188 (rint_test_data): Merge in per-rounding-mode tests and results
6189 from rint_tonearest_test_data, rint_towardzero_test_data,
6190 rint_downward_test_data and rint_upward_test_data. Add
6191 per-rounding-mode results for tests not in those arrays.
6192 (rint_test): Use ALL_RM_TEST.
6193 (rint_tonearest_test_data): Remove.
6194 (rint_test_tonearest): Likewise.
6195 (rint_towardzero_test_data): Likewise.
6196 (rint_test_towardzero): Likewise.
6197 (rint_downward_test_data): Likewise.
6198 (rint_test_downward): Likewise.
6199 (rint_upward_test_data): Likewise.
6200 (rint_test_upward): Likewise.
6201 (main): Don't call removed functions.
6203 2014-03-14 Roland McGrath <roland@hack.frob.com>
6205 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6206 "Compiled on ..." crapola. It is anti-useful.
6208 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6210 * scripts/evaluate-test.sh: Handle fourth argument to determine
6211 whether test run should stop on failure.
6212 * Makeconfig (stop-on-test-failure): New variable.
6213 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6214 $(stop-on-test-failure).
6215 * Makefile (tests): Give a summary of results from testing and
6216 exit with failure status if they include an ERROR or FAIL.
6218 * manual/install.texi (Configuring and compiling): Mention
6219 stop-on-test-failure=y.
6220 * INSTALL: Regenerated.
6222 2014-03-14 Roland McGrath <roland@hack.frob.com>
6224 * scripts/versionlist.awk: New file.
6225 * Makerules [$(build-shared) = yes]
6226 (postclean-generated): Add Versions.def, not Versions.def.v and
6228 ($(common-objpfx)Versions.def.v.i): Target removed.
6229 ($(common-objpfx)Versions.def): New target.
6230 ($(common-objpfx)Versions.all): Depend on that rather that
6231 $(common-objpfx)Versions.def.v.
6232 * Versions.def: File removed.
6234 * Makeconfig (+gccwarn): Add -Wundef.
6235 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6236 a dl-sysdep.h breaking its contract.
6237 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6238 * include/stackinfo.h: New file.
6239 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6240 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6241 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6242 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6243 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6244 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6245 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6246 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6247 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6248 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6249 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6250 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6251 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6252 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6253 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6255 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6258 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6260 * math/libm-test.inc (round_test_data): Add more tests.
6263 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6265 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6268 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6270 * math/libm-test.inc (ceil_test_data): Add more tests.
6272 * math/libm-test.inc (trunc_test_data): Add more tests related to
6275 2014-03-14 Roland McGrath <roland@hack.frob.com>
6277 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6278 with #if rather than #ifdef.
6279 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6281 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6283 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6284 first. Disable AVX-512 GCC support if assembler doesn't support
6286 * sysdeps/x86_64/configure: Regenerated.
6288 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6290 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6291 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6292 (__old_pthread_attr_setstack): Likewise.
6293 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6294 [!_STACK_GROWS_DOWN]: Likewise.
6296 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6298 * config.make.in (have-bash2): Delete.
6299 * configure.ac (libc_cv_have_bash2): Delete.
6300 * configure: Regenerate.
6301 * elf/Makefile (common-ldd-rewrite): Rename to ...
6302 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6303 (sh-ldd-rewrite): Delete.
6304 (bash-ldd-rewrite): Delete.
6305 (have-bash2): Delete checks.
6306 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6309 * config.make.in (have-ksh): Delete.
6311 * configure.ac (libc_cv_have_ksh): Delete.
6312 * configure: Regenerate.
6314 * elf/Makefile: Delete $(have-ksh) check.
6315 ($(objpfx)sotruss): Change KSH to BASH.
6316 * elf/sotruss.ksh: Rename to ...
6317 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6318 function style to match POSIX. Drop ksh vim mode setting.
6320 * manual/time.texi (Specifying the Time Zone with TZ): Change
6321 Tuesday to Thursday.
6323 * debug/tst-longjmp_chk2.c: Update header comment.
6324 (stackoverflow_handler): Add comment. Call assert on pass value.
6326 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6328 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6329 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6330 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6331 (La_x86_64_vector): Add zmm.
6332 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6333 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6334 ($(objpfx)tst-audit10): New target.
6335 ($(objpfx)tst-audit10.out): Likewise.
6336 (tst-audit10-ENV): New.
6337 (AVX512-CFLAGS): Likewise.
6338 (CFLAGS-tst-audit10.c): Likewise.
6339 (CFLAGS-tst-auditmod10a.c): Likewise.
6340 (CFLAGS-tst-auditmod10b.c): Likewise.
6341 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6342 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6343 * sysdeps/x86_64/configure: Regenerated.
6344 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6345 AVX-512 zmm register support.
6346 (_dl_x86_64_save_sse): Likewise.
6347 (_dl_x86_64_restore_sse): Likewise.
6348 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6349 size vector registers.
6350 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6351 (ZMM_SIZE): Likewise.
6352 * sysdeps/x86_64/tst-audit10.c: New file.
6353 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6354 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6356 2014-03-13 Roland McGrath <roland@hack.frob.com>
6358 * configure.ac (HAVE_EHDR_START): New check.
6359 * configure: Regenerated.
6360 * config.h.in (HAVE_EHDR_START): New #undef.
6361 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6362 assuming the lowest-addressed segment maps the start of the file.
6364 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6366 * INSTALL: Regenerated.
6368 2014-03-13 Will Newton <will.newton@linaro.org>
6370 * manual/setjmp.texi (System V contexts): Improve
6371 clarity and grammar of documentation.
6373 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6376 * elf/Makefile (tests): Add tst-pie2.
6377 (tests-pie): Add tst-pie2.
6378 * elf/tst-pie2.c: New file.
6379 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6381 * elf/rtld.c (map_doit): Load executable as lt_executable.
6382 (dl_main): Likewise.
6384 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6387 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6388 (__ASSUME_PSELECT): Undefine.
6390 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6393 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6394 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6396 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6397 selector for static builds.
6399 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6402 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6405 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6407 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6408 IFUNC selector for static builds.
6410 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6412 * sysdeps/mips/math_private.h [__mips_hard_float]
6413 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6414 libc_feresetround_mips_ctx.
6415 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6416 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6417 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6420 * math/s_nextafter.c (__nextafter): Do not return value from
6421 overflowing computation.
6422 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6423 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6424 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6426 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6428 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6429 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6431 2014-03-11 Roland McGrath <roland@hack.frob.com>
6433 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6434 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6435 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6436 the new mov targetting sp.
6438 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6441 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6442 Define it for static builds as well.
6443 (NO_BZERO_IMPL): Likewise.
6445 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6447 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6448 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6449 multiarch strspn for PPC64.
6450 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6451 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6453 (__libc_ifunc_impl_list): Likewise.
6454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6455 multiarch optimizations
6456 * string/strspn.c (strspn): Using macro to redefine symbol name.
6458 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6459 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6461 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6462 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6463 multiarch strncat for PPC64.
6464 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6465 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6467 (__libc_ifunc_impl_list): Likewise.
6468 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6469 multiarch optimizations
6471 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6474 * nscd/nscd.service: Make service type forking.
6476 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6478 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6479 sign in non default rounding modes.
6480 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6482 2014-03-08 Joseph Myers <joseph@codesourcery.com>
6484 * math/libm-test.inc (ALL_RM_TEST): New macro.
6485 (ceil_test): Use ALL_RM_TEST.
6486 (cimag_test): Likewise.
6487 (conj_test): Likewise.
6488 (copysign_test): Likewise.
6489 (cproj_test): Likewise.
6490 (creal_test): Likewise.
6491 (fabs_test): Likewise.
6492 (floor_test): Likewise.
6493 (fmax_test): Likewise.
6494 (fmin_test): Likewise.
6495 (fmod_test): Likewise.
6496 (fpclassify_test): Likewise.
6497 (frexp_test): Likewise.
6498 (ilogb_test): Likewise.
6499 (isfinite_test): Likewise.
6500 (finite_test): Likewise.
6501 (isgreater_test): Likewise.
6502 (isgreaterequal_test): Likewise.
6503 (isinf_test): Likewise.
6504 (isless_test): Likewise.
6505 (islessequal_test): Likewise.
6506 (islessgreater_test): Likewise.
6507 (isnan_test): Likewise.
6508 (isnormal_test): Likewise.
6509 (issignaling_test): Likewise.
6510 (isunordered_test): Likewise.
6511 (logb_test): Likewise.
6512 (logb_downward_test_data): Remove.
6513 (logb_test_downward): Likewise.
6514 (lround_test): Use ALL_RM_TEST.
6515 (llround_test): Likewise.
6516 (modf_test): Likewise.
6517 (nexttoward_test): Likewise.
6518 (remainder_test): Likewise.
6519 (drem_test): Likewise.
6520 (remainder_tonearest_test_data): Likewise.
6521 (remainder_test_tonearest): Likewise.
6522 (drem_test_tonearest): Likewise.
6523 (remainder_towardzero_test_data): Likewise.
6524 (remainder_test_towardzero): Likewise.
6525 (drem_test_towardzero): Likewise.
6526 (remainder_downward_test_data): Likewise.
6527 (remainder_test_downward): Likewise.
6528 (drem_test_downward): Likewise.
6529 (remainder_upward_test_data): Likewise.
6530 (remainder_test_upward): Likewise.
6531 (drem_test_upward): Likewise.
6532 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6533 (round_test): Use ALL_RM_TEST.
6534 (signbit_test): Likewise.
6535 (trunc_test): Likewise.
6536 (significand_test): Likewise.
6537 (main): Don't call removed functions.
6539 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6542 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6544 (ILL_ILLOPN): Likewise.
6545 (ILL_ILLADR): Likewise.
6546 (ILL_ILLTRP): Likewise.
6547 (ILL_PRVOPC): Likewise.
6548 (ILL_PRVREG): Likewise.
6549 (ILL_COPROC): Likewise.
6550 (ILL_BADSTK): Likewise.
6551 (FPE_INTDIV): Likewise.
6552 (FPE_INTOVF): Likewise.
6553 (FPE_FLTDIV): Likewise.
6554 (FPE_FLTOVF): Likewise.
6555 (FPE_FLTUND): Likewise.
6556 (FPE_FLTRES): Likewise.
6557 (FPE_FLTINV): Likewise.
6558 (FPE_FLTSUB): Likewise.
6559 (SEGV_MAPERR): Likewise.
6560 (SEGV_ACCERR): Likewise.
6561 (BUS_ADRALN): Likewise.
6562 (BUS_ADRERR): Likewise.
6563 (BUS_OBJERR): Likewise.
6564 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6565 (TRAP_TRACE): Likewise.
6566 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6568 (CLD_KILLED): Likewise.
6569 (CLD_DUMPED): Likewise.
6570 (CLD_TRAPPED): Likewise.
6571 (CLD_STOPPED): Likewise.
6572 (CLD_CONTINUED): Likewise.
6573 (POLL_IN): Likewise.
6574 (POLL_OUT): Likewise.
6575 (POLL_MSG): Likewise.
6576 (POLL_ERR): Likewise.
6577 (POLL_PRI): Likewise.
6578 (POLL_HUP): Likewise.
6579 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6581 (ILL_ILLOPN): Likewise.
6582 (ILL_ILLADR): Likewise.
6583 (ILL_ILLTRP): Likewise.
6584 (ILL_PRVOPC): Likewise.
6585 (ILL_PRVREG): Likewise.
6586 (ILL_COPROC): Likewise.
6587 (ILL_BADSTK): Likewise.
6588 (FPE_INTDIV): Likewise.
6589 (FPE_INTOVF): Likewise.
6590 (FPE_FLTDIV): Likewise.
6591 (FPE_FLTOVF): Likewise.
6592 (FPE_FLTUND): Likewise.
6593 (FPE_FLTRES): Likewise.
6594 (FPE_FLTINV): Likewise.
6595 (FPE_FLTSUB): Likewise.
6596 (SEGV_MAPERR): Likewise.
6597 (SEGV_ACCERR): Likewise.
6598 (BUS_ADRALN): Likewise.
6599 (BUS_ADRERR): Likewise.
6600 (BUS_OBJERR): Likewise.
6601 (BUS_MCEERR_AR): Likewise.
6602 (BUS_MCEERR_AO): Likewise.
6603 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6604 (TRAP_TRACE): Likewise.
6605 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6607 (CLD_KILLED): Likewise.
6608 (CLD_DUMPED): Likewise.
6609 (CLD_TRAPPED): Likewise.
6610 (CLD_STOPPED): Likewise.
6611 (CLD_CONTINUED): Likewise.
6612 (POLL_IN): Likewise.
6613 (POLL_OUT): Likewise.
6614 (POLL_MSG): Likewise.
6615 (POLL_ERR): Likewise.
6616 (POLL_PRI): Likewise.
6617 (POLL_HUP): Likewise.
6618 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6619 (ILL_ILLOPN): Likewise.
6620 (ILL_ILLADR): Likewise.
6621 (ILL_ILLTRP): Likewise.
6622 (ILL_PRVOPC): Likewise.
6623 (ILL_PRVREG): Likewise.
6624 (ILL_COPROC): Likewise.
6625 (ILL_BADSTK): Likewise.
6626 (FPE_INTDIV): Likewise.
6627 (FPE_INTOVF): Likewise.
6628 (FPE_FLTDIV): Likewise.
6629 (FPE_FLTOVF): Likewise.
6630 (FPE_FLTUND): Likewise.
6631 (FPE_FLTRES): Likewise.
6632 (FPE_FLTINV): Likewise.
6633 (FPE_FLTSUB): Likewise.
6634 (SEGV_MAPERR): Likewise.
6635 (SEGV_ACCERR): Likewise.
6636 (BUS_ADRALN): Likewise.
6637 (BUS_ADRERR): Likewise.
6638 (BUS_OBJERR): Likewise.
6639 (BUS_MCEERR_AR): Likewise.
6640 (BUS_MCEERR_AO): Likewise.
6641 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6642 (TRAP_TRACE): Likewise.
6643 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6645 (CLD_KILLED): Likewise.
6646 (CLD_DUMPED): Likewise.
6647 (CLD_TRAPPED): Likewise.
6648 (CLD_STOPPED): Likewise.
6649 (CLD_CONTINUED): Likewise.
6650 (POLL_IN): Likewise.
6651 (POLL_OUT): Likewise.
6652 (POLL_MSG): Likewise.
6653 (POLL_ERR): Likewise.
6654 (POLL_PRI): Likewise.
6655 (POLL_HUP): Likewise.
6656 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6658 (ILL_ILLOPN): Likewise.
6659 (ILL_ILLADR): Likewise.
6660 (ILL_ILLTRP): Likewise.
6661 (ILL_PRVOPC): Likewise.
6662 (ILL_PRVREG): Likewise.
6663 (ILL_COPROC): Likewise.
6664 (ILL_BADSTK): Likewise.
6665 (ILL_BADIADDR): Likewise.
6666 (ILL_BREAK): Likewise.
6667 (FPE_INTDIV): Likewise.
6668 (FPE_INTOVF): Likewise.
6669 (FPE_FLTDIV): Likewise.
6670 (FPE_FLTOVF): Likewise.
6671 (FPE_FLTUND): Likewise.
6672 (FPE_FLTRES): Likewise.
6673 (FPE_FLTINV): Likewise.
6674 (FPE_FLTSUB): Likewise.
6675 (FPE_DECOVF): Likewise.
6676 (FPE_DECDIV): Likewise.
6677 (FPE_DECERR): Likewise.
6678 (FPE_INVASC): Likewise.
6679 (FPE_INVDEC): Likewise.
6680 (SEGV_MAPERR): Likewise.
6681 (SEGV_ACCERR): Likewise.
6682 (SEGV_PSTKOVF): Likewise.
6683 (BUS_ADRALN): Likewise.
6684 (BUS_ADRERR): Likewise.
6685 (BUS_OBJERR): Likewise.
6686 (BUS_MCEERR_AR): Likewise.
6687 (BUS_MCEERR_AO): Likewise.
6688 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6689 (TRAP_TRACE): Likewise.
6690 (TRAP_BRANCH): Likewise.
6691 (TRAP_HWBKPT): Likewise.
6692 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6694 (CLD_KILLED): Likewise.
6695 (CLD_DUMPED): Likewise.
6696 (CLD_TRAPPED): Likewise.
6697 (CLD_STOPPED): Likewise.
6698 (CLD_CONTINUED): Likewise.
6699 (POLL_IN): Likewise.
6700 (POLL_OUT): Likewise.
6701 (POLL_MSG): Likewise.
6702 (POLL_ERR): Likewise.
6703 (POLL_PRI): Likewise.
6704 (POLL_HUP): Likewise.
6705 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6706 (ILL_ILLOPN): Likewise.
6707 (ILL_ILLADR): Likewise.
6708 (ILL_ILLTRP): Likewise.
6709 (ILL_PRVOPC): Likewise.
6710 (ILL_PRVREG): Likewise.
6711 (ILL_COPROC): Likewise.
6712 (ILL_BADSTK): Likewise.
6713 (FPE_INTDIV): Likewise.
6714 (FPE_INTOVF): Likewise.
6715 (FPE_FLTDIV): Likewise.
6716 (FPE_FLTOVF): Likewise.
6717 (FPE_FLTUND): Likewise.
6718 (FPE_FLTRES): Likewise.
6719 (FPE_FLTINV): Likewise.
6720 (FPE_FLTSUB): Likewise.
6721 (SEGV_MAPERR): Likewise.
6722 (SEGV_ACCERR): Likewise.
6723 (BUS_ADRALN): Likewise.
6724 (BUS_ADRERR): Likewise.
6725 (BUS_OBJERR): Likewise.
6726 (BUS_MCEERR_AR): Likewise.
6727 (BUS_MCEERR_AO): Likewise.
6728 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6729 (TRAP_TRACE): Likewise.
6730 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6732 (CLD_KILLED): Likewise.
6733 (CLD_DUMPED): Likewise.
6734 (CLD_TRAPPED): Likewise.
6735 (CLD_STOPPED): Likewise.
6736 (CLD_CONTINUED): Likewise.
6737 (POLL_IN): Likewise.
6738 (POLL_OUT): Likewise.
6739 (POLL_MSG): Likewise.
6740 (POLL_ERR): Likewise.
6741 (POLL_PRI): Likewise.
6742 (POLL_HUP): Likewise.
6743 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6744 (ILL_ILLOPN): Likewise.
6745 (ILL_ILLADR): Likewise.
6746 (ILL_ILLTRP): Likewise.
6747 (ILL_PRVOPC): Likewise.
6748 (ILL_PRVREG): Likewise.
6749 (ILL_COPROC): Likewise.
6750 (ILL_BADSTK): Likewise.
6751 (FPE_INTDIV): Likewise.
6752 (FPE_INTOVF): Likewise.
6753 (FPE_FLTDIV): Likewise.
6754 (FPE_FLTOVF): Likewise.
6755 (FPE_FLTUND): Likewise.
6756 (FPE_FLTRES): Likewise.
6757 (FPE_FLTINV): Likewise.
6758 (FPE_FLTSUB): Likewise.
6759 (SEGV_MAPERR): Likewise.
6760 (SEGV_ACCERR): Likewise.
6761 (BUS_ADRALN): Likewise.
6762 (BUS_ADRERR): Likewise.
6763 (BUS_OBJERR): Likewise.
6764 (BUS_MCEERR_AR): Likewise.
6765 (BUS_MCEERR_AO): Likewise.
6766 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6767 (TRAP_TRACE): Likewise.
6768 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6770 (CLD_KILLED): Likewise.
6771 (CLD_DUMPED): Likewise.
6772 (CLD_TRAPPED): Likewise.
6773 (CLD_STOPPED): Likewise.
6774 (CLD_CONTINUED): Likewise.
6775 (POLL_IN): Likewise.
6776 (POLL_OUT): Likewise.
6777 (POLL_MSG): Likewise.
6778 (POLL_ERR): Likewise.
6779 (POLL_PRI): Likewise.
6780 (POLL_HUP): Likewise.
6781 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6782 (ILL_ILLOPN): Likewise.
6783 (ILL_ILLADR): Likewise.
6784 (ILL_ILLTRP): Likewise.
6785 (ILL_PRVOPC): Likewise.
6786 (ILL_PRVREG): Likewise.
6787 (ILL_COPROC): Likewise.
6788 (ILL_BADSTK): Likewise.
6789 (FPE_INTDIV): Likewise.
6790 (FPE_INTOVF): Likewise.
6791 (FPE_FLTDIV): Likewise.
6792 (FPE_FLTOVF): Likewise.
6793 (FPE_FLTUND): Likewise.
6794 (FPE_FLTRES): Likewise.
6795 (FPE_FLTINV): Likewise.
6796 (FPE_FLTSUB): Likewise.
6797 (SEGV_MAPERR): Likewise.
6798 (SEGV_ACCERR): Likewise.
6799 (BUS_ADRALN): Likewise.
6800 (BUS_ADRERR): Likewise.
6801 (BUS_OBJERR): Likewise.
6802 (BUS_MCEERR_AR): Likewise.
6803 (BUS_MCEERR_AO): Likewise.
6804 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6805 (TRAP_TRACE): Likewise.
6806 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6808 (CLD_KILLED): Likewise.
6809 (CLD_DUMPED): Likewise.
6810 (CLD_TRAPPED): Likewise.
6811 (CLD_STOPPED): Likewise.
6812 (CLD_CONTINUED): Likewise.
6813 (POLL_IN): Likewise.
6814 (POLL_OUT): Likewise.
6815 (POLL_MSG): Likewise.
6816 (POLL_ERR): Likewise.
6817 (POLL_PRI): Likewise.
6818 (POLL_HUP): Likewise.
6819 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6820 (ILL_ILLOPN): Likewise.
6821 (ILL_ILLADR): Likewise.
6822 (ILL_ILLTRP): Likewise.
6823 (ILL_PRVOPC): Likewise.
6824 (ILL_PRVREG): Likewise.
6825 (ILL_COPROC): Likewise.
6826 (ILL_BADSTK): Likewise.
6827 (ILL_DBLFLT): Likewise.
6828 (ILL_HARDWALL): Likewise.
6829 (FPE_INTDIV): Likewise.
6830 (FPE_INTOVF): Likewise.
6831 (FPE_FLTDIV): Likewise.
6832 (FPE_FLTOVF): Likewise.
6833 (FPE_FLTUND): Likewise.
6834 (FPE_FLTRES): Likewise.
6835 (FPE_FLTINV): Likewise.
6836 (FPE_FLTSUB): Likewise.
6837 (SEGV_MAPERR): Likewise.
6838 (SEGV_ACCERR): Likewise.
6839 (BUS_ADRALN): Likewise.
6840 (BUS_ADRERR): Likewise.
6841 (BUS_OBJERR): Likewise.
6842 (BUS_MCEERR_AR): Likewise.
6843 (BUS_MCEERR_AO): Likewise.
6844 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6845 (TRAP_TRACE): Likewise.
6846 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6848 (CLD_KILLED): Likewise.
6849 (CLD_DUMPED): Likewise.
6850 (CLD_TRAPPED): Likewise.
6851 (CLD_STOPPED): Likewise.
6852 (CLD_CONTINUED): Likewise.
6853 (POLL_IN): Likewise.
6854 (POLL_OUT): Likewise.
6855 (POLL_MSG): Likewise.
6856 (POLL_ERR): Likewise.
6857 (POLL_PRI): Likewise.
6858 (POLL_HUP): Likewise.
6859 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6860 (ILL_ILLOPN): Likewise.
6861 (ILL_ILLADR): Likewise.
6862 (ILL_ILLTRP): Likewise.
6863 (ILL_PRVOPC): Likewise.
6864 (ILL_PRVREG): Likewise.
6865 (ILL_COPROC): Likewise.
6866 (ILL_BADSTK): Likewise.
6867 (FPE_INTDIV): Likewise.
6868 (FPE_INTOVF): Likewise.
6869 (FPE_FLTDIV): Likewise.
6870 (FPE_FLTOVF): Likewise.
6871 (FPE_FLTUND): Likewise.
6872 (FPE_FLTRES): Likewise.
6873 (FPE_FLTINV): Likewise.
6874 (FPE_FLTSUB): Likewise.
6875 (SEGV_MAPERR): Likewise.
6876 (SEGV_ACCERR): Likewise.
6877 (BUS_ADRALN): Likewise.
6878 (BUS_ADRERR): Likewise.
6879 (BUS_OBJERR): Likewise.
6880 (BUS_MCEERR_AR): Likewise.
6881 (BUS_MCEERR_AO): Likewise.
6882 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6883 (TRAP_TRACE): Likewise.
6884 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6886 (CLD_KILLED): Likewise.
6887 (CLD_DUMPED): Likewise.
6888 (CLD_TRAPPED): Likewise.
6889 (CLD_STOPPED): Likewise.
6890 (CLD_CONTINUED): Likewise.
6891 (POLL_IN): Likewise.
6892 (POLL_OUT): Likewise.
6893 (POLL_MSG): Likewise.
6894 (POLL_ERR): Likewise.
6895 (POLL_PRI): Likewise.
6896 (POLL_HUP): Likewise.
6897 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6898 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6901 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6902 before #include of <time.h>.
6903 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6904 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6905 (test-xfail-UNIX98/sched.h/conform): Likewise.
6907 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6909 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6910 error absence of trapping exception support.
6911 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6913 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6915 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6916 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6917 * timezone/Makefile (testdata): Move definition above include of
6919 (test-zones): New variable.
6920 (tests-special): Add zone files.
6921 (build-testdata): Use $(evaluate-test).
6923 * elf/Makefile (tests-special): Rename tests to end with .out.
6924 ($(objpfx)noload-mem): Likewise.
6925 ($(objpfx)tst-leaks1-mem): Likewise.
6926 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6927 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6928 $(objpfx)test-iconvconfig.out.
6929 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6930 set -e inside subshell and redirect output to file.
6931 * iconvdata/Makefile (generated): Rename tests to end with .out.
6933 (tests-special): Rename tests to end with .out.
6934 ($(objpfx)mtrace-tst-loading): Likewise.
6935 * intl/Makefile (generated): Likewise.
6936 (tests-special): Likewise.
6937 ($(objpfx)mtrace-tst-gettext): Likewise.
6938 * misc/Makefile (generated): Likewise.
6939 (tests-special): Likewise.
6940 ($(objpfx)tst-error1-mem): Likewise.
6941 * nptl/Makefile (tests-special): Likewise.
6942 ($(objpfx)tst-stack3-mem): Likewise.
6943 (generated): Likewise.
6944 * posix/Makefile (generated): Likewise.
6945 (tests-special): Likewise.
6946 (xtests-special): Likewise.
6947 ($(objpfx)tst-fnmatch-mem): Likewise.
6948 ($(objpfx)bug-regex2-mem): Likewise.
6949 ($(objpfx)bug-regex14-mem): Likewise.
6950 ($(objpfx)bug-regex21-mem): Likewise.
6951 ($(objpfx)bug-regex31-mem): Likewise.
6952 ($(objpfx)tst-vfork3-mem): Likewise.
6953 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6954 ($(objpfx)tst-pcre-mem): Likewise.
6955 ($(objpfx)tst-boost-mem): Likewise.
6956 ($(objpfx)bug-ga2-mem): Likewise.
6957 ($(objpfx)bug-glob2-mem): Likewise.
6958 * resolv/Makefile (generate): Likewise.
6959 (tests-special): Likewise.
6960 (xtests-special): Likewise.
6961 (generated): Likewise.
6962 ($(objpfx)mtrace-tst-leaks): Likewise.
6963 ($(objpfx)mtrace-tst-leaks2): Likewise.
6965 * scripts/merge-test-results.sh: New file.
6966 * Makefile (tests-special-notdir): New variable.
6967 (tests): Run merge-test-results.sh.
6969 * Rules (tests-special-notdir): New variable.
6970 (xtests-special-notdir): Likewise.
6971 (tests): Run merge-test-results.sh
6974 * Makeconfig (test-xfail-name): New variable.
6975 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6976 compute variable name for expected failures.
6977 * conform/Makefile (conformtest-headers-data): New variable.
6978 (conformtest-standards): Likewise.
6979 (conformtest-headers-ISO): Likewise.
6980 (conformtest-headers-ISO99): Likewise.
6981 (conformtest-headers-ISO11): Likewise.
6982 (conformtest-headers-POSIX): Likewise.
6983 (conformtest-headers-XPG3): Likewise.
6984 (conformtest-headers-XPG4): Likewise.
6985 (conformtest-headers-UNIX98): Likewise.
6986 (conformtest-headers-XOPEN2K): Likewise.
6987 (conformtest-headers-POSIX2008): Likewise.
6988 (conformtest-headers-XOPEN2K8): Likewise.
6989 (conformtest-header-list-base): Likewise.
6990 (conformtest-header-list-tests): Likewise.
6991 (conformtest-header-base): Likewise.
6992 (conformtest-header-tests): Likewise.
6993 (tests-special): Add $(conformtest-header-list-tests). If
6994 [$(fast-check) && !$(cross-compiling)], add
6995 $(conformtest-header-tests) instead of
6996 $(objpfx)run-conformtest.out.
6997 (generated): Add $(conformtest-header-list-base). If
6998 [$(fast-check) && !$(cross-compiling)], add
6999 $(conformtest-header-base). Remove previous setting.
7000 ($(conformtest-header-list-tests)): New target.
7001 (test-xfail-run-conformtest): Remove variable.
7002 ($(objpfx)run-conformtest.out): Remove target.
7003 (test-xfail-ISO11/complex.h/conform): New variable.
7004 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7005 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7006 (test-xfail-XPG3/varargs.h/conform): Likewise.
7007 (test-xfail-XPG4/varargs.h/conform): Likewise.
7008 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7009 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7010 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7011 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7012 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7013 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7014 (test-xfail-XPG3/ftw.h/conform): Likewise.
7015 (test-xfail-XPG3/grp.h/conform): Likewise.
7016 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7017 (test-xfail-XPG3/limits.h/conform): Likewise.
7018 (test-xfail-XPG3/pwd.h/conform): Likewise.
7019 (test-xfail-XPG3/search.h/conform): Likewise.
7020 (test-xfail-XPG3/signal.h/conform): Likewise.
7021 (test-xfail-XPG3/stdio.h/conform): Likewise.
7022 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7023 (test-xfail-XPG3/string.h/conform): Likewise.
7024 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7025 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7026 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7027 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7028 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7029 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7030 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7031 (test-xfail-XPG3/termios.h/conform): Likewise.
7032 (test-xfail-XPG3/time.h/conform): Likewise.
7033 (test-xfail-XPG3/unistd.h/conform): Likewise.
7034 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7035 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7036 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7037 (test-xfail-XPG4/netdb.h/conform): Likewise.
7038 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7039 (test-xfail-XPG4/signal.h/conform): Likewise.
7040 (test-xfail-XPG4/stdio.h/conform): Likewise.
7041 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7042 (test-xfail-XPG4/stropts.h/conform): Likewise.
7043 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7044 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7045 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7046 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7047 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7048 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7049 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7050 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7051 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7052 (test-xfail-XPG4/termios.h/conform): Likewise.
7053 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7054 (test-xfail-XPG4/unistd.h/conform): Likewise.
7055 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7056 (test-xfail-POSIX/sched.h/conform): Likewise.
7057 (test-xfail-POSIX/signal.h/conform): Likewise.
7058 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7059 (test-xfail-POSIX/tar.h/conform): Likewise.
7060 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7061 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7062 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7063 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7064 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7065 (test-xfail-UNIX98/sched.h/conform): Likewise.
7066 (test-xfail-UNIX98/signal.h/conform): Likewise.
7067 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7068 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7069 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7070 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7071 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7072 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7073 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7074 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7075 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7076 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7077 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7078 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7079 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7080 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7081 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7082 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7083 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7084 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7085 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7086 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7087 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7088 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7089 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7090 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7091 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7092 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7093 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7094 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7095 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7096 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7097 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7098 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7099 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7100 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7101 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7102 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7103 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7104 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7105 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7106 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7107 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7108 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7109 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7110 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7111 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7112 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7113 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7114 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7115 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7116 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7117 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7118 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7119 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7120 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7121 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7122 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7123 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7124 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7125 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7126 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7127 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7128 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7129 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7130 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7131 (conformtest-cc-flags): Likewise.
7132 ($(conformtest-header-tests): New target.
7133 * conform/check-header-lists.sh: New file.
7134 * conform/run-conformtest.sh: Remove.
7136 * conform/conformtest.pl: Allow ' and \ in values given for
7138 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7140 [POSIX] (sys/types.h): Likewise.
7141 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7143 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7145 * conform/data/signal.h-data (SIGIO): Remove expectation.
7146 [XPG3] (SIGBUS): Do not expect.
7147 [POSIX || XPG3] (SIGPOLL): Likewise.
7148 [POSIX || XPG3] (SIGPROF): Likewise.
7149 [POSIX || XPG3] (SIGSYS): Likewise.
7150 [XPG3] (SIGTRAP): Likewise.
7151 [POSIX || XPG3] (SIGURG): Likewise.
7152 [POSIX || XPG3] (SIGVTALRM): Likewise.
7153 [POSIX || XPG3] (SIGXCPU): Likewise.
7154 [POSIX || XPG3] (SIGXFSZ): Likewise.
7155 [POSIX] (SA_SIGINFO): Expect.
7156 [XPG3] (siginfo_t): Do not expect type or contents.
7157 [POSIX] (si_pid): Do not expect element.
7158 [POSIX] (si_uid): Likewise.
7159 [POSIX] (si_addr): Likewise.
7160 [POSIX] (si_status): Likewise.
7161 [POSIX] (si_band): Likewise.
7162 [XPG4] (si_value): Likewise.
7163 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7164 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7165 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7166 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7167 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7168 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7169 [POSIX || XPG3] (ILL_COPROC): Likewise.
7170 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7171 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7172 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7173 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7174 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7175 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7176 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7177 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7178 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7179 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7180 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7181 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7182 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7183 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7184 [POSIX || XPG3] (CLD_EXITED): Likewise.
7185 [POSIX || XPG3] (CLD_KILLED): Likewise.
7186 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7187 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7188 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7189 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7190 [POSIX || XPG3] (POLL_IN): Likewise.
7191 [POSIX || XPG3] (POLL_OUT): Likewise.
7192 [POSIX || XPG3] (POLL_MSG): Likewise.
7193 [POSIX || XPG3] (POLL_ERR): Likewise.
7194 [POSIX || XPG3] (POLL_PRI): Likewise.
7195 [POSIX || XPG3] (POLL_HUP): Likewise.
7196 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7197 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7198 (SIG*): Do not allow.
7199 [XPG3] (si_*): Likewise.
7200 [XPG3] (SI_*): Likewise.
7201 [XPG3 || XPG4] (sigev_*): Likewise.
7202 [XPG3 || XPG4] (SIGEV_*): Likewise.
7203 [XPG3 || XPG4] (sival_*): Likewise.
7204 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7205 [POSIX || XPG3] (BUS_*): Likewise.
7206 [POSIX || XPG3] (CLD_*): Likewise.
7207 [POSIX || XPG3] (FPE_*): Likewise.
7208 [POSIX || XPG3] (ILL_*): Likewise.
7209 [POSIX || XPG3] (POLL_*): Likewise.
7210 [POSIX || XPG3] (SEGV_*): Likewise.
7211 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7212 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7213 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7214 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7215 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7216 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7217 Specify type and value.
7218 (TVERSLEN): Likewise.
7219 (REGTYPE): Likewise.
7220 (AREGTYPE): Likewise.
7221 (LNKTYPE): Likewise.
7222 (SYMTYPE): Likewise.
7223 (CHRTYPE): Likewise.
7224 (BLKTYPE): Likewise.
7225 (DIRTYPE): Likewise.
7226 (FIFOTYPE): Likewise.
7227 (CONTTYPE): Likewise.
7232 (TUWRITE): Likewise.
7235 (TGWRITE): Likewise.
7238 (TOWRITE): Likewise.
7240 [POSIX] (TSVTX): Expect constant.
7242 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7244 * Makefile (tests): Change dependencies to ....
7245 (tests-special): ... additions to this variable.
7246 (tests): Depend on $(tests-special).
7247 * Makerules (check-abi-list): New variable.
7248 (check-abi): Depend on $(check-abi-list).
7249 [$(subdir) = elf] (tests-special): Add
7250 $(objpfx)check-abi-libc.out.
7251 [$(build-shared) = yes && subdir] (tests-special): Add
7253 [$(build-shared) = yes && subdir] (tests): Do not depend on
7255 * Rules (tests): Depend on $(tests-special).
7256 (xtests): Depend on $(xtests-special).
7257 * catgets/Makefile (tests): Change dependencies to ....
7258 (tests-special): ... additions to this variable.
7259 * conform/Makefile (tests): Change dependencies to ....
7260 (tests-special): ... additions to this variable.
7261 * elf/Makefile (tests): Change dependencies to ....
7262 (tests-special): ... additions to this variable.
7263 * grp/Makefile (tests): Change dependencies to ....
7264 (tests-special): ... additions to this variable.
7265 * iconv/Makefile (xtests): Change dependencies to ....
7266 (xtests-special): ... additions to this variable.
7267 * iconvdata/Makefile (tests): Change dependencies to ....
7268 (tests-special): ... additions to this variable.
7269 * intl/Makefile (tests): Change dependencies to ....
7270 (tests-special): ... additions to this variable. Also add
7271 $(objpfx)tst-gettext.out.
7272 * io/Makefile (tests): Change dependencies to ....
7273 (tests-special): ... additions to this variable.
7274 * libio/Makefile (tests): Change dependencies to ....
7275 (tests-special): ... additions to this variable.
7276 * malloc/Makefile (tests): Change dependencies to ....
7277 (tests-special): ... additions to this variable.
7278 * misc/Makefile (tests): Change dependencies to ....
7279 (tests-special): ... additions to this variable.
7280 * nptl/Makefile (tests): Change dependencies to ....
7281 (tests-special): ... additions to this variable.
7282 * nptl_db/Makefile (tests): Change dependencies to ....
7283 (tests-special): ... additions to this variable.
7284 * posix/Makefile (tests): Change dependencies to ....
7285 (tests-special): ... additions to this variable.
7286 (xtests): Change dependencies to ....
7287 (xtests-special): ... additions to this variable.
7288 * resolv/Makefile (tests): Change dependencies to ....
7289 (tests-special): ... additions to this variable.
7290 (xtests): Change dependencies to ....
7291 (xtests-special): ... additions to this variable.
7292 * stdio-common/Makefile (tests): Change dependencies to ....
7293 (tests-special): ... additions to this variable.
7294 (do-tst-unbputc): Remove target.
7295 (do-tst-printf): Likewise.
7296 * stdlib/Makefile (tests): Change dependencies to ....
7297 (tests-special): ... additions to this variable.
7298 * string/Makefile (tests): Change dependencies to ....
7299 (tests-special): ... additions to this variable.
7300 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7301 (tests-special): ... additions to this variable.
7303 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7305 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7307 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7308 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7310 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7311 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7312 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7313 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7314 * conform/data/libgen.h-data [XPG3]: Likewise.
7315 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7316 * conform/data/ndbm.h-data [XPG3]: Likewise.
7317 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7318 * conform/data/netdb.h-data [XPG3]: Likewise.
7319 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7320 * conform/data/poll.h-data [XPG3]: Likewise.
7321 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7322 * conform/data/strings.h-data [XPG3]: Likewise.
7323 * conform/data/stropts.h-data [XPG3]: Likewise.
7324 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7325 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7326 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7328 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7329 * conform/data/sys/time.h-data [XPG3]: Likewise.
7330 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7331 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7332 * conform/data/sys/un.h-data [XPG3]: Likewise.
7333 * conform/data/syslog.h-data [XPG3]: Likewise.
7334 * conform/data/ucontext.h-data [XPG3]: Likewise.
7335 * conform/data/utmpx.h-data [XPG3]: Likewise.
7336 * conform/data/varargs.h-data [UNIX98]: Enable file.
7338 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7340 * math/libm-test.inc (struct test_f_f_data): Move expected results
7341 into structure for each rounding mode.
7342 (struct test_ff_f_data): Likewise.
7343 (struct test_ff_f_data_nexttoward): Likewise.
7344 (struct test_fi_f_data): Likewise.
7345 (struct test_fl_f_data): Likewise.
7346 (struct test_if_f_data): Likewise.
7347 (struct test_fff_f_data): Likewise.
7348 (struct test_c_f_data): Likewise.
7349 (struct test_f_f1_data): Likewise.
7350 (struct test_fF_f1_data): Likewise.
7351 (struct test_ffI_f1_data): Likewise.
7352 (struct test_c_c_data): Likewise.
7353 (struct test_cc_c_data): Likewise.
7354 (struct test_f_i_data): Likewise.
7355 (struct test_ff_i_data): Likewise.
7356 (struct test_f_l_data): Likewise.
7357 (struct test_f_L_data): Likewise.
7358 (struct test_fFF_11_data): Likewise.
7360 (RM_FE_DOWNWARD): Likewise.
7361 (RM_FE_TONEAREST): Likewise.
7362 (RM_FE_TOWARDZERO): Likewise.
7363 (RM_FE_UPWARD): Likewise.
7364 (RUN_TEST_LOOP_f_f): Update references to expected results.
7365 (RUN_TEST_LOOP_2_f): Likewise.
7366 (RUN_TEST_LOOP_fff_f): Likewise.
7367 (RUN_TEST_LOOP_c_f): Likewise.
7368 (RUN_TEST_LOOP_f_f1): Likewise.
7369 (RUN_TEST_LOOP_fF_f1): Likewise.
7370 (RUN_TEST_LOOP_fI_f1): Likewise.
7371 (RUN_TEST_LOOP_ffI_f1): Likewise.
7372 (RUN_TEST_LOOP_c_c): Likewise.
7373 (RUN_TEST_LOOP_cc_c): Likewise.
7374 (RUN_TEST_LOOP_f_i): Likewise.
7375 (RUN_TEST_LOOP_f_i_tg): Likewise.
7376 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7377 (RUN_TEST_LOOP_f_b): Likewise.
7378 (RUN_TEST_LOOP_f_b_tg): Likewise.
7379 (RUN_TEST_LOOP_f_l): Likewise.
7380 (RUN_TEST_LOOP_f_L): Likewise.
7381 (RUN_TEST_LOOP_fFF_11): Likewise.
7382 * math/gen-libm-test.pl (parse_args): Output four copies of
7383 expected results for each test.
7385 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7386 (__ASSUME_UTIMES): Remove.
7387 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7388 (__ASSUME_UTIMES): Likewise.
7390 * math/gen-auto-libm-tests.c: Update comment on output format.
7391 (output_for_one_input_case): Generate before-rounding and
7392 after-rounding information as conditions on output flags not
7393 floating-point format.
7394 * math/auto-libm-test-out: Regenerated.
7395 * math/gen-libm-test.pl (cond_value): New function.
7396 (or_cond_value): Use cond_value.
7397 (generate_testfile): Handle conditional exceptions.
7399 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7401 * math/libm-test.inc (max_valid_error): New variable.
7402 (init_max_error): Take new argument specifying whether function
7403 results are exactly determined. Set max_valid_error and bound
7404 other variables for errors based on this argument.
7405 (set_max_error): Do not record results above max_valid_error.
7406 (check_float_internal): Only accept errors of up to 0.5ulps if
7407 also at most max_valid_error.
7408 (START): Take new argument EXACT and pass it to init_max_error.
7409 (acos_test): Update call to START.
7410 (acos_test_tonearest): Likewise.
7411 (acos_test_towardzero): Likewise.
7412 (acos_test_downward): Likewise.
7413 (acos_test_upward): Likewise.
7414 (acosh_test): Likewise.
7415 (asin_test): Likewise.
7416 (asin_test_tonearest): Likewise.
7417 (asin_test_towardzero): Likewise.
7418 (asin_test_downward): Likewise.
7419 (asin_test_upward): Likewise.
7420 (asinh_test): Likewise.
7421 (atan_test): Likewise.
7422 (atanh_test): Likewise.
7423 (atan2_test): Likewise.
7424 (cabs_test): Likewise.
7425 (cacos_test): Likewise.
7426 (cacosh_test): Likewise.
7427 (carg_test): Likewise.
7428 (casin_test): Likewise.
7429 (casinh_test): Likewise.
7430 (catan_test): Likewise.
7431 (catanh_test): Likewise.
7432 (cbrt_test): Likewise.
7433 (ccos_test): Likewise.
7434 (ccosh_test): Likewise.
7435 (ceil_test): Likewise.
7436 (cexp_test): Likewise.
7437 (cimag_test): Likewise.
7438 (clog_test): Likewise.
7439 (clog10_test): Likewise.
7440 (conj_test): Likewise.
7441 (copysign_test): Likewise.
7442 (cos_test): Likewise.
7443 (cos_test_tonearest): Likewise.
7444 (cos_test_towardzero): Likewise.
7445 (cos_test_downward): Likewise.
7446 (cos_test_upward): Likewise.
7447 (cosh_test): Likewise.
7448 (cosh_test_tonearest): Likewise.
7449 (cosh_test_towardzero): Likewise.
7450 (cosh_test_downward): Likewise.
7451 (cosh_test_upward): Likewise.
7452 (cpow_test): Likewise.
7453 (cproj_test): Likewise.
7454 (creal_test): Likewise.
7455 (csin_test): Likewise.
7456 (csinh_test): Likewise.
7457 (csqrt_test): Likewise.
7458 (ctan_test): Likewise.
7459 (ctan_test_tonearest): Likewise.
7460 (ctan_test_towardzero): Likewise.
7461 (ctan_test_downward): Likewise.
7462 (ctan_test_upward): Likewise.
7463 (ctanh_test): Likewise.
7464 (ctanh_test_tonearest): Likewise.
7465 (ctanh_test_towardzero): Likewise.
7466 (ctanh_test_downward): Likewise.
7467 (ctanh_test_upward): Likewise.
7468 (erf_test): Likewise.
7469 (erfc_test): Likewise.
7470 (exp_test): Likewise.
7471 (exp_test_tonearest): Likewise.
7472 (exp_test_towardzero): Likewise.
7473 (exp_test_downward): Likewise.
7474 (exp_test_upward): Likewise.
7475 (exp10_test): Likewise.
7476 (exp10_test_tonearest): Likewise.
7477 (exp10_test_towardzero): Likewise.
7478 (exp10_test_downward): Likewise.
7479 (exp10_test_upward): Likewise.
7480 (pow10_test): Likewise.
7481 (exp2_test): Likewise.
7482 (expm1_test): Likewise.
7483 (expm1_test_tonearest): Likewise.
7484 (expm1_test_towardzero): Likewise.
7485 (expm1_test_downward): Likewise.
7486 (expm1_test_upward): Likewise.
7487 (fabs_test): Likewise.
7488 (fdim_test): Likewise.
7489 (floor_test): Likewise.
7490 (fma_test): Likewise.
7491 (fma_test_towardzero): Likewise.
7492 (fma_test_downward): Likewise.
7493 (fma_test_upward): Likewise.
7494 (fmax_test): Likewise.
7495 (fmin_test): Likewise.
7496 (fmod_test): Likewise.
7497 (fpclassify_test): Likewise.
7498 (frexp_test): Likewise.
7499 (hypot_test): Likewise.
7500 (ilogb_test): Likewise.
7501 (isfinite_test): Likewise.
7502 (finite_test): Likewise.
7503 (isgreater_test): Likewise.
7504 (isgreaterequal_test): Likewise.
7505 (isinf_test): Likewise.
7506 (isless_test): Likewise.
7507 (islessequal_test): Likewise.
7508 (islessgreater_test): Likewise.
7509 (isnan_test): Likewise.
7510 (isnormal_test): Likewise.
7511 (issignaling_test): Likewise.
7512 (isunordered_test): Likewise.
7513 (j0_test): Likewise.
7514 (j1_test): Likewise.
7515 (jn_test): Likewise.
7516 (ldexp_test): Likewise.
7517 (lgamma_test): Likewise.
7518 (gamma_test): Likewise.
7519 (lrint_test): Likewise.
7520 (lrint_test_tonearest): Likewise.
7521 (lrint_test_towardzero): Likewise.
7522 (lrint_test_downward): Likewise.
7523 (lrint_test_upward): Likewise.
7524 (llrint_test): Likewise.
7525 (llrint_test_tonearest): Likewise.
7526 (llrint_test_towardzero): Likewise.
7527 (llrint_test_downward): Likewise.
7528 (llrint_test_upward): Likewise.
7529 (log_test): Likewise.
7530 (log10_test): Likewise.
7531 (log1p_test): Likewise.
7532 (log2_test): Likewise.
7533 (logb_test): Likewise.
7534 (logb_test_downward): Likewise.
7535 (lround_test): Likewise.
7536 (llround_test): Likewise.
7537 (modf_test): Likewise.
7538 (nearbyint_test): Likewise.
7539 (nextafter_test): Likewise.
7540 (nexttoward_test): Likewise.
7541 (pow_test): Likewise.
7542 (pow_test_tonearest): Likewise.
7543 (pow_test_towardzero): Likewise.
7544 (pow_test_downward): Likewise.
7545 (pow_test_upward): Likewise.
7546 (remainder_test): Likewise.
7547 (drem_test): Likewise.
7548 (remainder_test_tonearest): Likewise.
7549 (drem_test_tonearest): Likewise.
7550 (remainder_test_towardzero): Likewise.
7551 (drem_test_towardzero): Likewise.
7552 (remainder_test_downward): Likewise.
7553 (drem_test_downward): Likewise.
7554 (remainder_test_upward): Likewise.
7555 (drem_test_upward): Likewise.
7556 (remquo_test): Likewise.
7557 (rint_test): Likewise.
7558 (rint_test_tonearest): Likewise.
7559 (rint_test_towardzero): Likewise.
7560 (rint_test_downward): Likewise.
7561 (rint_test_upward): Likewise.
7562 (round_test): Likewise.
7563 (scalb_test): Likewise.
7564 (scalbn_test): Likewise.
7565 (scalbln_test): Likewise.
7566 (signbit_test): Likewise.
7567 (sin_test): Likewise.
7568 (sin_test_tonearest): Likewise.
7569 (sin_test_towardzero): Likewise.
7570 (sin_test_downward): Likewise.
7571 (sin_test_upward): Likewise.
7572 (sincos_test): Likewise.
7573 (sinh_test): Likewise.
7574 (sinh_test_tonearest): Likewise.
7575 (sinh_test_towardzero): Likewise.
7576 (sinh_test_downward): Likewise.
7577 (sinh_test_upward): Likewise.
7578 (sqrt_test): Likewise.
7579 (sqrt_test_tonearest): Likewise.
7580 (sqrt_test_towardzero): Likewise.
7581 (sqrt_test_downward): Likewise.
7582 (sqrt_test_upward): Likewise.
7583 (tan_test): Likewise.
7584 (tan_test_tonearest): Likewise.
7585 (tan_test_towardzero): Likewise.
7586 (tan_test_downward): Likewise.
7587 (tan_test_upward): Likewise.
7588 (tanh_test): Likewise.
7589 (tgamma_test): Likewise.
7590 (trunc_test): Likewise.
7591 (y0_test): Likewise.
7592 (y1_test): Likewise.
7593 (yn_test): Likewise.
7594 (significand_test): Likewise.
7596 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7597 individual tests in comment.
7598 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7599 (prev_max_error): New variable.
7600 (prev_real_max_error): Likewise.
7601 (prev_imag_max_error): Likewise.
7602 (compare_ulp_data): Don't refer to test names in comment.
7603 (find_test_ulps): Remove function.
7604 (find_function_ulps): Likewise.
7605 (find_complex_function_ulps): Likewise.
7606 (init_max_error): Take function name as argument. Look up ulps
7608 (print_ulps): Remove function.
7609 (print_max_error): Use prev_max_error instead of calling
7611 (print_complex_max_error): Use prev_real_max_error and
7612 prev_imag_max_error instead of calling find_complex_function_ulps.
7613 (check_float_internal): Take max_ulp parameter instead of calling
7614 find_test_ulps. Don't call print_ulps.
7615 (check_float): Update call to check_float_internal.
7616 (check_complex): Update calls to check_float_internal.
7617 (START): Pass argument to init_max_error.
7618 * math/gen-libm-test.pl (%results): Don't include "kind"
7620 (parse_ulps): Don't handle ulps of individual tests.
7621 (print_ulps_file): Likewise.
7622 (output_ulps): Likewise.
7623 * math/README.libm-test: Update.
7624 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7626 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7627 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7628 * sysdeps/arm/libm-test-ulps: Likewise.
7629 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7630 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7631 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7632 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7633 * sysdeps/microblaze/libm-test-ulps: Likewise.
7634 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7635 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7636 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7637 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7638 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7639 * sysdeps/sh/libm-test-ulps: Likewise.
7640 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7641 * sysdeps/tile/libm-test-ulps: Likewise.
7642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7644 2014-03-04 Joseph Myers <joseph@codesourcery.com>
7646 * math/libm-test.inc (print_complex_max_error): Check separately
7647 whether real and imaginary errors are within allowed range and
7648 pass 0 to print_complex_function_ulps instead of value within
7651 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7653 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7655 (get_handles_fopen): Likewise.
7656 (do_write_test): Likewise.
7658 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7660 * libio/fileops.c (do_ftell): Use cached offset when
7662 * libio/iofwide.c (do_ftell_wide): Likewise.
7663 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7665 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7668 * libio/libioP.h (get_file_offset): New function.
7669 * libio/fileops.c (get_file_offset): Likewise.
7670 (do_ftell): Likewise.
7671 (_IO_new_file_seekoff): Split out ftell logic.
7672 * libio/wfileops.c (do_ftell_wide): Likewise.
7673 (_IO_wfile_seekoff): Split out ftell logic.
7674 * libio/tst-ftell-active-handler.c: New test case.
7675 * libio/Makefile (tests): Add it.
7677 2014-03-03 Roland McGrath <roland@hack.frob.com>
7679 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7680 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7682 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7685 * nscd/connections.c (nscd_init): Call do_exit.
7686 (start_threads): Call do_exit and notify_parent.
7687 (begin_drop_privileges): Call do_exit.
7688 (finish_drop_privileges): Likewise.
7689 * nscd/selinux.c (preserve_capabilities): Likewise.
7690 (install_real_capabilities): Likewise.
7691 (nscd_selinux_enabled): Likewise.
7692 (avc_create_thread): Likewise.
7693 (avc_alloc_lock): Likewise.
7694 (nscd_avc_init): Likewise.
7695 * nscd/nscd.c (parent_fd): New static variable.
7696 (main): Create a pipe between parent and child processes.
7697 Skip closing parent_fd.
7698 (monitor_child): New function.
7699 (do_exit): Likewise.
7700 (notify_parent): Likewise.
7701 * nscd/nscd.h (notify_parent): Likewise.
7702 (do_exit): Likewise.
7704 2014-03-03 Carlos O'Donell <carlos@redhat.com>
7706 * malloc/malloc.c (__libc_calloc): Revert last change.
7708 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7712 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7714 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7718 (__libc_ifunc_impl_list): Likewise.
7719 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7720 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7721 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7722 * string/strrchr.c: Define STRRCHR.
7724 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
7726 * benchtest/bench-strtok.c (simple_strtok): Delete.
7727 (strtok_string): Use as benchmark.
7728 * string/strtok (STRTOK): New macro.
7730 2014-02-28 Carlos O'Donell <carlos@redhat.com>
7732 * manual/threads.texi: Add header and standard comments to all
7735 * elf/dl-lookup.c (check_match): New function.
7736 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7737 (do_lookup_x): Remove nested function check_match. Use non-nested
7738 function check_match.
7740 2014-02-28 Roland McGrath <roland@hack.frob.com>
7742 * csu/Makefile (generated, before-compile): Use += rather than =.
7743 * catgets/Makefile (generated, generated-dirs): Likewise.
7744 * debug/Makefile (generated): Likewise.
7745 * dlfcn/Makefile (generated): Likewise.
7746 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7747 * iconvdata/Makefile (before-compile, generated): Likewise.
7748 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7749 * libio/Makefile (generated): Likewise.
7750 * malloc/Makefile (generated): Likewise.
7751 * manual/Makefile (generated, generated-dirs): Likewise.
7752 * misc/Makefile (generated): Likewise.
7753 * posix/Makefile (generated): Likewise.
7754 * resolv/Makefile (generated): Likewise.
7755 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7756 * timezone/Makefile (generated, generated-dirs): Likewise.
7758 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7760 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7762 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7763 power8 implementation.
7764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7765 file: POWER8 llround ifunc implementation.
7766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7767 (__lllround): Add POWER8 implementation.
7768 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7769 POWER8 llround implementation.
7771 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7772 power8 implementation.
7773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7774 file: POWER8 llrint ifunc implementation.
7775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7776 Add POWER8 implementation.
7777 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7778 POWER8 llrint implementation.
7780 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7781 power8 implementation.
7782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7783 file: POWER8 finite ifunc implementation.
7784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7785 Add POWER8 implementation.
7786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7788 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7789 POWER8 finite implementation.
7790 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7792 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7793 power8 implementation.
7794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7795 file: POWER8 isinf ifunc implementation.
7796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7797 POWER8 implementation.
7798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7800 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7801 isinf implementation.
7802 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7804 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7805 (INIT_ARCH): Add hwcap2 initialization.
7806 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7807 power8 implementation.
7808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7809 file: POWER8 isnan ifunc implementation.
7810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7811 POWER8 implementation.
7812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7814 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7815 isnan implementation.
7816 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7818 2014-02-27 Joey Ye <joey.ye@arm.com>
7820 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7821 (_FP_NANFRAC_Q): Set to zero.
7823 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7826 * math/auto-libm-test-in: New test inputs.
7827 * math/auto-libm-test-out: Regenerate.
7828 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7831 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7833 2014-02-27 Joseph Myers <joseph@codesourcery.com>
7835 * scripts/evaluate-test.sh: Take new argument indicating whether
7836 failure is expected.
7837 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7838 indicating whether failure is expected.
7839 * conform/Makefile (test-xfail-run-conformtest): New variable.
7840 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7842 * posix/Makefile (test-xfail-annexc): New variable.
7843 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7845 2014-02-26 Joseph Myers <joseph@codesourcery.com>
7847 * argp/Makefile: Include Makeconfig immediately after defining
7849 * assert/Makefile: Likewise.
7850 * benchtests/Makefile: Likewise.
7851 * catgets/Makefile: Likewise.
7852 * conform/Makefile: Likewise.
7853 * crypt/Makefile: Likewise.
7854 * csu/Makefile: Likewise.
7855 (all): Remove target.
7856 * ctype/Makefile: Include Makeconfig immediately after defining
7858 * debug/Makefile: Likewise.
7859 * dirent/Makefile: Likewise.
7860 * dlfcn/Makefile: Likewise.
7861 * gmon/Makefile: Likewise.
7862 * gnulib/Makefile: Likewise.
7863 * grp/Makefile: Likewise.
7864 * gshadow/Makefile: Likewise.
7865 * hesiod/Makefile: Likewise.
7866 * hurd/Makefile: Likewise.
7867 (all): Remove target.
7868 * iconvdata/Makefile: Include Makeconfig immediately after
7870 * inet/Makefile: Likewise.
7871 * intl/Makefile: Likewise.
7872 * io/Makefile: Likewise.
7873 * libio/Makefile: Likewise.
7874 (all): Remove target.
7875 * locale/Makefile: Include Makeconfig immediately after defining
7877 * login/Makefile: Likewise.
7878 * mach/Makefile: Likewise.
7879 (all): Remove target.
7880 * malloc/Makefile: Include Makeconfig immediately after defining
7882 (all): Remove target.
7883 * manual/Makefile: Include Makeconfig immediately after defining
7885 * math/Makefile: Likewise.
7886 * misc/Makefile: Likewise.
7887 * nis/Makefile: Likewise.
7888 * nss/Makefile: Likewise.
7889 * po/Makefile: Likewise.
7890 (all): Remove target.
7891 * posix/Makefile: Include Makeconfig immediately after defining
7893 * pwd/Makefile: Likewise.
7894 * resolv/Makefile: Likewise.
7895 * resource/Makefile: Likewise.
7896 * rt/Makefile: Likewise.
7897 * setjmp/Makefile: Likewise.
7898 * shadow/Makefile: Likewise.
7899 * signal/Makefile: Likewise.
7900 * socket/Makefile: Likewise.
7901 * soft-fp/Makefile: Likewise.
7902 * stdio-common/Makefile: Likewise.
7903 * stdlib/Makefile: Likewise.
7904 * streams/Makefile: Likewise.
7905 * string/Makefile: Likewise.
7906 * sunrpc/Makefile: Likewise.
7907 (all): Remove target.
7908 * sysvipc/Makefile: Include Makeconfig immediately after defining
7910 * termios/Makefile: Likewise.
7911 * time/Makefile: Likewise.
7912 * timezone/Makefile: Likewise.
7913 (all): Remove target.
7914 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7916 * wctype/Makefile: Likewise.
7918 2014-02-26 Steve Ellcey <sellcey@mips.com>
7920 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7921 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7922 (libc_feholdexcept_setround_mips): Ditto.
7923 (libc_feholdsetround): New.
7924 (libc_feholdsetroundf): New.
7925 (libc_feholdsetroundl): New.
7926 (libc_feupdateenv_test_mips): New.
7927 (libc_feupdateenv_test): New.
7928 (libc_feupdateenv_testf): New.
7929 (libc_feupdateenv_testl): New.
7930 (libc_feresetround): New.
7931 (libc_feresetroundf): New.
7932 (libc_feresetroundl): New.
7933 (libc_fetestexcept_mips): New.
7934 (libc_fetestexcept): New.
7935 (libc_fetestexceptf): New.
7936 (libc_fetestexceptl): New.
7938 (libc_feholdexcept_setround_mips_ctx): New.
7939 (libc_feholdexcept_setround_ctx): New.
7940 (libc_feholdexcept_setroundf_ctx): New.
7941 (libc_feholdexcept_setroundl_ctx): New.
7942 (libc_fesetenv_mips_ctx): New.
7943 (libc_fesetenv_ctx): New.
7944 (libc_fesetenv_ctxf): New.
7945 (libc_fesetenv_ctxl): New.
7946 (libc_feupdateenv_mips_ctx): New.
7947 (libc_feupdateenv_ctx): New.
7948 (libc_feupdateenvf_ctx): New.
7949 (libc_feupdateenvl_ctx): New.
7950 (libc_feholdsetround_mips_ctx): New.
7951 (libc_feholdsetround_ctx): New.
7952 (libc_feholdsetroundf_ctx): New.
7953 (libc_feholdsetroundl_ctx): New.
7954 (libc_feresetround_mips_ctx): New.
7955 (libc_feresetround_ctx): New.
7956 (libc_feresetroundf_ctx): New.
7957 (libc_feresetroundl_ctx): New.
7959 2014-02-26 Carlos O'Donell <carlos@redhat.com>
7961 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7963 * manual/ipc.texi: New file.
7964 * manual/Makefile (chapters): Add ipc.
7965 * manual/job.texi: Add "Inter-Process Communication" to next.
7966 * manual/process.texi: Add "Inter-Process Communication" to prev.
7968 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7972 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
7974 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7976 * manual/arith.texi: Fix spaces after sentences.
7977 * manual/charset.texi: Likewise.
7978 * manual/errno.texi: Likewise.
7979 * manual/install.texi: Likewise.
7980 * manual/llio.texi: Likewise.
7981 * manual/locale.texi: Likewise.
7982 * manual/maint.texi: Likewise.
7983 * manual/math.texi: Likewise.
7984 * manual/memory.texi: Likewise.
7985 * manual/message.texi: Likewise.
7986 * manual/probes.texi: Likewise.
7987 * manual/resource.texi: Likewise.
7988 * manual/signal.texi: Likewise.
7989 * manual/socket.texi: Likewise.
7990 * manual/stdio.texi: Likewise.
7991 * manual/string.texi: Likewise.
7992 * manual/time.texi: Likewise.
7993 * manual/users.texi: Likewise.
7995 2014-02-25 Carlos O'Donell <carlos@redhat.com>
7998 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7999 _DEFAULT_SOURCE is defined.
8001 2014-02-25 Ulrich Drepper <drepper@gmail.com>
8002 Carlos O'Donell <carlos@redhat.com>
8005 * elf/dl-tls.c (_dl_count_modids): New function.
8006 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8007 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8008 audit library and increment generation counter.
8009 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8010 * elf/tst-audit9.c: New file.
8011 * elf/tst-auditmod9a.c: New file.
8012 * elf/tst-auditmod9b.c: New file.
8013 * elf/Makefile: Add rules to build and run tst-audit9.
8015 2014-02-25 Florian Weimer <fweimer@redhat.com>
8018 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8020 2014-02-25 Will Newton <will.newton@linaro.org>
8022 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8023 (__longjmp): Restore sp and lr before restoring callee
8024 saved registers. Add longjmp and longjmp_target
8025 SystemTap probe point.
8026 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8027 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8028 Define to zero to match jmpbuf layout.
8029 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8030 (__sigsetjmp): Save sp and lr before saving callee
8031 saved registers. Add setjmp SystemTap probe point.
8033 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8035 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8037 2014-02-24 Andreas Schwab <schwab@suse.de>
8040 * elf/pldd.c (wait_for_ptrace_stop): New function.
8041 (main): Call it after attaching.
8043 2014-02-22 Roland McGrath <roland@hack.frob.com>
8045 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8046 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8047 Versions files is now verboten.
8048 * hurd/Versions (libc: GLIBC_2.0):
8049 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8050 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8051 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8052 * mach/Versions: Likewise.
8054 * csu/Versions: Remove unused %include.
8055 * resolv/Versions: Likewise.
8057 2014-02-21 Joseph Myers <joseph@codesourcery.com>
8059 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8060 ($(objpfx)check-local-headers.out): Likewise.
8061 ($(objpfx)begin-end-check.out): Likewise.
8062 * Makerules (check-abi-%.out): Likewise.
8063 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8064 ($(objpfx)test2.cat): Likewise.
8065 ($(objpfx)de/libc.cat): Likewise.
8066 ($(objpfx)test-gencat.out): Likewise.
8067 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8068 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8069 ($(objpfx)noload-mem): Likewise.
8070 ($(objpfx)tst-pathopt.out): Likewise.
8071 ($(objpfx)tst-rtld-load-self.out): Likewise.
8072 ($(objpfx)tst-array1-cmp.out): Likewise.
8073 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8074 ($(objpfx)tst-array2-cmp.out): Likewise.
8075 ($(objpfx)tst-array3-cmp.out): Likewise.
8076 ($(objpfx)tst-array4-cmp.out): Likewise.
8077 ($(objpfx)tst-array5-cmp.out): Likewise.
8078 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8079 ($(objpfx)check-textrel.out): Likewise.
8080 ($(objpfx)check-execstack.out): Likewise.
8081 ($(objpfx)check-localplt.out): Likewise.
8082 ($(objpfx)order2-cmp.out): Likewise.
8083 ($(objpfx)tst-leaks1-mem): Likewise.
8084 ($(objpfx)tst-leaks1-static-mem): Likewise.
8085 ($(objpfx)tst-initorder-cmp.out): Likewise.
8086 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8087 ($(objpfx)tst-unused-dep.out): Likewise.
8088 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8089 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8090 * iconv/Makefile (test-iconvconfig): Likewise.
8091 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8092 ($(objpfx)iconv-test.out): Likewise.
8093 ($(objpfx)tst-tables.out): Likewise.
8094 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8095 ($(objpfx)tst-gettext.out): Likewise.
8096 ($(objpfx)tst-translit.out): Likewise.
8097 ($(objpfx)tst-gettext2.out): Likewise.
8098 ($(objpfx)tst-gettext4.out): Likewise.
8099 ($(objpfx)tst-gettext6.out): Likewise.
8100 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8101 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8102 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8103 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8104 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8105 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8106 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8107 ($(objpfx)wordexp-tst.out): Likewise.
8108 ($(objpfx)annexc.out): Likewise.
8109 ($(objpfx)tst-fnmatch-mem): Likewise.
8110 ($(objpfx)bug-regex2-mem): Likewise.
8111 ($(objpfx)bug-regex14-mem): Likewise.
8112 ($(objpfx)bug-regex21-mem): Likewise.
8113 ($(objpfx)bug-regex31-mem): Likewise.
8114 ($(objpfx)tst-vfork3-mem): Likewise.
8115 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8116 ($(objpfx)tst-pcre-mem): Likewise.
8117 ($(objpfx)tst-boost-mem): Likewise.
8118 ($(objpfx)tst-getconf.out): Likewise.
8119 ($(objpfx)bug-ga2-mem): Likewise.
8120 ($(objpfx)bug-glob2-mem): Likewise.
8121 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8122 ($(objpfx)mtrace-tst-leaks2): Likewise.
8123 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8124 ($(objpfx)tst-printf.out): Likewise.
8125 ($(objpfx)tst-setvbuf1.out): Likewise.
8126 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8127 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8128 ($(objpfx)tst-fmtmsg.out): Likewise.
8129 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8130 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8132 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8133 * bits/sigaction.h [__USE_MISC]: Likewise.
8134 * bits/waitstatus.h: Update #endif comments.
8135 * ctype/ctype.h: Likewise.
8136 * dirent/dirent.h: Likewise.
8137 [__USE_MISC]: Remove redundant conditionals.
8138 * grp/grp.h: Update #endif comments.
8139 [__USE_GNU]: Remove redundant conditionals.
8140 [__USE_MISC]: Likewise.
8141 * inet/netinet/in.h [__USE_GNU]: Likewise.
8142 * io/sys/stat.h [__USE_MISC]: Likewise.
8143 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8144 * libio/bits/stdio.h: Update #endif comments.
8145 [__USE_MISC]: Remove redundant conditionals.
8146 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8147 * libio/stdio.h: Update #endif comments.
8148 [__USE_MISC]: Remove redundant conditionals.
8149 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8150 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8151 * math/math.h: Update #else and #endif comments.
8152 [__USE_MISC]: Remove redundant conditionals.
8153 * misc/sys/uio.h: Update #endif comments.
8154 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8155 * posix/glob.h [__USE_MISC]: Likewise.
8156 * posix/sys/types.h: Update #endif comments.
8157 [__USE_MISC]: Remove redundant conditionals.
8158 * posix/sys/wait.h: Update #endif comments.
8159 [__USE_MISC]: Remove redundant conditionals.
8160 * posix/unistd.h: Update #endif comments.
8161 [__USE_MISC]: Remove redundant conditionals.
8162 * pwd/pwd.h [__USE_GNU]: Likewise.
8163 [__USE_MISC]: Likewise.
8164 * resolv/netdb.h [__USE_GNU]: Likewise.
8165 * signal/signal.h: Update #endif comments.
8166 [__USE_MISC]: Remove redundant conditionals.
8167 * stdlib/stdlib.h: Update #else and #endif comments.
8168 [__USE_MISC]: Remove redundant conditionals.
8169 [__USE_GNU]: Likewise.
8170 * string/bits/string2.h [__USE_MISC]: Likewise.
8171 * string/string.h: Update #endif comments.
8172 [__USE_MISC]: Remove redundant conditionals.
8173 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8175 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8176 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8177 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8179 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8181 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8183 [__USE_MISC]: Remove redundant conditionals.
8184 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8185 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8186 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8187 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8188 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8190 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8191 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8193 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8194 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8196 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8198 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8199 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8201 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8203 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8204 * sysdeps/x86/bits/string.h: Update #endif comments.
8205 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8207 * time/sys/time.h: Update #endif comments.
8208 * time/time.h: Likewise.
8209 [__USE_MISC]: Remove redundant conditionals.
8211 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8214 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8216 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8218 * Versions.def (librt): Add GLIBC_2.17.
8220 2014-02-21 Adam Conrad <adconrad@0c3.net>
8222 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8223 synonym for _SYS_AUXV_H to allow direct inclusion.
8224 * sysdeps/sparc/bits/hwcap.h: Likewise.
8225 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8226 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8227 * sysdeps/sparc/sysdep.h: Likewise.
8229 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8231 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8233 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8235 * benchtests/bench-strrchr.c: Print length instead of position.
8237 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8240 * sysdeps/unix/sysv/linux/kernel-features.h
8241 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8242 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8243 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8244 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8246 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8247 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8248 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8249 (__ASSUME_SENDMMSG): Define instead of using previous
8250 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8251 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8252 (__ASSUME_SENDMMSG_SYSCALL): Define.
8253 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8254 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8256 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8257 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8259 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8260 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8262 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8263 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8264 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8265 [__ASSUME_SENDMMSG]: Change conditionals to
8266 [__ASSUME_SENDMMSG_SOCKETCALL].
8267 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8268 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8270 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8271 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8273 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8274 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8275 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8276 [!__ASSUME_SENDMMSG]: Change conditional to
8277 [!__ASSUME_SENDMMSG_SOCKETCALL].
8278 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8279 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8283 * sysdeps/unix/sysv/linux/kernel-features.h
8284 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8285 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8286 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8287 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8288 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8289 [__i386__ || __sparc__]
8290 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8291 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8292 (__ASSUME_RECVMMSG): Define instead of using previous
8293 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8294 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8295 (__ASSUME_RECVMMSG_SYSCALL): Define.
8296 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8297 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8299 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8300 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8302 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8303 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8305 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8306 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8307 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8308 [__ASSUME_RECVMMSG]: Change condition to
8309 [__ASSUME_RECVMMSG_SOCKETCALL].
8310 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8311 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8313 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8314 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8315 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8317 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8318 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8319 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8320 [!__ASSUME_RECVMMSG]: Change condition to
8321 [!__ASSUME_RECVMMSG_SOCKETCALL].
8322 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8323 (__ASSUME_RECVMMSG_SYSCALL): Define.
8326 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8327 __powerpc__ || __s390__ || __sh__ || __sparc__]
8328 (__ASSUME_SOCKETCALL): Define.
8329 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8330 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8331 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8332 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8333 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8334 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8335 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8336 (__ASSUME_ACCEPT4): Define instead of using previous
8337 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8338 __powerpc__ || __sparc__ || __s390__)] condition.
8339 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8340 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8341 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8342 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8343 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8344 [!__ASSUME_ACCEPT4]: Change condition to
8345 [!__ASSUME_ACCEPT4_SOCKETCALL].
8346 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8347 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8348 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8349 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8350 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8351 __ASSUME_ACCEPT4_SYSCALL.
8352 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8353 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8354 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8355 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8356 __ASSUME_ACCEPT4_SYSCALL.
8357 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8358 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8359 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8360 [__ASSUME_ACCEPT4]: Change condition to
8361 [__ASSUME_ACCEPT4_SOCKETCALL].
8362 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8363 (__ASSUME_SOCKETCALL): Define.
8364 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8365 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8366 (__ASSUME_SOCKETCALL): Define.
8367 (__ASSUME_ACCEPT4): Remove.
8368 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8370 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8371 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8373 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8374 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8376 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8378 (HWCAP_ARM_LPAE): Likewise.
8379 (HWCAP_ARM_EVTSTRM): Likewise.
8380 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8381 Add vpfd32, lpae and evtstrm.
8382 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8385 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8387 * math/auto-libm-test-in: Add tests of clog10.
8388 * math/auto-libm-test-out: Regenerated.
8389 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8390 * sysdeps/i386/fpu/libm-test-ulps: Update.
8391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8393 2014-02-18 Andreas Schwab <schwab@suse.de>
8396 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8397 Store non-zero if the second buffer was newly allocated.
8398 (send_dg): Likewise.
8399 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8400 to send_vc and send_dg.
8401 (res_nsend): Pass NULL for ansp2_malloced.
8402 * resolv/res_query.c (__libc_res_nquery): Add parameter
8403 answerp2_malloced and pass it down to __libc_res_nsend.
8404 (res_nquery): Pass additional NULL to __libc_res_nquery.
8405 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8406 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8407 second answer buffer if answerp2_malloced was set.
8408 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8409 (__libc_res_nquerydomain): Add parameter
8410 answerp2_malloced and pass it down to __libc_res_nquery.
8411 (res_nquerydomain): Pass additional NULL to
8412 __libc_res_nquerydomain.
8413 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8414 additional NULL to __libc_res_nsend and __libc_res_nquery.
8415 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8416 additional NULL to __libc_res_nsearch.
8417 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8418 parameter of __libc_res_nsearch to check for separately allocated
8420 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8422 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8423 additional NULL to __libc_res_nquery.
8424 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8426 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8427 * include/resolv.h: Update prototypes of __libc_res_nquery,
8428 __libc_res_nsearch, __libc_res_nsend.
8430 2014-02-18 Joseph Myers <joseph@codesourcery.com>
8432 * math/auto-libm-test-in: Add tests of fma.
8433 * math/auto-libm-test-out: Regenerated.
8434 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8435 (fma_towardzero_test_data): Likewise.
8436 (fma_downward_test_data): Likewise.
8437 (fma_upward_test_data): Likewise.
8438 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8440 (rounding_modes): Add values for new field.
8441 (func_calc_method): Add value mpfr_fff_f.
8442 (func_calc_desc): Add mpfr_fff_f union field.
8443 (test_function): Add field exact_args.
8444 (FUNC): Add macro argument EXACT_ARGS.
8445 (FUNC_mpfr_f_f): Update call to FUNC.
8446 (FUNC_mpfr_f_f): Likewise.
8447 (FUNC_mpfr_ff_f): Likewise.
8448 (FUNC_mpfr_if_f): Likewise.
8449 (FUNC_mpc_c_f): Likewise.
8450 (FUNC_mpc_c_c): Likewise.
8451 (test_functions): Add fma. Update calls to FUNC.
8452 (handle_input_arg): Add argument exact_args.
8453 (add_test): Update call to handle_input_arg.
8454 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8455 (output_for_one_input_case): Update call to calc_generic_results.
8456 Recalculate exact zero results in each rounding mode.
8458 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8459 non-negative before setting low bit.
8460 * math/auto-libm-test-in: Mark one asin test possibly having
8462 * math/auto-libm-test-out: Regenerated.
8463 * sysdeps/i386/fpu/libm-test-ulps: Update.
8464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8466 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8468 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8469 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8470 ports/sysdeps/unix/sysv/linux/microblaze.
8471 * README: Add missing listing for microblaze*-*-linux-gnu.
8473 2014-02-16 Mike Frysinger <vapier@gentoo.org>
8475 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8476 * sysdeps/unix/sysv/linux/ia64: Move directory from
8477 ports/sysdeps/unix/sysv/linux/ia64.
8478 * README: Update listing for ia64-*-linux-gnu.
8480 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8481 Joseph Myers <joseph@codesourcery.com>
8483 * Makeconfig (test-name): New variable.
8484 (evaluate-test): Likewise.
8485 * Makerules (do-test-clean): Remove .test-result files.
8486 (common-mostlyclean): Likewise.
8487 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8488 * scripts/evaluate-test.sh: New file.
8490 2014-02-14 Joseph Myers <joseph@codesourcery.com>
8492 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8493 separate $(objpfx)tst-fopenloc-cmp.out and
8494 $(objpfx)tst-fopenloc-mem.out targets.
8495 (tests): Update dependencies.
8496 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8497 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8498 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8499 (tst-rxspencer-no-utf8-ARGS): New variable.
8500 (tst-rxspencer-no-utf8-ENV): Likewise.
8501 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8502 instead of $(objpfx)tst-rxspencer-mem.
8503 ($(objpfx)tst-rxspencer-mem): Change target to
8504 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8505 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8506 * posix/tst-rxspencer-no-utf8.c: New file.
8508 * elf/Makefile ($(objpfx)order.out): Remove rule.
8509 [$(run-built-tests) = yes] (tests): Depend on
8510 $(objpfx)order-cmp.out.
8511 ($(objpfx)order-cmp.out): New rule.
8512 [$(run-built-tests) = yes] (tests): Depend on
8513 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8514 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8515 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8516 $(objpfx)tst-array5-static-cmp.out.
8517 ($(objpfx)tst-array1.out): Remove rule.
8518 ($(objpfx)tst-array1-cmp.out): New rule.
8519 ($(objpfx)tst-array1-static.out): Remove rule.
8520 ($(objpfx)tst-array1-static-cmp.out): New rule.
8521 ($(objpfx)tst-array2.out): Remove rule.
8522 ($(objpfx)tst-array2-cmp.out): New rule.
8523 ($(objpfx)tst-array3.out): Remove rule.
8524 ($(objpfx)tst-array3-cmp.out): New rule.
8525 ($(objpfx)tst-array4.out): Remove rule.
8526 ($(objpfx)tst-array4-cmp.out): New rule.
8527 ($(objpfx)tst-array5.out): Remove rule.
8528 ($(objpfx)tst-array5-cmp.out): New rule.
8529 ($(objpfx)tst-array5-static.out): Remove rule.
8530 ($(objpfx)tst-array5-static-cmp.out): New rule.
8531 [$(run-built-tests) = yes] (tests): Depend on
8532 $(objpfx)order2-cmp.out.
8533 ($(objpfx)order2.out): Remove rule.
8534 ($(objpfx)order2-cmp.out): New rule.
8535 ($(objpfx)tst-initorder.out): Remove rule.
8536 [$(run-built-tests) = yes] (tests): Depend on
8537 $(objpfx)tst-initorder-cmp.out.
8538 ($(objpfx)tst-initorder-cmp.out): New rule.
8539 ($(objpfx)tst-initorder2.out): Remove rule.
8540 [$(run-built-tests) = yes] (tests): Depend on
8541 $(objpfx)tst-initorder2-cmp.out.
8542 ($(objpfx)tst-initorder2-cmp.out): New rule.
8543 [$(run-built-tests) = yes] (tests): Depend on
8544 $(objpfx)tst-unused-dep-cmp.out.
8545 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8546 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8547 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8548 on $(objpfx)tst-setvbuf1-cmp.out.
8549 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8550 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8551 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8552 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8553 ($(objpfx)tst-svc.out): Remove rule.
8554 ($(objpfx)tst-svc-cmp.out): New rule.
8556 2014-02-13 Joseph Myers <joseph@codesourcery.com>
8558 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8559 * ctype/ctype.h [__USE_MISC]: Likewise.
8560 * dirent/dirent.h [__USE_MISC]: Likewise.
8561 * grp/grp.h [__USE_MISC]: Likewise.
8562 * io/fcntl.h [__USE_MISC]: Likewise.
8563 * io/sys/stat.h [__USE_MISC]: Likewise.
8564 * libio/stdio.h [__USE_MISC]: Likewise.
8565 * posix/unistd.h [__USE_MISC]: Likewise.
8566 * pwd/pwd.h [__USE_MISC]: Likewise.
8567 * stdlib.h [__USE_MISC]: Likewise.
8568 * string/bits/string2.h [__USE_MISC]: Likewise.
8569 * string/string.h [__USE_MISC]: Likewise.
8570 * time/time.h [__USE_MISC]: Likewise.
8572 2014-02-13 Andreas Schwab <schwab@suse.de>
8575 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8576 second answer buffer if it was separately allocated.
8578 2014-02-12 Joseph Myers <joseph@codesourcery.com>
8580 * sysdeps/mips/math-tests.h: Include <features.h>.
8581 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8582 (ROUNDING_TESTS_long_double): Do not define.
8583 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8584 (EXCEPTION_TESTS_long_double): Likewise.
8585 * sysdeps/mips/mips64/libm-test-ulps: Update.
8587 * include/features.h (__USE_BSD): Remove macro definitions.
8588 (__USE_SVID): Likewise.
8589 (_BSD_SOURCE): Likewise.
8590 (_SVID_SOURCE): Likewise.
8591 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8592 from definition of _DEFAULT_SOURCE.
8593 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8595 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8596 * bits/mman.h [__USE_BSD]: Likewise.
8597 * bits/termios.h [__USE_BSD]: Likewise.
8598 * bits/waitstatus.h [__USE_BSD]: Likewise.
8599 * ctype/ctype.h [__USE_SVID]: Likewise.
8600 * dirent/dirent.h [__USE_BSD]: Likewise.
8601 * grp/grp.h [__USE_SVID]: Likewise.
8602 [__USE_BSD]: Likewise.
8603 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8604 * io/fcntl.h [__USE_BSD]: Likewise.
8605 * io/ftw.h [__USE_BSD]: Likewise.
8606 * io/sys/stat.h [__USE_BSD]: Likewise.
8607 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8608 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8609 * libio/stdio.h [__USE_SVID]: Likewise.
8610 [__USE_BSD]: Likewise.
8611 * math/math.h [__USE_SVID]: Likewise.
8612 [__USE_BSD]: Likewise.
8613 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8614 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8615 * misc/search.h [__USE_SVID]: Likewise.
8616 * misc/sys/mman.h [__USE_BSD]: Likewise.
8617 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8618 * misc/sys/uio.h [__USE_BSD]: Likewise.
8619 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8620 * posix/glob.h [__USE_BSD]: Likewise.
8621 * posix/regex.h [__USE_BSD]: Likewise.
8622 * posix/sys/types.h [__USE_BSD]: Likewise.
8623 [__USE_SVID]: Likewise.
8624 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8625 * posix/sys/wait.h [__USE_BSD]: Likewise.
8626 [__USE_SVID]: Likewise.
8627 * posix/unistd.h [__USE_BSD]: Likewise.
8628 [__USE_SVID]: Likewise.
8629 * pwd/pwd.h [__USE_SVID]: Likewise.
8630 * resolv/netdb.h [__USE_BSD]: Likewise.
8631 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8632 * signal/signal.h [__USE_BSD]: Likewise.
8633 [__USE_SVID]: Likewise.
8634 * socket/sys/socket.h [__USE_BSD]: Likewise.
8635 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8636 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8637 [__USE_SVID]: Likewise.
8638 * string/bits/string2.h [__USE_BSD]: Likewise.
8639 [__USE_SVID]: Likewise.
8640 * string/bits/string3.h [__USE_BSD]: Likewise.
8641 * string/endian.h [__USE_BSD]: Likewise.
8642 * string/string.h [__USE_SVID]: Likewise.
8643 [__USE_BSD]: Likewise.
8644 * string/strings.h [__USE_BSD]: Likewise.
8645 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8646 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8647 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8648 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8649 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8650 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8652 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8654 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8655 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8657 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8658 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8660 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8662 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8663 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8664 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8666 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8668 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8669 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8670 * termios/termios.h [__USE_BSD]: Likewise.
8671 * time/sys/time.h [__USE_BSD]: Likewise.
8672 * time/time.h [__USE_BSD]: Likewise.
8673 [__USE_SVID]: Likewise.
8675 * Makefile (subdir_targets): Remove subdir_lint.out.
8677 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8678 (do-tst-printf): Likewise.
8679 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8680 $(objpfx)tst-printf.out.
8682 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8684 * Makerules (check-abi-%): Change target to
8685 $(objpfx)check-abi-%.out.
8686 (check-abi target): Update dependencies.
8687 (check-abi-pattern variable): Redirect output of diff to $@.
8688 (check-abi variable): Likewise.
8689 * elf/Makefile (check-abi): Update dependencies.
8691 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8693 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8694 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8696 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8697 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8698 value has largest subnormal exponent.
8699 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8700 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8701 * sysdeps/aarch64/soft-fp/sfp-machine.h
8702 (_FP_TININESS_AFTER_ROUNDING): New macro.
8703 * sysdeps/alpha/soft-fp/sfp-machine.h
8704 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8705 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8707 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8708 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8709 * sysdeps/mips/soft-fp/sfp-machine.h
8710 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8711 * sysdeps/powerpc/soft-fp/sfp-machine.h
8712 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8713 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8715 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8716 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8717 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8718 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8719 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8722 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
8725 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8728 2014-02-12 Richard Henderson <rth@redhat.com>
8730 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8731 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8732 * sysdeps/unix/sysv/linux/alpha: Move directory from
8733 ports/sysdeps/unix/sysv/linux/alpha.
8734 * README: Update listing for alpha-*-linux-gnu.
8736 2014-02-11 Joseph Myers <joseph@codesourcery.com>
8738 * include/features.h: Update comment documenting feature test
8740 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8742 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8743 (_SVID_SOURCE): Likewise.
8744 (_DEFAULT_SOURCE): Update description of default features.
8745 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8747 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8748 (S_ISVTX): Likewise.
8749 * manual/math.texi (Mathematical Constants): Likewise.
8750 * manual/signal.texi (Interrupted Primitives): Likewise.
8751 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8752 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8753 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8754 Don't refer to _SVID_SOURCE in warning text.
8756 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8758 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8760 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8761 * sysdeps/mips/dl-lookup.c: Remove.
8762 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8764 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8767 * math/auto-libm-test-in: Add testcase for expl.
8768 * math/auto-libm-test-out: Regenerate.
8769 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8770 calculation of unsafe.
8771 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8773 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8775 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8776 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8777 ports/sysdeps/unix/sysv/linux/aarch64.
8778 * README: Update listing for aarch64*-*-linux-gnu.
8780 2014-02-11 Will Newton <will.newton@linaro.org>
8782 * manual/probes.texi (Mathematical Function Probes): Use
8783 "triggered" instead of "hit".
8785 * manual/probes.texi (Internal Probes): Add documentation
8786 of setjmp, longjmp and longjmp_target probes.
8788 * include/stap-probe.h: Add comment about probe argument
8791 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8792 definition. (tr_where, tr_freehook, tr_mallochook,
8793 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8795 2014-02-11 David S. Miller <davem@davemloft.net>
8797 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8798 processing int_tests.
8800 2014-02-10 Joseph Myers <joseph@codesourcery.com>
8802 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8803 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8804 * sysdeps/unix/sysv/linux/mips: Move directory from
8805 ports/sysdeps/unix/sysv/linux/mips.
8806 * README: Update listing for mips-*-linux-gnu and
8809 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8811 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8812 * sysdeps/unix/sysv/linux/m68k: Move directory from
8813 ports/sysdeps/unix/sysv/linux/m68k.
8814 * README: Update listing for m68k-*-linux-gnu.
8816 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8818 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8819 * sysdeps/unix/sysv/linux/generic: Move directory from
8820 ports/sysdeps/unix/sysv/linux/generic.
8821 * sysdeps/unix/sysv/linux/tile: Move directory from
8822 ports/sysdeps/unix/sysv/linux/tile.
8823 * README: Update listing for tile*-*-linux-gnu.
8825 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
8827 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8829 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8830 * catgets/open_catalog.c (__open_catalog): Likewise.
8831 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8832 * debug/confstr_chk.c: Likewise.
8833 * debug/fread_chk.c (__fread_chk): Likewise.
8834 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8835 * debug/getgroups_chk.c: Likewise.
8836 * debug/mbsnrtowcs_chk.c: Likewise.
8837 * debug/mbsrtowcs_chk.c: Likewise.
8838 * debug/mbstowcs_chk.c: Likewise.
8839 * debug/memcpy_chk.c: Likewise.
8840 * debug/memmove_chk.c: Likewise.
8841 * debug/mempcpy_chk.c: Likewise.
8842 * debug/memset_chk.c: Likewise.
8843 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8844 * debug/strcat_chk.c (__strcat_chk): Likewise.
8845 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8846 * debug/strncat_chk.c (__strncat_chk): Likewise.
8847 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8848 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8849 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8850 * debug/wcpncpy_chk.c: Likewise.
8851 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8852 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8853 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8854 * debug/wcsncpy_chk.c: Likewise.
8855 * debug/wcsnrtombs_chk.c: Likewise.
8856 * debug/wcsrtombs_chk.c: Likewise.
8857 * debug/wcstombs_chk.c: Likewise.
8858 * debug/wmemcpy_chk.c: Likewise.
8859 * debug/wmemmove_chk.c: Likewise.
8860 * debug/wmempcpy_chk.c: Likewise.
8861 * debug/wmemset_chk.c: Likewise.
8862 * dirent/scandirat.c (SCANDIRAT): Likewise.
8863 * dlfcn/dladdr1.c (dladdr1): Likewise.
8864 * dlfcn/dladdr.c (dladdr): Likewise.
8865 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8866 * dlfcn/dlerror.c (__dlerror): Likewise.
8867 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8868 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8869 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8870 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8871 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8872 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8873 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8874 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8876 * elf/dl-conflict.c: Likewise.
8877 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8878 * elf/dl-dst.h: Likewise.
8879 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8880 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8881 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8882 * elf/dl-init.c (call_init, _dl_init): Likewise.
8883 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8884 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8885 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8887 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8889 * elf/dl-minimal.c (__libc_memalign): Likewise.
8890 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8891 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8892 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8893 * elf/dl-sym.c (do_sym): Likewise.
8894 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8895 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8896 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8897 * elf/dl-writev.h (_dl_writev): Likewise.
8898 * elf/ldconfig.c (search_dir): Likewise.
8899 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8900 (dl_main): Likewise.
8901 * elf/setup-vdso.h (setup_vdso): Likewise.
8902 * grp/compat-initgroups.c (compat_call): Likewise.
8903 * grp/fgetgrent.c (fgetgrent): Likewise.
8904 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8905 * grp/putgrent.c (putgrent): Likewise.
8906 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8908 * hurd/hurdinit.c: Likewise.
8909 * iconvdata/8bit-gap.c (struct): Likewise.
8910 * iconvdata/ansi_x3.110.c : Likewise.
8911 * iconvdata/big5.c : Likewise.
8912 * iconvdata/big5hkscs.c : Likewise.
8913 * iconvdata/cp1255.c: Likewise.
8914 * iconvdata/cp1258.c : Likewise.
8915 * iconvdata/cp932.c : Likewise.
8916 * iconvdata/euc-cn.c: Likewise.
8917 * iconvdata/euc-jisx0213.c : Likewise.
8918 * iconvdata/euc-jp.c: Likewise.
8919 * iconvdata/euc-jp-ms.c : Likewise.
8920 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8921 * iconvdata/gb18030.c : Likewise.
8922 * iconvdata/gbbig5.c (const): Likewise.
8923 * iconvdata/gbgbk.c: Likewise.
8924 * iconvdata/gbk.c : Likewise.
8925 * iconvdata/ibm1364.c : Likewise.
8926 * iconvdata/ibm930.c : Likewise.
8927 * iconvdata/ibm932.c: Likewise.
8928 * iconvdata/ibm933.c : Likewise.
8929 * iconvdata/ibm935.c : Likewise.
8930 * iconvdata/ibm937.c : Likewise.
8931 * iconvdata/ibm939.c : Likewise.
8932 * iconvdata/ibm943.c: Likewise.
8933 * iconvdata/iso_11548-1.c: Likewise.
8934 * iconvdata/iso-2022-cn.c : Likewise.
8935 * iconvdata/iso-2022-cn-ext.c : Likewise.
8936 * iconvdata/iso-2022-jp-3.c: Likewise.
8937 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8938 * iconvdata/iso-2022-kr.c : Likewise.
8939 * iconvdata/iso646.c (gconv_end): Likewise.
8940 * iconvdata/iso_6937-2.c : Likewise.
8941 * iconvdata/iso_6937.c : Likewise.
8942 * iconvdata/iso8859-1.c: Likewise.
8943 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8944 * iconvdata/shift_jisx0213.c : Likewise.
8945 * iconvdata/sjis.c : Likewise.
8946 * iconvdata/t.61.c : Likewise.
8947 * iconvdata/tcvn5712-1.c : Likewise.
8948 * iconvdata/tscii.c: Likewise.
8949 * iconvdata/uhc.c : Likewise.
8950 * iconvdata/unicode.c (gconv_end): Likewise.
8951 * iconvdata/utf-16.c (gconv_end): Likewise.
8952 * iconvdata/utf-32.c (gconv_end): Likewise.
8953 * iconvdata/utf-7.c (base64): Likewise.
8954 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8955 * iconv/gconv_close.c (__gconv_close): Likewise.
8956 * iconv/gconv_open.c (__gconv_open): Likewise.
8957 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8958 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8959 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8960 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8961 (ucs4le_internal_loop_single): Likewise.
8962 * iconv/iconv.c (iconv): Likewise.
8963 * iconv/iconv_close.c: Likewise.
8964 * iconv/loop.c (SINGLE): Likewise.
8965 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8966 * include/atomic.h: Likewise.
8967 * inet/inet6_option.c (option_alloc): Likewise.
8968 * intl/bindtextdom.c (set_binding_values): Likewise.
8969 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8970 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8971 * intl/localealias.c (read_alias_file): Likewise.
8972 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8973 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8974 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8975 * libio/fmemopen.c (fmemopen): Likewise.
8976 * libio/iofgets.c (_IO_fgets): Likewise.
8977 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8978 * libio/iofgetws.c (fgetws): Likewise.
8979 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8980 * libio/iogetdelim.c (_IO_getdelim): Likewise.
8981 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8982 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8983 * locale/findlocale.c (_nl_find_locale): Likewise.
8984 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8985 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8987 * locale/setlocale.c (setlocale): Likewise.
8988 * login/programs/pt_chown.c (main): Likewise.
8989 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8990 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8991 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8992 (mmap, mmap64, mremap, munmap): Likewise.
8993 * math/e_exp2l.c: Likewise.
8994 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8995 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8996 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8997 * math/s_catan.c (__catan): Likewise.
8998 * math/s_catanf.c (__catanf): Likewise.
8999 * math/s_catanh.c (__catanh): Likewise.
9000 * math/s_catanhf.c (__catanhf): Likewise.
9001 * math/s_catanhl.c (__catanhl): Likewise.
9002 * math/s_catanl.c (__catanl): Likewise.
9003 * math/s_ccosh.c (__ccosh): Likewise.
9004 * math/s_ccoshf.c (__ccoshf): Likewise.
9005 * math/s_ccoshl.c (__ccoshl): Likewise.
9006 * math/s_cexp.c (__cexp): Likewise.
9007 * math/s_cexpf.c (__cexpf): Likewise.
9008 * math/s_cexpl.c (__cexpl): Likewise.
9009 * math/s_clog10.c (__clog10): Likewise.
9010 * math/s_clog10f.c (__clog10f): Likewise.
9011 * math/s_clog10l.c (__clog10l): Likewise.
9012 * math/s_clog.c (__clog): Likewise.
9013 * math/s_clogf.c (__clogf): Likewise.
9014 * math/s_clogl.c (__clogl): Likewise.
9015 * math/s_csin.c (__csin): Likewise.
9016 * math/s_csinf.c (__csinf): Likewise.
9017 * math/s_csinh.c (__csinh): Likewise.
9018 * math/s_csinhf.c (__csinhf): Likewise.
9019 * math/s_csinhl.c (__csinhl): Likewise.
9020 * math/s_csinl.c (__csinl): Likewise.
9021 * math/s_csqrt.c (__csqrt): Likewise.
9022 * math/s_csqrtf.c (__csqrtf): Likewise.
9023 * math/s_csqrtl.c (__csqrtl): Likewise.
9024 * math/s_ctan.c (__ctan): Likewise.
9025 * math/s_ctanf.c (__ctanf): Likewise.
9026 * math/s_ctanh.c (__ctanh): Likewise.
9027 * math/s_ctanhf.c (__ctanhf): Likewise.
9028 * math/s_ctanhl.c (__ctanhl): Likewise.
9029 * math/s_ctanl.c (__ctanl): Likewise.
9030 * math/w_pow.c: Likewise.
9031 * math/w_powf.c: Likewise.
9032 * math/w_powl.c: Likewise.
9033 * math/w_scalb.c (sysv_scalb): Likewise.
9034 * math/w_scalbf.c (sysv_scalbf): Likewise.
9035 * math/w_scalbl.c (sysv_scalbl): Likewise.
9036 * misc/error.c (error_tail): Likewise.
9037 * misc/pselect.c (__pselect): Likewise.
9038 * nis/nis_callback.c (__nis_create_callback): Likewise.
9039 * nis/nis_call.c (__nisfind_server): Likewise.
9040 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9041 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9042 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9043 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9044 * nis/nis_lookup.c (nis_lookup): Likewise.
9045 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9046 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9047 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9048 * nis/nis_xdr.c (xdr_endpoint): Likewise.
9049 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9050 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9051 * nis/nss_compat/compat-initgroups.c (add_group)
9052 (internal_getgrent_r): Likewise.
9053 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9054 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9055 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9056 (internal_getspnam_r): Likewise.
9057 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9058 (_nss_nis_getaliasbyname_r): Likewise.
9059 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9060 (_nss_nis_getntohost_r): Likewise.
9061 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9062 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9063 (_nss_nis_getgrgid_r): Likewise.
9064 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9065 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9066 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9067 (_nss_nis_gethostbyname4_r): Likewise.
9068 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9069 (initgroups_netid): Likewise.
9070 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9071 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9072 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9073 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9074 (_nss_nis_getprotobynumber_r): Likewise.
9075 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9076 (_nss_nis_getsecretkey): Likewise.
9077 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9078 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9079 (_nss_nis_getpwuid_r): Likewise.
9080 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9081 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9082 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9083 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9084 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9085 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9086 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9088 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9089 (_nss_nisplus_getntohost_r): Likewise.
9090 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9091 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9092 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9093 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9095 * nis/nss_nisplus/nisplus-initgroups.c
9096 (_nss_nisplus_initgroups_dyn): Likewise.
9097 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9098 (_nss_nisplus_getnetbyaddr_r): Likewise.
9099 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9100 (_nss_nisplus_getprotobynumber_r): Likewise.
9101 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9102 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9103 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9105 * nis/nss_nisplus/nisplus-service.c
9106 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9107 (_nss_nisplus_getservbyport_r): Likewise.
9108 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9109 (_nss_nisplus_getspnam_r): Likewise.
9110 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9112 * nscd/aicache.c (addhstaiX): Likewise.
9113 * nscd/cache.c (cache_search, prune_cache): Likewise.
9114 * nscd/connections.c (register_traced_file, send_ro_fd)
9115 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9116 (main_loop_epoll): Likewise.
9117 * nscd/grpcache.c (addgrbyX): Likewise.
9118 * nscd/hstcache.c (addhstbyX): Likewise.
9119 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9120 * nscd/mem.c (gc, mempool_alloc): Likewise.
9121 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9122 (addinnetgrX): Likewise.
9123 * nscd/nscd-client.h (__nscd_acquire_maplock)
9124 (__nscd_drop_map_ref): Likewise.
9125 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9126 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9127 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9129 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9130 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9131 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9132 (__nscd_get_map_ref): Likewise.
9133 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9134 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9136 * nscd/pwdcache.c (addpwbyX): Likewise.
9137 * nscd/selinux.c (preserve_capabilities): Likewise.
9138 * nscd/servicescache.c (addservbyX): Likewise.
9139 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9140 * posix/fnmatch.c (fnmatch): Likewise.
9141 * posix/getopt.c (_getopt_internal_r): Likewise.
9142 * posix/glob.c (glob, glob_in_dir): Likewise.
9143 * posix/wordexp.c (exec_comm_child): Likewise.
9144 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9145 (getanswer_r, gaih_getanswer_slice): Likewise.
9146 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9147 * resolv/res_init.c: Likewise.
9148 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9149 * resolv/res_query.c (__libc_res_nquery): Likewise.
9150 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9152 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9153 * stdio-common/perror.c (perror): Likewise.
9154 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9155 * stdio-common/tmpnam.c (tmpnam): Likewise.
9156 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9157 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9158 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9160 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9161 * stdlib/putenv.c (putenv): Likewise.
9162 * stdlib/setenv.c (__add_to_environ): Likewise.
9163 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9164 * stdlib/strtol_l.c (INTERNAL): Likewise.
9165 * string/memmem.c (memmem): Likewise.
9166 * string/strerror.c (strerror): Likewise.
9167 * string/strnlen.c (__strnlen): Likewise.
9168 * string/test-memmem.c (simple_memmem): Likewise.
9169 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9170 * sunrpc/pm_getport.c (__get_socket): Likewise.
9171 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9172 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9173 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9174 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9176 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9177 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9178 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9179 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9180 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9181 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9183 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9185 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9186 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9187 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9188 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9189 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9191 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9192 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9193 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9194 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9195 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9196 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9198 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9200 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9202 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9203 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9204 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9205 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9206 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9207 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9208 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9209 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9210 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9211 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9212 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9213 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9214 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9215 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9216 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9217 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9219 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9221 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9223 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9225 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9226 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9227 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9229 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9230 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9231 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9232 * sysdeps/posix/sleep.c: Likewise.
9233 * sysdeps/posix/tempname.c: Likewise.
9234 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9235 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9237 * sysdeps/powerpc/powerpc32/dl-machine.h
9238 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9239 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9240 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9241 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9242 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9244 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9245 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9246 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9247 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9248 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9249 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9250 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9251 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9252 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9253 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9254 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9255 (elf_machine_lazy_rel): Likewise.
9256 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9257 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9258 (elf_machine_lazy_rel): Likewise.
9259 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9260 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9261 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9262 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9263 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9264 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9265 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9266 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9268 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9269 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9270 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9271 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9272 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9273 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9274 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9275 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9276 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9277 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9278 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9280 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9281 (__posix_fallocate64_l64): Likewise.
9282 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9283 (posix_fallocate): Likewise.
9284 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9286 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9287 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9288 (getifaddrs_internal): Likewise.
9289 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9290 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9291 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9292 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9293 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9294 (__posix_fallocate64_l64): Likewise.
9295 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9297 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9298 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9299 (__get_clockfreq): Likewise.
9300 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9301 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9302 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9303 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9304 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9305 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9306 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9307 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9309 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9310 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9311 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9312 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9313 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9314 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9315 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9317 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9318 (posix_fallocate): Likewise.
9319 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9320 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9321 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9322 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9323 (elf_machine_rela, elf_machine_rela_relative)
9324 (elf_machine_lazy_rel): Likewise.
9325 * time/asctime.c (asctime_internal): Likewise.
9326 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9327 * time/tzset.c (__tzset_parse_tz): Likewise.
9328 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9329 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9330 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9331 * wcsmbs/wcsmbsload.h: Likewise.
9334 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9336 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9337 (arena_get2): Remove THREAD_STATS conditionals.
9338 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9339 (__malloc_stats, int): Likewise.
9341 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9343 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9344 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9346 * manual/setjmp.texi: Fix typos/grammar errors.
9348 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9349 Only return early when n is <= 0. Delete unused return statement.
9351 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9352 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9353 * debug/tst-longjmp_chk3.c: New file.
9355 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9356 (test_main): Replace code with set_fortify_handler call.
9357 * debug/test-strcpy_chk.c: Likewise.
9358 * debug/tst-chk1.c: Likewise.
9359 * debug/tst-longjmp_chk.c: Likewise.
9360 * test-skeleton.c: Include fcntl.h & paths.h
9361 (set_fortify_handler): Define.
9363 * debug/tst-longjmp_chk.c: Add header comment and include
9365 (do_test): Mark static.
9366 (TEST_FUNCTION): Define.
9368 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9369 (IP_PMTUDISC_INTERFACE): Likewise.
9370 (IP_MULTICAST_IF): Likewise.
9371 (IP_MULTICAST_TTL): Likewise.
9372 (IP_MULTICAST_LOOP): Likewise.
9373 (IP_ADD_MEMBERSHIP): Likewise.
9374 (IP_DROP_MEMBERSHIP): Likewise.
9375 (IP_UNBLOCK_SOURCE): Likewise.
9376 (IP_BLOCK_SOURCE): Likewise.
9377 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9378 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9379 (IP_MSFILTER): Likewise.
9380 (MCAST_JOIN_GROUP): Likewise.
9381 (MCAST_BLOCK_SOURCE): Likewise.
9382 (MCAST_UNBLOCK_SOURCE): Likewise.
9383 (MCAST_LEAVE_GROUP): Likewise.
9384 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9385 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9386 (MCAST_MSFILTER): Likewise.
9387 (IP_MULTICAST_ALL): Likewise.
9388 (IP_UNICAST_IF): Likewise.
9390 * timezone/Makefile: Delete $(have-ksh) check.
9391 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9392 * timezone/tzselect.ksh: Add +x mode bits.
9394 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9395 (ANON_INODE_FS_MAGIC): Likewise.
9396 (BDEVFS_MAGIC): Likewise.
9397 (BINFMTFS_MAGIC): Likewise.
9398 (BTRFS_TEST_MAGIC): Likewise.
9399 (CRAMFS_MAGIC_WEND): Likewise.
9400 (DEBUGFS_MAGIC): Likewise.
9401 (ECRYPTFS_SUPER_MAGIC): Likewise.
9402 (EXT3_SUPER_MAGIC): Likewise.
9403 (EXT4_SUPER_MAGIC): Likewise.
9404 (FUTEXFS_SUPER_MAGIC): Likewise.
9405 (HOSTFS_SUPER_MAGIC): Likewise.
9406 (HUGETLBFS_MAGIC): Likewise.
9407 (MINIX3_SUPER_MAGIC): Likewise.
9408 (MTD_INODE_FS_MAGIC): Likewise.
9409 (NILFS_SUPER_MAGIC): Likewise.
9410 (OPENPROM_SUPER_MAGIC): Likewise.
9411 (PIPEFS_MAGIC): Likewise.
9412 (PSTOREFS_MAGIC): Likewise.
9413 (QNX6_SUPER_MAGIC): Likewise.
9414 (RAMFS_MAGIC): Likewise.
9415 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9416 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9417 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9418 (SECURITYFS_MAGIC): Likewise.
9419 (SELINUX_MAGIC): Likewise.
9420 (SMACK_MAGIC): Likewise.
9421 (SOCKFS_MAGIC): Likewise.
9422 (SQUASHFS_MAGIC): Likewise.
9423 (STACK_END_MAGIC): Likewise.
9424 (TMPFS_MAGIC): Likewise.
9425 (USBDEVICE_SUPER_MAGIC): Likewise.
9426 (V9FS_MAGIC): Likewise.
9427 (XENFS_SUPER_MAGIC): Likewise.
9428 (CRAMFS_MAGIC): Fix typo in comment.
9429 (EXT2_SUPER_MAGIC): Update comment.
9430 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9432 2014-02-08 Joseph Myers <joseph@codesourcery.com>
9434 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9435 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9436 * sysdeps/unix/sysv/linux/arm: Move directory from
9437 ports/sysdeps/unix/sysv/linux/arm.
9438 * README: Update listing for arm-*-linux-gnueabi.
9440 * README: Remove mention of am33.
9442 2014-02-07 Roland McGrath <roland@hack.frob.com>
9444 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9445 than the comma operator, to avoid "rhs of comma has no effect"
9447 (__sigfillset, __sigandset, __sigorset): Likewise.
9448 * include/signal.h (__sigemptyset): Likewise.
9449 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9451 2014-02-07 Allan McRae <allan@archlinux.org>
9453 * version.h (RELEASE): Set to "development".
9454 (VERSION): Set to "2.19.90"
9455 * NEWS: Add 2.20 section.
9457 2014-02-06 Carlos O'Donell <carlos@redhat.com>
9460 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9462 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9464 * manual/contrib.texi: Update entry for Carlos O'Donell,
9465 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9467 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
9469 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9471 * sysdeps/unix/sysv/linux/kernel-features.h
9472 [__LINUX_KERNEL_VERSION >= 0x020621]
9473 (__ASSUME_PROC_PID_TASK_COMM): Define.
9475 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9478 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9479 conversion when destination buffer does not have enough space.
9480 * libio/tst-ftell-partial-wide.c: New test case.
9481 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9483 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9484 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9485 Leonard and Allan McRae.
9487 2014-02-04 David S. Miller <davem@davemloft.net>
9489 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9492 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9521 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9523 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9524 * shlib-versions: Likewise.
9526 2014-02-04 Roland McGrath <roland@hack.frob.com>
9527 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9529 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9530 (abilist-pattern): New variable, set to %-le.abilist.
9532 * Makerules (abilist-pattern): New variable.
9533 (vpath): Use $(abilist-pattern) in place of %.abilist.
9534 (check-abi-% pattern rule): Likewise.
9535 (check-abi, update-abi): Likewise.
9537 2014-02-04 Eric Wong <normalperson@yhbt.net>
9539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9541 2014-02-03 Carlos O'Donell <carlos@redhat.com>
9543 * manual/startup.texi: Add next, previous, and top entries for
9544 the `Program Arguments' and `Environment Variables' nodes.
9546 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
9548 * manual/macros.texi: Add comments before MTASC-safety macros.
9550 * manual/users.texi: Document MTASC-safety properties.
9552 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9553 (pthread_getspecific, pthread_setspecific): Format with
9554 @deftypefun, and add @safety note.
9555 * manual/signal.texi: Move comments that analyze the above
9556 functions to their home place.
9558 2014-02-03 Allan McRae <allan@archlinux.org>
9560 * po/sl.po: Update Slovenian translation from translation project.
9562 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
9564 * manual/time.texi (timegm): Add missing blank after @c.
9565 Reported by Joseph Myers <joseph@codesourcery.com>.
9567 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
9569 * manual/check-safety.sh: New.
9570 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9572 * manual/terminal.texi: Document MTASC-safety properties.
9574 * manual/filesys.texi: Document MTASC-safety properties.
9576 * manual/errno.texi: Document MTASC-safety properties.
9578 * manual/intro.texi: Document safety identifiers and
9581 * manual/string.texi (wcstok): Fix prototype.
9582 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9584 * manual/time.texi: Document MTASC-safety properties.
9586 * manual/string.texi: Document MTASC-safety properties.
9588 * manual/threads.texi: Document MTASC-safety properties.
9590 * manual/stdio.texi: Document MTASC-safety properties.
9592 * manual/syslog.texi: Document MTASC-safety properties.
9594 * manual/sysinfo.texi: Document MTASC-safety properties.
9596 * manual/startup.texi: Document MTASC-safety properties.
9598 * manual/socket.texi: Document MTASC-safety properties.
9600 * manual/signal.texi: Document MTASC-safety properties.
9602 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
9604 * manual/setjmp.texi: Document MTASC-safety properties.
9606 * manual/search.texi: Document MTASC-safety properties.
9608 * manual/resource.texi: Document MTASC-safety properties.
9610 * manual/process.texi: Document MTASC-safety properties.
9612 * manual/platform.texi: Document MTASC-safety properties.
9614 * manual/pipe.texi: Document MTASC-safety properties.
9616 * manual/pattern.texi: Document MTASC-safety properties.
9618 * manual/message.texi: Document MTASC-safety properties.
9621 * manual/memory.texi: Document MTASC-safety properties.
9623 * manual/math.texi: Document MTASC-safety properties.
9625 * manual/locale.texi: Document MTASC-safety properties.
9627 * manual/llio.texi: Document MTASC-safety properties.
9629 * manual/libdl.texi: New.
9631 * manual/lang.texi: Document MTASC-safety properties.
9633 * manual/job.texi: Document MTASC-safety properties.
9635 * manual/getopt.texi: Document MTASC-safety properties.
9637 * manual/ctype.texi: Document MTASC-safety properties.
9639 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9642 * csu/libc-tls.c (static_map): Remove variable.
9643 (__libc_setup_tls): Use main executable's link map for TLS data.
9644 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9645 casing for LM_ID_BASE and GL(dl_nns).
9646 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9647 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9648 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9649 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9650 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9652 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9655 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
9657 * manual/debug.texi: Document MTASC-safety properties.
9659 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9662 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9663 of __x86_64__ when disabling x87 inline functions.
9665 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
9667 * manual/charset.texi: Document MTASC-safety properties.
9669 * manual/crypt.texi: Document MTASC-safety properties.
9671 * manual/conf.texi: Document MTASC-safety properties.
9673 * manual/arith.texi: Document MTASC-safety properties.
9675 * manual/argp.texi: Document MTASC-safety properties.
9677 * manual/macros.texi: Introduce macros to document multi
9678 thread, asynchronous signal and asynchronous cancellation
9680 * manual/intro.texi: Introduce the properties themselves.
9682 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9684 * sysdeps/sh/sh4/Makefile: New file.
9686 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9688 * math/gen-libm-test.pl ($srcdir): New variable.
9689 ($auto_input): Use it.
9691 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9694 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9695 access beyond array bounds when parsing netgroups file.
9697 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9698 the old buffer before realloc.
9700 2014-01-27 Allan McRae <allan@archlinux.org>
9702 * po/fr.po: Update French translation from translation project.
9704 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9706 * sysdeps/sh/libm-test-ulps: Regenerate.
9708 2014-01-24 David S. Miller <davem@davemloft.net>
9710 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9712 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9714 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9715 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9717 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9720 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9721 string pointers after reallocation.
9723 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9725 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9726 __SH4A__ instead of __SH_FPU_ANY__.
9728 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9730 * sysdeps/sh/fpu_control.h: New file.
9731 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9732 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9733 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9734 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9735 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9736 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9737 * sysdeps/sh/sys/ucontext.h: Remove.
9738 * sysdeps/sh/sys: Remove directory.
9740 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9742 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9743 s390/sys/ucontext.h.
9744 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9745 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9747 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9750 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9752 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9755 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9756 Adjust the vDSO correctly for internal calls.
9757 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9759 2014-01-20 Allan McRae <allan@archlinux.org>
9761 * po/ca.po: Update Catalan translation from translation project.
9763 2014-01-16 Mike Frysinger <vapier@gentoo.org>
9765 * sysdeps/s390/sotruss-lib.c: New file.
9767 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9770 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9771 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9772 local calls issues by not having a PLT stub required for IFUNC calls.
9773 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9775 2014-01-16 Joseph Myers <joseph@codesourcery.com>
9777 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9778 * math/test-fpucw-static.c: Likewise.
9780 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9783 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9785 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9787 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9788 implementation for powerpc.
9790 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
9793 * sysdeps/posix/system.c (__libc_system): Do not enable
9794 asynchronous cancellation.
9796 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9799 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9800 handling only for numbers special also in the IEEE case.
9802 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9804 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9806 2014-01-11 Allan McRae <allan@archlinux.org>
9808 * po/bg.po: Update Bulgarian translation from translation project.
9810 * po/de.po: Update German translation from translation project.
9812 2014-01-10 Roland McGrath <roland@hack.frob.com>
9814 * sysdeps/generic/gcc-compat.h: New file.
9816 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9818 * benchtests/asin-inputs: Correct slow inputs.
9819 * benchtests/acos-inputs: Likewise.
9821 2014-01-10 Allan McRae <allan@archlinux.org>
9823 * po:sv.po: Update Swedish translation from translation project.
9825 * po/vi.po: Update Vietnamese translation from translation project.
9827 * po/eo.po: Update Esperanto translation from translation project.
9829 * po/cs.po: Update Czech translation from translation project.
9831 * po/nl.po: Update Dutch translation from translation project.
9833 * po/pl.po: Update Polish translation from translation project.
9835 * po/ru.po: Update Russian translation from translation project.
9837 * po/uk.po: Update Ukrainian translation from translation project.
9839 2014-01-08 Brooks Moses <bmoses@google.com>
9841 * elf/dl-load.c: Fix comment typo.
9843 2014-01-08 Carlos O'Donell <carlos@redhat.com>
9845 * po/header.pot: Rename to...
9846 * po/pot.header: ... this.
9847 * po/Makefile: Use pot.header.
9849 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9850 Maxim Kuvyrkov <maxim@kugelworks.com>
9853 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9854 SRC and DEST against LEN.
9856 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9859 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9861 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9863 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9867 2014-01-08 Joseph Myers <joseph@codesourcery.com>
9870 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9871 for large positive arguments.
9873 2014-01-07 Joseph Myers <joseph@codesourcery.com>
9875 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9877 * math/auto-libm-test-in: Mark various tests with
9878 xfail-rounding:ldbl-128ibm.
9879 * math/auto-libm-test-out: Regenerated.
9882 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9883 Increase overflow threshold.
9885 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
9888 * stdio-common/vfprintf.c: Check for integer overflow.
9890 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9892 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9893 the first argument and return value of __tls_get_addr_internal.
9895 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9897 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9898 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9900 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9902 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9903 * sysdeps/s390/rtld-global-offsets.sym: New file.
9904 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9906 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9907 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9908 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9910 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9911 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9917 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9918 halfs of GPRs for high_gprs contexts.
9919 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9920 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9922 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9924 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9926 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9927 for high GPRs (uc_high_gprs) and for future extensions
9929 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9930 for future extensions (__reserved).
9931 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9933 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9934 SC_HIGHGPRS offset definition.
9935 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9936 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9938 * Versions.def: Add GLIBC_2.19 for libpthread.
9939 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9940 siglongjmp for libpthread with GLIBC_2.19 symver.
9941 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9942 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9943 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9944 * sysdeps/s390/__longjmp.c: New file.
9945 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9946 * sysdeps/s390/longjmp.c: New file.
9947 * sysdeps/s390/setjmp.S: New file.
9948 * sysdeps/s390/sigjmp.S: New file.
9949 * sysdeps/s390/v1-longjmp.c: New file.
9950 * sysdeps/s390/v1-setjmp.h: New file.
9951 * sysdeps/s390/v1-sigjmp.c: New file.
9952 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9953 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9955 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9956 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9957 versioned symbols for ____longjmp_chk.
9958 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9968 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9969 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9970 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9971 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9972 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9973 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9974 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9975 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9976 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9977 * sysdeps/s390/rtld-__longjmp.c: New file.
9978 * sysdeps/s390/rtld-setjmp.S: New file.
9980 2014-01-06 Joseph Myers <joseph@codesourcery.com>
9983 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9984 Return -__logl (x) for small positive arguments without evaluating
9987 2014-01-06 Mike Frysinger <vapier@gentoo.org>
9989 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9991 (__ptrace_peeksiginfo_args): ... this.
9992 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9993 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9994 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9996 2014-01-06 Allan McRae <allan@archlinux.org>
9998 * inet/netinet/in.h: Fix typo in comment.
10000 2014-01-05 Andreas Jaeger <aj@suse.de>
10002 * sysdeps/i386/fpu/libm-test-ulps: Update.
10004 2014-01-05 Allan McRae <allan@archlinux.org>
10006 * po/libc.pot: Regenerated.
10008 * malloc/memusagestat.c: Fix gettext call formatting.
10010 2014-01-04 Sami Kerola <kerolasa@iki.fi>
10012 * nscd/nscd.c: Improve usage() output.
10014 2014-01-04 Mike Frysinger <vapier@gentoo.org>
10016 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10017 * sysdeps/unix/sysv/linux/configure: Regenerated.
10018 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10019 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10021 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10024 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10025 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10027 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10029 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10030 extra tokens at end of #undef directive.
10031 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10032 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10033 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10035 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10037 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10039 * math/auto-libm-test-in: Mark various tests with
10040 xfail-rounding:ldbl-128ibm.
10041 * math/auto-libm-test-out: Regenerated.
10043 2014-01-02 Joseph Myers <joseph@codesourcery.com>
10046 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10047 numbers with subnormal high part when calculating exponent.
10050 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10054 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10056 (__ieee754_acoshl): Use __log1pl not __log1p.
10058 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
10060 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10061 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10062 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10063 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10064 (reused_arena, arena_get2): Convert to GNU style.
10065 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10066 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10067 (memalign_check, __malloc_set_state): Likewise.
10068 * malloc/mallocbug.c (main): Likewise.
10069 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10070 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10071 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10072 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10073 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10074 (__posix_memalign, malloc_info): Likewise.
10075 * malloc/malloc.h: Likewise.
10076 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10077 (mallochook, memalignhook, reallochook, mabort): Likewise.
10078 * malloc/mcheck.h: Likewise.
10079 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10080 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10081 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10082 * malloc/morecore.c (__default_morecore): Likewise.
10083 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10084 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10085 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10086 (print_and_abort): Likewise.
10087 * malloc/obstack.h: Likewise.
10088 * malloc/set-freeres.c (__libc_freeres): Likewise.
10089 * malloc/tst-mallocstate.c (main): Likewise.
10090 * malloc/tst-mtrace.c (main): Likewise.
10091 * malloc/tst-realloc.c (do_test): Likewise.
10093 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10096 * nscd/netgroupcache.c (do_notfound): New function.
10097 (addgetnetgrentX): Use it.
10100 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10101 NSS_STATUS_NOTFOUND.
10103 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10105 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10108 2014-01-01 Allan McRae <allan@archlinux.org>
10110 * scripts/update-copyrights: Update configure input file suffix.
10112 * NEWS: Update copyright year.
10113 * catgets/gencat.c: Likewise.
10114 * csu/version.c: Likewise.
10115 * debug/catchsegv.sh: Likewise.
10116 * debug/pcprofiledump.c: Likewise.
10117 * debug/xtrace.sh: Likewise.
10118 * elf/ldconfig.c: Likewise.
10119 * elf/ldd.bash.in: Likewise.
10120 * elf/pldd.c: Likewise.
10121 * elf/sotruss.ksh: Likewise.
10122 * elf/sprof.c: Likewise.
10123 * iconv/iconv_prog.c: Likewise.
10124 * iconv/iconvconfig.c: Likewise.
10125 * locale/programs/locale.c: Likewise.
10126 * locale/programs/localedef.c: Likewise.
10127 * login/programs/pt_chown.c: Likewise.
10128 * malloc/memusage.sh: Likewise.
10129 * malloc/memusagestat.c: Likewise.
10130 * malloc/mtrace.pl: Likewise.
10131 * manual/libc.texinfo: Likewise.
10132 * nscd/nscd.c: Likewise.
10133 * nss/getent.c: Likewise.
10134 * nss/makedb.c: Likewise.
10135 * posix/getconf.c: Likewise.
10136 * scripts/test-installation.pl: Likewise.
10138 * All files with FSF copyright notices: Update copyright dates
10139 using scripts/update-copyrights.
10140 * intl/plural.c: Regenerated.
10141 * locale/programs/charmap-kw.h: Likewise.
10142 * locale/programs/locfile-kw.h: Likewise.
10144 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10146 * sysdeps/unix/sysv/linux/configure: Regenerated.
10147 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10148 the linux/fanotify.h header.
10149 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10150 HAVE_LINUX_FANOTIFY_H is defined.
10152 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10154 * benchtests/cos-inputs: New inputs.
10155 * benchtests/sin-inputs: Likewise.
10157 * benchtests/atan-inputs: New inputs. Fix name of multiple
10158 precision fallback inputs.
10160 * benchtests/atanh-inputs: New inputs.
10161 * benchtests/tanh-inputs: Likewise.
10163 * benchtests/acosh-inputs: New inputs.
10164 * benchtests/asinh-inputs: Likewise.
10166 * benchtests/cosh-inputs: New inputs.
10167 * benchtests/sinh-inputs: Likewise.
10169 * benchtests/acos-inputs: Add more inputs.
10170 * benchtests/asin-inputs: Likewise.
10172 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10175 * manual/arith.texi: Fix spelling.
10176 * manual/charset.texi: Likewise.
10177 * manual/errno.texi: Likewise.
10178 * manual/filesys.texi: Likewise.
10179 * manual/lang.texi: Likewise.
10180 * manual/llio.texi: Likewise.
10181 * manual/locale.texi: Likewise.
10182 * manual/message.texi: Likewise.
10183 * manual/resource.texi: Likewise.
10184 * manual/search.texi: Likewise.
10185 * manual/setjmp.texi: Likewise.
10186 * manual/stdio.texi: Likewise.
10187 * manual/string.texi: Likewise.
10188 * manual/sysinfo.texi: Likewise.
10189 * manual/time.texi: Likewise.
10191 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10193 * po/sl.po: New file.
10195 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10197 * .gitignore: Add core/.gdbinit/.gdb_history.
10199 2013-12-27 Allan McRae <allan@archlinux.org>
10202 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10203 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10205 2013-12-24 Brooks Moses <bmoses@google.com>
10207 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10208 all compilers that claim C++98 compliance, not just GCC.
10209 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10212 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10214 * NEWS: Restore accidentally deleted bug-fix entries.
10216 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10217 Ondřej Bílka <neleai@seznam.cz>
10220 * malloc/malloc.c (_int_free): Perform sanity check only if we
10223 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10226 * manual/stdio.texi (String Input Conversions): Clarify that character
10227 classes are not supported.
10229 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10233 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10236 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10237 Calculate results for small negative arguments directly rather
10238 than using reflection formula with special underflow handling.
10240 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10241 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10242 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10243 (fchflags): Likewise.
10244 (revoke): Likewise.
10245 (setlogin): Likewise.
10246 (sigaltstack): Likewise.
10248 (sigblock): Remove.
10249 (sigsetmask): Likewise.
10251 (waitpid): Likewise.
10252 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10253 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10255 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10256 * sysdeps/unix/bsd/Makefile: ... here.
10257 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10258 * sysdeps/unix/bsd/Versions: ... here.
10259 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10260 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10261 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10262 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10263 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10264 * sysdeps/unix/bsd/sigblock.c: ... here.
10265 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10266 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10267 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10268 * sysdeps/unix/bsd/sigvec.c: ... here.
10269 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10270 * sysdeps/unix/bsd/tcdrain.c: ... here.
10271 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10272 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10273 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10274 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10275 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10276 * sysdeps/unix/bsd/wait.c: ... here.
10277 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10278 * sysdeps/unix/bsd/wait3.c: ... here.
10279 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10280 * sysdeps/unix/bsd/waitpid.c: ... here.
10282 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10285 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10286 round-to-nearest for [!USE_AS_EXPM1L].
10287 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10288 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10289 more tests of exp and exp10. Expect some exp10 tests to miss
10290 exceptions or fail in directed rounding modes.
10291 * math/auto-libm-test-out: Regenerated.
10292 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10293 (exp10_test_tonearest): New function.
10294 (exp10_towardzero_test_data): New array.
10295 (exp10_test_towardzero): New function.
10296 (exp10_downward_test_data): New array.
10297 (exp10_test_downward): New function.
10298 (exp10_upward_test_data): New array.
10299 (exp10_test_upward): New function.
10300 (main): Call the new functions.
10301 * sysdeps/i386/fpu/libm-test-ulps: Update.
10302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10304 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10306 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10307 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10308 * math/auto-libm-test-out: Regenerated.
10309 * math/libm-test.inc (acosh_test_data): Add more tests.
10310 (atanh_test_data): Likewise.
10311 (ceil_test_data): Likewise.
10312 (copysign_test_data): Likewise.
10313 * sysdeps/i386/fpu/libm-test-ulps: Update.
10314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10316 * timezone/checktab.awk: Update from tzcode 2013i.
10317 * timezone/private.h: Likewise.
10318 * timezone/scheck.c: Likewise.
10319 * timezone/tzfile.h: Likewise.
10320 * timezone/tzselect.ksh: Likewise.
10321 * timezone/zdump.c: Likewise.
10322 * timezone/zic.c: Likewise.
10324 * math/auto-libm-test-in: Add tests of cpow.
10325 * math/auto-libm-test-out: Regenerated.
10326 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10327 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10329 (func_calc_desc): Add mpc_cc_c union field.
10330 (test_functions): Add cpow.
10331 (special_fill_2pi): New function.
10332 (special_real_inputs): Add 2pi.
10333 (calc_generic_results): Handle mpc_cc_c.
10334 * sysdeps/i386/fpu/libm-test-ulps: Update.
10335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10337 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10338 csqrt, ctan and ctanh.
10339 * math/auto-libm-test-out: Regenerated.
10340 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10341 (TEST_COND_x86): Likewise.
10342 (ccos_test_data): Use AUTO_TESTS_c_c.
10343 (ccosh_test_data): Likewise.
10344 (cexp_test_data): Likewise.
10345 (clog_test_data): Likewise.
10346 (csqrt_test_data): Likewise.
10347 (ctan_test_data): Likewise.
10348 (ctan_tonearest_test_data): Likewise.
10349 (ctan_towardzero_test_data): Likewise.
10350 (ctan_downward_test_data): Likewise.
10351 (ctan_upward_test_data): Likewise.
10352 (ctanh_test_data): Likewise.
10353 (ctanh_tonearest_test_data): Likewise.
10354 (ctanh_towardzero_test_data): Likewise.
10355 (ctanh_downward_test_data): Likewise.
10356 (ctanh_upward_test_data): Likewise.
10357 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10359 (func_calc_desc): Add mpc_c_c union field.
10360 (FUNC_mpc_c_c): New macro.
10361 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10362 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10364 (special_fill_min_subnorm_p120): New function.
10365 (special_real_inputs): Add min_subnorm_p120.
10366 (calc_generic_results): Handle mpc_c_c.
10367 * sysdeps/i386/fpu/libm-test-ulps: Update.
10368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10370 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10372 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10373 (do_sin_slow): New functions.
10374 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10375 (cslow2, csloww1, csloww2): Use the new functions.
10377 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10378 Use M to change sign of result instead of X. Assume X is
10380 (csloww1): Likewise.
10384 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10385 arguments A and DA.
10389 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10391 (sloww1): Don't adjust sign of DX.
10392 (csloww1): Likewise.
10393 (sloww2): Use X directly and don't adjust sign of DX.
10394 (csloww2): Likewise.
10396 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10398 * math/auto-libm-test-in: Add tests of cabs and carg.
10399 * math/auto-libm-test-out: Regenerated.
10400 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10401 (carg_test_data): Likewise.
10402 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10404 (func_calc_desc): Add mpc_c_f union field.
10405 (test_functions): Add cabs and carg.
10406 (calc_generic_results): Handle mpc_c_f.
10408 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10409 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10410 as a macro and a compat symbol.
10411 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10412 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10413 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10414 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10415 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10416 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10418 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10420 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10422 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10424 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10426 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10428 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10429 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10432 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10436 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10438 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10439 trailing whitespace removed.
10440 * scripts/config.guess: Update to version 2013-11-29.
10441 * scripts/config.sub: Update to version 2013-10-01.
10443 * math/auto-libm-test-in: Add tests of sincos.
10444 * math/auto-libm-test-out: Regenerated.
10445 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10446 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10448 (func_calc_desc): Add mpfr_f_11 union field.
10449 (test_functions): Add sincos.
10450 (calc_generic_results): Handle mpfr_f_11.
10451 * sysdeps/i386/fpu/libm-test-ulps: Update.
10452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10454 2013-12-19 Andreas Schwab <schwab@suse.de>
10456 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10458 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10459 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10460 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10462 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10464 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10465 * sysdeps/i386/fpu/libm-test-ulps: Update.
10466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10469 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10470 round-to-nearest mode when using frndint.
10471 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10472 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10473 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10475 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10477 * math/auto-libm-test-out: Regenerated.
10478 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10479 (TEST_COND_x86): Likewise.
10480 (expm1_tonearest_test_data): New array.
10481 (expm1_test_tonearest): New function.
10482 (expm1_towardzero_test_data): New array.
10483 (expm1_test_towardzero): New function.
10484 (expm1_downward_test_data): New array.
10485 (expm1_test_downward): New function.
10486 (expm1_upward_test_data): New array.
10487 (expm1_test_upward): New function.
10488 (main): Run the new test functions.
10489 * sysdeps/i386/fpu/libm-test-ulps: Update.
10490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10492 * include/features.h: Update comment documenting feature test
10493 macros. Mention _DEFAULT_SOURCE in comment.
10494 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10495 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10496 _BSD_SOURCE and _SVID_SOURCE.
10497 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10498 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10499 !_SVID_SOURCE]: Likewise.
10500 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10501 (__USE_POSIX_IMPLICITLY): Define.
10502 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10503 (_POSIX_SOURCE): Undefine and redefine.
10504 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10505 (_POSIX_C_SOURCE): Likewise.
10506 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10507 (Feature Test Macros): Update documentation of default features.
10509 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10511 * benchtests/Makefile: Add bench-strtok.
10512 * benchtests/bench-strtok.c: New file: strtok benchtest.
10514 2013-12-19 Allan McRae <allan@archlinux.org>
10516 * manual/install.texi: Suppress menu for plain text output.
10517 * INSTALL: Regenerated.
10519 2013-12-18 Brooks Moses <bmoses@google.com>
10522 * misc/getauxval.c: Include errno.h.
10523 (__getauxval): Set errno to ENOENT if the requested type is not
10525 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10526 don't declare with __attribute_const__.
10527 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10528 * manual/startup.texi: Document that getauxval sets errno.
10530 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10532 * math/auto-libm-test-in: Add tests of jn and yn.
10533 * math/auto-libm-test-out: Regenerated.
10534 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10535 (yn_test_data): Likewise.
10536 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10538 (func_calc_desc): Add mpfr_if_f union field.
10539 (FUNC_mpfr_if_f): New macro.
10540 (test_functions): Add jn and yn.
10541 (calc_generic_results): Assert type of second input for
10542 mpfr_ff_f. Handle mpfr_if_f.
10543 (output_for_one_input_case): Disable all checking for arguments
10544 fitting floating-point types in case of an integer argument.
10545 * sysdeps/i386/fpu/libm-test-ulps: Update.
10546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10549 Don't expect fegetround reference in libm.so.
10551 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10553 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10554 $(config-cflags-nofma).
10556 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10558 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10559 * math/auto-libm-test-out: Regenerated.
10562 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10563 to determine exponent and adjust argument to have exponent of -1.
10564 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10566 * math/auto-libm-test-out: Regenerated.
10567 * sysdeps/i386/fpu/libm-test-ulps: Update.
10568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10570 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
10572 * manual/probes.texi: Remove cases when per-thread arenas are
10575 2013-12-18 Andreas Schwab <schwab@suse.de>
10577 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10578 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10579 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10580 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10581 * sysdeps/i386/i686/multiarch/Makefile: Update.
10582 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10584 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10586 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10587 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10589 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10592 Support TZ transition times < 00:00:00.
10593 This is needed for version-3 tz-format files; it supports time
10594 stamps past 2037 for America/Godthab (the only entry in the tz
10595 database for which this change is relevant).
10596 * manual/time.texi (TZ Variable): Document transition times
10597 from -167:59:59 through -00:00:01.
10598 * time/tzset.c (tz_rule): Time of day is now signed.
10599 (__tzset_parse_tz): Parse negative time of day.
10601 Document TZ transition times >= 25:00:00.
10602 * manual/time.texi (TZ Variable): Document transition times from
10603 25:00:00 through 167:59:59. These are already supported, and this
10604 support will help with version-3 tz-format files.
10606 * manual/time.texi (TZ Variable): Modernize North America example
10607 to reflect current (i.e., 2007-and-later) daylight saving rules.
10609 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10611 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10613 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10614 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10615 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10616 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10617 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10618 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10619 * sysdeps/unix/bsd/clock.c: Likewise.
10620 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10621 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10622 * sysdeps/unix/bsd/init-posix.c: Likewise.
10623 * sysdeps/unix/bsd/poll.c: Likewise.
10624 * sysdeps/unix/bsd/ptsname.c: Likewise.
10625 * sysdeps/unix/bsd/seekdir.c: Likewise.
10626 * sysdeps/unix/bsd/setegid.c: Likewise.
10627 * sysdeps/unix/bsd/seteuid.c: Likewise.
10628 * sysdeps/unix/bsd/setgid.c: Likewise.
10629 * sysdeps/unix/bsd/setrgid.c: Likewise.
10630 * sysdeps/unix/bsd/setruid.c: Likewise.
10631 * sysdeps/unix/bsd/setsid.c: Likewise.
10632 * sysdeps/unix/bsd/setuid.c: Likewise.
10633 * sysdeps/unix/bsd/sigaction.c: Likewise.
10634 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10635 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10636 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10637 * sysdeps/unix/bsd/telldir.c: Likewise.
10638 * sysdeps/unix/bsd/times.c: Likewise.
10639 * sysdeps/unix/bsd/usleep.c: Likewise.
10641 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10642 ($(objpfx)libbsd-compat.a): Remove rule.
10644 * include/features.h (__FAVOR_BSD): Do not define.
10645 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10646 features conflicting with POSIX.
10647 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10648 (_BSD_SOURCE): Remove description of not being a subset of other
10649 feature test macros.
10650 * manual/job.texi (getpgrp): Do not document BSD version.
10651 (getpgid): Do not document by reference to BSD getpgrp.
10652 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10653 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10654 * signal/signal.h [__FAVOR_BSD]: Likewise.
10655 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10656 instead of making contents conditional on [__FAVOR_BSD].
10657 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10659 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10663 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10666 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10667 values below 2**-450, not 2**-500.
10668 * math/auto-libm-test-in: Don't allow spurious underflow from
10670 * math/auto-libm-test-out: Regenerated.
10674 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10675 values of ha and hb and sort them after adjusting subnormal
10677 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10679 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10680 values of ea and eb and sort them after adjusting subnormal
10682 * math/auto-libm-test-in: Do not expect some hypot tests of
10683 subnormals to fail. Add more hypot tests.
10684 * math/auto-libm-test-out: Regenerated.
10686 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10689 * sysdeps/sh/s_fma.c: New file.
10690 * sysdeps/sh/s_fmaf.c: New file.
10691 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10693 * sysdeps/sh/Implies: Add sh/soft-fp.
10695 2013-12-16 Roland McGrath <roland@hack.frob.com>
10697 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10698 level of indirection to members `objname', `errstring', `malloced'.
10699 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10700 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10701 it as the __longjmp argument (just pass 1 instead).
10702 (_dl_catch_error): Initialize C with argument pointers and address of
10703 volatile local ERRCODE rather than copying values out of C at return.
10705 2013-12-16 Joseph Myers <joseph@codesourcery.com>
10707 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10708 * math/auto-libm-test-out: Regenerated.
10709 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10710 (hypot_test_data): Likewise.
10711 (pow_test_data): Likewise.
10712 (pow_tonearest_test_data): Likewise.
10713 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10715 (func_calc_desc): Add mpfr_ff_f union field.
10716 (FUNC_mpfr_ff_f): New macro.
10717 (test_functions): Add atan2, hypot and pow.
10718 (special_fill_min): New function.
10719 (special_fill_minus_min): Likewise.
10720 (special_fill_min_subnorm): Likewise.
10721 (special_fill_minus_min_subnorm): Likewise.
10722 (special_real_inputs): Add min, -min, min_subnorm and
10724 (calc_generic_results): Handle mpfr_ff_f.
10725 * sysdeps/i386/fpu/libm-test-ulps: Update.
10726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10728 2013-12-16 Will Newton <will.newton@linaro.org>
10730 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10731 (Aligned Memory Blocks): Add documentation for aligned_alloc
10732 and suggest it as an alternative to posix_memalign.
10733 (Hooks for Malloc): Document __memalign_hook is also called
10734 for aligned_alloc. (Summary of Malloc): Add summary for
10735 aligned alloc. Document __memalign_hook is also called
10738 2013-12-16 Will Newton <will.newton@linaro.org>
10740 * manual/memory.texi (Malloc Examples): Clarify default
10741 alignment documentation. Suggest posix_memalign rather
10742 than memalign or valloc.
10743 (Aligned Memory Blocks): Remove suggestion to use memalign
10744 or valloc. Remove obsolete comment about BSD.
10745 Document memalign errno values and mark the function obsolete.
10746 Document posix_memalign returned error codes. Mark valloc
10747 as obsolete. (Hooks for Malloc): __memalign_hook is also
10748 called for posix_memalign and valloc.
10749 (Summary of Malloc): Add posix_memalign to function summary.
10750 __memalign_hook is also called for posix_memalign and valloc.
10752 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10754 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10758 (sloww): Use mynumber union. Expand ternary operator into
10759 if-else statements.
10760 (cslow): use mynumber union.
10762 2013-12-16 Allan McRae <allan@archlinux.org>
10764 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10765 * configure: Regenerated.
10767 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10770 * configure.ac: Added --enable-maintainer-mode. Check for
10771 autoconf when enabled.
10772 * configure: Regenerated.
10774 * nscd/nscd.service: New file.
10775 * nscd/nscd.tmpfiles: New file.
10777 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
10780 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10781 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10782 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10783 (strstr): Add __strstr_sse2_unaligned ifunc.
10784 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10785 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10786 (strcasestr): Remove __strcasestr_sse42 ifunc.
10787 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10788 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10789 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10791 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10793 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10794 * sysdeps/sh/bits/fenv.h: ... here.
10795 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10797 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10799 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10801 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10802 hypotf multiarch implementations.
10803 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10804 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10805 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10806 multiarch hypot for PPC64.
10807 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10808 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10809 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10810 multiarch hypotf for PPC64.
10812 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10813 modff multiarch implementations.
10814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10817 multiarch modf for PPC64.
10818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10821 multiarch modff for PPC64.
10823 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10824 and logl multiarch implementations.
10825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10828 multiarch logb for PPC64.
10829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10832 multiarch logb for PPC64.
10833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10836 multiarch logb for PPC64.
10838 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10839 isinff multiarch implementation.
10840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10844 multiarch isinf for PPC64.
10845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10848 multiarch isinff for PPC64.
10850 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10851 finitef multiarch implementation.
10852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10856 multiarch finite for PPC64.
10857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10860 multiarch finitef for PPC64.
10862 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10863 lrint multiarch implementation.
10864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10868 multiarch llrint for PPC64.
10869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10870 multiarch lrint for PPC64.
10872 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10873 copysignf multiarch implementation.
10874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10879 multiarch copysign for PPC64.
10880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10881 multiarch copysignf for PPC64.
10883 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10884 multiarch implementation.
10885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10893 multiarch llround for PPC64.
10894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10895 multiarch trunc for PPC64.
10896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10897 multiarch truncf for PPC64.
10899 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10900 multiarch implementation.
10901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10909 multiarch llround for PPC64.
10910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10911 multiarch round for PPC64.
10912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10913 multiarch roundf for PPC64.
10915 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10916 multiarch implementation.
10917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10925 multiarch llround for PPC64.
10926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10927 multiarch floor for PPC64.
10928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10929 multiarch floorf for PPC64.
10931 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10932 multiarch implementation.
10933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10941 multiarch llround for PPC64.
10942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10943 multiarch ceil for PPC64.
10944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10945 multiarch ceilf for PPC64.
10947 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10948 multiarch implementation.
10949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10956 multiarch llround for PPC64.
10957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10958 multiarch lround for PPC64.
10960 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10961 multiarch implementation.
10962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10969 multiarch isnan for PPC64.
10970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10971 multiarch isnanf for PPC64.
10973 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10974 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10975 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10976 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10977 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10980 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10981 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10982 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10983 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10985 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10986 multiarch implementations.
10987 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10988 (__libc_ifunc_impl_list): Likewise.
10989 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10990 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10991 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10992 multiarch stpcpy for PPC64.
10994 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10995 multiarch implementations.
10996 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10997 (__libc_ifunc_impl_list): Likewise.
10998 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10999 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11000 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11001 multiarch strcpy for PPC64.
11003 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11004 redefine function name.
11005 (_wordcopy_fwd_dest_aligned): Likewise.
11006 (_wordcopy_bwd_aligned): Likewise.
11007 (_wordcopy_bwd_dest_aligned): Likewise.
11008 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11009 multiarch implementations.
11010 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11011 (__libc_ifunc_impl_list): Likewise.
11012 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11013 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11014 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11015 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11016 multiarch wcscpy for PPC64.
11018 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11019 multiarch implementations.
11020 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11021 (__libc_ifunc_impl_list): Likewise.
11022 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11023 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11024 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11025 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11026 multiarch wcscpy for PPC64.
11028 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11029 multiarch implementations.
11030 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11031 (__libc_ifunc_impl_list): Likewise.
11032 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11033 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11034 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11035 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11036 multiarch wcsrchr for PPC64.
11038 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11039 multiarch implementations.
11040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11041 (__libc_ifunc_impl_list): Likewise.
11042 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11043 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11044 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11045 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11046 multiarch wcschr for PPC64.
11048 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11049 multiarch implementations.
11050 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11051 (__libc_ifunc_impl_list): Likewise.
11052 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11053 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11054 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11055 multiarch strchrnul for PPC64.
11057 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11059 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11060 (__libc_ifunc_impl_list): Likewise.
11061 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11062 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11063 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11064 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11069 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11070 (__libc_ifunc_impl_list): Likewise.
11071 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11072 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11073 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11074 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11077 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11078 multiarch implementations.
11079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11080 (__libc_ifunc_impl_list): Likewise.
11081 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11082 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11083 strncasecmp for PPC64.
11084 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11085 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11086 multiarch strncasecmp_l for PPC64.
11088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11089 multiarch implementations.
11090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11091 (__libc_ifunc_impl_list): Likewise.
11092 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11093 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11094 multiarch strcasecmp for PPC64.
11095 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11097 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11098 multiarch strcasecmp_l for PPC64.
11100 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11103 (__libc_ifunc_impl_list): Likewise.
11104 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11105 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11106 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11109 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11111 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11112 (__libc_ifunc_impl_list): Likewise.
11113 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11114 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11115 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11118 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11121 (__libc_ifunc_impl_list): Likewise.
11122 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11123 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11124 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11125 rawmemrchr for PPC64.
11127 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11130 (__libc_ifunc_impl_list): Likewise.
11131 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11132 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11133 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11136 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11139 (__libc_ifunc_impl_list): Likewise.
11140 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11141 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11142 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11145 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11147 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11148 (__libc_ifunc_impl_list): Likewise.
11149 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11150 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11151 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11154 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11155 avoid cretion of __bzero symbol.
11156 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11158 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11160 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11162 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11163 multiarch implementations.
11164 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11165 (__libc_ifunc_impl_list): Likewise.
11166 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11167 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11168 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11169 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11171 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11172 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11173 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11174 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11175 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11177 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11179 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11180 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11182 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11183 (__libc_ifunc_impl_list): Likewise.
11184 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11185 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11186 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11187 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11190 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11191 multiarch for POWER/PPC64.
11192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11193 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11194 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11195 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11196 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11197 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11198 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11199 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11200 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11203 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11204 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11205 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11206 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11207 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11208 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11209 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11210 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11211 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11212 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11213 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11214 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11215 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11216 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11217 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11226 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11228 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11230 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11232 * benchtests/Makefile (bench): Add exp2 and log2.
11233 (LDLIBS-bench-exp2): Add -lm.
11234 (LDLIBS-bench-log2): Likewise.
11235 * benchtests/exp2-inputs: New inputs file.
11236 * benchtests/log2-inputs: New inputs file.
11237 * benchtests/log-inputs: Add new inputs.
11238 * benchtests/tan-inputs: Likewise.
11240 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11242 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11244 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11245 (csloww2): ... from here.
11247 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11248 instead of structures.
11249 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11250 (POLYNOMIAL): Likewise.
11251 (TAYLOR_SLOW): Likewise.
11257 (sloww1); Likewise.
11258 (sloww2): Likewise.
11259 (bsloww1): Likewise.
11260 (bsloww2): Likewise.
11261 (cslow2): Likewise.
11262 (csloww): Likewise.
11263 (csloww1): Likewise.
11264 (csloww2): Likewise.
11266 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11268 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11269 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11270 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11271 * malloc/hooks.c (realloc_check): Likewise.
11273 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11274 * malloc/arena.c: Remove PER_THREAD conditional.
11275 [!PER_THREAD]: Remove code.
11276 (ptmalloc_unlock_all2): Likewise.
11277 (ptmalloc_init): Likewise.
11278 (_int_new_arena): Likewise.
11279 (arena_get2): Likewise.
11280 * malloc/hooks.c (__malloc_get_state): Likewise.
11281 (__malloc_set_state): Likewise.
11282 * malloc/malloc.c: Likewise.
11283 (struct malloc_state): Likewise.
11284 (struct malloc_par): Likewise.
11285 (__libc_realloc): Likewise.
11286 (__libc_mallopt): Likewise.
11288 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11290 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11292 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11294 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11295 macro to a function. Check for zero perturb_byte.
11296 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11298 * malloc/malloc.c: (force_reg): Remove.
11299 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11300 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11301 force_reg by atomic_forced_read.
11302 * malloc/arena.c (ptmalloc_init): Likewise.
11303 * malloc/hooks.c (top_check): Likewise.
11305 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11309 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11311 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11313 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11315 * math/auto-libm-test-in: Add tests of lgamma.
11316 * math/auto-libm-test-out: Regenerated.
11317 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11318 (M_LOG_2_SQRT_PIl): Likewise.
11319 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11320 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11322 (func_calc_desc): Add mpfr_f_f1 union field.
11323 (ARGS1): New macro.
11331 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11332 (test_functions): Add lgamma.
11333 (calc_generic_results): Handle mpfr_f_f1.
11334 * sysdeps/i386/fpu/libm-test-ulps: Update.
11335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11337 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11339 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11340 __mpn_add_n for PowerPC64/POWER7.
11341 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11342 __mpn_sub_n for PowerPC64/POWER7.
11344 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11345 __mpn_addmul_1 for PowerPC64.
11346 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11347 __mpn_submul_1 for PowerPC64.
11348 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11350 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11353 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11356 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11358 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11360 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11362 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11363 add multiarch folders.
11364 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11365 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11366 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11367 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11368 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11369 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11370 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11371 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11372 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11373 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11374 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11383 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11389 multiarch __ieee754_hypot for PowerPC32.
11390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11395 multiarch __ieee754_hypotf for PowerPC32.
11397 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11398 long_double_symbol only if __logbl is defined.
11399 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11400 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11401 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11402 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11403 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11404 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11405 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11406 path for implementation.
11407 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11408 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11410 logb, and logbl multiarch implementations for PowerPC32.
11411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11416 multiarch logb for PowerPC32.
11417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11422 multiarch logbf for PowerPC32.
11423 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11427 multiarch logbl implementation for PowerPC32.
11429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11430 and modff multiarch implementations.
11431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11436 multiarch modf for PowerPC32.
11437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11442 multiarch modff for PowerPC32.
11444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11445 and lrintf multiarch implementations.
11446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11451 multiarch lrint for PowerPC32.
11452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11453 file: multiarch lrintf for PowerPC32.
11455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11456 and lroundf multiarch implementations.
11457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11464 multiarch lround for PowerPC32.
11465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11466 file: multiarch lroundf for PowerPC32.
11468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11469 copysign and copysignf multiarch implementations.
11470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11475 file: multiarch copysign for PowerPC32.
11476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11477 file: multiarch copysignf for PowerPC32.
11479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11480 and truncf multiarch implementations.
11481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11486 multiarch trunc for PowerPC32.
11487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11492 multiarch truncf for PowerPC32.
11494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11495 and roundf multiarch implementations.
11496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11501 multiarch round for PowerPC32.
11502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11507 multiarch roundf for PowerPC32.
11509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11510 and floorf multiarch implementations.
11511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11516 multiarch floor for PowerPC32.
11517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11522 multiarch floorf for PowerPC32.
11524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11525 and ceilf multiarch implementations.
11526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11531 multiarch ceil for PowerPC32.
11532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11537 multiarch ceilf for PowerPC32.
11539 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11541 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11542 FINITEF is defined.
11543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11544 and finitef multiarch implementations.
11545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11550 multiarch finite for PowerPC32.
11551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11554 file: multiarch finitef for PowerPC32.
11556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11557 and isinff multiarch implementations.
11558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11563 multiarch isinf for PowerPC32.
11564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11567 multiarch isinff for PowerPC32.
11569 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11570 alias when __isnan is defined.
11571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11572 and isnanf multiarch implementations.
11573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11582 multiarch isnan for PowerPC32.
11583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11588 multiarch isnanf for PowerPC32.
11590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11591 and sqrtf multiarch implementations.
11592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11597 multiarch sqrt for PowerPC32.
11598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11603 multiarch sqrtf for PowerPC32.
11605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11606 and llroundf multiarch implementations.
11607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11614 file: multiarch llround for PowerPC32.
11615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11616 file: multiarch llroundf for PowerPC32.
11618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11619 multiarch PowerPC32 fpu implementations.
11620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11625 multiarch llrint for PowerPC32.
11626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11635 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11637 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11639 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11641 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11642 multiarch wordcopy for PPC32.
11643 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11645 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11646 (__libc_ifunc_impl_list): Likewise.
11647 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11648 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11649 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11650 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11651 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11652 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11654 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11655 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11657 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11659 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11661 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11662 multiarch wcscpy for PPC32.
11663 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11665 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11666 (__libc_ifunc_impl_list): Likewise.
11667 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11668 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11669 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11670 sysdeps/powerpc/power6/wcscpy.c.
11672 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11673 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11675 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11677 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11679 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11680 multiarch wcsrchr for PPC32.
11681 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11683 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11684 (__libc_ifunc_impl_list): Likewise.
11685 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11686 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11687 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11688 sysdeps/powerpc/power6/wcsrchr.c.
11690 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11692 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11694 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11695 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11696 multiarch wcschr for PPc32.
11697 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11699 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11700 (__libc_ifunc_impl_list): Likewise.
11701 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11702 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11703 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11704 sysdeps/powerpc/power6/wcschr.c.
11706 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11707 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11709 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11710 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11711 file: multiarch strchr for PPC32.
11712 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11714 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11715 (__libc_ifunc_impl_list): Likewise.
11717 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11719 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11721 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11723 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11724 multiarch strchrnul for PPC32.
11725 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11727 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11728 (__libc_ifunc_impl_list): Likewise.
11730 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11732 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11733 multiarch strncasecmp for PPC32.
11734 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11736 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11737 multiarch strncasecmp_l for PPC32.
11738 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11739 strncasecmp multiarch objects.
11740 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11741 (__libc_ifunc_impl_list): Likewise.
11743 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11745 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11746 multiarch strncasecmp for PPC32.
11747 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11749 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11750 multiarch strcasecmp_l for PPC32.
11751 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11753 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11754 (__libc_ifunc_impl_list): Likewise.
11756 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11758 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11760 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11761 multiarch strncmp for PPC32.
11762 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11764 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11765 (__libc_ifunc_impl_list): Likewise.
11767 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11768 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11770 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11771 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11772 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11774 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11775 (__libc_ifunc_impl_list): Likewise.
11777 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11779 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11781 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11782 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11784 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11785 (__libc_ifunc_impl_list): Likewise.
11787 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11789 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11791 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11792 multiarch rawmemchr for PPC32.
11793 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11795 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11796 (__libc_ifunc_impl_list): Likewise.
11798 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11800 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11802 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11803 file: memrchr multiarch for PPC32.
11804 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11806 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11807 (__libc_ifunc_impl_list): Likewise.
11809 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11810 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11812 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11813 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11814 multiarch memchr for PPC32.
11815 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11817 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11818 (__libc_ifunc_impl_list): Likewise.
11820 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11821 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11823 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11825 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11826 file: multiarch mempcpy for PPC32.
11827 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11829 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11830 (__libc_ifunc_impl_list): Likewise.
11832 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11833 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11834 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11835 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11836 multiarch bzero for PPC32.
11837 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11839 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11841 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11842 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11843 file: multiarch memset for PPC32.
11844 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11845 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11846 memset multiarch objects.
11847 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11848 (__libc_ifunc_impl_list): Likewise.
11850 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11852 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11853 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11855 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11856 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11858 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11859 (__libc_ifunc_impl_list): Likewise.
11861 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11862 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11863 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11865 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11867 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11869 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11870 multiarch memcpy for PPC32.
11871 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11873 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11874 (__libc_ifunc_impl_list): Likewise.
11876 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11877 support multiarch for POWER/PPC32.
11878 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11880 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11882 Implies file to make multiarch folder appers before the fpu and
11883 default folder for power4 configuration.
11885 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11887 * scripts/bench.pl: Append volatile keyword to type.
11889 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11891 * sysdeps/sh/sotruss-lib.c: New file.
11892 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11894 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11898 2013-12-05 Joseph Myers <joseph@codesourcery.com>
11901 * math/w_tgamma.c: Include <errno.h>.
11902 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11903 * math/w_tgammaf.c: Include <errno.h>.
11904 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11905 * math/w_tgammal.c: Include <errno.h>.
11906 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11907 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11908 underflow. Add more tgamma tests.
11909 * math/auto-libm-test-out: Regenerated.
11910 * sysdeps/i386/fpu/libm-test-ulps: Update.
11911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11913 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11914 sin, sinh, tan, tanh, tgamma, y0 and y1.
11915 * math/auto-libm-test-out: Regenerated.
11916 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11917 (TEST_COND_x86): Likewise.
11918 (M_E2l): Remove macro.
11920 (M_2_SQRT_PIl): Likewise.
11921 (M_SQRT_PIl): Likewise.
11922 (M_1_DIV_El): Likewise.
11923 (log_test_data): Use AUTO_TESTS_f_f.
11924 (log10_test_data): Likewise.
11925 (log1p_test_data): Likewise.
11926 (log2_test_data): Likewise.
11927 (sin_test_data): Likewise.
11928 (sin_tonearest_test_data): Likewise.
11929 (sin_towardzero_test_data): Likewise.
11930 (sin_downward_test_data): Likewise.
11931 (sin_upward_test_data): Likewise.
11932 (sinh_test_data): Likewise.
11933 (sinh_tonearest_test_data): Likewise.
11934 (sinh_towardzero_test_data): Likewise.
11935 (sinh_downward_test_data): Likewise.
11936 (sinh_upward_test_data): Likewise.
11937 (tan_test_data): Likewise.
11938 (tan_tonearest_test_data): Likewise.
11939 (tan_towardzero_test_data): Likewise.
11940 (tan_downward_test_data): Likewise.
11941 (tan_upward_test_data): Likewise.
11942 (tanh_test_data): Likewise.
11943 (tgamma_test_data): Likewise.
11944 (y0_test_data): Likewise.
11945 (y1_test_data): Likewise.
11946 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11947 (special_real_inputs): Add pi/4.
11948 * sysdeps/i386/fpu/libm-test-ulps: Update.
11949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11951 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11953 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11954 "longjmp_target" static probes.
11955 (__longjmp): Rename to __longjmp_symbol.
11956 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11957 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11958 on which longjmp to generate.
11959 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11960 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11962 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11963 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11964 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11965 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11966 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11967 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11969 __longjmp_symbol based on which __longjmp to generate.
11970 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11972 (setjmp): Rename to setjmp_symbol.
11973 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11974 (_setjmp): Rename to _setjmp_symbol.
11975 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11976 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11977 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11978 which setjmp to generate.
11979 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11980 "longjmp_target" static probes.
11982 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11984 * benchtests/README: Add note about output arguments.
11985 * benchtests/bench-sincos.c: Remove file.
11986 * benchtests/sincos-inputs: New file.
11987 * scripts/bench.pl: Identify output arguments and define
11988 static variables for them.
11990 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11993 * Makefile (INSTALL): Add install-plain.texi as the primary
11995 * manual/install-plain.texi: New file.
11996 * manual/install.texi: Include node directive only for
11997 non-plaintext output.
11999 2013-12-04 Joseph Myers <joseph@codesourcery.com>
12001 * stdlib/longlong.h: Update from GCC.
12005 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12006 * math/w_j0f.c (y0f): Likewise.
12007 * math/w_j0l.c (__y0l): Likewise.
12008 * math/w_j1.c (y1): Likewise.
12009 * math/w_j1f.c (y1f): Likewise.
12010 * math/w_j1l.c (__y1l): Likewise
12011 * math/w_jn.c (yn): Likewise.
12012 * math/w_jnf.c (ynf): Likewise.
12013 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12014 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12015 value for Bessel function domain errors outside _SVID_ mode.
12016 Adjust sign of return value for yn (negative integer, 0).
12017 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12018 by zero in return for negative x and set sign appropriately for
12020 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12021 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12022 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12023 expectations in error cases.
12024 (y1_test_data): Likewise.
12025 (yn_test_data): Likewise.
12026 * sysdeps/i386/fpu/libm-test-ulps: Update.
12027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12029 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12031 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12032 "64" to "64-v1". Add "64-v2".
12033 (abi-64-options): Rename to ...
12034 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12035 (abi-64-condition): Rename to ...
12036 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12037 (abi-64-ld-soname): Rename to ...
12038 (abi-64-v1-ld-soname): ... this.
12039 (abi-64-v2-options): Define.
12040 (abi-64-v2-condition): Likewise.
12041 (abi-64-v2-ld-soname): Likewise.
12042 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12043 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12048 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12049 Alan Modra <amodra@gmail.com>
12051 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12052 New versions for use with the ELFv2 ABI.
12053 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12054 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12056 (struct La_ppc64v2_retval): Likewise.
12057 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12058 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12059 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12060 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12061 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12062 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12063 Do not save or restore CR.
12064 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12065 (_dl_profile_resolve): Do no save or restore CR. Support extended
12066 return values for ELFv2 ABI. Fix location of FPR return registers.
12067 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12068 updated values for _CALL_ELF == 2.
12069 (La_regs, La_retval, int_retval): Likewise.
12071 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12073 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12074 (FRAME_MIN_SIZE_PARM): Likewise.
12075 (FRAME_BACKCHAIN): Likewise.
12076 (FRAME_CR_SAVE): Likewise.
12077 (FRAME_LR_SAVE): Likewise.
12078 (FRAME_TOC_SAVE): Likewise.
12079 (FRAME_PARM_SAVE): Likewise.
12080 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12081 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12082 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12083 (call_mcount_parm_offset): New macro.
12084 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12085 (PROF): Use symbolic stack frame offsets.
12086 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12087 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12088 Redefine in terms of FRAME_MIN_SIZE.
12089 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12090 (_dl_profile_resolve): Likewise. Update comment.
12091 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12092 symbols stack frame offsets.
12093 (__sigsetjmp): Likewise.
12094 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12095 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12096 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12097 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12100 (FRAME_BACKCHAIN): Remove.
12101 (FRAME_CR_SAVE): Likewise.
12102 (FRAME_LR_SAVE): Likewise.
12103 (FRAME_COMPILER_DW): Likewise.
12104 (FRAME_LINKER_DW): Likewise.
12105 (FRAME_TOC_SAVE): Likewise.
12106 (FRAME_PARM_SAVE): Likewise.
12107 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12108 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12109 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12111 (CHECK_SP): Use symbolic stack frame offsets.
12112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12113 zone" instead of caller's parameter save area for temp storage.
12114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12115 Likewise. Also, use symbolic stack frame offsets.
12116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12117 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12118 our own stack frame instead of the caller's.
12119 (__socket): Use symbolic stack frame offsets.
12121 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12122 Alan Modra <amodra@gmail.com>
12124 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12126 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12127 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12128 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12130 (elf_machine_fixup_plt): Call it.
12131 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12133 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12134 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12135 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12136 r2 before calling target.
12138 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12139 Alan Modra <amodra@gmail.com>
12141 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12142 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12143 versions of macros to support ELFv2 ABI.
12144 (LOCALENTRY): New macro.
12145 (ENTRY, EALIGN): Use it.
12146 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12147 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12148 fall through into ENTRY entry point.
12149 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12150 Only define if _CALL_ELF != 2.
12152 (elf_machine_matches_host): Verify ABI version matches.
12153 (RTLD_START): Use LOCALENTRY.
12154 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12155 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12156 (PLT_ENTRY_WORDS): New macro.
12157 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12158 (elf_machine_runtime_setup): Support ELFv2 ABI.
12159 (elf_machine_fixup_plt): Likewise.
12160 (elf_machine_plt_conflict): Likewise.
12161 (resolve_ifunc): Likewise.
12162 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12163 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12166 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12168 (makecontext): Support ELFv2 ABI.
12169 * elf/elf.h (EF_PPC64_ABI): Define.
12171 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12173 * sysdeps/powerpc/powerpc64/sysdep.h
12174 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12175 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12176 (ENTRY) [ASSEMBLER]: ... but instead here ...
12177 (EALIGN) [ASSEMBLER]: ... and here.
12178 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12179 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12180 (ENTRY_2) [!ASSEMBLER]: Use it.
12181 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12182 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12183 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12184 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12185 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12187 Use PPC64_LOAD_FUNCPTR.
12189 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12191 2013-12-04 Alan Modra <amodra@gmail.com>
12193 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12194 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12195 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12196 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12198 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12199 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12200 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12201 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12202 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12203 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12205 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12208 (__makecontext): Fix incorrect CFI when backtracing out of
12209 context created via makecontext.
12210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12211 (__setcontext): Fix incorrect CFI during switch to new context.
12212 (__novec_setcontext): Likewise.
12214 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12217 * time/strptime_l.c (__strptime_internal): Allow modifiers
12219 * time/tst-strptime.c (day_tests): Add testcase.
12221 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12223 * scripts/bench.pl: Skip over blank lines.
12225 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12228 * manual/time.texi (Calendar Time): Clarify what timezone functions
12231 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12235 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12237 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12239 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12240 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12241 * debug/memset_chk.c (__memset_chk): Likewise.
12242 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12243 * debug/strncpy_chk.c: Likewise.
12245 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12249 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12250 (__ieee754_exp): For possibly underflowing results, check size of
12251 result and force underflow exception if required.
12252 * math/auto-libm-test-in: Add more tests of exp.
12253 * math/auto-libm-test-out: Regenerated.
12254 * sysdeps/i386/fpu/libm-test-ulps: Update.
12255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12258 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12259 * math/w_exp2f.c (__exp2f): Likewise.
12260 * math/w_exp2l.c (__exp2l): Likewise.
12261 * math/auto-libm-test-in: Do not allow missing errno on exp2
12263 * math/auto-libm-test-out: Regenerated.
12265 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12268 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12269 handle filename validation.
12270 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12273 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12276 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12277 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12278 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12280 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12281 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12282 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12283 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12284 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12285 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12286 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12287 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12288 Add more erfc tests.
12289 * math/auto-libm-test-out: Regenerated.
12290 * sysdeps/i386/fpu/libm-test-ulps: Update.
12291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12293 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12294 exp2, expm1, j0 and j1.
12295 * math/auto-libm-test-out: Regenerated.
12296 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12297 (erfc_test_data): Likewise.
12298 (exp_test_data): Likewise.
12299 (exp_tonearest_test_data): Likewise.
12300 (exp_towardzero_test_data): Likewise.
12301 (exp_downward_test_data): Likewise.
12302 (exp_upward_test_data): Likewise.
12303 (exp10_test_data): Likewise.
12304 (exp2_test_data): Likewise.
12305 (expm1_test_data): Likewise.
12306 (j0_test_data): Likewise.
12307 (j1_test_data): Likewise.
12308 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12309 (input_flag_type): Add flag_xfail_rounding.
12310 (input_flags): Add xfail-rounding.
12311 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12312 (output_for_one_input_case): Handle flag_xfail_rounding.
12313 * sysdeps/i386/fpu/libm-test-ulps: Update.
12314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12316 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12319 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12322 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12325 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12326 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12327 (STAP_PROBE0): New macro.
12328 (STAP_PROBE1): Likewise.
12329 (STAP_PROBE2): Likewise.
12330 (STAP_PROBE3): Likewise.
12331 (STAP_PROBE4): Likewise.
12333 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12335 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12337 2013-12-02 Steve Ellcey <sellcey@mips.com>
12339 * benchtests/Makefile (bench): Add sqrt.
12340 (LDLIBS-bench-sqrt): New.
12341 * benchtests/sqrt-input: New.
12343 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12345 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12346 (GAIH_EAI): Likewise.
12347 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12348 (gaih_inet): Likewise.
12349 (getaddrinfo): Don't use GAIH_EAI.
12351 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12352 (struct gaih): Remove definition.
12354 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12356 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12357 Use HERRNOP directly.
12359 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12363 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12365 * math/gen-auto-libm-tests.c (test_functions): Add more
12366 single-argument functions.
12367 (special_fill_pi_2): New function.
12368 (special_fill_minus_pi_2): Likewise.
12369 (special_fill_pi_6): Likewise.
12370 (special_fill_minus_pi_6): Likewise.
12371 (special_fill_pi_3): Likewise.
12372 (special_fill_2pi_3): Likewise.
12373 (special_fill_e): Likewise.
12374 (special_fill_1_e): Likewise.
12375 (special_fill_e_minus_1): Likewise.
12376 (special_real_inputs): Add more special inputs.
12377 (output_for_one_input_case): Do not require ERANGE on underflow to
12378 zero if round-to-nearest result does not underflow to zero, unless
12379 exact results required.
12380 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12381 atan, atanh, cbrt, cos and cosh.
12382 * math/auto-libm-test-out: Regenerated.
12383 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12384 (acos_tonearest_test_data): Likewise.
12385 (acos_towardzero_test_data): Likewise.
12386 (acos_downward_test_data): Likewise.
12387 (acos_upward_test_data): Likewise.
12388 (acosh_test_data): Likewise.
12389 (asin_test_data): Likewise.
12390 (asin_tonearest_test_data): Likewise.
12391 (asin_towardzero_test_data): Likewise.
12392 (asin_upward_test_data): Likewise.
12393 (asinh_test_data): Likewise.
12394 (atan_test_data): Likewise.
12395 (atanh_test_data): Likewise.
12396 (cbrt_test_data): Likewise.
12397 (cos_test_data): Likewise.
12398 (cos_tonearest_test_data): Likewise.
12399 (cos_towardzero_test_data): Likewise.
12400 (cos_downward_test_data): Likewise.
12401 (cos_upward_test_data): Likewise.
12402 (cosh_test_data): Likewise.
12403 (cosh_tonearest_test_data): Likewise.
12404 (cosh_towardzero_test_data): Likewise.
12405 (cosh_downward_test_data): Likewise.
12406 (cosh_upward_test_data): Likewise.
12407 * sysdeps/i386/fpu/libm-test-ulps: Update.
12408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12410 2013-11-29 Joseph Myers <joseph@codesourcery.com>
12413 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12414 * math/w_exp10f.c (__exp10f): Likewise.
12415 * math/w_exp10l.c (__exp10l): Likewise.
12416 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12417 errno settings in existing tests.
12420 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12421 precision control set to double precision.
12422 * sysdeps/i386/fpu/w_sqrt.c: New file.
12423 * math/auto-libm-test-in: Add more tests.
12424 * math/auto-libm-test-out: Update.
12426 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12427 (sqrt_test_tonearest): New function.
12428 (sqrt_towardzero_test_data): New variable.
12429 (sqrt_test_towardzero): New function.
12430 (sqrt_downward_test_data): New variable.
12431 (sqrt_test_downward): New function.
12432 (sqrt_upward_test_data): New variable.
12433 (sqrt_test_upward): New function.
12434 (main): Call the new functions.
12436 * math/gen-auto-libm-tests.c: New file.
12437 * math/auto-libm-test-in: Likewise.
12438 * math/auto-libm-test-out: New generated file.
12439 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12441 (%beautify): Add generated representations of zero.
12442 (top level): Set $auto_input and call parse_auto_input.
12443 (beautify): Remove trailing "f" from hex float constants.
12444 (parse_args): Handle XFAIL_TEST.
12445 (convert_condition): New function.
12446 (or_value): Likewise.
12447 (or_cond_value): Likewise.
12448 (generate_testfile): Handle AUTO_TESTS_* lines.
12449 (parse_auto_input): New function.
12450 * math/libm-test.inc (XFAIL_TEST): New macro.
12451 (ERRNO_UNCHANGED): Update value.
12452 (ERRNO_EDOM): Likewise.
12453 (ERRNO_ERANGE): Likewise.
12454 (IGNORE_RESULT): Likewise.
12455 (TEST_COND_flt_32): New macro.
12456 (TEST_COND_dbl_64): Likewise.
12457 (TEST_COND_ldbl_96_intel): Likewise.
12458 (TEST_COND_ldbl_96_m68k): Likewise.
12459 (TEST_COND_ldbl_128): Likewise.
12460 (TEST_COND_ldbl_128ibm): Likewise.
12461 (TEST_COND_long32): Likewise.
12462 (TEST_COND_long64): Likewise.
12463 (TEST_COND_before_rounding): Likewise.
12464 (TEST_COND_after_rounding): Likewise.
12465 (enable_test): Handle XFAIL_TEST flag.
12466 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12467 with finite results.
12468 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12469 auto-libm-test-out.
12471 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12472 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12475 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12476 __tls_get_addr_internal instead of __tls_get_offset in order to
12477 avoid GOT pointer dependency. Make rtld export
12478 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12479 __tls_get_addr since we are a __tls_get_offset platform.
12480 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12481 GOT pointer being set up before.
12482 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12484 2013-11-28 Joseph Myers <joseph@codesourcery.com>
12486 * manual/math.texi (Errors in Math Functions): Document accuracy
12490 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12491 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12492 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12493 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12494 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12495 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12496 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12497 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12498 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12499 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12500 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12501 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12502 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12503 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12504 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12505 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12507 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12508 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12509 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12510 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12511 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12513 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12515 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12517 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12518 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12519 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12520 atomic-feupdateenv and flt-rounds.
12521 * sysdeps/powerpc/nofpu/Versions (libc): Add
12522 __atomic_feholdexcept, __atomic_feclearexcept,
12523 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12524 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12525 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12526 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12527 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12532 * manual/arith.texi (FP Exceptions): Document that exceptions may
12533 not be raised when matherr is used.
12534 (Math Error Reporting): Document overflow in directed rounding
12535 modes. Document that errno may not be set when finite values are
12536 returned on overflow. Document intent to set errno on underflow
12537 only for underflow to zero.
12540 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12541 round-to-nearest then adjust result for other rounding modes.
12542 * include/fenv.h (fegetround): Use libm_hidden_proto.
12543 * math/fegetround.c (fegetround): Use libm_hidden_def.
12544 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12545 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12546 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12547 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12549 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12550 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12551 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12552 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12554 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12557 * nss/Versions (libnss_files): Add
12558 _nss_files_gethostbyname3_r.
12559 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12561 (HOST_DB_LOOKUP): Remove macro.
12562 (_nss_files_gethostbyname_r): Implement function without the
12563 HOST_DB_LOOKUP macro.
12564 (_nss_files_gethostbyname2_r): Likewise.
12566 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
12568 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12570 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
12572 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12573 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12576 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12578 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12579 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12580 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12581 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12582 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12583 __fe_nomask_env_priv and attribute_hidden.
12584 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12585 (libc_feupdateenv_test_ppc): Likewise.
12586 (libc_feresetround_ppc): Likewise.
12587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12588 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12589 compat_symbol macro.
12590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12591 (__fe_nomask_env): Likewise.
12592 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12594 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12596 * string/Makefile: Remove ifunc tests.
12597 * string/test-string.h: Define TEST_IFUNC.
12598 * string/test-bcopy-ifunc.c: Remove.
12599 * string/test-bzero-ifunc.c: Likewise.
12600 * string/test-memccpy-ifunc.c: Likewise.
12601 * string/test-memchr-ifunc.c: Likewise.
12602 * string/test-memcmp-ifunc.c: Likewise.
12603 * string/test-memcpy-ifunc.c: Likewise.
12604 * string/test-memmem-ifunc.c: Likewise.
12605 * string/test-memmove-ifunc.c: Likewise.
12606 * string/test-mempcpy-ifunc.c: Likewise.
12607 * string/test-memrchr-ifunc.c: Likewise.
12608 * string/test-memset-ifunc.c: Likewise.
12609 * string/test-rawmemchr-ifunc.c: Likewise.
12610 * string/test-stpcpy-ifunc.c: Likewise.
12611 * string/test-stpncpy-ifunc.c: Likewise.
12612 * string/test-strcasecmp-ifunc.c: Likewise.
12613 * string/test-strcasestr-ifunc.c: Likewise.
12614 * string/test-strcat-ifunc.c: Likewise.
12615 * string/test-strchr-ifunc.c: Likewise.
12616 * string/test-strchrnul-ifunc.c: Likewise.
12617 * string/test-strcmp-ifunc.c: Likewise.
12618 * string/test-strcpy-ifunc.c: Likewise.
12619 * string/test-strcspn-ifunc.c: Likewise.
12620 * string/test-strlen-ifunc.c: Likewise.
12621 * string/test-strncasecmp-ifunc.c: Likewise.
12622 * string/test-strncat-ifunc.c: Likewise.
12623 * string/test-strncmp-ifunc.c: Likewise.
12624 * string/test-strncpy-ifunc.c: Likewise.
12625 * string/test-strnlen-ifunc.c: Likewise.
12626 * string/test-strpbrk-ifunc.c: Likewise.
12627 * string/test-strrchr-ifunc.c: Likewise.
12628 * string/test-strspn-ifunc.c: Likewise.
12629 * string/test-strstr-ifunc.c: Likewise.
12631 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12633 * benchtests/Makefile: Remove ifunc tests.
12634 * benchtests/bench-string.h: Define TEST_IFUNC.
12635 * benchtests/bench-bcopy-ifunc.c: Remove.
12636 * benchtests/bench-bzero-ifunc.c: Likewise.
12637 * benchtests/bench-memccpy-ifunc.c: Likewise.
12638 * benchtests/bench-memchr-ifunc.c: Likewise.
12639 * benchtests/bench-memcmp-ifunc.c: Likewise.
12640 * benchtests/bench-memcpy-ifunc.c: Likewise.
12641 * benchtests/bench-memmem-ifunc.c: Likewise.
12642 * benchtests/bench-memmove-ifunc.c: Likewise.
12643 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12644 * benchtests/bench-memrchr-ifunc.c: Likewise.
12645 * benchtests/bench-memset-ifunc.c: Likewise.
12646 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12647 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12648 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12649 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12650 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12651 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12652 * benchtests/bench-strcat-ifunc.c: Likewise.
12653 * benchtests/bench-strchr-ifunc.c: Likewise.
12654 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12655 * benchtests/bench-strcmp-ifunc.c: Likewise.
12656 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12657 * benchtests/bench-strcpy-ifunc.c: Likewise.
12658 * benchtests/bench-strcspn-ifunc.c: Likewise.
12659 * benchtests/bench-strlen-ifunc.c: Likewise.
12660 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12661 * benchtests/bench-strncat-ifunc.c: Likewise.
12662 * benchtests/bench-strncmp-ifunc.c: Likewise.
12663 * benchtests/bench-strncpy-ifunc.c: Likewise.
12664 * benchtests/bench-strnlen-ifunc.c: Likewise.
12665 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12666 * benchtests/bench-strrchr-ifunc.c: Likewise.
12667 * benchtests/bench-strsep-ifunc.c: Likewise.
12668 * benchtests/bench-strspn-ifunc.c: Likewise.
12669 * benchtests/bench-strstr-ifunc.c: Likewise.
12671 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12673 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12675 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12677 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12678 * rt/aio.h: Likewise.
12679 * sysdeps/gnu/bits/utmp.h: Likewise.
12680 * sysdeps/gnu/bits/utmpx.h: Likewise.
12681 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12682 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12683 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12684 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12685 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12686 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12687 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12688 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12689 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12690 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12691 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12692 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12693 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12695 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12696 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12697 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12698 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12699 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12700 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12701 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12702 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12703 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12704 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12705 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12706 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12707 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12708 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12709 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12710 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12711 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12712 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12713 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12714 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12715 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12716 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12717 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12718 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12719 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12720 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12721 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12722 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12724 2013-11-25 Carlos O'Donell <carlos@redhat.com>
12727 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12728 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12730 2013-11-25 Joseph Myers <joseph@codesourcery.com>
12732 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12733 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12736 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12738 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12739 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12740 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12741 (__fesetround): Remove define.
12742 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12743 rounding and exceptions handling.
12744 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12745 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12746 (__fe_nomask_env): Likewise.
12747 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12748 __fegetround instead of fegetround.
12749 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12750 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12752 2013-11-21 Roland McGrath <roland@hack.frob.com>
12754 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12757 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12759 2013-11-21 Meador Inge <meadori@codesourcery.com>
12762 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12763 (encrypt_r): Likewise.
12764 * malloc/obstack.h (obstack_free): Likewise.
12765 * posix/unistd.h (encrypt): Likewise.
12767 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12769 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12770 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12771 DL_CALL_DT_FINI() that call the functions directly.
12772 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12773 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12774 * elf/dl-fini.c: Likewise.
12776 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
12778 * malloc/hooks.c (memalign_check): Add alignment rounding.
12779 * malloc/malloc.c (_mid_memalign): New function.
12780 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12781 Implement by calling _mid_memalign.
12782 * manual/probes.texi (Memory Allocation Probes): Remove
12783 memory_valloc_retry and memory_pvalloc_retry.
12785 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12787 * locale/programs/locarchive.c (open_archive): Add const
12788 qualifier to ARCHIVEFNAME and copy default fname to
12792 * libio/tst-widetext.input: Rename Oriya to Odia.
12793 * locale/iso-639.def: Likewise.
12795 * manual/probes.texi (Mathematical Function Probes): Add
12796 documentation for sin, cos, asin and acos probes.
12797 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12798 (__sin32): Add slowasin probe.
12799 (__cos32): Add slowacos probe.
12800 (__mpsin): Add slowsin probe.
12801 (__mpcos): Add slowcos probe.
12803 2013-11-19 Joseph Myers <joseph@codesourcery.com>
12806 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12807 thread-local __sim_exceptions_thread and global
12808 __sim_exceptions_global.
12809 (__sim_disabled_exceptions): Change to thread-local
12810 __sim_disabled_exceptions_thread and global
12811 __sim_disabled_exceptions_global.
12812 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12813 and global __sim_round_mode_global.
12814 (__simulate_exceptions): Use thread-local floating-point state and
12815 set global state from it as needed.
12816 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12817 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12818 __sim_round_mode_thread.
12819 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12820 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12821 and global __sim_exceptions_global.
12822 (__sim_disabled_exceptions): Change to thread-local
12823 __sim_disabled_exceptions_thread and global
12824 __sim_disabled_exceptions_global.
12825 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12826 and global __sim_round_mode_global.
12827 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12828 (SIM_SET_GLOBAL): Likewise.
12829 * sysdeps/powerpc/soft-fp/sfp-machine.h
12830 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12831 __sim_round_mode_thread.
12832 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12833 __sim_disabled_exceptions_thread.
12834 (__sim_exceptions): Change to __sim_exceptions_thread.
12835 (__sim_disabled_exceptions): Change to
12836 __sim_disabled_exceptions_thread.
12837 (__sim_round_mode): Change to __sim_round_mode_thread.
12838 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12839 thread-local floating-point state and set global state from it as
12841 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12842 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12843 (__sim_disabled_exceptions): Remove extern declaration.
12844 (feenableexcept): Use thread-local floating-point state and set
12845 global state from it as needed.
12846 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12847 extern declaration.
12848 (__sim_disabled_exceptions): Likewise.
12849 (__sim_round_mode): Likewise.
12850 (__fegetenv): Use thread-local floating-point state.
12851 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12852 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12853 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12854 floating-point state and set global state from it as needed.
12855 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12856 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12857 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12859 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12860 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12862 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12863 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12864 Use __sim_round_mode_thread.
12865 * math/test-fenv-tls.c: New file.
12866 * math/Makefile (tests): Add test-fenv-tls.
12867 ($(objpfx)test-fenv-tls): Depend on
12868 $(common-objpfx)nptl/libpthread.so.
12870 2013-11-19 Andreas Schwab <schwab@suse.de>
12872 * locale/programs/locale.c (show_info): Decode wordarray elements.
12873 * locale/categories.def (LC_MONETARY): Add element for
12874 _NL_MONETARY_CRNCYSTR.
12875 * locale/C-monetary.c (conversion_rate): New variable.
12876 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12879 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12881 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12882 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12884 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12886 * elf/Makefile (tst-auxv): New test.
12887 * elf/tst-auxv.c: New
12888 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12890 2013-11-18 Joseph Myers <joseph@codesourcery.com>
12892 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12893 (hidden_proto): Caller changed.
12894 (hidden_tls_proto): New macro.
12895 (libc_hidden_tls_proto): Likewise.
12896 (rtld_hidden_tls_proto): Likewise.
12897 (libm_hidden_tls_proto): Likewise.
12898 (libresolv_hidden_tls_proto): Likewise.
12899 (librt_hidden_tls_proto): Likewise.
12900 (libdl_hidden_tls_proto): Likewise.
12901 (libnss_files_hidden_tls_proto): Likewise.
12902 (libnsl_hidden_tls_proto): Likewise.
12903 (libnss_nisplus_hidden_tls_proto): Likewise.
12904 (libutil_hidden_tls_proto): Likewise.
12906 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
12909 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12910 (decompose_rpath): Defer expansion to fillin_rpath.
12911 (_dl_init_paths): Pass linkmap to fillin_rpath.
12913 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12915 * benchtests/Makefile: Add strsep.
12916 * benchtests/bench-strsep.c: New file: strsep benchtest.
12917 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12919 2013-11-18 Andreas Schwab <schwab@suse.de>
12921 * locale/programs/locale.c (show_info) [case byte]: Check for
12922 '\377' instead of '\177'.
12923 * locale/C-monetary.c (not_available): Always use "\377".
12924 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12925 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12926 detect unavailable sign_posn locale elements.
12927 * locale/localeconv.c (__localeconv): For grouping and
12928 mon_grouping handle "\177" and "\377" like no grouping.
12929 (INT_ELEM): New macro. Use it to set all numeric members.
12930 * locale/programs/ld-monetary.c (monetary_read)
12931 <tok_mon_grouping>: Normalize single -1 to the empty string.
12932 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12935 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
12938 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12939 when we match (nil).
12940 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12942 2013-11-16 Joseph Myers <joseph@codesourcery.com>
12944 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12945 (NO_TEST_INLINE): Update value.
12946 (ERRNO_UNCHANGED): Likewise.
12947 (ERRNO_EDOM): Likewise.
12948 (ERRNO_ERANGE): Likewise.
12949 (IGNORE_RESULT): Likewise.
12950 (check_float_internal): Check signs of NaN results if
12951 TEST_NAN_SIGN used.
12952 (check_complex): Pass TEST_NAN_SIGN flag through to second
12953 check_float_internal call.
12954 (copysign_test_data): Add tests with quiet NaNs as second
12955 argument. Use TEST_NAN_SIGN.
12956 (fabs_test_data): Add test of negative quiet NaN argument. Use
12958 (signbit_test_data): Add tests of quiet NaN argument.
12959 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12961 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12963 (parse_args): Handle function results specified as IGNORE.
12964 * math/libm-test.inc (IGNORE_RESULT): New macro.
12965 (check_float_internal): Do not check numerical result if flag
12967 (check_complex): Pass through IGNORE_RESULT to second
12968 check_float_internal call.
12969 (check_int): Do not check numerical result if flag IGNORE_RESULT
12971 (check_long): Likewise.
12972 (check_bool): Likewise.
12973 (check_longlong): Likewise.
12974 (lrint_test_data): Add tests of infinite and NaN arguments.
12975 (lrint_tonearest_test_data): Likewise.
12976 (lrint_towardzero_test_data): Likewise.
12977 (lrint_downward_test_data): Likewise.
12978 (lrint_upward_test_data): Likewise.
12979 (llrint_test_data): Likewise.
12980 (llrint_tonearest_test_data): Likewise.
12981 (llrint_towardzero_test_data): Likewise.
12982 (llrint_downward_test_data): Likewise.
12983 (llrint_upward_test_data): Likewise.
12984 (lround_test_data): Likewise.
12985 (llround_test_data): Likewise.
12987 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12988 (ERRNO_UNCHANGED): Update value.
12989 (ERRNO_EDOM): Likewise.
12990 (ERRNO_ERANGE): Likewise.
12991 (NO_TEST_INLINE_FLOAT): New macro.
12992 (NO_TEST_INLINE_DOUBLE): Likewise.
12993 (enable_test): New function.
12994 (RUN_TEST_f_f): Check enable_test before running test.
12995 (RUN_TEST_2_f): Likewise.
12996 (RUN_TEST_fff_f): Likewise.
12997 (RUN_TEST_c_f): Likewise.
12998 (RUN_TEST_f_f1): Likewise.
12999 (RUN_TEST_fF_f1): Likewise.
13000 (RUN_TEST_fI_f1): Likewise.
13001 (RUN_TEST_ffI_f1): Likewise.
13002 (RUN_TEST_c_c): Likewise.
13003 (RUN_TEST_cc_c): Likewise.
13004 (RUN_TEST_f_i): Likewise.
13005 (RUN_TEST_f_i_tg): Likewise.
13006 (RUN_TEST_ff_i_tg): Likewise.
13007 (RUN_TEST_f_b): Likewise.
13008 (RUN_TEST_f_b_tg): Likewise.
13009 (RUN_TEST_f_l): Likewise.
13010 (RUN_TEST_f_L): Likewise.
13011 (RUN_TEST_fFF_11): Likewise.
13012 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13014 (cosh_test_data): Likewise.
13015 (exp_test_data): Likewise.
13016 (expm1_test_data): Likewise.
13017 (hypot_test_data): Likewise.
13018 (pow_test_data): Likewise.
13019 (sinh_test_data): Likewise.
13020 (tanh_test_data): Likewise.
13021 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13024 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13025 tests with quiet NaN input and output.
13026 (acosh_test_data): Likewise.
13027 (asin_test_data): Likewise.
13028 (asinh_test_data): Likewise.
13029 (atan_test_data): Likewise.
13030 (atanh_test_data): Likewise.
13031 (atan2_test_data): Likewise.
13032 (cbrt_test_data): Likewise.
13033 (cos_test_data): Likewise.
13034 (cosh_test_data): Likewise.
13035 (erf_test_data): Likewise.
13036 (erfc_test_data): Likewise.
13037 (exp_test_data): Likewise.
13038 (exp10_test_data): Likewise.
13039 (exp2_test_data): Likewise.
13040 (expm1_test_data): Likewise.
13041 (hypot_test_data): Likewise.
13042 (j0_test_data): Likewise.
13043 (j1_test_data): Likewise.
13044 (jn_test_data): Likewise.
13045 (lgamma_test_data): Likewise.
13046 (log_test_data): Likewise.
13047 (log10_test_data): Likewise.
13048 (log1p_test_data): Likewise.
13049 (log2_test_data): Likewise.
13050 (pow_test_data): Likewise.
13051 (scalb_test_data): Likewise.
13052 (sin_test_data): Likewise.
13053 (sincos_test_data): Likewise.
13054 (sinh_test_data): Likewise.
13055 (tan_test_data): Likewise.
13056 (tanh_test_data): Likewise.
13057 (tgamma_test_data): Likewise.
13058 (y0_test_data): Likewise.
13059 (y1_test_data): Likewise.
13060 (yn_test_data): Likewise.
13063 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13064 argument being NaN and avoid computations with second argument in
13066 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13067 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13068 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13070 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13072 * locale/iso-639.def: Add Chitwani Tharu (the).
13074 2013-11-14 Andreas Schwab <schwab@suse.de>
13076 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13077 word instead of empty string.
13079 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13082 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13084 (__fe_nomask_env): Likewise.
13086 2013-11-13 Steve Ellcey <sellcey@mips.com>
13088 * benchtests/bench-timing.h: Include time.h.
13090 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13093 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13095 * sysdeps/unix/sysv/linux/configure: Regenerated.
13097 2013-11-13 Joseph Myers <joseph@codesourcery.com>
13100 * stdlib/strtod_l.c (round_and_return): Do not consider
13101 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13102 exponent one less than half the least subnormal exponent.
13103 * stdlib/test-strtod-round-data: Add more tests.
13104 * stdlib/tst-strtod-round.c (tests): Regenerated.
13106 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13109 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13110 (__fe_mask_env): Likewise.
13111 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13112 libm_hidden_proto and add function prototype.
13113 (__fe_mask_env): Add function prototype.
13114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13115 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13117 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13119 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13121 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13123 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13124 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13126 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13128 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13129 of htab_find_slot().
13131 2013-11-11 David S. Miller <davem@davemloft.net>
13134 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13135 symbol in the non-vis3 case in static builds.
13136 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13137 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13138 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13139 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13141 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13144 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13147 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13149 * benchtests/Makefile: Add bench-strtod.
13150 * benchtests/bench-strtod.c: New file: strtod benchtest
13152 2013-11-11 Andreas Schwab <schwab@suse.de>
13155 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13156 terminating NUL in key length.
13158 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13160 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13161 Add artificial ODP entry for vDSO symbol for PPC64.
13162 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13163 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13165 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13168 * nss/getent.c (services_keys): Recognize services starting with digit.
13170 2013-11-06 David S. Miller <davem@davemloft.net>
13173 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13174 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13176 2013-11-06 Will Newton <will.newton@linaro.org>
13178 * manual/memory.texi (Malloc Examples): Remove register
13179 keyword from examples.
13181 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13183 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13185 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13188 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13189 depending on [__GCC_IEC_559 > 0].
13190 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13191 depending on [__GCC_IEC_559_COMPLEX > 0].
13193 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13195 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13198 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13200 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13202 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13205 * malloc/malloc (malloc_info): Do not handle first bin as
13208 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13210 * locale/iso-639.def: Add Central Nahuatl (nhn).
13212 2013-11-01 Bruno Haible <bruno@clisp.org>
13215 * manual/math.texi (BSD Random): Specify range upper bound as
13218 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13220 * locale/iso-639.def: Add Meadow Mari (mhr).
13222 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13224 [BZ #14752], [BZ #15763]
13225 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13227 * rt/tst_shm.c: Add test for escaping directory.
13229 2013-10-31 Andreas Schwab <schwab@suse.de>
13232 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13233 followed by 'x' as part of digit sequence.
13234 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13236 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13239 * configure.ac: allow GNU Make 4.0 and greater.
13240 * configure: Regenerated.
13242 2013-10-30 Will Newton <will.newton@linaro.org>
13245 * malloc/hooks.c (memalign_check): Limit alignment to the
13246 maximum representable power of two.
13247 * malloc/malloc.c (__libc_memalign): Likewise.
13248 * malloc/tst-memalign.c (do_test): Add test for very
13249 large alignment values.
13250 * malloc/tst-posix_memalign.c (do_test): Likewise.
13252 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13255 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13256 (munmap_chunk): Likewise.
13257 (mremap_chunk): Likewise.
13259 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13262 * stdlib/div.c (div): Remove obsolete code.
13263 * stdlib/ldiv.c (ldiv): Likewise.
13264 * stdlib/lldiv.c (lldiv): Likewise.
13266 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13269 * nss/nss_files/files-XXX.c (get_contents_ret): New
13271 (get_contents): New function.
13272 (internal_getent): Use it. Expand size of LINEBUFLEN.
13274 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13276 * configure.in: Moved to ...
13277 * configure.ac: ... here. Change reference to configure.in
13279 * sysdeps/arm/preconfigure.ac: ... here.
13280 configure.in to configure.ac.
13281 * sysdeps/gnu/configure.in: Moved to ...
13282 * sysdeps/gnu/configure.ac: ... here.
13283 * sysdeps/i386/configure.in: Moved to ...
13284 * sysdeps/i386/configure.ac: ... here.
13285 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13286 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13287 * sysdeps/mach/configure.in: Moved to ...
13288 * sysdeps/mach/configure.ac: ... here.
13289 * sysdeps/mach/hurd/configure.in: Moved to ...
13290 * sysdeps/mach/hurd/configure.ac: ... here.
13291 * sysdeps/powerpc/configure.in: Moved to ...
13292 * sysdeps/powerpc/configure.ac: ... here.
13293 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13294 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13295 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13296 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13297 * sysdeps/s390/s390-32/configure.in: Moved to ...
13298 * sysdeps/s390/s390-32/configure.ac: ... here.
13299 * sysdeps/s390/s390-64/configure.in: Moved to ...
13300 * sysdeps/s390/s390-64/configure.ac: ... here.
13301 * sysdeps/sh/configure.in: Moved to ...
13302 * sysdeps/sh/configure.ac: ... here.
13303 * sysdeps/sparc/configure.in: Moved to ...
13304 * sysdeps/sparc/configure.ac: ... here.
13305 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13306 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13307 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13308 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13309 * sysdeps/x86_64/configure.in: Moved to ...
13310 * sysdeps/x86_64/configure.ac: ... here.
13311 * sysdeps/x86_64/preconfigure.in: Moved to ...
13312 * sysdeps/x86_64/preconfigure.ac: ... here.
13313 * aclocal.m4: Change reference to configure.in to configure.ac.
13314 * config.h.in: Likewise.
13315 * manual/install.texi: Likewise.
13316 * manual/maint.texi: Likewise.
13317 * Makefile: Likewise.
13318 * malloc/Makefile: Likewise.
13319 * nscd/Makefile: Likewise.
13320 * Makeconfig: Change reference to configure.in and
13321 preconfigure.in to configure.ac and preconfigure.ac
13323 * INSTALL: Regenerated.
13324 * configure: Likewise.
13325 * sysdeps/gnu/configure: Likewise.
13326 * sysdeps/i386/configure: Likewise.
13327 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13328 * sysdeps/mach/configure: Likewise.
13329 * sysdeps/mach/hurd/configure: Likewise.
13330 * sysdeps/powerpc/configure: Likewise.
13331 * sysdeps/powerpc/powerpc32/configure: Likewise.
13332 * sysdeps/powerpc/powerpc64/configure: Likewise.
13333 * sysdeps/s390/s390-32/configure: Likewise.
13334 * sysdeps/s390/s390-64/configure: Likewise.
13335 * sysdeps/sh/configure: Likewise.
13336 * sysdeps/sparc/configure: Likewise.
13337 * sysdeps/unix/sysv/linux/configure: Likewise.
13338 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13339 * sysdeps/x86_64/configure: Likewise.
13340 * sysdeps/x86_64/preconfigure: Likewise.
13342 2013-10-29 Andreas Schwab <schwab@suse.de>
13344 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13346 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13348 * benchtests/pow-inputs: Add new inputs.
13350 * benchtests/exp-inputs: Add new inputs.
13352 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13353 conditional check for return value.
13354 (__cos32): Likewise.
13356 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13358 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13359 to provide a boost for large inputs with word alignment.
13360 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13361 implementation based on optimized PPC64 strcpy.
13362 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13363 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13364 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13365 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13367 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13370 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13372 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13375 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13376 * time/tst-strptime.c (day_tests): Add testcase.
13378 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13381 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13383 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13386 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13387 MAP_FAILED on error.
13389 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13392 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13393 heap for large requests.
13395 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13398 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13399 result if the result has no associated interface.
13400 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13401 interface for all 127.X.Y.Z addresses.
13403 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13405 * locale/iso-639.def: Add Ligurian (lij)
13407 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13410 * sunrpc/rpc_main.c: Document rpcgen -5.
13412 2013-10-19 Michael Stahl <mstahl@redhat.com>
13414 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13416 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13419 * posix/glob.c: Match only directories when trailing slash is present.
13420 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13421 (main): Add testcase.
13423 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13426 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13428 2013-10-18 Carlos O'Donell <carlos@redhat.com>
13430 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13431 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13432 AUTH_DES and cindex for FIPS 140-2.
13433 (DES Encryption): Add cindex FIPS 46-3.
13435 * locale/locarchive.h (struct locarhandle): Add fname.
13436 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13437 if an optional argument was specified to --list-archive,
13439 * locale/programs/locarchive.c (show_archive_content): Take new
13440 argument fname and pass it via ah.fname to open_archive.
13441 * locale/programs/localedef.h: Update decl.
13442 (open_archive): If AH->fname is non-null, open that file
13443 rather than the default file name, and don't ignore ENOENT.
13444 (create_archive): Set AH.fname to NULL.
13445 (delete_locales_from_archive): Likewise.
13446 (add_locales_to_archive): Likewise.
13447 * locale/programs/locfile.c (write_all_categories): Likewise.
13449 2013-10-18 Joseph Myers <joseph@codesourcery.com>
13450 Aldy Hernandez <aldyh@redhat.com>
13452 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13453 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13454 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13455 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13456 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13457 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13458 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13459 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13460 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13461 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13462 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13463 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13464 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13465 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13466 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13468 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13470 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13472 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13474 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13475 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13477 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13478 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13479 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13480 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13482 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13483 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13484 * sysdeps/powerpc/preconfigure: Likewise.
13485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13487 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13488 Replace contents of file by #include of <fenv_libc.h>.
13489 * sysdeps/powerpc/soft-fp/sfp-machine.h
13490 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13492 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13493 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13494 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13495 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13496 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13497 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13498 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13499 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13500 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13501 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13502 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13503 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13505 Allow copysignl PLT reference to be missing.
13507 2013-10-18 Richard Sandiford <richard@codesourcery.com>
13508 Joseph Myers <joseph@codesourcery.com
13511 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13513 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13515 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13517 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13518 * elf/tst-tls1.c: Likewise.
13519 * elf/tst-tls10.h: Likewise.
13520 * elf/tst-tls14.c: Likewise.
13521 * elf/tst-tls2.c: Likewise.
13522 * elf/tst-tls3.c: Likewise.
13523 * elf/tst-tls4.c: Likewise.
13524 * elf/tst-tls5.c: Likewise.
13525 * elf/tst-tls6.c: Likewise.
13526 * elf/tst-tls7.c: Likewise.
13527 * elf/tst-tls8.c: Likewise.
13528 * elf/tst-tls9.c: Likewise.
13529 * elf/tst-tlsmod1.c: Likewise.
13530 * elf/tst-tlsmod13.c: Likewise.
13531 * elf/tst-tlsmod13a.c: Likewise.
13532 * elf/tst-tlsmod14a.c: Likewise.
13533 * elf/tst-tlsmod16a.c: Likewise.
13534 * elf/tst-tlsmod16b.c: Likewise.
13535 * elf/tst-tlsmod2.c: Likewise.
13536 * elf/tst-tlsmod3.c: Likewise.
13537 * elf/tst-tlsmod4.c: Likewise.
13538 * elf/tst-tlsmod5.c: Likewise.
13539 * elf/tst-tlsmod6.c: Likewise.
13541 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
13544 * malloc/malloc.c: remove checks for statistics.
13546 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13549 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13550 * inet/tst-network.c: Add testcase.
13552 2013-10-17 Andreas Schwab <schwab@suse.de>
13555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13556 to determine canonical name.
13558 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13560 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13561 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13562 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13563 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13564 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13565 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13566 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13567 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13568 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13569 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13570 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13571 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13572 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13573 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13574 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13575 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13576 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13577 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13578 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13579 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13580 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13581 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13582 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13583 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13584 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13585 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13586 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13587 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13588 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13589 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13590 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13591 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13592 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13593 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13594 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13595 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13596 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13597 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13598 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13599 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13600 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13601 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13602 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13603 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13604 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13605 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13606 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13607 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13608 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13609 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13610 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13611 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13612 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13613 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13614 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13615 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13616 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13617 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13619 2013-10-17 Joseph Myers <joseph@codesourcery.com>
13622 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13623 make result into a quiet NaN.
13625 2013-10-16 Joseph Myers <joseph@codesourcery.com>
13627 * soft-fp/adddf3.c: Fix horizontal whitespace.
13628 * soft-fp/addsf3.c: Likewise.
13629 * soft-fp/addtf3.c: Likewise.
13630 * soft-fp/divdf3.c: Likewise.
13631 * soft-fp/divsf3.c: Likewise.
13632 * soft-fp/divtf3.c: Likewise.
13633 * soft-fp/double.h: Likewise.
13634 * soft-fp/eqdf2.c: Likewise.
13635 * soft-fp/eqsf2.c: Likewise.
13636 * soft-fp/eqtf2.c: Likewise.
13637 * soft-fp/extenddftf2.c: Likewise.
13638 * soft-fp/extended.h: Likewise.
13639 * soft-fp/extendsfdf2.c: Likewise.
13640 * soft-fp/extendsftf2.c: Likewise.
13641 * soft-fp/extendxftf2.c: Likewise.
13642 * soft-fp/fixdfdi.c: Likewise.
13643 * soft-fp/fixdfsi.c: Likewise.
13644 * soft-fp/fixdfti.c: Likewise.
13645 * soft-fp/fixsfdi.c: Likewise.
13646 * soft-fp/fixsfsi.c: Likewise.
13647 * soft-fp/fixsfti.c: Likewise.
13648 * soft-fp/fixtfdi.c: Likewise.
13649 * soft-fp/fixtfsi.c: Likewise.
13650 * soft-fp/fixtfti.c: Likewise.
13651 * soft-fp/fixunsdfdi.c: Likewise.
13652 * soft-fp/fixunsdfsi.c: Likewise.
13653 * soft-fp/fixunsdfti.c: Likewise.
13654 * soft-fp/fixunssfdi.c: Likewise.
13655 * soft-fp/fixunssfsi.c: Likewise.
13656 * soft-fp/fixunssfti.c: Likewise.
13657 * soft-fp/fixunstfdi.c: Likewise.
13658 * soft-fp/fixunstfsi.c: Likewise.
13659 * soft-fp/fixunstfti.c: Likewise.
13660 * soft-fp/floatdidf.c: Likewise.
13661 * soft-fp/floatdisf.c: Likewise.
13662 * soft-fp/floatditf.c: Likewise.
13663 * soft-fp/floatsidf.c: Likewise.
13664 * soft-fp/floatsisf.c: Likewise.
13665 * soft-fp/floatsitf.c: Likewise.
13666 * soft-fp/floattidf.c: Likewise.
13667 * soft-fp/floattisf.c: Likewise.
13668 * soft-fp/floattitf.c: Likewise.
13669 * soft-fp/floatundidf.c: Likewise.
13670 * soft-fp/floatundisf.c: Likewise.
13671 * soft-fp/floatunditf.c: Likewise.
13672 * soft-fp/floatunsidf.c: Likewise.
13673 * soft-fp/floatunsisf.c: Likewise.
13674 * soft-fp/floatunsitf.c: Likewise.
13675 * soft-fp/floatuntidf.c: Likewise.
13676 * soft-fp/floatuntisf.c: Likewise.
13677 * soft-fp/floatuntitf.c: Likewise.
13678 * soft-fp/fmadf4.c: Likewise.
13679 * soft-fp/fmasf4.c: Likewise.
13680 * soft-fp/fmatf4.c: Likewise.
13681 * soft-fp/gedf2.c: Likewise.
13682 * soft-fp/gesf2.c: Likewise.
13683 * soft-fp/getf2.c: Likewise.
13684 * soft-fp/ledf2.c: Likewise.
13685 * soft-fp/lesf2.c: Likewise.
13686 * soft-fp/letf2.c: Likewise.
13687 * soft-fp/muldf3.c: Likewise.
13688 * soft-fp/mulsf3.c: Likewise.
13689 * soft-fp/multf3.c: Likewise.
13690 * soft-fp/negdf2.c: Likewise.
13691 * soft-fp/negsf2.c: Likewise.
13692 * soft-fp/negtf2.c: Likewise.
13693 * soft-fp/op-1.h: Likewise.
13694 * soft-fp/op-2.h: Likewise.
13695 * soft-fp/op-4.h: Likewise.
13696 * soft-fp/op-8.h: Likewise.
13697 * soft-fp/op-common.h: Likewise.
13698 * soft-fp/quad.h: Likewise.
13699 * soft-fp/single.h: Likewise.
13700 * soft-fp/soft-fp.h: Likewise.
13701 * soft-fp/sqrtdf2.c: Likewise.
13702 * soft-fp/sqrtsf2.c: Likewise.
13703 * soft-fp/sqrttf2.c: Likewise.
13704 * soft-fp/subdf3.c: Likewise.
13705 * soft-fp/subsf3.c: Likewise.
13706 * soft-fp/subtf3.c: Likewise.
13707 * soft-fp/truncdfsf2.c: Likewise.
13708 * soft-fp/trunctfdf2.c: Likewise.
13709 * soft-fp/trunctfsf2.c: Likewise.
13710 * soft-fp/trunctfxf2.c: Likewise.
13711 * soft-fp/unorddf2.c: Likewise.
13712 * soft-fp/unordsf2.c: Likewise.
13713 * soft-fp/unordtf2.c: Likewise.
13715 2013-10-15 Joseph Myers <joseph@codesourcery.com>
13717 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13718 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13720 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
13722 * elf/dl-libc.c: Clear initfini list after freeing.
13724 2013-10-14 Joseph Myers <joseph@codesourcery.com>
13726 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13727 * soft-fp/addsf3.c: Likewise.
13728 * soft-fp/addtf3.c: Likewise.
13729 * soft-fp/divdf3.c: Likewise.
13730 * soft-fp/divsf3.c: Likewise.
13731 * soft-fp/divtf3.c: Likewise.
13732 * soft-fp/double.h: Likewise.
13733 * soft-fp/eqdf2.c: Likewise.
13734 * soft-fp/eqsf2.c: Likewise.
13735 * soft-fp/eqtf2.c: Likewise.
13736 * soft-fp/extenddftf2.c: Likewise.
13737 * soft-fp/extended.h: Likewise.
13738 * soft-fp/extendsfdf2.c: Likewise.
13739 * soft-fp/extendsftf2.c: Likewise.
13740 * soft-fp/extendxftf2.c: Likewise.
13741 * soft-fp/fixdfdi.c: Likewise.
13742 * soft-fp/fixdfsi.c: Likewise.
13743 * soft-fp/fixdfti.c: Likewise.
13744 * soft-fp/fixsfdi.c: Likewise.
13745 * soft-fp/fixsfsi.c: Likewise.
13746 * soft-fp/fixsfti.c: Likewise.
13747 * soft-fp/fixtfdi.c: Likewise.
13748 * soft-fp/fixtfsi.c: Likewise.
13749 * soft-fp/fixtfti.c: Likewise.
13750 * soft-fp/fixunsdfdi.c: Likewise.
13751 * soft-fp/fixunsdfsi.c: Likewise.
13752 * soft-fp/fixunsdfti.c: Likewise.
13753 * soft-fp/fixunssfdi.c: Likewise.
13754 * soft-fp/fixunssfsi.c: Likewise.
13755 * soft-fp/fixunssfti.c: Likewise.
13756 * soft-fp/fixunstfdi.c: Likewise.
13757 * soft-fp/fixunstfsi.c: Likewise.
13758 * soft-fp/fixunstfti.c: Likewise.
13759 * soft-fp/floatdidf.c: Likewise.
13760 * soft-fp/floatdisf.c: Likewise.
13761 * soft-fp/floatditf.c: Likewise.
13762 * soft-fp/floatsidf.c: Likewise.
13763 * soft-fp/floatsisf.c: Likewise.
13764 * soft-fp/floatsitf.c: Likewise.
13765 * soft-fp/floattidf.c: Likewise.
13766 * soft-fp/floattisf.c: Likewise.
13767 * soft-fp/floattitf.c: Likewise.
13768 * soft-fp/floatundidf.c: Likewise.
13769 * soft-fp/floatundisf.c: Likewise.
13770 * soft-fp/floatunsidf.c: Likewise.
13771 * soft-fp/floatunsisf.c: Likewise.
13772 * soft-fp/floatuntidf.c: Likewise.
13773 * soft-fp/floatuntisf.c: Likewise.
13774 * soft-fp/floatuntitf.c: Likewise.
13775 * soft-fp/fmadf4.c: Likewise.
13776 * soft-fp/fmasf4.c: Likewise.
13777 * soft-fp/fmatf4.c: Likewise.
13778 * soft-fp/gedf2.c: Likewise.
13779 * soft-fp/gesf2.c: Likewise.
13780 * soft-fp/getf2.c: Likewise.
13781 * soft-fp/ledf2.c: Likewise.
13782 * soft-fp/lesf2.c: Likewise.
13783 * soft-fp/letf2.c: Likewise.
13784 * soft-fp/muldf3.c: Likewise.
13785 * soft-fp/mulsf3.c: Likewise.
13786 * soft-fp/multf3.c: Likewise.
13787 * soft-fp/negdf2.c: Likewise.
13788 * soft-fp/negsf2.c: Likewise.
13789 * soft-fp/negtf2.c: Likewise.
13790 * soft-fp/op-1.h: Likewise.
13791 * soft-fp/op-2.h: Likewise.
13792 * soft-fp/op-4.h: Likewise.
13793 * soft-fp/op-8.h: Likewise.
13794 * soft-fp/op-common.h: Likewise.
13795 * soft-fp/quad.h: Likewise.
13796 * soft-fp/single.h: Likewise.
13797 * soft-fp/soft-fp.h: Likewise.
13798 * soft-fp/sqrtdf2.c: Likewise.
13799 * soft-fp/sqrtsf2.c: Likewise.
13800 * soft-fp/sqrttf2.c: Likewise.
13801 * soft-fp/subdf3.c: Likewise.
13802 * soft-fp/subsf3.c: Likewise.
13803 * soft-fp/subtf3.c: Likewise.
13804 * soft-fp/truncdfsf2.c: Likewise.
13805 * soft-fp/trunctfdf2.c: Likewise.
13806 * soft-fp/trunctfsf2.c: Likewise.
13807 * soft-fp/trunctfxf2.c: Likewise.
13808 * soft-fp/unorddf2.c: Likewise.
13809 * soft-fp/unordsf2.c: Likewise.
13810 * soft-fp/unordtf2.c: Likewise.
13812 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
13815 * misc/error.c (error_tail): Fix possible buffer overflow.
13817 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13820 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13823 2013-10-14 P. J. McDermott <pj@pehjota.net>
13826 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13827 testing pipefail option.
13829 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13831 * soft-fp/double.h: Indent preprocessor directives inside #if.
13832 * soft-fp/extended.h: Likewise.
13833 * soft-fp/op-2.h: Likewise.
13834 * soft-fp/op-4.h: Likewise.
13835 * soft-fp/op-common.h: Likewise.
13836 * soft-fp/quad.h: Likewise.
13837 * soft-fp/single.h: Likewise.
13838 * soft-fp/soft-fp.h: Likewise.
13840 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13842 * iconv/iconv_prog.c: Fix typos.
13843 * stdio-common/psiginfo-data.h: Likewise.
13845 2013-10-12 Reuben Thomas <rrt@sc3d.org>
13848 * locale/setlocale.c: Fix typo.
13850 2013-10-12 Joseph Myers <joseph@codesourcery.com>
13853 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13854 signaling NaN arguments.
13855 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13856 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13859 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13860 unordered operands.
13861 * soft-fp/gesf2.c (__gesf2): Likewise.
13862 * soft-fp/getf2.c (__getf2): Likewise.
13863 * soft-fp/ledf2.c (__ledf2): Likewise.
13864 * soft-fp/lesf2.c (__lesf2): Likewise.
13865 * soft-fp/letf2.c (__letf2): Likewise.
13867 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13868 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13869 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13870 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13871 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13872 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13873 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13874 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13875 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13876 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13877 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13878 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13879 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13880 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13881 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13882 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13883 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13884 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13885 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13886 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13887 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13888 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13889 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13890 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13891 * soft-fp/floattidf.c (__floattidf): Likewise.
13892 * soft-fp/floattisf.c (__floattisf): Likewise.
13893 * soft-fp/floattitf.c (__floattitf): Likewise.
13894 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13895 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13896 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13897 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13898 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13899 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13900 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13901 * soft-fp/gesf2.c (__gesf2): Likewise.
13902 * soft-fp/getf2.c (__getf2): Likewise.
13903 * soft-fp/ledf2.c (__ledf2): Likewise.
13904 * soft-fp/lesf2.c (__lesf2): Likewise.
13905 * soft-fp/letf2.c (__letf2): Likewise.
13907 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13908 Undefine and redefine.
13909 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13910 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13911 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13912 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13913 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13914 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13915 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13916 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13917 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13918 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13919 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13920 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13921 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13922 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13923 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13926 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13927 without decrementing exponent if mantissa >= that for the
13928 denominator, not >.
13929 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13930 denominator, not >. Decrement exponent in < case instead of
13931 incrementing in >= case.
13932 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13933 without decrementing exponent if mantissa >= that for the
13934 denominator, not >.
13936 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13937 computing saturated result for unsigned overflow.
13939 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13940 Jeff Law <law@redhat.com>
13942 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13943 (atan2Mp): Add systemtap probe marker.
13944 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13945 (__ieee754_log): Add systemtap probe marker.
13946 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13947 (atanMp): Add systemtap probe marker.
13948 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13949 (tanMp): Add systemtap probe marker.
13950 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13951 (__slowexp): Add systemtap probe marker.
13952 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13953 (__slowpow): Add systemtap probe marker.
13954 * manual/probes.texi: Document probes.
13956 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
13959 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13961 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13963 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13964 written to buffer but not flushed.
13965 * libio/iofwrite_u.c: Likewise.
13966 * libio/iopadn.c: Return bytes returned even if EOF was
13968 * libio/iowpadn.c: Likewise.
13969 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13970 if _IO_padn does not write the whole buffer.
13971 [!COMPILE_WPRINTF] (PAD): Likewise.
13973 2013-10-10 David S. Miller <davem@davemloft.net>
13975 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13978 2013-10-10 Joseph Myers <joseph@codesourcery.com>
13980 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13981 instead of FSF address.
13982 * soft-fp/fixdfti.c: Likewise.
13983 * soft-fp/fixsfti.c: Likewise.
13984 * soft-fp/fixtfti.c: Likewise.
13985 * soft-fp/fixunsdfti.c: Likewise.
13986 * soft-fp/fixunssfti.c: Likewise.
13987 * soft-fp/fixunstfti.c: Likewise.
13988 * soft-fp/floattidf.c: Likewise.
13989 * soft-fp/floattisf.c: Likewise.
13990 * soft-fp/floattitf.c: Likewise.
13991 * soft-fp/floatuntidf.c: Likewise.
13992 * soft-fp/floatuntisf.c: Likewise.
13993 * soft-fp/floatuntitf.c: Likewise.
13994 * soft-fp/trunctfxf2.c: Likewise.
13996 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13997 * soft-fp/fixdfti.c: Likewise.
13998 * soft-fp/fixsfti.c: Likewise.
13999 * soft-fp/fixtfti.c: Likewise.
14000 * soft-fp/fixunsdfti.c: Likewise.
14001 * soft-fp/fixunssfti.c: Likewise.
14002 * soft-fp/fixunstfti.c: Likewise.
14003 * soft-fp/floattidf.c: Likewise.
14004 * soft-fp/floattisf.c: Likewise.
14005 * soft-fp/floattitf.c: Likewise.
14006 * soft-fp/floatuntidf.c: Likewise.
14007 * soft-fp/floatuntisf.c: Likewise.
14008 * soft-fp/floatuntitf.c: Likewise.
14009 * soft-fp/trunctfxf2.c: Likewise.
14011 2013-10-10 David S. Miller <davem@davemloft.net>
14013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14015 2013-10-10 Joseph Myers <joseph@codsourcery.com>
14017 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14018 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14019 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14020 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14021 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14022 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14023 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14025 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14026 for NaNs before doing comparisons on argument.
14027 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14030 2013-10-10 Will Newton <will.newton@linaro.org>
14032 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14033 passed to _int_memalign does not overflow.
14035 2013-10-10 Torvald Riegel <triegel@redhat.com>
14037 * scripts/bench.pl: Add include-sources directive.
14038 * benchtests/README: Update documentation.
14040 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14042 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14043 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14044 instead of FP_INIT_ROUNDMODE.
14045 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14046 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14049 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14050 copy class of input value.
14051 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14052 not handle exceptions.
14053 * soft-fp/negsf2.c (__negsf2): Likewise.
14054 * soft-fp/negtf2.c (__negtf2): Likewise.
14055 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14057 2013-10-09 Joseph Myers <joseph@codesourcery.com>
14059 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14060 semicolon. From Linux kernel.
14062 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14064 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14066 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14069 * manual/socket.texi: Added statement about buffer
14070 for gethostbyname2_r.
14072 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
14074 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14075 Use .p2align directive instead, throughout.
14076 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14077 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14078 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14079 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14080 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14081 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14082 * sysdeps/x86_64/strchr.S: Likewise.
14083 * sysdeps/x86_64/strrchr.S: Likewise.
14085 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14087 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14089 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14091 * sysdeps/generic/math_private.h (__mpsin1): Remove
14093 (__mpcos1): Likewise.
14094 (__mpsin): New argument __range_reduce.
14095 (__mpcos): Likewise.
14096 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14097 (slow): Use __mpsin and __mpcos.
14101 (sloww1): Likewise.
14102 (sloww2): Likewise.
14103 (bsloww): Likewise.
14104 (bsloww1): Likewise.
14105 (bsloww2): Likewise.
14106 (cslow2): Likewise.
14107 (csloww): Likewise.
14108 (csloww1): Likewise.
14109 (csloww2): Likewise.
14110 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14111 range_reduce. Merge in __mpsin1.
14112 (__mpcos): Likewise.
14113 (__mpsin1): Remove.
14114 (__mpcos1): Likewise.
14116 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14118 * locale/loadlocale.c (_nl_intern_locale_data): Use
14120 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14121 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14122 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14123 obstack data is appropriately aligned.
14124 (obstack_int32_grow_fast): Likewise.
14125 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14126 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14127 (add_locale_uint32_array): Likewise.
14129 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14131 * benchtests/Makefile: Remove ARGLIST and RET variables.
14132 ($(objpfx)bench-%.c): Pass only function name to the script.
14133 * benchtests/README: Update documentation.
14134 * benchtests/acos-inputs: Add new directives.
14135 * benchtests/acosh-inputs: Likewise.
14136 * benchtests/asin-inputs: Likewise.
14137 * benchtests/asinh-inputs: Likewise.
14138 * benchtests/atan-inputs: Likewise.
14139 * benchtests/atanh-inputs: Likewise.
14140 * benchtests/cos-inputs: Likewise.
14141 * benchtests/cosh-inputs: Likewise.
14142 * benchtests/exp-inputs: Likewise.
14143 * benchtests/log-inputs: Likewise.
14144 * benchtests/pow-inputs: Likewise.
14145 * benchtests/rint-inputs: Likewise.
14146 * benchtests/sin-inputs: Likewise.
14147 * benchtests/sinh-inputs: Likewise.
14148 * benchtests/tan-inputs: Likewise.
14149 * benchtests/tanh-inputs: Likewise.
14150 * scripts/bench.pl: Add support for new directives.
14152 2013-10-07 Alan Modra <amodra@gmail.com>
14154 * README: Fix careless merge.
14156 2013-10-05 Alan Modra <amodra@gmail.com>
14158 * NEWS: Mention powerpc64le support and bugs fixed.
14159 * README: Both big-endian and little-endian powerpc64 supported.
14161 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14163 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14164 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14165 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14166 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14168 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14170 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14173 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14175 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14176 Move -mhard-float appending from
14177 ports/sysdeps/powerpc/powerpc32/Makefile.
14178 [$(with-fp) = yes] (ASFLAGS): Likewise.
14179 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14180 * sysdeps/powerpc/nofpu: Move directory from
14181 ports/sysdeps/powerpc/nofpu.
14182 * sysdeps/powerpc/soft-fp: Move directory from
14183 ports/sysdeps/powerpc/soft-fp.
14184 * sysdeps/powerpc/powerpc32/405: Move directory from
14185 ports/sysdeps/powerpc/powerpc32/405.
14186 * sysdeps/powerpc/powerpc32/440: Move directory from
14187 ports/sysdeps/powerpc/powerpc32/440.
14188 * sysdeps/powerpc/powerpc32/464: Move directory from
14189 ports/sysdeps/powerpc/powerpc32/464.
14190 * sysdeps/powerpc/powerpc32/476: Move directory from
14191 ports/sysdeps/powerpc/powerpc32/476.
14192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14193 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14195 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14197 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14199 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14201 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14202 * README: Update for powerpc-*-linux-gnu software floating point
14205 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14206 case to powerpc/powerpc32*.
14207 * sysdeps/unix/sysv/linux/configure: Regenerated.
14209 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14210 (_FPU_MASK_OM): Define as 0x04.
14211 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14212 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14214 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14216 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14219 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14222 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14225 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14226 and setcontext_e500.
14228 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14230 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14232 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14234 * manual/threads.texi (Default Thread Attributes): Fix typo.
14236 2013-10-04 Will Newton <will.newton@linaro.org>
14238 * malloc/Makefile: Add tst-memalign.
14239 * malloc/tst-memalign.c: New file.
14241 * malloc/tst-posix_memalign.c: Add comments.
14242 (do_test): Add comments and call free on all potentially
14243 allocated pointers. Add space after cast.
14245 * malloc/tst-pvalloc.c: Add comments.
14246 (do_test): Add comments and call free on all potentially
14247 allocated pointers. Remove duplicate check for NULL pointer.
14248 Add space after cast.
14250 * malloc/tst-valloc.c: Add comments.
14251 (do_test): Add comments and call free on all potentially
14252 allocated pointers. Remove duplicate check for NULL pointer.
14253 Add space after cast.
14255 2013-10-04 Alan Modra <amodra@gmail.com>
14257 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14258 Use stdint types in rather than __attribute__((mode())).
14259 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14261 2013-10-04 Alan Modra <amodra@gmail.com>
14263 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14264 Correct handling of unaligned relocs for little-endian.
14265 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14267 2013-10-04 Alan Modra <amodra@gmail.com>
14269 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14270 * configure: Regenerate.
14271 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14272 * shlib-versions: Likewise.
14274 2013-10-04 Alan Modra <amodra@gmail.com>
14276 * string/tester.c (test_memrchr): Increment reported test cycle.
14278 2013-10-04 Alan Modra <amodra@gmail.com>
14280 * string/test-memcpy.c (do_one_test): When reporting errors, print
14281 string address and don't overrun end of string.
14283 2013-10-04 Alan Modra <amodra@gmail.com>
14285 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14286 insrdi. Make better use of reg selection to speed exit slightly.
14287 Schedule entry path a little better. Remove useless "are we done"
14288 checks on entry to main loop. Handle wrapping around zero address.
14289 Correct main loop count. Handle single left-over word from main
14290 loop inline rather than by using loop_small. Remove extra word
14291 case in loop_small caused by wrong loop count. Add little-endian
14293 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14294 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14296 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14297 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14298 support. Avoid rlwimi.
14299 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14301 2013-10-04 Alan Modra <amodra@gmail.com>
14303 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14304 insrdi. Formatting.
14305 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14306 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14307 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14308 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14309 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14310 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14312 2013-10-04 Alan Modra <amodra@gmail.com>
14314 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14315 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14316 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14317 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14318 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14319 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14320 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14321 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14322 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14323 use of regs. Use power7 mtocrf. Tidy function tails.
14325 2013-10-04 Alan Modra <amodra@gmail.com>
14327 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14328 Formatting. Consistently use rXXX register defines or rN defines.
14329 Use early exit labels that avoid restoring unused non-volatile regs.
14330 Make cr field use more consistent with rWORDn compares. Rename
14331 regs used as shift registers for unaligned loop, using rN defines
14332 for short lifetime/multiple use regs.
14333 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14334 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14335 addi 1,1,64 to pop stack frame. Simplify return value code.
14336 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14338 2013-10-04 Alan Modra <amodra@gmail.com>
14340 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14341 support. Correct typos, formatting. Optimize tail. Use insrdi
14342 rather than rlwimi.
14343 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14344 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14345 little-endian support. Correct typos.
14346 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14347 rather than rlwimi.
14348 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14349 in loop and entry code to keep "and." results.
14350 (strchr): Add little-endian support. Comment. Move cntlzd
14352 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14354 2013-10-04 Alan Modra <amodra@gmail.com>
14356 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14357 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14358 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14359 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14361 2013-10-04 Alan Modra <amodra@gmail.com>
14363 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14364 (rTMP): Define as r11.
14365 (strcmp): Add little-endian support. Optimise tail.
14366 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14367 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14368 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14369 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14370 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14371 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14372 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14374 2013-10-04 Alan Modra <amodra@gmail.com>
14376 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14377 little-endian support. Remove unnecessary "are we done" tests.
14378 Handle "s" wrapping around zero and extremely large "size".
14379 Correct main loop count. Handle single left-over word from main
14380 loop inline rather than by using small_loop. Correct comments.
14381 Delete "zero" tail, use "end_max" instead.
14382 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14384 2013-10-04 Alan Modra <amodra@gmail.com>
14386 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14387 support. Don't branch over align.
14388 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14389 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14390 support. Rearrange tmp reg use to suit. Comment.
14391 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14393 2013-10-04 Alan Modra <amodra@gmail.com>
14395 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14397 2013-10-04 Alan Modra <amodra@gmail.com>
14399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14400 conditional form of branch and link when obtaining pc.
14401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14403 2013-10-04 Alan Modra <amodra@gmail.com>
14405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14410 2013-10-04 Alan Modra <amodra@gmail.com>
14412 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14413 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14414 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14415 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14416 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14417 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14418 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14419 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14420 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14421 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14423 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14424 Alistair Popple <alistair@ozlabs.au.ibm.com>
14425 Alan Modra <amodra@gmail.com>
14428 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14429 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14430 _dl_hwcap access for little-endian.
14431 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14432 destroy vmx regs when saving unaligned.
14433 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14434 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14435 destroy vmx regs when saving unaligned.
14437 2013-10-04 Alan Modra <amodra@gmail.com>
14439 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14440 Don't use a union to pack hi/low value.
14442 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14444 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14446 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14447 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14448 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14449 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14450 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14452 2013-10-04 Alan Modra <amodra@gmail.com>
14454 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14455 constants to usual value for .cst8 section, and remove redundant
14457 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14458 constant for 0x1p52. Load little-endian words of double from
14459 correct stack offsets.
14461 2013-10-04 Alan Modra <amodra@gmail.com>
14463 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14464 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14465 words of double from correct stack offsets.
14466 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14467 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14468 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14469 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14470 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14471 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14472 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14473 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14474 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14475 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14476 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14477 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14478 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14479 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14480 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14481 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14482 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14484 2013-10-04 Alan Modra <amodra@gmail.com>
14486 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14487 64-bit int/double union.
14488 (_FPU_SETCW): Likewise.
14489 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14490 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14492 2013-10-04 Alan Modra <amodra@gmail.com>
14494 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14495 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14497 2013-10-04 Alan Modra <amodra@gmail.com>
14499 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14500 use vector int constants.
14501 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14503 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14505 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14506 array with long long.
14507 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14508 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14509 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14510 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14511 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14512 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14513 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14514 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14515 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14516 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14517 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14518 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14519 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14521 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14523 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14524 (__signbit): Likewise. Correct for little-endian.
14525 (__signbitl): Call __signbit.
14526 (lrint): Correct for little-endian.
14527 (lrintf): Call lrint.
14529 2013-10-04 Alan Modra <amodra@gmail.com>
14531 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14532 union 32-bit int array member with 64-bit int array.
14533 (t515, tm256): Double rather than long double.
14534 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14536 2013-10-04 Alan Modra <amodra@gmail.com>
14538 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14540 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14541 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14542 version of math_ldbl.h.
14544 2013-10-04 Alan Modra <amodra@gmail.com>
14546 [BZ #15734], [BZ #15735]
14547 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14548 all uses of ieee875 long double macros and unions. Simplify test
14549 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14550 ldbl_extract_mantissa value for ix,iy exponents. Properly
14551 normalize after ldbl_extract_mantissa, and don't add hidden bit
14552 already handled. Don't treat low word of ieee854 mantissa like
14553 low word of IBM long double and mask off bit when testing for
14555 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14556 all uses of ieee875 long double macros and unions. Simplify tests
14557 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14558 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14559 two1022, instead use their values. Recognise that tests for large
14560 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14561 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14562 Rewrite all uses of ieee875 long double macros and unions. Simplify
14563 test for 0.0L and nan. Correct negation.
14564 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14565 ieee875 long double macros and unions. Correct output for large
14566 magnitude x. Correct absolute value calculation.
14567 (__erfcl): Likewise.
14568 * math/libm-test.inc: Add tests for errors discovered in IBM long
14569 double versions of fmodl, remainderl, erfl and erfcl.
14571 2013-10-04 Alan Modra <amodra@gmail.com>
14573 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14574 all uses of ieee854 long double macros and unions. Simplify tests
14575 for long doubles that are fully specified by the high double.
14576 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14578 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14579 Remove dead code too.
14580 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14581 (__ieee754_ynl): Likewise.
14582 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14583 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14584 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14585 Remove dead code too.
14586 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14587 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14588 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14589 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14591 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14593 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14594 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14595 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14596 Comment on variable precision.
14597 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14598 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14600 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14601 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14602 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14603 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14604 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14606 2013-10-04 Alan Modra <amodra@gmail.com>
14608 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14609 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14610 all uses of ieee854 long double macros and unions.
14611 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14612 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14613 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14614 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14615 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14616 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14618 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14619 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14620 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14621 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14622 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14623 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14624 Simplify sign and nan test too.
14625 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14626 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14627 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14628 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14630 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14631 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14633 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14634 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14635 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14636 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14637 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14638 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14640 2013-10-04 Alan Modra <amodra@gmail.com>
14642 * stdio-common/printf_size.c (__printf_size): Don't use
14643 union ieee854_long_double in fpnum union.
14644 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14645 signbit macro to retrieve sign from long double.
14646 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14647 retrieve sign from long double.
14648 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14649 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14650 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14651 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14652 * math/test-misc.c (main): Don't use union ieee854_long_double.
14654 2013-10-04 Alan Modra <amodra@gmail.com>
14657 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14658 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14659 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14660 calculation. Remove unnecessary test for denormal exponent.
14661 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14662 Correct handling of denormals. Avoid undefined shift behaviour.
14663 Correct normalisation of low mantissa when low double is denormal.
14664 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14665 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14666 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14667 Correct normalisation of low mantissa. Test for overflow of high
14668 mantissa and normalise.
14669 (ldbl_nearbyint): Use more readable constant for two52.
14670 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14671 (__mpn_construct_long_double): Fix test for overflow of high
14672 mantissa and correct normalisation. Avoid undefined shift.
14674 2013-10-04 Alan Modra <amodra@gmail.com>
14676 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14677 (union ibm_extended_long_double): Define as an array of ieee754_double.
14678 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14679 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14680 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14681 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14682 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14683 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14684 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14685 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14686 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14687 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14688 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14690 2013-10-03 Joseph Myers <joseph@codesourcery.com>
14692 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14693 page size instead of calling getpagesize.
14695 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14696 (LOCFILE_ALIGN_MASK): Likewise.
14697 (LOCFILE_ALIGN_UP): Likewise.
14698 (LOCFILE_ALIGNED_P): Likewise.
14699 * locale/programs/ld-collate.c (collate_output): Use the new
14700 macros instead of __alignof__ (int32_t).
14701 * locale/weight.h (findidx): Likewise.
14703 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
14706 * manual/string.texi: Fix strncat and wcsncat.
14708 2013-10-03 Brooks Moses <bmoses@google.com>
14711 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14712 * Makerules: ...here, and adjust associated comments.
14714 2013-10-02 Will Newton <will.newton@linaro.org>
14716 * malloc/Makefile: Add tst-pvalloc.
14717 * malloc/tst-pvalloc.c: New file.
14719 2013-10-02 Will Newton <will.newton@linaro.org>
14721 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14722 improve test coverage.
14724 2013-10-02 Will Newton <will.newton@linaro.org>
14726 * malloc/Makefile: Add tst-posix_memalign.
14727 * malloc/tst-posix_memalign.c: New file.
14729 2013-10-01 Eric Blake <eblake@redhat.com>
14731 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14732 Use __THROWNL rather than __THROW on static functions.
14734 2013-09-30 Petr Machata <pmachata@redhat.com>
14736 * elf/elf.h (R_AARCH64_ABS16): New macro.
14737 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14738 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14739 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14740 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14741 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14742 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14743 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14744 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14745 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14746 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14747 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14748 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14749 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14750 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14751 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14752 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14753 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14754 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14755 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14756 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14757 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14758 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14759 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14760 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14761 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14762 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14763 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14764 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14765 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14766 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14767 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14768 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14769 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14770 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14771 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14772 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14773 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14774 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14775 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14776 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14777 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14778 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14779 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14780 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14781 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14782 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14783 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14784 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14785 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14786 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14787 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14788 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14789 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14790 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14791 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14792 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14793 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14794 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14795 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14796 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14797 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14798 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14799 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14800 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14801 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14802 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14803 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14804 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14805 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14806 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14807 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14808 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14809 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14810 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14811 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14812 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14813 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14814 (R_AARCH64_TLSDESC_LDR): Likewise.
14815 (R_AARCH64_TLSDESC_ADD): Likewise.
14816 (R_AARCH64_TLSDESC_CALL): Likewise.
14818 2013-09-30 Andreas Schwab <schwab@suse.de>
14821 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14822 the nss database lookup.
14823 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14826 2013-09-28 Mike Frysinger <vapier@gentoo.org>
14828 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14830 2013-09-28 P. J. McDermott <pj@pehjota.net>
14832 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14833 ${Bash-specific parameter/pattern/string} parameter expansion.
14834 * sysdeps/unix/make-syscalls.sh: Likewise.
14836 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14838 * sysdeps/sh/stackguard-macros.h: New file.
14840 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
14842 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14843 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14844 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14845 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14846 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14847 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14849 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14851 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14852 Fix thread ID register.
14854 2013-09-25 Joseph Myers <joseph@codesourcery.com>
14856 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14857 [POSIX || UNIX98]: Require rather than permitting all symbols from
14859 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14860 element of struct sched_param.
14861 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14862 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14863 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14864 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14867 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14869 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14870 argument calculation.
14872 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14874 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14876 [POSIX] (pthread_attr_t): Do not require type.
14877 [POSIX] (pthread_cond_t): Likewise.
14878 [POSIX] (pthread_condattr_t): Likewise.
14879 [POSIX] (pthread_key_t): Likewise.
14880 [POSIX] (pthread_mutex_t): Likewise.
14881 [POSIX] (pthread_mutexattr_t): Likewise.
14882 [POSIX] (pthread_once_t): Likewise.
14883 [POSIX] (pthread_t): Likewise.
14884 [POSIX-based standards] (pthread_atfork): Expect function.
14886 2013-09-24 Joseph Myers <joseph@codesourcery.com>
14887 Richard Sandiford <richard@codesourcery.com>
14889 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14890 (swap_endianness_p): New extern variable.
14891 (set_big_endian): New inline function.
14892 (maybe_swap_uint32): Likewise.
14893 (maybe_swap_uint32_array): Likewise.
14894 (maybe_swap_uint32_obstack): Likewise.
14895 * locale/programs/locfile.c: Include <stdbool.h>.
14896 (swap_endianness_p): New variable.
14897 (add_locale_uint32): Call maybe_swap_uint32.
14898 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14899 (write_locale_data): Call maybe_swap_uint32_array.
14900 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14902 (obstack_int32_grow_fast): Likewise.
14903 (output_weightwc): Call maybe_swap_uint32_obstack.
14904 (collate_output): Likewise.
14905 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14906 (OPT_LITTLE_ENDIAN): Likewise.
14907 (options): Add --little-endian and --big-endian options.
14908 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14909 * locale/programs/locarchive.c: Include "locfile.h".
14913 (create_archive): Use the new macros to access fields of
14914 structures directly mapped from or written to locale archives.
14915 (oldlocrecentcmp): Likewise.
14916 (enlarge_archive): Likewise.
14917 (insert_name): Likewise.
14918 (add_alias): Likewise.
14919 (add_locale): Likewise.
14920 (delete_locales_from_archive): Likewise.
14921 (show_archive_content): Likewise.
14922 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14925 2013-09-24 Roland McGrath <roland@hack.frob.com>
14927 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14928 http://www.gnu.org/doc/freemanuals.texi.
14929 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14931 2013-09-24 Will Newton <will.newton@linaro.org>
14933 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14936 2013-09-23 Joseph Myers <joseph@codesourcery.com>
14938 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14941 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14943 * manual/threads.texi (POSIX Threads): Fix a typo.
14945 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14948 * string/tst-strcoll-overflow.c: New test case.
14949 * string/Makefile (xtests): Add tst-strcoll-overflow.
14950 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14951 cache if string sizes may cause integer overflow.
14954 * string/strcoll_l.c (coll_seq): New members rule, idx,
14955 save_idx and back_us.
14956 (get_next_seq_nocache): New function.
14957 (do_compare_nocache): New function.
14958 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14961 2013-09-23 Carlos O'Donell <carlos@redhat.com>
14964 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14965 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14966 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14969 * elf/Makefile (tests): Add tst-ptrguard1.
14970 (tests-static): Add tst-ptrguard1-static.
14971 (tst-ptrguard1-ARGS): Define.
14972 (tst-ptrguard1-static-ARGS): Define.
14973 * elf/tst-ptrguard1.c: New file.
14974 * elf/tst-ptrguard1-static.c: New file.
14975 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14976 * sysdeps/i386/stackguard-macros.h: Likewise.
14977 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14978 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14979 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14980 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14981 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14982 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14984 2013-09-23 Hector Marco <hecmargi@upv.es>
14985 Ismael Ripoll <iripoll@disca.upv.es>
14986 Carlos O'Donell <carlos@redhat.com>
14989 * sysdeps/generic/stackguard-macros.h: Define
14990 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14991 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14992 Define __pointer_chk_guard_local.
14993 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14994 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14996 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14999 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15001 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15003 * include/string.h (__ffs): Declare as hidden.
15004 * string/ffs.c (__ffs): Define as hidden.
15005 * sysdeps/i386/ffs.c (__ffs): Likewise.
15006 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15007 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15008 * sysdeps/s390/ffs.c (__ffs): Likewise.
15009 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15011 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
15013 * NEWS: Mention malloc probes.
15015 * malloc/arena.c (new_heap): New memory_heap_new probe.
15016 (grow_heap): New memory_heap_more probe.
15017 (shrink_heap): New memory_heap_less probe.
15018 (heap_trim): New memory_heap_free probe.
15019 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15020 (systrim): New memory_sbrk_less probe.
15021 * manual/probes.texi: Document them.
15023 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15024 * manual/probes.texi: Document it.
15026 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15027 (__libc_realloc): Add memory_realloc_retry probe.
15028 (__libc_memalign): Add memory_memalign_retry probe.
15029 (__libc_valloc): Add memory_valloc_retry probe.
15030 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15031 (__libc_calloc): Add memory_calloc_retry probe.
15032 * manual/probes.texi: Document them.
15034 * malloc/arena.c (get_free_list): Add probe
15035 memory_arena_reuse_free_list.
15036 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15037 and memory_arena_reuse.
15038 (arena_get2) [!PER_THREAD]: Likewise.
15039 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15040 memory_arena_reuse_realloc.
15041 * manual/probes.texi: Document them.
15043 * malloc/malloc.c (__libc_free): Add
15044 memory_mallopt_free_dyn_thresholds probe.
15045 (__libc_mallopt): Add multiple memory_mallopt probes.
15046 * manual/probes.texi: Document them.
15048 * malloc/malloc.c: Include stap-probe.h.
15049 (__libc_mallopt): Add memory_mallopt probe.
15050 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15051 * manual/probes.texi: New.
15052 * manual/Makefile (chapters): Add probes.
15053 * manual/threads.texi: Set next node.
15055 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
15057 [BZ #15963, #13985]
15058 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15059 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15060 Add `Chinese' to `nan' entry name.
15062 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15064 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15065 (POLYNOMIAL): Likewise.
15066 (TAYLOR_SINCOS): Likewise.
15067 (TAYLOR_SLOW): Likewise.
15068 (__sin): Use TAYLOR_SINCOS.
15070 (slow): Use TAYLOR_SLOW.
15072 (bsloww): Likewise.
15073 (csloww): Likewise.
15075 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15077 * stdlib/strtod_l.c: Fix buffer overrun.
15079 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15081 * benchtests/Makefile (bench): Add sincos.
15082 * benchtests/bench-sincos.c: New file.
15084 * math/libm-test.inc (cos_test_data): New test inputs.
15085 (sin_test_data): Likewise.
15087 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15093 (sloww1): Likewise.
15094 (sloww2): Likewise.
15095 (bsloww1): Likewise.
15096 (bsloww2): Likewise.
15097 (cslow2): Likewise.
15098 (csloww1): Likewise.
15099 (csloww2): Likewise.
15101 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15106 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15110 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15112 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15113 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15114 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15115 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15116 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15117 * elf/cache.c (print_entry): Handle the new cache flags.
15119 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15120 Aldy Hernandez <aldyh@redhat.com>
15122 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15123 Change condition to [_SOFT_FLOAT].
15124 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15125 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15126 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15127 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15128 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15129 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15130 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15131 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15132 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15133 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15134 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15135 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15136 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15137 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15138 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15139 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15142 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15144 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15145 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15146 (__longjmp): Use LOAD_GP to load saved GPRs.
15147 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15148 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15149 (__sigsetjmp): Use SAVE_GP to save GPRs.
15151 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15152 Do not append -msoft-float.
15153 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15155 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15157 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15159 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15162 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15163 (_FPU_GETCW): Use initial "__" on variable and field names but not
15164 on macro parameter name.
15165 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15166 parentheses around reference to macro parameter.
15168 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15170 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15172 (ctype_startup): Use uint32_t in cast and sizeof for
15175 2013-09-11 Jia Liu <proljc@gmail.com>
15177 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15179 [__FreeBSD__]: Likewise.
15181 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15183 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15184 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15185 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15186 (strchr): Remove __strchr_sse42 ifunc selection.
15187 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15188 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15190 2013-09-11 Will Newton <will.newton@linaro.org>
15192 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15193 parameter to RES. Remove hardcoded 1000 value.
15194 * benchtests/bench-skeleton.c (main): Pass RES parameter
15195 to TIMING_INIT and multiply result by 1000.
15197 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15201 2013-09-11 Andreas Schwab <schwab@suse.de>
15203 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15205 (O_TMPFILE) [__USE_GNU]: Define.
15206 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15209 2013-09-11 Will Newton <will.newton@linaro.org>
15212 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15215 2013-09-11 Will Newton <will.newton@linaro.org>
15218 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15221 2013-09-11 Will Newton <will.newton@linaro.org>
15224 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15227 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15229 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15230 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15231 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15232 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15233 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15235 2013-09-10 Allan McRae <allan@archlinux.org>
15238 * manual/arith.texi (Parsing of Floats): Clarify
15242 * manual/install.texi (Running make install): Mention
15244 * INSTALL: Regenerated.
15246 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15248 * csu/init-first.c (_init): Remove the !SHARED condition around
15249 FPU control word initialization.
15250 * elf/dl-support.c (_dl_fpu_control): New variable.
15251 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15252 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15253 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15254 * math/test-fpucw-static.c: New file.
15255 * math/test-fpucw-ieee.c: New file.
15256 * math/test-fpucw-ieee-static.c: New file.
15257 * math/Makefile (tests): Add `test-fpucw-ieee' and
15259 (tests-static): New variable.
15260 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15262 [($(build-shared),yes)]
15263 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15265 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15268 2013-09-09 Allan McRae <allan@archlinux.org>
15271 * manual/string.texi (Collation Functions): Fix typo in
15273 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15276 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15279 * libio/memstream.c (open_memstream): Fix memory leak.
15280 * libio/wmemstream.c (open_wmemstream): Likewise.
15283 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15285 2013-09-09 Will Newton <will.newton@linaro.org>
15287 * malloc/Makefile: Add tst-realloc to tests.
15288 * malloc/tst-realloc.c: New file.
15290 2013-09-09 Allan McRae <allan@archlinux.org>
15293 * COPYING: Update from GNU website to fix FSF address.
15294 * COPYING.LIB: Likewise.
15296 2013-09-06 David S. Miller <davem@davemloft.net>
15298 * po/zh_TW.po: Update Chinese (traditional) translation from
15299 translation project.
15301 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15302 Joseph Myers <joseph@codesourcery.com>
15304 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15306 (obstack_chunk_alloc): New macro.
15307 (obstack_chunk_free): Likewise.
15308 (record_offset): New function.
15309 (init_locale_data): Likewise.
15310 (align_locale_data): Likewise.
15311 (add_locale_empty): Likewise.
15312 (add_locale_raw_data): Likewise.
15313 (add_locale_raw_obstack): Likewise.
15314 (add_locale_string): Likewise.
15315 (add_locale_wstring): Likewise.
15316 (add_locale_uint32): Likewise.
15317 (add_locale_uint32_array): Likewise.
15318 (add_locale_char): Likewise.
15319 (start_locale_structure): Likewise.
15320 (end_locale_structure): Likewise.
15321 (start_locale_prelude): Likewise.
15322 (end_locale_prelude): Likewise.
15323 (write_locale_data): Take locale_file structure rather than an
15325 * locale/programs/locfile.h: Include "obstack.h".
15326 (struct locale_file): Change to store locale file contents instead
15328 (init_locale_data): New prototype.
15329 (align_locale_data): Likewise.
15330 (add_locale_empty): Likewise.
15331 (add_locale_raw_data): Likewise.
15332 (add_locale_raw_obstack): Likewise.
15333 (add_locale_string): Likewise.
15334 (add_locale_wstring): Likewise.
15335 (add_locale_uint32): Likewise.
15336 (add_locale_uint32_array): Likewise.
15337 (add_locale_char): Likewise.
15338 (start_locale_structure): Likewise.
15339 (end_locale_structure): Likewise.
15340 (start_locale_prelude): Likewise.
15341 (end_locale_prelude): Likewise.
15342 (write_locale_data): Update prototype.
15343 * locale/programs/3level.h (struct TABLE): Remove result field.
15344 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15345 Use new locale_file interface.
15346 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15347 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15348 * locale/programs/ld-address.c (address_output): Use new
15349 locale_file interface.
15350 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15352 (collate_finish): Don't call collseq_table_finalize.
15353 (collate_output): Use new locale_file interface.
15354 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15356 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15357 (TABLE): Move defines earlier in file.
15358 (ELEMENT): Likewise.
15359 (DEFAULT): Likewise.
15360 (wctrans_table_add): Move macro and inline function earlier in
15362 (struct wctype_table): Move type earlier in file.
15363 (add_locale_wctype_table): New static prototype.
15364 (struct locale_ctype_t): Use logical types instead of struct iovec
15365 pointers for members.
15366 (ctype_output): Use new locale_file interface.
15367 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15368 new locale_file interface.
15369 (allocate_arrays): Update for use of new locale_file interface.
15370 * locale/programs/ld-identification.c (identification_output): Use
15371 new locale_file interface.
15372 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15373 * locale/programs/ld-messages.c (messages_output): Likewise.
15374 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15375 * locale/programs/ld-name.c (name_output): Likewise.
15376 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15377 * locale/programs/ld-paper.c (paper_output): Likewise.
15378 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15379 * locale/programs/ld-time.c (time_output): Likewise.
15381 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15383 * benchtests/Makefile: Add memrchr benchmark.
15384 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15385 benchmark as memrchr.
15386 * benchtests/bench-memrchr-ifunc.c: New file.
15387 * benchtests/bench-memrchr.c: New file.
15389 2013-09-06 Will Newton <will.newton@linaro.org>
15391 * benchtests/Makefile (string-bench): Add memcpy.
15393 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15394 Cong Wang <amwang@redhat.com>
15397 * sysdeps/unix/sysv/linux/bits/in.h
15398 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15399 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15400 before __USE_KERNEL_IPV6_DEFS uses.
15401 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15403 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15404 sockaddr_in6, or ipv6_mreq.
15406 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15408 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15409 memory access for final bytes in some large inputs.
15410 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15412 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15414 * string/test-memrchr.c: New file.
15415 * string/test-memrchr-ifunc.c: New file.
15416 * string/Makefile: Add new memrchr testcase.
15418 2013-09-05 Mike Frysinger <vapier@gentoo.org>
15420 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15421 fanotify_init returns EPERM.
15423 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15425 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15427 (top level): Treat second token from macro or constant entries for
15428 allowed headers as allowed.
15429 * include/complex.h: Condition internal declarations on
15431 * include/fenv.h: Condition include of <stdbool.h> and internal
15432 declarations on [!_ISOMAC].
15434 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15437 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15439 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15441 * configure.in (--enable-versioning): Remove configure option.
15442 (libc_cv_asm_symver_directive): Remove configure test.
15443 (libc_cv_ld_version_script_option): Likewise.
15444 (VERSIONING): Remove variable and AC_SUBST.
15445 (DO_VERSIONING): Remove AC_DEFINE.
15446 * configure: Regenerated.
15447 * config.h.in (DO_VERSIONING): Remove macro.
15448 * Makerules [$(versioning) = yes]: Change conditionals to
15449 [$(build-shared) = yes].
15450 * config.make.in (versioning): Remove variable.
15451 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15452 [$(build-shared) = yes].
15453 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15454 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15455 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15456 [$(build-shared) = yes].
15457 * extra-lib.mk [$(versioning) = yes]: Likewise.
15458 * hurd/Makefile [$(versioning) = yes]: Likewise.
15459 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15461 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15463 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15464 [SHARED && !NO_HIDDEN].
15465 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15467 [SHARED && DO_VERSIONING]: Likewise..
15468 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15469 [$(build-shared) = yes].
15470 * manual/install.texi (--disable-versioning): Remove
15472 * INSTALL: Regenerated.
15473 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15475 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15476 [$(build-shared) = yes].
15477 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15478 * sysdeps/i386/i686/multiarch/strstr-c.c
15479 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15480 [SHARED && !NO_HIDDEN].
15481 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15482 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15483 * sysdeps/powerpc/powerpc32/dl-machine.c
15484 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15485 * sysdeps/powerpc/powerpc32/sysdep.h
15486 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15487 to [SHARED && PIC && !NO_HIDDEN].
15488 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15489 conditional to [SHARED].
15491 2013-09-04 Will Newton <will.newton@linaro.org>
15493 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15494 * benchtests/bench-string.h: Include bench-timing.h instead
15495 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15496 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15497 call to HP_TIMING_DIFF_INIT.
15498 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15499 instead of hp-timing.h macros.
15500 * benchtests/bench-memchr.c: Likewise.
15501 * benchtests/bench-memcmp.c: Likewise.
15502 * benchtests/bench-memcpy.c: Likewise.
15503 * benchtests/bench-memmem.c: Likewise.
15504 * benchtests/bench-memmove.c: Likewise.
15505 * benchtests/bench-memset.c: Likewise.
15506 * benchtests/bench-rawmemchr.c: Likewise.
15507 * benchtests/bench-strcasecmp.c: Likewise.
15508 * benchtests/bench-strcasestr.c: Likewise.
15509 * benchtests/bench-strcat.c: Likewise.
15510 * benchtests/bench-strchr.c: Likewise.
15511 * benchtests/bench-strcmp.c: Likewise.
15512 * benchtests/bench-strcpy.c: Likewise.
15513 * benchtests/bench-strcpy_chk.c: Likewise.
15514 * benchtests/bench-strlen.c: Likewise.
15515 * benchtests/bench-strncasecmp.c: Likewise.
15516 * benchtests/bench-strncat.c: Likewise.
15517 * benchtests/bench-strncmp.c: Likewise.
15518 * benchtests/bench-strncpy.c: Likewise.
15519 * benchtests/bench-strnlen.c: Likewise.
15520 * benchtests/bench-strpbrk.c: Likewise.
15521 * benchtests/bench-strrchr.c: Likewise.
15522 * benchtests/bench-strspn.c: Likewise.
15523 * benchtests/bench-strstr.c: Likewise.
15525 2013-09-04 Will Newton <will.newton@linaro.org>
15527 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15529 2013-09-03 Joseph Myers <joseph@codesourcery.com>
15532 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15533 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15534 * math/libm-test.inc (lgamma_test_data): Add more tests.
15535 * sysdeps/i386/fpu/libm-test-ulps: Update.
15536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15538 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15540 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15541 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15543 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15544 Add strcmp-sse2-unaligned
15545 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15547 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15549 * Versions.def (libc): Add GLIBC_2.19.
15551 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15553 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15554 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15556 2013-09-02 Joseph Myers <joseph@codesourcery.com>
15559 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15560 intermediate calculations in recurrence.
15561 (__ieee754_ynf): Likewise.
15562 * math/libm-test.inc (jn_test_data): Do not allow spurious
15563 underflow exception. Add more tests.
15564 (yn_test_data): Add more tests.
15565 * sysdeps/i386/fpu/libm-test-ulps: Update.
15566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15568 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
15570 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15572 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15574 * csu/init-first.c: Fix then/than typos.
15575 * locale/programs/ld-collate.c: Likewise.
15576 * locale/programs/linereader.h: Likewise.
15577 * manual/charset.texi: Likewise.
15578 * manual/filesys.texi: Likewise.
15579 * manual/stdio.texi: Likewise.
15580 * manual/string.texi: Likewise.
15581 * stdlib/fmtmsg.c: Likewise.
15582 * sysdeps/i386/stpncpy.S: Likewise.
15583 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15584 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15585 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15586 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15588 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15590 * elf/dl-open.c: Fix typos.
15591 * iconvdata/gbbig5.c: Likewise.
15592 * iconvdata/iso-2022-jp.c: Likewise.
15593 * iconv/gconv_int.h: Likewise.
15594 * iconv/loop.c: Likewise.
15595 * nis/rpcsvc/nis.h: Likewise.
15596 * resolv/ns_name.c: Likewise.
15597 * stdio-common/vfscanf.c: Likewise.
15598 * streams/stropts.h: Likewise.
15599 * sunrpc/rpc_thread.c: Likewise.
15600 * sysdeps/i386/strpbrk.S: Likewise.
15601 * sysdeps/ieee754/k_standard.c: Likewise.
15602 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15603 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15604 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15605 * sysdeps/mach/hurd/profil.c: Likewise.
15606 * sysdeps/s390/dl-procinfo.h: Likewise.
15607 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15608 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15609 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15610 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15611 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15613 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15615 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15616 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15618 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15620 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15621 aix specific files.
15622 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15623 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15624 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15625 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15626 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15627 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15628 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15629 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15631 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15632 Roland McGrath <roland@hack.frob.com>
15634 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15635 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15637 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15639 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15640 __executable_start symbol instead of _start.
15642 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15644 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15645 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15647 * sysdeps/gnu/ldsodefs.h: ... this new file.
15649 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15650 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15651 instead of ELFOSABI_LINUX.
15653 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15654 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15655 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15656 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15658 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15659 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15660 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15662 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15663 (ibm_extended_long_double): Add ieee_nan member.
15664 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15665 (do_test): New function.
15667 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15669 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15670 functions, renamed from truncdfsf_test, trunctfsf_test,
15672 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15674 (do_test): Run all these.
15676 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15678 * argp/argp-help.c: Fix typos.
15679 * argp/argp-parse.c: Likewise.
15680 * debug/backtracesyms.c: Likewise.
15681 * elf/elf.h: Likewise.
15682 * malloc/malloc.c: Likewise.
15683 * nis/nis_print.c: Likewise.
15684 * resolv/res_comp.c: Likewise.
15685 * stdlib/stdlib.h: Likewise.
15686 * sunrpc/clnt_tcp.c: Likewise.
15687 * sunrpc/clnt_udp.c: Likewise.
15688 * sunrpc/clnt_unix.c: Likewise.
15689 * sysdeps/unix/bsd/ptsname.c: Likewise.
15690 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15691 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15698 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15700 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15702 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15705 2013-08-27 Mike Frysinger <vapier@gentoo.org>
15708 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15709 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15710 ($(objpfx)bug-dl-leaf): New rule.
15711 ($(objpfx)bug-dl-leaf.so): Likewise.
15712 ($(objpfx)bug-dl-leaf.out): Likewise.
15713 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15714 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15715 * dlfcn/bug-dl-leaf.c: New test.
15716 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15717 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15718 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15719 (dlclose): Likewise.
15720 (dlmopen): Likewise.
15722 2013-08-27 Roland McGrath <roland@hack.frob.com>
15724 * include/netdb.h [!_ISOMAC]:
15725 Don't include <tls.h>.
15726 (h_errno, __libc_h_errno): Move declaration and macros out of
15729 * include/resolv.h [_RESOLV_H_]:
15730 Don't include <tls.h>.
15731 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15732 * resolv/res_libc.c: Don't include <tls.h>.
15733 (_res): Use __attribute__ ((nocommon)) in place of
15734 __attribute__ ((section (".bss"))).
15736 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15737 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15739 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15741 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15742 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15744 * resolv/res_mkquery.c: Include <sys/time.h>.
15746 * inet/ifreq.c: Moved to ...
15747 * sysdeps/unix/ifreq.c: ... here.
15748 * inet/ifreq.c: New file, true stub version.
15750 * socket/sa_len.c: New file.
15751 * socket/Makefile (aux): Add it.
15752 * sysdeps/unix/sysv/linux/Makefile
15753 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15754 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15755 and #include <socket/sa_len.c>.
15756 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15757 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15759 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15760 * bits/socket.h: ... here.
15762 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15763 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15764 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15766 2013-08-27 Andreas Schwab <schwab@suse.de>
15769 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15770 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15771 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15772 * string/test-strcasecmp.c (test_main): Run tests in several
15774 * string/test-strncasecmp.c (test_main): Likewise.
15776 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15777 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15778 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15779 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15780 (__strncasecmp_ssse3) [PIC]: Likewise.
15782 2013-08-26 Roland McGrath <roland@hack.frob.com>
15784 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15786 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15787 instead of explicitly declaring xdecrypt.
15788 * nis/nss_nis/nis-publickey.c: Likewise.
15790 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15793 * nscd/aicache.c: Include res_hconf.h.
15794 (addhstaiX): Initialize res_hconf.
15796 2013-08-26 Andreas Schwab <schwab@suse.de>
15798 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15799 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15801 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15803 * nscd/aicache.c (addhstaiX): Fix indentation.
15805 2013-08-25 Mike Frysinger <vapier@gentoo.org>
15807 * configure.ac: Quote $build_pt_chown test.
15808 * configure: Regenerated.
15810 2013-08-23 Joseph Myers <joseph@codesourcery.com>
15813 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15814 * math/s_cexpf.c (__cexpf): Likewise.
15815 * math/s_cexpl.c (__cexpl): Likewise.
15816 * math/libm-test.inc (cexp_test_data): Correct expected return
15817 value for NaN + i0. Add another test.
15819 2013-08-22 David S. Miller <davem@davemloft.net>
15821 * po/ca.po: Update Catalan translation from translation project.
15822 * po/uk.po: Add Ukrainian translations from translation project.
15824 2013-08-21 Joseph Myers <joseph@codesourcery.com>
15827 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15828 is infinite, not alongside NaN test.
15829 * math/s_fdimf.c (__fdimf): Likewise.
15830 * math/s_fdiml.c (__fdiml): Likewise.
15831 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15832 errno is unchanged.
15834 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
15836 * argp/argp-help.c: Fix typos.
15837 * crypt/speeds.c: Likewise.
15838 * csu/check_fds.c: Likewise.
15839 * elf/dl-load.c: Likewise.
15840 * elf/dl-open.c: Likewise.
15841 * elf/reldep3.c: Likewise.
15842 * elf/reldep.c: Likewise.
15843 * elf/sprof.c: Likewise.
15844 * iconv/iconv_charmap.c: Likewise.
15845 * iconv/skeleton.c: Likewise.
15846 * iconv/strtab.c: Likewise.
15847 * io/lockf64.c: Likewise.
15848 * libio/libioP.h: Likewise.
15849 * resolv/gai_notify.c: Likewise.
15850 * resolv/ns_name.c: Likewise.
15851 * resolv/ns_samedomain.c: Likewise.
15852 * resolv/res_send.c: Likewise.
15853 * stdlib/random.c: Likewise.
15854 * sunrpc/rpc/xdr.h: Likewise.
15855 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15856 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15857 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15858 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15859 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15860 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15861 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15862 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15863 * sysdeps/mach/hurd/check_fds.c: Likewise.
15864 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15865 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15866 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15867 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15868 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15869 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15870 * sysdeps/pthread/aio_notify.c: Likewise.
15871 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15872 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15873 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15874 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15875 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15877 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15879 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15880 version if bit_Slow_SSE4_2 is set.
15881 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15882 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15884 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15887 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15888 trampoline stack frame information.
15889 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15890 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15891 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15892 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15893 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15894 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15895 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15896 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15898 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15899 interrupting a syscall and set with option SA_SIGINFO.
15901 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15904 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15905 argument is infinite.
15906 * math/s_cprojf.c (__cprojf): Likewise.
15907 * math/s_cprojl.c (__cprojl): Likewise.
15908 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15909 * math/libm-test.inc (cproj_test_data): Add more tests.
15911 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15913 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15914 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15915 size. Use __ffs to determine corresponding shift.
15917 2013-08-20 Joseph Myers <joseph@codesourcery.com>
15918 Roland McGrath <roland@hack.frob.com>
15920 * Makefile (INSTALL): Remove trailing blank lines from output of
15923 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15925 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15926 Align 32 bit compat elf_greg to 8 bytes.
15928 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15930 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15932 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15934 * string/strcoll_l.c (coll_seq): New structure.
15935 (get_next_seq_cached): New function.
15936 (get_next_seq): New function.
15937 (do_compare): New function.
15938 (STRCOLL): Use GNU style definition. Simplify implementation
15939 by using get_next_seq, get_next_seq_cached and do_compare.
15941 2013-08-16 Florian Weimer <fweimer@redhat.com>
15945 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15947 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15949 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15950 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15951 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15953 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15954 GETDENTS_64BIT_ALIGNED.
15955 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15956 * manual/filesys.texi (Reading/Closing Directory): Document
15957 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15959 * manual/conf.texi (Limits for Files): Add portability note to
15960 NAME_MAX, PATH_MAX.
15961 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15963 2013-08-13 Andreas Schwab <schwab@suse.de>
15966 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15968 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15969 LDBL_MAX_EXP >= 16384]: Add tests for it.
15971 2013-08-12 David S. Miller <davem@davemloft.net>
15973 * version.h (RELEASE): Set to "development".
15974 (VERSION): Set to "2.18.90".
15975 * NEWS: Add 2.19 section.
15977 2013-08-03 David S. Miller <davem@davemloft.net>
15979 * po/ko.po: Update Korean translation from translation project.
15981 2013-08-01 David S. Miller <davem@davemloft.net>
15983 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15984 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15987 2013-07-30 David S. Miller <davem@davemloft.net>
15989 * po/fr.po: Update French translation from translation project.
15991 2013-07-28 David S. Miller <davem@davemloft.net>
15993 * po/cs.po: Update Czech translation from translation project.
15995 * po/sv.po: Update Swedish translation from translation project.
15997 2013-07-27 David S. Miller <davem@davemloft.net>
15999 * po/eo.po: Update Esperanto translation from translation project.
16001 * po/vi.po: Update Vietnamese translation from translation project.
16003 * po/de.po: Update German translation from translation project.
16005 2013-07-26 David S. Miller <davem@davemloft.net>
16007 * po/bg.po: Update Bulgarian translation from translation project.
16009 * po/nl.po: Update Dutch translation from translation project.
16010 * po/pl.po: Update Polish translation from translation project.
16011 * po/ru.po: Update Russian translation from translation project.
16013 2013-07-24 David S. Miller <davem@davemloft.net>
16015 * po/libc.pot: Update.
16017 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16019 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16020 variable page size.
16021 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16022 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16023 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16025 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16027 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16029 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16030 Andreas Schwab <schwab@suse.de>
16031 Roland McGrath <roland@hack.frob.com>
16032 Joseph Myers <joseph@codesourcery.com>
16033 Carlos O'Donell <carlos@redhat.com>
16036 * config.h.in: Define HAVE_PT_CHOWN.
16037 * config.make.in (build-pt-chown): New variable.
16038 * configure.in (--enable-pt_chown): New configure option.
16039 * configure: Regenerate.
16040 * login/Makefile: Include Makeconfig. Build pt_chown only if
16041 build-pt-chown is enabled.
16042 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16043 pt_chown to fix pty ownership.
16044 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16046 * manual/install.texi (Configuring and compiling): Mention
16047 --enable-pt_chown. Add @findex for grantpt.
16048 * INSTALL: Regenerate.
16050 2013-07-20 David S. Miller <davem@davemloft.net>
16052 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16053 difference between 32-bit and 64-bit.
16055 2013-07-15 Carlos O'Donell <carlos@redhat.com>
16058 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16059 Avoid system header dependency with -ffreestanding.
16060 ($(objpfx)bits/syscall%d): Likewise.
16062 2013-07-13 David S. Miller <davem@davemloft.net>
16064 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16065 underflows from atanl/atan2l due to bug 15319.
16066 (casinh_test_data): Likewise.
16068 2013-07-07 David S. Miller <davem@davemloft.net>
16070 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16072 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16074 * sysdeps/i386/fpu/libm-test-ulps: Update.
16075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16077 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16079 * configure.in (--enable-lock-elision): Fix message text.
16080 * INSTALL: Regenerate.
16081 * configure: Regenerate.
16083 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16087 2013-07-03 Andreas Jaeger <aj@suse.de>
16089 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16091 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16092 (ptrace_peeksiginfo_args): Add.
16093 (__ptrace_peeksiginfo_flags): Add.
16094 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16095 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16096 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16098 2013-07-03 Allan McRae <allan@archlinux.org>
16100 * sysdeps/i386/fpu/libm-test-ulps: Update.
16102 2013-07-02 David S. Miller <davem@davemloft.net>
16104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16106 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16110 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16112 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16115 2013-07-02 Andi Kleen <ak@linux.intel.com>
16117 * config.h.in (ENABLE_LOCK_ELISION): Add.
16118 * configure.in (--enable-lock-elision): Add option.
16119 * manual/install.texi: Document --enable lock elision.
16120 * configure: Regenerate
16121 * INSTALL: Regenerate.
16123 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16125 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16126 SSE4.2 strcasecmp for libc.a.
16127 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16129 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16132 * soft-fp/op-common.h (_FP_FMA): New macro.
16133 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16134 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16135 (_FP_MUL_MEAT_1_imm): ... here.
16136 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16137 (_FP_MUL_MEAT_1_wide): ... here.
16138 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16139 (_FP_MUL_MEAT_1_hard): ... here.
16140 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16141 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16142 (_FP_MUL_MEAT_2_wide): ... here.
16143 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16144 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16145 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16146 (_FP_MUL_MEAT_2_gmp): ... here.
16147 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16148 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16149 (_FP_MUL_MEAT_4_wide): ... here.
16150 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16151 (_FP_MUL_MEAT_4_gmp): ... here.
16152 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16153 (_FP_WFRACBITS_DW_S): Likewise.
16154 (_FP_WFRACXBITS_DW_S): Likewise.
16155 (_FP_HIGHBIT_DW_S): Likewise.
16156 (FP_FMA_S): Likewise.
16157 (_FP_FRAC_HIGH_DW_S): Likewise.
16158 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16159 (_FP_WFRACBITS_DW_D): Likewise.
16160 (_FP_WFRACXBITS_DW_D): Likewise.
16161 (_FP_HIGHBIT_DW_D): Likewise.
16162 (FP_FMA_D): Likewise.
16163 (_FP_FRAC_HIGH_DW_D): Likewise.
16164 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16165 (_FP_WFRACBITS_DW_E): Likewise.
16166 (_FP_WFRACXBITS_DW_E): Likewise.
16167 (_FP_HIGHBIT_DW_E): Likewise.
16168 (FP_FMA_E): Likewise.
16169 (_FP_FRAC_HIGH_DW_E): Likewise.
16170 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16171 (_FP_WFRACBITS_DW_Q): Likewise.
16172 (_FP_WFRACXBITS_DW_Q): Likewise.
16173 (_FP_HIGHBIT_DW_Q): Likewise.
16174 (FP_FMA_Q): Likewise.
16175 (_FP_FRAC_HIGH_DW_Q): Likewise.
16176 * soft-fp/fmasf4.c: New file.
16177 * soft-fp/fmadf4.c: Likewise.
16178 * soft-fp/fmatf4.c: Likewise.
16180 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16183 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16185 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16187 (index_Slow_SSE4_2): Likewise.
16188 (index_Prefer_PMINUB_for_stringop): Likewise.
16189 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16190 bit_Slow_SSE4_2 is set.
16191 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16192 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16194 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16196 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16197 rtld_global._dl_hwcap2.
16198 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16200 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16201 POWER8 feature descriptions defined in _dl_hwcap2.
16202 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16203 string handling for POWER8 feature bits.
16204 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16205 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16206 _dl_powerpc_cap_flags.
16207 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16208 * sysdeps/powerpc/rtld-global-offsets.sym
16209 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16210 _dl_hwcap2 in the rtld_global_ro structure.
16212 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16214 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16215 hardware capabilities in support of AT_HWCAP2.
16216 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16217 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16219 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16220 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16221 explicitly the unknown a_type display mechanism is used.
16222 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16223 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16225 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16226 to macro prototype for AT_HWCAP2 support.
16227 * sysdeps/i386/dl-procinfo.h: Likewise.
16228 * sysdeps/s390/dl-procinfo.h: Likewise.
16229 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16230 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16231 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16232 return -1 for unknown a_type display fallback.
16233 * sysdeps/sparc/dl-procinfo.h: Likewise.
16234 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16235 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16237 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16239 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16240 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16242 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16245 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16246 mprotect making __stack_prot writable.
16248 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16249 Joseph Myers <joseph@codesourcery.com>
16251 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16252 as being properly aligned.
16254 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16256 * dlfcn/modstatic5.c: New file.
16257 * dlfcn/tststatic5.c: New file.
16258 * dlfcn/Makefile (tests): Add tststatic5.
16259 (tests-static): Likewise.
16260 (modules-names): Add modstatic5.
16261 (tststatic5-ENV): New variable.
16262 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16265 * elf/dl-support.c (_dl_main_map): New variable.
16266 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16267 (_dl_nns, _dl_load_adds): Set to 1.
16268 (_dl_initial_searchlist): Refer to _dl_main_map.
16269 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16270 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16271 call to _dl_get_origin.
16272 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16274 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16275 * dlfcn/modstatic3.c: New file.
16276 * dlfcn/tststatic3.c: New file.
16277 * dlfcn/tststatic4.c: New file.
16278 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16279 (tests-static): Likewise.
16280 (modules-names): Add modstatic3.
16281 (tststatic3-ENV, tststatic4-ENV): New variables.
16282 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16283 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16285 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16287 * configure.in (CC): Require GCC version 4.4 or later.
16288 * configure: Regenerated.
16289 * manual/install.texi (Tools for Compilation): Update GCC version
16291 * INSTALL: Regenerated.
16293 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16296 * string/test-memcmp.c (check2): New.
16297 (main): Call check2.
16299 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16301 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16304 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16306 (dl_open_worker) [!SHARED]: ... here.
16308 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16310 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16312 2013-06-25 Richard Henderson <rth@redhat.com>
16314 * locale/programs/locarchive.c: Include <libc-internal.h>
16316 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16318 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16319 trailing whitespace removed.
16321 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16324 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16325 * locale/programs/locarchive.c: Include libc-mmap.h.
16326 (prepare_address_space): Take two new outputs (the mmap base and len).
16327 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16329 (create_archive): Declare new mmap base and len values for
16330 prepare_address_space, and store the result in ah.
16331 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16332 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16333 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16334 Declare new mmap base and len values for
16335 prepare_address_space, and store the result in new_ah.
16336 (open_archive): Declare new mmap base and len values for
16337 prepare_address_space, and store the result in ah.
16338 (close_archive): If ah->mmap_base is not NULL, use that and
16339 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16340 * sysdeps/generic/libc-mmap.h: New file.
16342 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16344 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16345 (ALIGN_UP): Likewise.
16346 (PTR_ALIGN_DOWN): Likewise.
16347 (PTR_ALIGN_UP): Likewise.
16349 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16351 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16352 entry mapped to PPC_PLATFORM_POWER8.
16353 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16355 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16356 (_dl_string_platform): Add case for exporting platform position for
16358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16359 search path to sysdeps/powerpc/powerpc32/power8 directory.
16360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16361 search path to sysdeps/powerpc/powerpc64/power8 directory.
16362 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16363 power7 directories.
16364 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16365 power7 directories.
16367 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16369 * INSTALL: Regenerate.
16371 * nscd/connections.c (nscd_init): Fix comment.
16373 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16375 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16378 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16379 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16381 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16383 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16385 (DL_DST_REQ_STATIC): Remove macro.
16387 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16390 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16391 with a shift of 0 bits.
16393 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16395 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16398 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16401 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16403 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16405 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16406 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16407 accepts -fno-tree-loop-distribute-patterns.
16408 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16409 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16411 * string/memset.c (memset): Likewise.
16412 * string/test-memmove.c (simple_memmove): Disable loop transformation
16414 * string/test-memset.c (simple_memset): Likewise.
16415 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16416 * benchtests/bench-memset.c (simple_memset): Likewise.
16417 * configure: Regenerated.
16419 2013-06-20 Joseph Myers <joseph@codesourcery.com>
16421 * math/test-misc.c (main): Ignore fesetround failure when failures
16422 of subsequent rounding tests would be ignored.
16425 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16426 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16427 * math/fegetenv.c (__fegetenv): Return 0.
16428 * math/fegetexcept.c (fegetexcept): Return 0.
16429 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16431 * math/feholdexcpt.c (feholdexcept): Return 0.
16432 * math/fesetenv.c (__fesetenv): Return 0.
16433 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16434 argument FE_TONEAREST.
16435 * math/feupdateenv.c (__feupdateenv): Return 0.
16436 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16438 2013-06-18 Roland McGrath <roland@hack.frob.com>
16440 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16441 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16442 ($(objpfx)rtld-%.os rules): Use them.
16444 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16446 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16449 2013-06-17 Roland McGrath <roland@hack.frob.com>
16451 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16452 length of target pattern, then descending length of dependency pattern.
16453 * configure.in (AWK): Require gawk 3.1.2 or newer.
16454 * manual/install.texi (Tools for Compilation): Say that we do.
16455 * configure: Regenerated.
16457 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16458 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16459 * scripts/sysd-rules.awk: ... this new script.
16460 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16461 than a glob-style pattern.
16463 2013-06-17 Joseph Myers <joseph@codesourcery.com>
16465 * math/test-misc.c (main): Do not treat incorrectly rounded
16466 conversions as failure unless ROUNDING_TESTS passes.
16468 2013-06-15 Joseph Myers <joseph@codesourcery.com>
16471 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16472 restore exception state around main square root computation, then
16473 check for inexactness explicitly.
16475 * math/libm-test.inc (fma_test_data): Add another test.
16477 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16479 * manual/threads.texi (Non-POSIX Extensions): New document
16480 node. Document pthread_getattr_default_np and
16481 pthread_setattr_default_np.
16483 * Versions.def (libpthread): Add GLIBC_2.18.
16484 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16493 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16504 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16506 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16507 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16509 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16510 H.J. Lu <hjl.tools@gmail.com>
16513 * sysdeps/x86_64/rtld-memset.c: Remove file.
16514 * sysdeps/x86_64/rtld-memset.S: New file.
16516 2013-06-14 Joseph Myers <joseph@codesourcery.com>
16518 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16519 (test_in_one_mode): Take arguments for whether the rounding mode
16520 is supported for each floating-point type.
16521 (do_test): Pass new arguments to test_in_one_mode using
16524 2013-06-13 Roland McGrath <roland@hack.frob.com>
16526 * posix/tst-waitid.c (do_test): Distinguish different instances of
16527 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16528 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16529 before entering the kernel for waitpid.
16531 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16533 * NEWS: Fix note on clock function precision. Text by Roland
16536 2013-06-13 Roland McGrath <roland@hack.frob.com>
16538 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16539 it into place only when and if the sanity check passes.
16541 2013-06-13 Joseph Myers <joseph@codesourcery.com>
16543 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16544 output for whether conversion result is exact. Take argument
16545 indicating whether type is IBM long double.
16546 (round_for_all): Change need_exact field to ibm_ld.
16547 * stdlib/tst-strtod-round.c (struct exactness): New type.
16548 (struct test): Change bool ld_ok field to struct exactness exact.
16549 (TEST): Update all definitions for change to field.
16550 (tests): Regenerate array contents.
16551 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16552 field value. Check for IBM long double here.
16553 (do_test): Update calls to test_in_one_mode.
16555 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16558 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16559 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16561 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16564 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16565 generated by the compiler on loop optimizations.
16566 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16567 general definitions.
16569 2013-06-12 Joseph Myers <joseph@codesourcery.com>
16571 * math/bug-nextafter.c: Include <math-tests.h>.
16572 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16574 * math/bug-nexttoward.c: Include <math-tests.h>.
16575 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16577 * math/test-misc.c: Include <math-tests.h>.
16578 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16581 2013-06-12 Andreas Jaeger <aj@suse.de>
16583 * po/ia.po: Update Interlingua translation from translation
16586 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16588 * include/fenv.h: Include stdbool.h.
16589 (struct rm_ctx): New structure.
16590 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16592 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16593 (SET_RESTORE_ROUNDF): Likewise.
16594 (SET_RESTORE_ROUNDL): Likewise.
16595 (SET_RESTORE_ROUND_NOEX): Likewise.
16596 (SET_RESTORE_ROUND_NOEXF): Likewise.
16597 (SET_RESTORE_ROUND_NOEXL): Likewise.
16598 (SET_RESTORE_ROUND_53BIT): Likewise.
16599 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16600 (libc_feresetround_noexf_ctx): Likewise.
16601 (libc_feresetround_noexl_ctx): Likewise.
16602 (libc_feholdsetround_53bit_ctx): Likewise.
16603 (libc_feresetround_53bit_ctx): Likewise.
16604 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16605 (libc_feholdexcept_setround_sse_ctx): New function.
16606 (libc_fesetenv_sse_ctx): Likewise.
16607 (libc_feupdateenv_sse_ctx): Likewise.
16608 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16609 (libc_feholdexcept_setround_387_ctx): Likewise.
16610 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16611 (libc_feholdsetround_387_prec_ctx): Likewise.
16612 (libc_feholdsetround_387_ctx): Likewise.
16613 (libc_feholdsetround_387_53bit_ctx): Likewise.
16614 (libc_feholdsetround_sse_ctx): Likewise.
16615 (libc_feresetround_sse_ctx): Likewise.
16616 (libc_feresetround_387_ctx): Likewise.
16617 (libc_feupdateenv_387_ctx): Likewise.
16618 (libc_feholdexcept_setroundf_ctx): Define macro.
16619 (libc_fesetenvf_ctx): Likewise.
16620 (libc_feupdateenvf_ctx): Likewise.
16621 (libc_feholdsetroundf_ctx): Likewise.
16622 (libc_feresetroundf_ctx): Likewise.
16623 (libc_feholdexcept_setround_ctx): Likewise.
16624 (libc_fesetenv_ctx): Likewise.
16625 (libc_feupdateenv_ctx): Likewise.
16626 (libc_feholdsetround_ctx): Likewise.
16627 (libc_feresetround_ctx): Likewise.
16628 (libc_feholdexcept_setroundl_ctx): Likewise.
16629 (libc_feupdateenvl_ctx): Likewise.
16630 (libc_feholdsetroundl_ctx): Likewise.
16631 (libc_feresetroundl_ctx): Likewise.
16632 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16633 (libc_feresetround_53bit_ctx): Likewise.
16635 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16637 * locale/iso-639.def: Convert to UTF-8.
16639 2013-06-11 Joseph Myers <joseph@codesourcery.com>
16641 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16642 (EXCEPTION_TESTS_double): Likewise.
16643 (EXCEPTION_TESTS_long_double): Likewise.
16644 (EXCEPTION_TESTS): Likewise.
16645 * math/libm-test.inc (test_exceptions): Only test exceptions if
16646 EXCEPTION_TESTS (FLOAT).
16648 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16650 * benchtests/Makefile (string-bench): Add strcpy_chk and
16652 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16653 * benchtests/bench-stpcpy_chk.c: New file.
16654 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16655 * benchtests/bench-strcpy_chk.c: New file.
16656 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16658 (do_test): Likewise.
16660 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16662 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16663 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16664 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16665 with tabs where appropriate.
16666 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16668 [PPC_PLATFORM_PPC440]: Likewise.
16669 [PPC_PLATFORM_PPC464]: Likewise.
16670 [PPC_PLATFORM_PPC476]: Likewise.
16671 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16672 ppc464, and ppc476 platform strings merging from ports/
16675 2013-06-11 Andreas Schwab <schwab@suse.de>
16678 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16679 (from_ucs4_idx): Regenerate.
16680 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16681 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16682 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16683 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16684 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16685 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16686 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16687 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16688 from FROM_LOOP and TO_LOOP specific macros.
16689 (BODY): Handle combining characters.
16690 * iconvdata/BIG5HKSCS.irreversible: Update.
16691 * iconvdata/BIG5HKSCS.precomposed: New file.
16692 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16694 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16696 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16698 * include/sys/time.h: Fix indentation and add copyright header.
16700 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16701 (do_test): Likewise.
16702 * string/test-memchr.c (do_one_test): Likewise.
16703 (do_test): Likewise.
16704 * string/test-memcmp.c (do_one_test): Likewise.
16705 (do_test): Likewise.
16706 * string/test-memcpy.c (do_one_test): Likewise.
16707 (do_test): Likewise.
16708 * string/test-memmem.c (do_one_test): Likewise.
16709 (do_test): Likewise.
16710 (do_random_tests): Likewise.
16711 * string/test-memmove.c (do_one_test): Likewise.
16712 (do_test): Likewise.
16713 * string/test-memset.c (do_one_test): Likewise.
16714 (do_test): Likewise.
16715 * string/test-rawmemchr.c (do_one_test): Likewise.
16716 (do_test): Likewise.
16717 * string/test-strcasecmp.c (do_one_test): Likewise.
16718 (do_test): Likewise.
16719 * string/test-strcasestr.c (do_one_test): Likewise.
16720 (do_test): Likewise.
16721 * string/test-strcat.c (do_one_test): Likewise.
16722 (do_test): Likewise.
16723 * string/test-strchr.c (do_one_test): Likewise.
16724 (do_test): Likewise.
16725 * string/test-strcmp.c (do_one_test): Likewise.
16726 (do_test): Likewise.
16727 * string/test-strcpy.c (do_one_test): Likewise.
16728 (do_test): Likewise.
16729 * string/test-string.h: Likewise.
16730 (test_init): Likewise.
16731 * string/test-strlen.c (do_one_test): Likewise.
16732 (do_test): Likewise.
16733 * string/test-strncasecmp.c (do_one_test): Likewise.
16734 (do_test): Likewise.
16735 * string/test-strncat.c (do_one_test): Likewise.
16736 (do_test): Likewise.
16737 * string/test-strncmp.c (do_one_test): Likewise.
16738 (do_test_limit): Likewise.
16739 (do_test): Likewise.
16740 * string/test-strncpy.c (do_one_test): Likewise.
16741 (do_test): Likewise.
16742 * string/test-strnlen.c (do_one_test): Likewise.
16743 (do_test): Likewise.
16744 * string/test-strpbrk.c (do_one_test): Likewise.
16745 (do_test): Likewise.
16746 * string/test-strrchr.c (do_one_test): Likewise.
16747 (do_test): Likewise.
16748 * string/test-strspn.c (do_one_test): Likewise.
16749 (do_test): Likewise.
16750 * string/test-strstr.c (do_one_test): Likewise.
16751 (do_test): Likewise.
16753 * benchtests/Makefile (string-bench): Add string benchmarks.
16754 * benchtests/bench-bcopy-ifunc.c: New file.
16755 * benchtests/bench-bcopy.c: New file.
16756 * benchtests/bench-bzero-ifunc.c: New file.
16757 * benchtests/bench-bzero.c: New file.
16758 * benchtests/bench-memccpy-ifunc.c: New file.
16759 * benchtests/bench-memccpy.c: New file.
16760 * benchtests/bench-memchr-ifunc.c: New file.
16761 * benchtests/bench-memchr.c: New file.
16762 * benchtests/bench-memcmp-ifunc.c: New file.
16763 * benchtests/bench-memcmp.c: New file.
16764 * benchtests/bench-memmem-ifunc.c: New file.
16765 * benchtests/bench-memmem.c: New file.
16766 * benchtests/bench-memmove-ifunc.c: New file.
16767 * benchtests/bench-memmove.c: New file.
16768 * benchtests/bench-mempcpy-ifunc.c: New file.
16769 * benchtests/bench-mempcpy.c: New file.
16770 * benchtests/bench-memset-ifunc.c: New file.
16771 * benchtests/bench-memset.c: New file.
16772 * benchtests/bench-rawmemchr-ifunc.c: New file.
16773 * benchtests/bench-rawmemchr.c: New file.
16774 * benchtests/bench-stpcpy-ifunc.c: New file.
16775 * benchtests/bench-stpcpy.c: New file.
16776 * benchtests/bench-stpncpy-ifunc.c: New file.
16777 * benchtests/bench-stpncpy.c: New file.
16778 * benchtests/bench-strcasecmp-ifunc.c: New file.
16779 * benchtests/bench-strcasecmp.c: New file.
16780 * benchtests/bench-strcasestr-ifunc.c: New file.
16781 * benchtests/bench-strcasestr.c: New file.
16782 * benchtests/bench-strcat-ifunc.c: New file.
16783 * benchtests/bench-strcat.c: New file.
16784 * benchtests/bench-strchr-ifunc.c: New file.
16785 * benchtests/bench-strchr.c: New file.
16786 * benchtests/bench-strchrnul-ifunc.c: New file.
16787 * benchtests/bench-strchrnul.c: New file.
16788 * benchtests/bench-strcmp-ifunc.c: New file.
16789 * benchtests/bench-strcmp.c: New file.
16790 * benchtests/bench-strcpy-ifunc.c: New file.
16791 * benchtests/bench-strcpy.c: New file.
16792 * benchtests/bench-strcspn-ifunc.c: New file.
16793 * benchtests/bench-strcspn.c: New file.
16794 * benchtests/bench-strlen-ifunc.c: New file.
16795 * benchtests/bench-strlen.c: New file.
16796 * benchtests/bench-strncasecmp-ifunc.c: New file.
16797 * benchtests/bench-strncasecmp.c: New file.
16798 * benchtests/bench-strncat-ifunc.c: New file.
16799 * benchtests/bench-strncat.c: New file.
16800 * benchtests/bench-strncmp-ifunc.c: New file.
16801 * benchtests/bench-strncmp.c: New file.
16802 * benchtests/bench-strncpy-ifunc.c: New file.
16803 * benchtests/bench-strncpy.c: New file.
16804 * benchtests/bench-strnlen-ifunc.c: New file.
16805 * benchtests/bench-strnlen.c: New file.
16806 * benchtests/bench-strpbrk-ifunc.c: New file.
16807 * benchtests/bench-strpbrk.c: New file.
16808 * benchtests/bench-strrchr-ifunc.c: New file.
16809 * benchtests/bench-strrchr.c: New file.
16810 * benchtests/bench-strspn-ifunc.c: New file.
16811 * benchtests/bench-strspn.c: New file.
16812 * benchtests/bench-strstr-ifunc.c: New file.
16813 * benchtests/bench-strstr.c: New file.
16815 * benchtests/Makefile: Disable parallel execution of targets.
16816 (string-bench): Add memcpy.
16817 (benchset): New variable to store a list of benchmark sets.
16818 (bench-func): Renamed from bench.
16819 (bench-set): New target.
16820 (bench): Depend on bench-func and bench-set.
16821 * benchtests/README: Add section on benchmark sets.
16822 * benchtests/bench-memcpy-ifunc.c: New file.
16823 * benchtests/bench-memcpy.c: New file.
16824 * benchtests/bench-string.h: New file.
16826 2013-06-11 Andreas Schwab <schwab@suse.de>
16829 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16830 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16831 values in the triple.
16832 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16833 terminator in the group key.
16835 2013-06-11 Andreas Jaeger <aj@suse.de>
16837 * po/zh_TW.po: Update Chinese (traditional) translation from
16838 translation project.
16840 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16842 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16843 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16844 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16845 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16846 (clock_getcpuclockid): Likewise.
16847 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16848 Add weak_alias and libc_hidden_def.
16849 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16850 * rt/clock_gettime.c (clock_gettime): Rename to
16851 __clock_gettime. Add weak_alias and libc_hidden_def.
16852 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16853 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16854 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16855 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16856 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16858 * rt/clock_settime.c (clock_settime): Rename to
16859 __clock_settime. Add weak_alias and libc_hidden_def.
16860 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16862 2013-06-10 Joseph Myers <joseph@codesourcery.com>
16864 * mach/err_boot.sub: Remove trailing whitespace.
16865 * mach/err_ipc.sub: Likewise.
16866 * mach/err_mach.sub: Likewise.
16868 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16869 (ROUNDING_TESTS_double): Likewise.
16870 (ROUNDING_TESTS_long_double): Likewise.
16871 (ROUNDING_TESTS): Likewise.
16872 * math/libm-test.inc: Include <math-tests.h>.
16873 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16874 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16875 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16876 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16878 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16880 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16883 2013-06-08 Joseph Myers <joseph@codesourcery.com>
16885 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16886 otherwise empty TRANS lines.
16887 * sysdeps/gnu/errlist.c: Regenerated.
16889 * catgets/gencat.c (error_print): Use (void) in function
16891 * crypt/crypt_util.c (__init_des): Likewise.
16892 * crypt/speeds.c (Stop): Likewise.
16894 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16895 * inet/ruserpass.c (token): Likewise.
16896 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16897 * intl/localealias.c (extend_alias_table): Likewise.
16898 * intl/plural-exp.c (init_germanic_plural): Likewise.
16899 * libio/fcloseall.c (__fcloseall): Likewise.
16900 * libio/genops.c (_IO_flush_all): Likewise.
16901 (_IO_flush_all_linebuffered): Likewise.
16902 (_IO_cleanup): Likewise.
16903 (_IO_iter_begin): Likewise.
16904 (_IO_iter_end): Likewise.
16905 (_IO_list_lock): Likewise.
16906 (_IO_list_unlock): Likewise.
16907 (_IO_list_resetlock): Likewise.
16908 * libio/getchar.c (getchar): Likewise.
16909 * libio/getchar_u.c (getchar_unlocked): Likewise.
16910 * libio/getwchar.c (getwchar): Likewise.
16911 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16912 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16913 * login/getpt.c (__getpt): Likewise.
16914 * login/tst-utmp.c (main): Likewise.
16915 * malloc/hooks.c (__malloc_check_init): Likewise.
16916 * malloc/malloc.c (__malloc_stats): Likewise.
16917 * malloc/mtrace.c (tr_break): Likewise.
16918 (mtrace): Likewise.
16919 (muntrace): Likewise.
16920 * misc/fstab.c (endfsent): Likewise.
16921 * misc/getclktck.c (__getclktck): Likewise.
16922 * misc/getdtsz.c (__getdtablesize): Likewise.
16923 * misc/gethostid.c (gethostid): Likewise.
16924 * misc/getpagesize.c (__getpagesize): Likewise.
16925 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16926 (__get_nprocs): Likewise.
16927 (__get_phys_pages): Likewise.
16928 (__get_avphys_pages): Likewise.
16929 * misc/getttyent.c (getttyent): Likewise.
16930 (setttyent): Likewise.
16931 (endttyent): Likewise.
16932 * misc/getusershell.c (getusershell): Likewise.
16933 (endusershell): Likewise.
16934 (setusershell): Likewise.
16935 (initshells): Likewise.
16936 * misc/hsearch.c (__hdestroy): Likewise.
16937 * misc/sync.c (sync): Likewise.
16938 * misc/syslog.c (closelog_internal): Likewise.
16939 (closelog): Likewise.
16940 * misc/ttyslot.c (ttyslot): Likewise.
16941 * misc/vhangup.c (vhangup): Likewise.
16942 * posix/fork.c (__fork): Likewise.
16943 * posix/getegid.c (__getegid): Likewise.
16944 * posix/geteuid.c (__geteuid): Likewise.
16945 * posix/getgid.c (__getgid): Likewise.
16946 * posix/getpid.c (__getpid): Likewise.
16947 * posix/getppid.c (__getppid): Likewise.
16948 * posix/getuid.c (__getuid): Likewise.
16949 * posix/pause.c (pause): Likewise.
16950 * posix/setpgrp.c (setpgrp): Likewise.
16951 * posix/setsid.c (__setsid): Likewise.
16952 * posix/test-vfork.c (noop): Likewise.
16953 * resolv/gethnamaddr.c (_endhtent): Likewise.
16954 (_gethtent): Likewise.
16955 (ht_endhostent): Likewise.
16956 (gethostent): Likewise.
16957 (dns_service): Likewise.
16958 * stdlib/drand48.c (drand48): Likewise.
16959 * stdlib/lrand48.c (lrand48): Likewise.
16960 * stdlib/mrand48.c (mrand48): Likewise.
16961 * stdlib/rand.c (rand): Likewise.
16962 * stdlib/random.c (__random): Likewise.
16963 * stdlib/setenv.c (clearenv): Likewise.
16964 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16965 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16966 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16967 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16968 (__get_nprocs): Likewise.
16969 (__get_phys_pages): Likewise.
16970 (__get_avphys_pages): Likewise.
16971 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16972 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16973 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16974 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16975 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16976 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16977 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16978 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16979 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16980 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16981 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16982 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16983 * sysdeps/posix/clock.c (clock): Likewise.
16984 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16985 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16986 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16987 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16988 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16989 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16990 (__get_nprocs_conf): Likewise.
16991 (__get_phys_pages): Likewise.
16992 (__get_avphys_pages): Likewise.
16993 * time/clock.c (clock): Likewise.
16994 * time/tzset.c (__tzname_max): Likewise.
16996 2013-06-07 Joseph Myers <joseph@codesourcery.com>
16998 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16999 (__bswap_32): Do not use "register".
17000 * crypt/crypt.c (_ufc_doit_r): Likewise.
17001 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17002 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17003 * gmon/gmon.c (__monstartup): Likewise.
17004 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17005 * hurd/hurdmalloc.c (more_memory): Likewise.
17006 (malloc): Likewise.
17008 (realloc): Likewise.
17009 (malloc_fork_prepare): Likewise.
17010 (malloc_fork_parent): Likewise.
17011 (malloc_fork_child): Likewise.
17012 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17013 (_svcauth_des): Likewise.
17014 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17015 * inet/inet_net.c (inet_network): Likewise.
17016 * inet/inet_netof.c (inet_netof): Likewise.
17017 * inet/rcmd.c (__validuser2_sa): Likewise.
17018 * io/fts.c (fts_open): Likewise.
17019 (fts_load): Likewise.
17020 (fts_close): Likewise.
17021 (fts_read): Likewise.
17022 (fts_children): Likewise.
17023 (fts_build): Likewise.
17024 (fts_stat): Likewise.
17025 (fts_sort): Likewise.
17026 (fts_alloc): Likewise.
17027 (fts_lfree): Likewise.
17028 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17029 (_IO_file_xsgetn): Likewise.
17030 (_IO_file_xsgetn_mmap): Likewise.
17031 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17032 (_IO_cookie_write): Likewise.
17033 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17034 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17035 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17036 * malloc/obstack.c (_obstack_begin): Likewise.
17037 (_obstack_begin_1): Likewise.
17038 (_obstack_newchunk): Likewise.
17039 (_obstack_allocated_p): Likewise.
17040 (obstack_free): Likewise.
17041 (_obstack_memory_used): Likewise.
17042 * misc/getttyent.c (getttynam): Likewise.
17043 (getttyent): Likewise.
17046 * misc/getusershell.c (initshells): Likewise.
17047 * misc/syslog.c (__vsyslog_chk): Likewise.
17048 * misc/ttyslot.c (ttyslot): Likewise.
17049 * nis/nis_hash.c (__nis_hash): Likewise.
17050 * posix/fnmatch_loop.c (FCT): Likewise.
17051 * posix/getconf.c (print_all): Likewise.
17053 * posix/getopt.c (exchange): Likewise.
17054 * posix/glob.c (globfree): Likewise.
17055 (prefix_array): Likewise.
17056 (__glob_pattern_type): Likewise.
17057 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17058 (NS_GET32): Likewise.
17059 (NS_PUT16): Likewise.
17060 (NS_PUT32): Likewise.
17061 * resolv/gethnamaddr.c (getanswer): Likewise.
17062 (gethostbyname2): Likewise.
17063 (gethostbyaddr): Likewise.
17064 (_gethtent): Likewise.
17065 (_gethtbyname2): Likewise.
17066 (_gethtbyaddr): Likewise.
17067 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17068 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17069 * resolv/res_init.c (__res_vinit): Likewise.
17070 (net_mask): Likewise.
17071 * resolv/res_mkquery.c (outchar): Likewise.
17073 * stdio-common/printf_fp.c (outchar): Likewise.
17075 * stdio-common/printf_fphex.c (outchar): Likewise.
17077 * stdio-common/printf_size.c (outchar): Likewise.
17079 * stdio-common/test_rdwr.c (main): Likewise.
17080 * stdio-common/tfformat.c (matches): Likewise.
17081 * stdio-common/vfprintf.c (outchar): Likewise.
17082 (printf_unknown): Likewise.
17083 (buffered_vfprintf): Likewise.
17084 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17085 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17086 (ReadFile): Likewise.
17087 * stdlib/qsort.c (SWAP): Likewise.
17088 (_quicksort): Likewise.
17089 * stdlib/setenv.c (__add_to_environ): Likewise.
17090 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17091 * stdlib/strtol_l.c (__strtol_l): Likewise.
17092 * stdlib/tst-strtod.c (main): Likewise.
17093 * stdlib/tst-strtol.c (main): Likewise.
17094 * stdlib/tst-strtoll.c (main): Likewise.
17095 * string/bits/string2.h (__strcmp_cc): Likewise.
17096 (__strcmp_cg): Likewise.
17097 (__strcspn_c1): Likewise.
17098 (__strcspn_c2): Likewise.
17099 (__strcspn_c3): Likewise.
17100 (__strspn_c1): Likewise.
17101 (__strspn_c2): Likewise.
17102 (__strspn_c3): Likewise.
17103 (__strsep_1c): Likewise.
17104 (__strsep_2c): Likewise.
17105 (__strsep_3c): Likewise.
17106 * string/memccpy.c (__memccpy): Likewise.
17107 * string/stpcpy.c (__stpcpy): Likewise.
17108 * string/strcmp.c (strcmp): Likewise.
17109 * string/strrchr.c (strrchr): Likewise.
17110 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17112 * sysdeps/mach/hurd/getcwd.c
17113 (_hurd_canonicalize_directory_name_internal): Likewise.
17114 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17115 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17116 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17117 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17118 Likewise, in both definitions.
17119 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17121 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17122 64] (__bswap_64): Likewise.
17123 * time/test_time.c (main): Likewise.
17124 * time/tzfile.c (__tzfile_read): Likewise.
17125 (__tzfile_compute): Likewise.
17126 * time/tzset.c (__tzset_parse_tz): Likewise.
17127 (tzset_internal): Likewise.
17128 (compute_change): Likewise.
17129 * wcsmbs/wcscat.c (__wcscat): Likewise.
17130 * wcsmbs/wcschr.c (wcschr): Likewise.
17131 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17132 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17133 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17134 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17135 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17136 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17137 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17138 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17139 * wcsmbs/wmemset.c (wmemset): Likewise.
17141 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17143 * scripts/config.guess: Update to version 2013-05-16.
17144 * scripts/config.sub: Update to version 2013-04-24.
17145 * scripts/install-sh: Update to version 2011-11-20.07.
17146 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17147 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17149 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17151 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17152 * elf/sln.c: Likewise.
17153 * hurd/hurd/ioctl.h: Likewise.
17154 * hurd/hurdmalloc.c: Likewise.
17155 * hurd/xattr.c: Likewise.
17156 * include/shlib-compat.h: Likewise.
17157 * inet/ruserpass.c: Likewise.
17158 * libio/iofgets_u.c: Likewise.
17159 * libio/iofgetws_u.c: Likewise.
17160 * locale/programs/ld-identification.c: Likewise.
17161 * locale/programs/ld-time.c: Likewise.
17162 * mach/msg-destroy.c: Likewise.
17163 * nss/nss_files/files-netgrp.c: Likewise.
17164 * resolv/res_data.c: Likewise.
17165 * soft-fp/op-1.h: Likewise.
17166 * soft-fp/op-2.h: Likewise.
17167 * soft-fp/op-4.h: Likewise.
17168 * soft-fp/op-common.h: Likewise.
17169 * stdio-common/printf_fphex.c: Likewise.
17170 * stdlib/strtod_l.c: Likewise.
17171 * sunrpc/rpc/clnt.h: Likewise.
17172 * sysdeps/generic/framestate.c: Likewise.
17173 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17174 * sysdeps/i386/bsd-setjmp.S: Likewise.
17175 * sysdeps/i386/__longjmp.S: Likewise.
17176 * sysdeps/i386/setjmp.S: Likewise.
17177 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17178 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17179 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17180 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17181 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17182 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17183 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17184 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17185 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17186 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17187 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17188 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17189 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17190 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17191 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17192 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17193 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17194 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17195 * sysdeps/ieee754/support.c: Likewise.
17196 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17197 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17198 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17199 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17200 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17201 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17202 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17203 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17204 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17205 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17206 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17207 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17208 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17209 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17210 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17211 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17212 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17215 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17217 * posix/transbug.c: Remove executable mode.
17219 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17221 * crypt/speeds.c: Remove trailing whitespace.
17222 * dlfcn/default.c: Likewise.
17223 * elf/ifuncdep2.c: Likewise.
17224 * elf/ifuncmain1.c: Likewise.
17225 * elf/ifuncmain1vis.c: Likewise.
17226 * elf/testobj.h: Likewise.
17227 * elf/tst-stackguard1.c: Likewise.
17228 * gmon/sys/gmon.h: Likewise.
17229 * hurd/hurdmsg.c: Likewise.
17230 * hurd/new-fd.c: Likewise.
17231 * hurd/ports-get.c: Likewise.
17232 * iconvdata/ibm1008_420.c: Likewise.
17233 * inet/tst-getni1.c: Likewise.
17234 * inet/tst-getni2.c: Likewise.
17235 * libio/ioungetc.c: Likewise.
17236 * libio/wfiledoalloc.c: Likewise.
17237 * manual/libm-err-tab.pl: Likewise.
17238 * math/w_dremf.c: Likewise.
17239 * misc/ftruncate.c: Likewise.
17240 * posix/bug-glob2.c: Likewise.
17241 * posix/tst-pcre.c: Likewise.
17242 * posix/wait4.c: Likewise.
17243 * resolv/README: Likewise.
17244 * resolv/res_debug.h: Likewise.
17245 * resolv/tst-inet_ntop.c: Likewise.
17246 * setjmp/bug269-setjmp.c: Likewise.
17247 * soft-fp/extended.h: Likewise.
17248 * soft-fp/op-1.h: Likewise.
17249 * soft-fp/op-2.h: Likewise.
17250 * soft-fp/op-4.h: Likewise.
17251 * soft-fp/op-8.h: Likewise.
17252 * soft-fp/testit.c: Likewise.
17253 * stdio-common/bug16.c: Likewise.
17254 * stdlib/random.c: Likewise.
17255 * sunrpc/rpcsvc/rquota.x: Likewise.
17256 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17257 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17258 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17259 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17260 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17261 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17262 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17263 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17264 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17265 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17266 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17267 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17268 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17269 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17270 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17271 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17272 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17273 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17274 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17275 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17276 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17277 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17278 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17279 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17280 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17281 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17282 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17283 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17284 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17285 * sysdeps/ieee754/s_lib_version.c: Likewise.
17286 * sysdeps/mach/hurd/check_fds.c: Likewise.
17287 * sysdeps/mach/hurd/getsockname.c: Likewise.
17288 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17289 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17290 * sysdeps/powerpc/bits/link.h: Likewise.
17291 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17292 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17293 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17294 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17295 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17296 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17297 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17298 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17299 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17300 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17301 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17302 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17303 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17304 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17305 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17306 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17307 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17308 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17309 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17310 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17311 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17312 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17313 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17314 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17315 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17316 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17317 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17318 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17319 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17320 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17321 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17322 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17323 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17324 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17325 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17326 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17327 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17328 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17329 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17330 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17331 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17332 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17333 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17334 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17335 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17336 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17337 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17338 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17339 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17340 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17341 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17342 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17343 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17344 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17345 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17346 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17347 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17348 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17349 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17350 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17351 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17352 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17353 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17354 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17355 * sysdeps/powerpc/sysdep.h: Likewise.
17356 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17357 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17358 * sysdeps/sh/dl-trampoline.S: Likewise.
17359 * sysdeps/sh/memset.S: Likewise.
17360 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17361 * sysdeps/sh/strlen.S: Likewise.
17362 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17363 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17364 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17365 * sysdeps/sparc/sparc32/rem.S: Likewise.
17366 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17367 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17368 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17369 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17370 * sysdeps/sparc/sparc32/urem.S: Likewise.
17371 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17372 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17373 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17374 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17375 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17376 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17377 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17378 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17379 * sysdeps/unix/bsd/times.c: Likewise.
17380 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17381 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17385 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17386 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17387 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17388 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17389 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17390 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17391 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17392 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17393 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17394 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17395 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17396 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17397 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17398 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17399 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17400 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17401 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17402 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17403 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17404 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17405 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17406 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17407 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17408 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17409 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17410 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17411 * sysdeps/x86_64/strcspn.S: Likewise.
17413 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17415 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17416 generated file. Regenerate properly from gen-translit.pl.
17417 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17418 locale/C-translit.h.
17420 2013-06-05 Andreas Schwab <schwab@suse.de>
17423 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17424 week as 6 instead of -1.
17425 * time/tst-strptime.c (day_tests): Add test case.
17427 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17429 * sysdeps/generic/math_private.h
17430 (libc_feholdexcept_setround_53bit): Replace with
17431 libc_feholdsetround_53bit.
17432 (libc_feupdateenv_53bit): Replace with
17433 libc_feresetround_53bit.
17434 (SET_RESTORE_ROUND_53BIT): Adjust.
17436 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17438 * string/test-strchrnul.c: Add copyright header.
17440 * posix/tst-getaddrinfo4.c: Increase test timeout.
17442 2013-06-03 Carlos O'Donell <carlos@redhat.com>
17445 * math/libm-test.inc (MAX_EXP): Remove
17447 (ulp): Use MIN_EXP - MANT_DIG.
17448 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17450 2013-05-31 Carlos O'Donell <carlos@redhat.com>
17452 * po/be.po: Revert last change.
17453 * po/zh_CN.po: Likewise.
17454 * po/header.pot: Likewise.
17456 2013-05-31 Joseph Myers <joseph@codesourcery.com>
17458 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17459 link-libc-deps to empty as target-specific variable.
17460 * Makerules (link-libc-args): New variable.
17461 (libc-for-link): Likewise.
17462 (link-libc-deps): Likewise.
17463 (lib%.so): Depend on $(link-libc-deps). Link with
17465 (build-module): Link with $(link-libc-args).
17466 (build-module-asneeded): Likewise.
17467 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17469 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17470 target-specific variable.
17471 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17472 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17473 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17475 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17477 ($(objpfx)libpcprofile.so): Likewise.
17478 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17480 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17481 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17482 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17484 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17485 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17486 * login/Makefile ($(objpfx)libutil.so): Likewise.
17487 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17488 * math/Makefile ($(objpfx)libm.so): Likewise.
17489 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17490 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17491 variable instead of depending directly on libc.
17492 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17493 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17495 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17497 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17498 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17499 ($(objpfx)libanl.so): Likewise.
17500 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17502 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17504 * sysdeps/i386/fpu/Makefile: Remove file.
17505 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17506 ($(objpfx)libm.so): Remove dependency on ld.so.
17508 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
17511 * nis/yp_xdr.c (XDRMAXNAME): Define.
17512 (XDRMAXRECORD): Define.
17513 (xdr_domainname): Use XDRMAXNAME.
17514 (xdr_mapname): Likewise.
17515 (xdr_peername): Likewise.
17516 (xdr_keydat): Use XDRMAXRECORD.
17517 (xdr_valdat): Likewise.
17519 2013-05-30 Jeff Law <law@redhat.com>
17522 * manual/errno.texi (ESTALE): Update to account for more than
17523 just NFS file systems.
17524 * sysdeps/gnu/errlist.c: Regenerated.
17526 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17529 * elf/Makefile (tests): Add tst-null-argv.
17530 (modules-names): Add tst-null-argv-lib.
17531 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17532 (tst-null-argv-ENV): Set environment for tst-null-argv.
17533 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17534 (RTLD_PROGNAME): New macro.
17535 * elf/tst-null-argv.c: New test case.
17536 * elf/tst-null-argv-lib.c: Library for test case.
17537 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17538 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17539 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17540 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17541 * elf/dl-init.c (call_init): Likewise.
17542 (_dl_init): Likewise.
17543 * elf/dl-load.c (print_search_path): Likewise.
17544 (_dl_map_object): Likewise.
17545 * elf/dl-lookup.c (do_lookup_x): Likewise.
17546 (add_dependency): Likewise.
17547 (_dl_lookup_symbol_x): Likewise.
17548 (_dl_debug_bindings): Likewise.
17549 * elf/dl-open.c (_dl_show_scope): Likewise.
17550 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17551 * elf/dl-version.c (match_symbol): Likewise.
17552 (_dl_check_map_versions): Likewise.
17553 * elf/rtld.c (dl_main): Likewise.
17554 (print_unresolved): Use RTLD_PROGNAME.
17555 (print_missing_version): Likewise.
17556 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17557 (elf_machine_rela): Likewise.
17558 * sysdeps/powerpc/powerpc32/dl-machine.c
17559 (__process_machine_rela): Likewise.
17560 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17562 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17564 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17566 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17567 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17569 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17571 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17573 2013-05-28 Carlos O'Donell <carlos@redhat.com>
17575 * po/be.po: Add descriptive title.
17576 * po/zh_CN.po: Likewise.
17577 * po/header.pot: Likewise.
17579 2013-05-28 Mike Frysinger <vapier@gentoo.org>
17581 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17583 (enlarge_archive): Likewise.
17585 2013-05-28 Ben North <ben@redfrontdoor.org>
17587 * manual/arith.texi (frexp): It is the magnitude of the return
17588 value which lies in [0.5, 1), not the return value itself.
17590 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17594 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17596 * stdio-common/bug26.c (main): Correct fscanf template.
17598 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17599 declare _dl_skip_args.
17601 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17604 * manual/platform.texi: Add missing @end deftypefun.
17606 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17609 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17610 bit of mantissa of 2^16382.
17611 * math/libm-test.inc (hypot_test_data): Add more tests.
17613 * math/libm-test.inc: Add drem and pow10 to list of tested
17615 (pow10_test): New function.
17616 (drem_test): Likewise.
17617 (drem_test_tonearest): Likewise.
17618 (drem_test_towardzero): Likewise.
17619 (drem_test_downward): Likewise.
17620 (drem_test_upward): Likewise.
17621 (main): Call the new functions.
17623 * math/libm-test.inc (finite_test_data): Remove.
17624 (finite_test): Run tests from isfinite_test_data.
17625 (gamma_test_data): Remove.
17626 (gamma_test): Run tests from lgamma_test_data.
17627 * sysdeps/i386/fpu/libm-test-ulps: Update.
17628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17630 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17632 * manual/platform.texi: Add PowerPC PPR function set documentation.
17633 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17636 2013-05-24 Carlos O'Donell <carlos@redhat.com>
17638 * math/libm-test.inc (MAX_EXP): Define.
17640 (ulp): New function.
17641 (check_float_internal): Use ULPDIFF.
17642 (cpow_test): Disable failing test.
17643 (check_ulp): Test ulp() implemetnation.
17644 (main): Call check_ulp before starting tests.
17646 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17648 * math/gen-libm-test.pl (generate_testfile): Do not handle
17649 START_DATA and END_DATA.
17650 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17652 (acos_tonearest_test_data): Likewise.
17653 (acos_towardzero_test_data): Likewise.
17654 (acos_downward_test_data): Likewise.
17655 (acos_upward_test_data): Likewise.
17656 (acosh_test_data): Likewise.
17657 (asin_test_data): Likewise.
17658 (asin_tonearest_test_data): Likewise.
17659 (asin_towardzero_test_data): Likewise.
17660 (asin_downward_test_data): Likewise.
17661 (asin_upward_test_data): Likewise.
17662 (asinh_test_data): Likewise.
17663 (atan_test_data): Likewise.
17664 (atanh_test_data): Likewise.
17665 (atan2_test_data): Likewise.
17666 (cabs_test_data): Likewise.
17667 (cacos_test_data): Likewise.
17668 (cacosh_test_data): Likewise.
17669 (carg_test_data): Likewise.
17670 (casin_test_data): Likewise.
17671 (casinh_test_data): Likewise.
17672 (catan_test_data): Likewise.
17673 (catanh_test_data): Likewise.
17674 (cbrt_test_data): Likewise.
17675 (ccos_test_data): Likewise.
17676 (ccosh_test_data): Likewise.
17677 (ceil_test_data): Likewise.
17678 (cexp_test_data): Likewise.
17679 (cimag_test_data): Likewise.
17680 (clog_test_data): Likewise.
17681 (clog10_test_data): Likewise.
17682 (conj_test_data): Likewise.
17683 (copysign_test_data): Likewise.
17684 (cos_test_data): Likewise.
17685 (cos_tonearest_test_data): Likewise.
17686 (cos_towardzero_test_data): Likewise.
17687 (cos_downward_test_data): Likewise.
17688 (cos_upward_test_data): Likewise.
17689 (cosh_test_data): Likewise.
17690 (cosh_tonearest_test_data): Likewise.
17691 (cosh_towardzero_test_data): Likewise.
17692 (cosh_downward_test_data): Likewise.
17693 (cosh_upward_test_data): Likewise.
17694 (cpow_test_data): Likewise.
17695 (cproj_test_data): Likewise.
17696 (creal_test_data): Likewise.
17697 (csin_test_data): Likewise.
17698 (csinh_test_data): Likewise.
17699 (csqrt_test_data): Likewise.
17700 (ctan_test_data): Likewise.
17701 (ctan_tonearest_test_data): Likewise.
17702 (ctan_towardzero_test_data): Likewise.
17703 (ctan_downward_test_data): Likewise.
17704 (ctan_upward_test_data): Likewise.
17705 (ctanh_test_data): Likewise.
17706 (ctanh_tonearest_test_data): Likewise.
17707 (ctanh_towardzero_test_data): Likewise.
17708 (ctanh_downward_test_data): Likewise.
17709 (ctanh_upward_test_data): Likewise.
17710 (erf_test_data): Likewise.
17711 (erfc_test_data): Likewise.
17712 (exp_test_data): Likewise.
17713 (exp_tonearest_test_data): Likewise.
17714 (exp_towardzero_test_data): Likewise.
17715 (exp_downward_test_data): Likewise.
17716 (exp_upward_test_data): Likewise.
17717 (exp10_test_data): Likewise.
17718 (exp2_test_data): Likewise.
17719 (expm1_test_data): Likewise.
17720 (fabs_test_data): Likewise.
17721 (fdim_test_data): Likewise.
17722 (finite_test_data): Likewise.
17723 (floor_test_data): Likewise.
17724 (fma_test_data): Likewise.
17725 (fma_towardzero_test_data): Likewise.
17726 (fma_downward_test_data): Likewise.
17727 (fma_upward_test_data): Likewise.
17728 (fmax_test_data): Likewise.
17729 (fmin_test_data): Likewise.
17730 (fmod_test_data): Likewise.
17731 (fpclassify_test_data): Likewise.
17732 (frexp_test_data): Likewise.
17733 (gamma_test_data): Likewise.
17734 (hypot_test_data): Likewise.
17735 (ilogb_test_data): Likewise.
17736 (isfinite_test_data): Likewise.
17737 (isgreater_test_data): Likewise.
17738 (isgreaterequal_test_data): Likewise.
17739 (isinf_test_data): Likewise.
17740 (isless_test_data): Likewise.
17741 (islessequal_test_data): Likewise.
17742 (islessgreater_test_data): Likewise.
17743 (isnan_test_data): Likewise.
17744 (isnormal_test_data): Likewise.
17745 (issignaling_test_data): Likewise.
17746 (isunordered_test_data): Likewise.
17747 (j0_test_data): Likewise.
17748 (j1_test_data): Likewise.
17749 (jn_test_data): Likewise.
17750 (ldexp_test_data): Likewise.
17751 (lgamma_test_data): Likewise.
17752 (lrint_test_data): Likewise.
17753 (lrint_tonearest_test_data): Likewise.
17754 (lrint_towardzero_test_data): Likewise.
17755 (lrint_downward_test_data): Likewise.
17756 (lrint_upward_test_data): Likewise.
17757 (llrint_test_data): Likewise.
17758 (llrint_tonearest_test_data): Likewise.
17759 (llrint_towardzero_test_data): Likewise.
17760 (llrint_downward_test_data): Likewise.
17761 (llrint_upward_test_data): Likewise.
17762 (log_test_data): Likewise.
17763 (log10_test_data): Likewise.
17764 (log1p_test_data): Likewise.
17765 (log2_test_data): Likewise.
17766 (logb_test_data): Likewise.
17767 (logb_downward_test_data): Likewise.
17768 (lround_test_data): Likewise.
17769 (llround_test_data): Likewise.
17770 (modf_test_data): Likewise.
17771 (nearbyint_test_data): Likewise.
17772 (nextafter_test_data): Likewise.
17773 (nexttoward_test_data): Likewise.
17774 (pow_test_data): Likewise.
17775 (pow_tonearest_test_data): Likewise.
17776 (pow_towardzero_test_data): Likewise.
17777 (pow_downward_test_data): Likewise.
17778 (pow_upward_test_data): Likewise.
17779 (remainder_test_data): Likewise.
17780 (remainder_tonearest_test_data): Likewise.
17781 (remainder_towardzero_test_data): Likewise.
17782 (remainder_downward_test_data): Likewise.
17783 (remainder_upward_test_data): Likewise.
17784 (remquo_test_data): Likewise.
17785 (rint_test_data): Likewise.
17786 (rint_tonearest_test_data): Likewise.
17787 (rint_towardzero_test_data): Likewise.
17788 (rint_downward_test_data): Likewise.
17789 (rint_upward_test_data): Likewise.
17790 (round_test_data): Likewise.
17791 (scalb_test_data): Likewise.
17792 (scalbn_test_data): Likewise.
17793 (scalbln_test_data): Likewise.
17794 (signbit_test_data): Likewise.
17795 (sin_test_data): Likewise.
17796 (sin_tonearest_test_data): Likewise.
17797 (sin_towardzero_test_data): Likewise.
17798 (sin_downward_test_data): Likewise.
17799 (sin_upward_test_data): Likewise.
17800 (sincos_test_data): Likewise.
17801 (sinh_test_data): Likewise.
17802 (sinh_tonearest_test_data): Likewise.
17803 (sinh_towardzero_test_data): Likewise.
17804 (sinh_downward_test_data): Likewise.
17805 (sinh_upward_test_data): Likewise.
17806 (sqrt_test_data): Likewise.
17807 (tan_test_data): Likewise.
17808 (tan_tonearest_test_data): Likewise.
17809 (tan_towardzero_test_data): Likewise.
17810 (tan_downward_test_data): Likewise.
17811 (tan_upward_test_data): Likewise.
17812 (tanh_test_data): Likewise.
17813 (tgamma_test_data): Likewise.
17814 (trunc_test_data): Likewise.
17815 (y0_test_data): Likewise.
17816 (y1_test_data): Likewise.
17817 (yn_test_data): Likewise.
17818 (significand_test_data): Likewise.
17820 * math/gen-libm-test.pl (@functions): Remove variable.
17821 (generate_testfile): Don't handle START and END lines.
17822 * math/libm-test.inc (START): New macro.
17824 (END_COMPLEX): Likewise.
17825 (acos_test): Use END macro without arguments.
17826 (acos_test_tonearest): Likewise.
17827 (acos_test_towardzero): Likewise.
17828 (acos_test_downward): Likewise.
17829 (acos_test_upward): Likewise.
17830 (acosh_test): Likewise.
17831 (asin_test): Likewise.
17832 (asin_test_tonearest): Likewise.
17833 (asin_test_towardzero): Likewise.
17834 (asin_test_downward): Likewise.
17835 (asin_test_upward): Likewise.
17836 (asinh_test): Likewise.
17837 (atan_test): Likewise.
17838 (atanh_test): Likewise.
17839 (atan2_test): Likewise.
17840 (cabs_test): Likewise.
17841 (cacos_test): Use END_COMPLEX macro without arguments.
17842 (cacosh_test): Likewise.
17843 (carg_test): Use END macro without arguments.
17844 (casin_test): Use END_COMPLEX macro without arguments.
17845 (casinh_test): Likewise.
17846 (catan_test): Likewise.
17847 (catanh_test): Likewise.
17848 (cbrt_test): Use END macro without arguments.
17849 (ccos_test): Use END_COMPLEX macro without arguments.
17850 (ccosh_test): Likewise.
17851 (ceil_test): Use END macro without arguments.
17852 (cexp_test): Use END_COMPLEX macro without arguments.
17853 (cimag_test): Use END macro without arguments.
17854 (clog_test): Use END_COMPLEX macro without arguments.
17855 (clog10_test): Likewise.
17856 (conj_test): Likewise.
17857 (copysign_test): Use END macro without arguments.
17858 (cos_test): Likewise.
17859 (cos_test_tonearest): Likewise.
17860 (cos_test_towardzero): Likewise.
17861 (cos_test_downward): Likewise.
17862 (cos_test_upward): Likewise.
17863 (cosh_test): Likewise.
17864 (cosh_test_tonearest): Likewise.
17865 (cosh_test_towardzero): Likewise.
17866 (cosh_test_downward): Likewise.
17867 (cosh_test_upward): Likewise.
17868 (cpow_test): Use END_COMPLEX macro without arguments.
17869 (cproj_test): Likewise.
17870 (creal_test): Use END macro without arguments.
17871 (csin_test): Use END_COMPLEX macro without arguments.
17872 (csinh_test): Likewise.
17873 (csqrt_test): Likewise.
17874 (ctan_test): Likewise.
17875 (ctan_test_tonearest): Likewise.
17876 (ctan_test_towardzero): Likewise.
17877 (ctan_test_downward): Likewise.
17878 (ctan_test_upward): Likewise.
17879 (ctanh_test): Likewise.
17880 (ctanh_test_tonearest): Likewise.
17881 (ctanh_test_towardzero): Likewise.
17882 (ctanh_test_downward): Likewise.
17883 (ctanh_test_upward): Likewise.
17884 (erf_test): Use END macro without arguments.
17885 (erfc_test): Likewise.
17886 (exp_test): Likewise.
17887 (exp_test_tonearest): Likewise.
17888 (exp_test_towardzero): Likewise.
17889 (exp_test_downward): Likewise.
17890 (exp_test_upward): Likewise.
17891 (exp10_test): Likewise.
17892 (exp2_test): Likewise.
17893 (expm1_test): Likewise.
17894 (fabs_test): Likewise.
17895 (fdim_test): Likewise.
17896 (finite_test): Likewise.
17897 (floor_test): Likewise.
17898 (fma_test): Likewise.
17899 (fma_test_towardzero): Likewise.
17900 (fma_test_downward): Likewise.
17901 (fma_test_upward): Likewise.
17902 (fmax_test): Likewise.
17903 (fmin_test): Likewise.
17904 (fmod_test): Likewise.
17905 (fpclassify_test): Likewise.
17906 (frexp_test): Likewise.
17907 (gamma_test): Likewise.
17908 (hypot_test): Likewise.
17909 (ilogb_test): Likewise.
17910 (isfinite_test): Likewise.
17911 (isgreater_test): Likewise.
17912 (isgreaterequal_test): Likewise.
17913 (isinf_test): Likewise.
17914 (isless_test): Likewise.
17915 (islessequal_test): Likewise.
17916 (islessgreater_test): Likewise.
17917 (isnan_test): Likewise.
17918 (isnormal_test): Likewise.
17919 (issignaling_test): Likewise.
17920 (isunordered_test): Likewise.
17921 (j0_test): Likewise.
17922 (j1_test): Likewise.
17923 (jn_test): Likewise.
17924 (ldexp_test): Likewise.
17925 (lgamma_test): Likewise.
17926 (lrint_test): Likewise.
17927 (lrint_test_tonearest): Likewise.
17928 (lrint_test_towardzero): Likewise.
17929 (lrint_test_downward): Likewise.
17930 (lrint_test_upward): Likewise.
17931 (llrint_test): Likewise.
17932 (llrint_test_tonearest): Likewise.
17933 (llrint_test_towardzero): Likewise.
17934 (llrint_test_downward): Likewise.
17935 (llrint_test_upward): Likewise.
17936 (log_test): Likewise.
17937 (log10_test): Likewise.
17938 (log1p_test): Likewise.
17939 (log2_test): Likewise.
17940 (logb_test): Likewise.
17941 (logb_test_downward): Likewise.
17942 (lround_test): Likewise.
17943 (llround_test): Likewise.
17944 (modf_test): Likewise.
17945 (nearbyint_test): Likewise.
17946 (nextafter_test): Likewise.
17947 (nexttoward_test): Likewise.
17948 (pow_test): Likewise.
17949 (pow_test_tonearest): Likewise.
17950 (pow_test_towardzero): Likewise.
17951 (pow_test_downward): Likewise.
17952 (pow_test_upward): Likewise.
17953 (remainder_test): Likewise.
17954 (remainder_test_tonearest): Likewise.
17955 (remainder_test_towardzero): Likewise.
17956 (remainder_test_downward): Likewise.
17957 (remainder_test_upward): Likewise.
17958 (remquo_test): Likewise.
17959 (rint_test): Likewise.
17960 (rint_test_tonearest): Likewise.
17961 (rint_test_towardzero): Likewise.
17962 (rint_test_downward): Likewise.
17963 (rint_test_upward): Likewise.
17964 (round_test): Likewise.
17965 (scalb_test): Likewise.
17966 (scalbn_test): Likewise.
17967 (scalbln_test): Likewise.
17968 (signbit_test): Likewise.
17969 (sin_test): Likewise.
17970 (sin_test_tonearest): Likewise.
17971 (sin_test_towardzero): Likewise.
17972 (sin_test_downward): Likewise.
17973 (sin_test_upward): Likewise.
17974 (sincos_test): Likewise.
17975 (sinh_test): Likewise.
17976 (sinh_test_tonearest): Likewise.
17977 (sinh_test_towardzero): Likewise.
17978 (sinh_test_downward): Likewise.
17979 (sinh_test_upward): Likewise.
17980 (sqrt_test): Likewise.
17981 (tan_test): Likewise.
17982 (tan_test_tonearest): Likewise.
17983 (tan_test_towardzero): Likewise.
17984 (tan_test_downward): Likewise.
17985 (tan_test_upward): Likewise.
17986 (tanh_test): Likewise.
17987 (tgamma_test): Likewise.
17988 (trunc_test): Likewise.
17989 (y0_test): Likewise.
17990 (y1_test): Likewise.
17991 (yn_test): Likewise.
17992 (significand_test): Likewise.
17994 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
17997 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17999 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18002 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18003 __ppc_mdoio and __ppc_mdoom.
18004 * manual/platform.texi: Document new functions __ppc_yield,
18005 __ppc_mdoio and __ppc_mdoom.
18007 2013-05-22 Carlos O'Donell <carlos@redhat.com>
18009 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18010 (main): Mention "tls" pseudo-hwcap is legacy.
18011 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18013 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18015 * math/gen-libm-test.pl (parse_args): Output only string of
18016 arguments as text for test name, not full call or descriptions of
18017 tests for extra outputs.
18018 (generate_testfile): Do not pass function name to parse_args.
18019 Generate this_func variable from START.
18020 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18022 (struct test_ff_f_data): Likewise.
18023 (test_ff_f_data_nexttoward): Likewise.
18024 (struct test_fi_f_data): Likewise.
18025 (struct test_fl_f_data): Likewise.
18026 (struct test_if_f_data): Likewise.
18027 (struct test_fff_f_data): Likewise.
18028 (struct test_c_f_data): Likewise.
18029 (struct test_f_f1_data): Likewise. Remove field extra_name.
18030 (struct test_fF_f1_data): Likewise.
18031 (struct test_ffI_f1_data): Likewise.
18032 (struct test_c_c_data): Rename test_name field to arg_str.
18033 (struct test_cc_c_data): Likewise.
18034 (struct test_f_i_data): Likewise.
18035 (struct test_ff_i_data): Likewise.
18036 (struct test_f_l_data): Likewise.
18037 (struct test_f_L_data): Likewise.
18038 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18040 (COMMON_TEST_SETUP): New macro.
18041 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18042 (COMMON_TEST_CLEANUP): Likewise.
18043 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18044 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18046 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18047 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18049 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18050 (RUN_TEST_fff_f): Take argument string. Call new setup and
18052 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18053 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18055 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18056 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18058 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18059 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18061 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18062 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18064 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18065 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18067 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18068 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18070 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18071 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18073 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18074 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18076 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18077 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18079 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18080 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18082 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18083 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18085 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18086 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18088 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18089 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18091 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18092 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18094 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18095 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18097 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18099 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18101 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18102 to _sifields.sigfault.
18103 (si_addr_lsb): Define new macro.
18104 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18105 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18106 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18108 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18111 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18113 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18115 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18116 loading the domain.
18118 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18120 * math/gen-libm-test.pl (parse_args): Do not include expected
18121 result in test name.
18122 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18123 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18124 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18125 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18126 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18129 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18131 * benchtests/Makefile: Sort function entries.
18133 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18134 tanh, asinh, acosh, atanh.
18135 * benchtests/acos-inputs: New file.
18136 * benchtests/acosh-inputs: New file.
18137 * benchtests/asin-inputs: New file.
18138 * benchtests/asinh-inputs: New file.
18139 * benchtests/atanh-inputs: New file.
18140 * benchtests/cosh-inputs: New file.
18141 * benchtests/log-inputs: New file.
18142 * benchtests/sinh-inputs: New file.
18143 * benchtests/tanh-inputs: New file.
18145 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18148 * posix/tst-getaddrinfo4.c: New test.
18149 * posix/Makefile (tests): Add it.
18151 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18154 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18155 when no services were used.
18156 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18157 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18159 2013-05-21 Andreas Schwab <schwab@suse.de>
18162 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18163 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18165 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18166 redundant variable declarations and reallocation of buffer when
18167 parsing as IPv6 address. Always set NSS status when called from
18168 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18169 buffer too small. Correct computation of needed size.
18170 * nss/Makefile (tests): Add test-digits-dots.
18171 * nss/test-digits-dots.c: New test.
18173 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18175 * benchtests/Makefile: Remove instructions for adding
18177 * benchtests/README: New file to explain how to execute and
18178 enhance the benchmark tests.
18180 2013-05-21 Andreas Schwab <schwab@suse.de>
18183 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18184 * setjmp/tst-sigsetjmp.c: New test.
18186 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18188 * sysdeps/x86_64/memset.S (memset): New implementation.
18189 (__bzero): Likewise.
18190 (__memset_tail): New function.
18192 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18194 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18195 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18196 __memcpy_sse2_unaligned ifunc selection.
18197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18198 Add memcpy-sse2-unaligned.S.
18199 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18200 Add: __memcpy_sse2_unaligned.
18202 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18205 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18206 math_force_eval before restoring floating-point envrionment.
18207 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18208 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18210 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18212 (__nearbyintl): Use math_force_eval before restoring
18213 floating-point environment.
18214 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18216 * math/gen-libm-test.pl (special_functions): Remove.
18217 (parse_args): Don't handle TEST_extra. Handle functions with no
18219 * math/libm-test.inc (struct test_sincos_data): Replace with
18220 struct test_fFF_11_data.
18221 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18222 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18223 (sincos_test_data): Change element type to struct
18224 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18225 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18226 RUN_TEST_LOOP_sincos.
18227 * math/README.libm-test: Don't mention special handling of
18228 individual functions.
18229 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18230 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18231 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18232 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18233 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18236 * math/gen-libm-test.pl (get_variable): Remove function.
18237 (parse_args): Don't show pointer parameters to call in test
18238 names. Use "extra output N" in test names for extra outputs
18239 rather than naming variables.
18241 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18244 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18245 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18246 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18248 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18250 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18253 * math/gen-libm-test.pl (@tests): Remove variable.
18254 ($count): Likewise.
18255 (new_test): Remove function.
18256 (show_exceptions): New function.
18257 (special_functions): Use show_exceptions instead of new_test.
18258 (parse_args): Likewise.
18259 (generate_testfile): Pass only function name in generated call to
18260 print_max_error or print_complex_max_error.
18261 (get_ulps): Do not handle complex tests specially.
18262 (output_test): Rename to ...
18263 (get_all_ulps_for_test): ... this. Return a string rather than
18264 printing to a file. Require ulps to be present.
18265 (output_ulps): Generate arrays rather than #defines.
18266 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18267 (struct ulp_data): New type.
18268 (BUILD_COMPLEX_ULP): Remove macro.
18269 (compare_ulp_data): New function.
18270 (find_ulps): Likewise.
18271 (find_test_ulps): Likewise.
18272 (find_function_ulps): Likewise.
18273 (find_complex_function_ulps): Likewise.
18274 (print_max_error): Determine allowed ulps using
18275 find_function_ulps.
18276 (print_complex_max_error): Determine allowed ulps using
18277 find_complex_function_ulps.
18278 (check_float_internal): Determine max ulps using find_test_ulps.
18279 (check_float): Do not take max_ulp parameter. Update call to
18280 check_float_internal.
18281 (check_complex): Likewise.
18282 (check_int): Do not take max_ulp parameter.
18283 (check_long): Likewise.
18284 (check_bool): Likewise.
18285 (check_longlong): Likewise.
18286 (struct test_f_f_data): Remove max_ulp field.
18287 (struct test_ff_f_data): Likewise.
18288 (struct test_ff_f_data_nexttoward): Likewise.
18289 (struct test_fi_f_data): Likewise.
18290 (struct test_fl_f_data): Likewise.
18291 (struct test_if_f_data): Likewise.
18292 (struct test_fff_f_data): Likewise.
18293 (struct test_c_f_data): Likewise.
18294 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18295 (struct test_fF_f1_data): Likewise.
18296 (struct test_ffI_f1_data): Likewise.
18297 (struct test_c_c_data): Remove max_ulp field.
18298 (struct test_cc_c_data): Likewise.
18299 (struct test_f_i_data): Likewise.
18300 (struct test_ff_i_data): Likewise.
18301 (struct test_f_l_data): Likewise.
18302 (struct test_f_L_data): Likewise.
18303 (struct test_sincos_data): Likewise.
18304 (RUN_TEST_f_f): Do not handle ulps.
18305 (RUN_TEST_LOOP_f_f): Likewise.
18306 (RUN_TEST_2_f): Likewise.
18307 (RUN_TEST_LOOP_2_f): Likewise.
18308 (RUN_TEST_fff_f): Likewise.
18309 (RUN_TEST_LOOP_fff_f): Likewise.
18310 (RUN_TEST_c_f): Likewise.
18311 (RUN_TEST_LOOP_c_f): Likewise.
18312 (RUN_TEST_f_f1): Likewise.
18313 (RUN_TEST_LOOP_f_f1): Likewise.
18314 (RUN_TEST_fF_f1): Likewise.
18315 (RUN_TEST_LOOP_fF_f1): Likewise.
18316 (RUN_TEST_fI_f1): Likewise.
18317 (RUN_TEST_LOOP_fI_f1): Likewise.
18318 (RUN_TEST_ffI_f1): Likewise.
18319 (RUN_TEST_LOOP_ffI_f1): Likewise.
18320 (RUN_TEST_c_c): Likewise.
18321 (RUN_TEST_LOOP_c_c): Likewise.
18322 (RUN_TEST_cc_c): Likewise.
18323 (RUN_TEST_LOOP_cc_c): Likewise.
18324 (RUN_TEST_f_i): Likewise.
18325 (RUN_TEST_LOOP_f_i): Likewise.
18326 (RUN_TEST_f_i_tg): Likewise.
18327 (RUN_TEST_LOOP_f_i_tg): Likewise.
18328 (RUN_TEST_ff_i_tg): Likewise.
18329 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18330 (RUN_TEST_f_b): Likewise.
18331 (RUN_TEST_LOOP_f_b): Likewise.
18332 (RUN_TEST_f_b_tg): Likewise.
18333 (RUN_TEST_LOOP_f_b_tg): Likewise.
18334 (RUN_TEST_f_l): Likewise.
18335 (RUN_TEST_LOOP_f_l): Likewise.
18336 (RUN_TEST_f_L): Likewise.
18337 (RUN_TEST_LOOP_f_L): Likewise.
18338 (RUN_TEST_sincos): Likewise.
18339 (RUN_TEST_LOOP_sincos): Likewise.
18341 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18345 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18346 main case of finite arguments, set rounding mode to FE_TONEAREST
18347 and discard exceptions.
18348 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18350 (remainder_tonearest_test_data): New variable.
18351 (remainder_test_tonearest): New function.
18352 (remainder_towardzero_test_data): New variable.
18353 (remainder_test_towardzero): New function.
18354 (remainder_downward_test_data): New variable.
18355 (remainder_test_downward): New function.
18356 (remainder_upward_test_data): New variable.
18357 (remainder_test_upward): New function.
18358 (main): Call the new test functions.
18360 * math/libm-test.inc (struct test_f_f1_data): Remove field
18362 (struct test_fF_f1_data): Likewise.
18363 (struct test_ffI_f1_data): Likewise.
18364 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18365 based on value of EXTRA_EXPECTED.
18366 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18367 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18368 EXTRA_VAR based on value of EXTRA_EXPECTED.
18369 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18370 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18371 EXTRA_VAR based on value of EXTRA_EXPECTED.
18372 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18373 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18374 EXTRA_VAR based on value of EXTRA_EXPECTED.
18375 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18376 * math/gen-libm-test.pl (parse_args): Don't output initializers
18377 for extra output values.
18379 * math/libm-test.inc (check_int): Expect result to be exactly
18380 equal to expected value and do not handle ulps.
18381 (check_long): Likewise.
18382 (check_longlong): Likewise.
18384 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18386 (cimag_test_data): Likewise.
18387 (conj_test_data): Likewise.
18388 (copysign_test_data): Likewise.
18389 (cproj_test_data): Likewise.
18390 (creal_test_data): Likewise.
18391 (fabs_test_data): Likewise.
18392 (fdim_test_data): Likewise.
18393 (finite_test_data): Likewise.
18394 (floor_test_data): Likewise.
18395 (fmax_test_data): Likewise.
18396 (fmin_test_data): Likewise.
18397 (fmod_test_data): Likewise.
18398 (fpclassify_test_data): Likewise.
18399 (frexp_test_data): Likewise.
18400 (ilogb_test_data): Likewise.
18401 (isfinite_test_data): Likewise.
18402 (isgreater_test_data): Likewise.
18403 (isgreaterequal_test_data): Likewise.
18404 (isinf_test_data): Likewise.
18405 (isless_test_data): Likewise.
18406 (islessequal_test_data): Likewise.
18407 (islessgreater_test_data): Likewise.
18408 (isnan_test_data): Likewise.
18409 (isnormal_test_data): Likewise.
18410 (issignaling_test_data): Likewise.
18411 (isunordered_test_data): Likewise.
18412 (ldexp_test_data): Likewise.
18413 (lrint_test_data): Likewise.
18414 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18415 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18416 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18417 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18418 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18419 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18421 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18422 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18423 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18424 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18426 (lrint_downward_test_data): Test for "inexact" exceptions.
18427 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18428 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18429 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18431 (lrint_upward_test_data): Test for "inexact" exceptions.
18432 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18434 (llrint_test_data): Test for "inexact" exceptions.
18435 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18436 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18437 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18438 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18439 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18440 (llrint_downward_test_data): Test for "inexact" exceptions.
18441 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18442 (llrint_upward_test_data): Test for "inexact" exceptions.
18443 (logb_test_data): Likewise.
18444 (logb_downward_test_data): Likewise.
18445 (nextafter_test_data): Likewise.
18446 (nexttoward_test_data): Likewise.
18447 (remainder_test_data): Likewise.
18448 (remquo_test_data): Likewise.
18449 (scalbn_test_data): Likewise.
18450 (scalbln_test_data): Likewise.
18451 (signbit_test_data): Likewise.
18452 (sqrt_test_data): Likewise.
18453 (significand_test_data): Likewise.
18455 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18458 * benchtests/bench-modf.c (struct args): Mark arg0 as
18460 * scripts/bench.pl: Mark members of struct args as volatile.
18462 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18465 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18466 negative infinity on POWER6 or lower.
18467 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18469 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18472 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18473 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18474 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18475 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18476 (_FP_SETQNAN): New macro.
18477 (_FP_SETQNAN_SEMIRAW): Likewise.
18478 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18479 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18480 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18481 (FP_EXTEND): Use _FP_FRAC_SNANP.
18482 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18483 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18485 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18487 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18490 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18492 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18493 with DIVIDE_BY_ZERO_EXCEPTION.
18494 (gamma_test_data): Likewise.
18495 (lgamma_test_data): Likewise.
18496 (log_test_data): Likewise.
18497 (log10_test_data): Likewise.
18498 (log2_test_data): Likewise.
18499 (tgamma_test_data): Likewise.
18501 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18502 (acos_test_tonearest): Likewise.
18503 (acos_test_towardzero): Likewise.
18504 (acos_test_downward): Likewise.
18505 (acos_test_upward): Likewise.
18506 (acosh_test): Likewise.
18507 (asin_test): Likewise.
18508 (asin_test_tonearest): Likewise.
18509 (asin_test_towardzero): Likewise.
18510 (asin_test_downward): Likewise.
18511 (asin_test_upward): Likewise.
18512 (asinh_test): Likewise.
18513 (atan_test): Likewise.
18514 (atanh_test): Likewise.
18515 (atan2_test): Likewise.
18516 (cabs_test): Likewise.
18517 (cacos_test): Likewise.
18518 (cacosh_test): Likewise.
18519 (casin_test): Likewise.
18520 (casinh_test): Likewise.
18521 (catan_test): Likewise.
18522 (catanh_test): Likewise.
18523 (cbrt_test): Likewise.
18524 (ccos_test): Likewise.
18525 (ccosh_test): Likewise.
18526 (cexp_test): Likewise.
18527 (clog_test): Likewise.
18528 (clog10_test): Likewise.
18529 (cos_test): Likewise.
18530 (cos_test_tonearest): Likewise.
18531 (cos_test_towardzero): Likewise.
18532 (cos_test_downward): Likewise.
18533 (cos_test_upward): Likewise.
18534 (cosh_test): Likewise.
18535 (cosh_test_tonearest): Likewise.
18536 (cosh_test_towardzero): Likewise.
18537 (cosh_test_downward): Likewise.
18538 (cosh_test_upward): Likewise.
18539 (cpow_test): Likewise.
18540 (csin_test): Likewise.
18541 (csinh_test): Likewise.
18542 (csqrt_test): Likewise.
18543 (ctan_test): Likewise.
18544 (ctan_test_tonearest): Likewise.
18545 (ctan_test_towardzero): Likewise.
18546 (ctan_test_downward): Likewise.
18547 (ctan_test_upward): Likewise.
18548 (ctanh_test): Likewise.
18549 (ctanh_test_tonearest): Likewise.
18550 (ctanh_test_towardzero): Likewise.
18551 (ctanh_test_downward): Likewise.
18552 (ctanh_test_upward): Likewise.
18553 (erf_test): Likewise.
18554 (erfc_test): Likewise.
18555 (exp_test): Likewise.
18556 (exp_test_tonearest): Likewise.
18557 (exp_test_towardzero): Likewise.
18558 (exp_test_downward): Likewise.
18559 (exp_test_upward): Likewise.
18560 (exp10_test): Likewise.
18561 (exp2_test): Likewise.
18562 (expm1_test): Likewise.
18563 (fmod_test): Likewise.
18564 (gamma_test): Likewise.
18565 (hypot_test): Likewise.
18566 (j0_test): Likewise.
18567 (j1_test): Likewise.
18568 (jn_test): Likewise.
18569 (lgamma_test): Likewise.
18570 (log_test): Likewise.
18571 (log10_test): Likewise.
18572 (log1p_test): Likewise.
18573 (log2_test): Likewise.
18574 (logb_test_downward): Likewise.
18575 (pow_test): Likewise.
18576 (pow_test_tonearest): Likewise.
18577 (pow_test_towardzero): Likewise.
18578 (pow_test_downward): Likewise.
18579 (pow_test_upward): Likewise.
18580 (remainder_test): Likewise.
18581 (remquo_test): Likewise.
18582 (sin_test): Likewise.
18583 (sin_test_tonearest): Likewise.
18584 (sin_test_towardzero): Likewise.
18585 (sin_test_downward): Likewise.
18586 (sin_test_upward): Likewise.
18587 (sincos_test): Likewise.
18588 (sinh_test): Likewise.
18589 (sinh_test_tonearest): Likewise.
18590 (sinh_test_towardzero): Likewise.
18591 (sinh_test_downward): Likewise.
18592 (sinh_test_upward): Likewise.
18593 (sqrt_test): Likewise.
18594 (tan_test): Likewise.
18595 (tan_test_tonearest): Likewise.
18596 (tan_test_towardzero): Likewise.
18597 (tan_test_downward): Likewise.
18598 (tan_test_upward): Likewise.
18599 (tanh_test): Likewise.
18600 (tgamma_test): Likewise.
18601 (y0_test): Likewise.
18602 (y1_test): Likewise.
18603 (yn_test): Likewise.
18605 * math/gen-libm-test.pl (adjust_arg): Remove function.
18606 (special_function): Remove argument $in_func. Only handle
18607 generating output for tables of tests, not inside functions.
18608 (parse_args): Likewise.
18609 (generate_testfile): Remove variable $in_func. Update call to
18611 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18612 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18613 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18614 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18615 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18616 (MAX_VALUE_INIT): Rename macro to max_value.
18617 (MIN_VALUE_INIT): Rename macro to min_value.
18618 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18619 (plus_zero): Remove variable.
18620 (minus_zero): Likewise.
18621 (plus_infty): Likewise.
18622 (minus_infty): Likewise.
18623 (qnan_value): Likewise.
18624 (max_value): Likewise.
18625 (min_value): Likewise.
18626 (min_subnorm_value): Likewise.
18628 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18630 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18631 uint64_t or uint32_t usage.
18632 * crypt/sha256-block.c: Likewise.
18633 * crypt/sha256-crypt.c: Likewise.
18634 * crypt/sha256.c: Likewise.
18635 * crypt/sha512-block.c: Likewise.
18636 * crypt/sha512-crypt.c: Likewise.
18637 * crypt/sha512.c: Likewise.
18638 * debug/backtrace-tst.c: Likewise.
18639 * debug/pcprofiledump.c: Likewise.
18640 * elf/cache.c: Likewise.
18641 * elf/dl-cache.c: Likewise.
18642 * elf/dl-misc.c: Likewise.
18643 * elf/dl-profile.c: Likewise.
18644 * elf/dl-support.c: Likewise.
18645 * elf/ldconfig.c: Likewise.
18646 * elf/sprof.c: Likewise.
18647 * iconv/dummy-repertoire.c: Likewise.
18648 * iconv/iconv_charmap.c: Likewise.
18649 * iconv/skeleton.c: Likewise.
18650 * iconvdata/8bit-generic.c: Likewise.
18651 * iconvdata/cp737.h: Likewise.
18652 * iconvdata/cp775.h: Likewise.
18653 * iconvdata/ibm1008.h: Likewise.
18654 * iconvdata/ibm1025.h: Likewise.
18655 * iconvdata/ibm1046.h: Likewise.
18656 * iconvdata/ibm1097.h: Likewise.
18657 * iconvdata/ibm1112.h: Likewise.
18658 * iconvdata/ibm1122.h: Likewise.
18659 * iconvdata/ibm1123.h: Likewise.
18660 * iconvdata/ibm1124.h: Likewise.
18661 * iconvdata/ibm1129.h: Likewise.
18662 * iconvdata/ibm1130.h: Likewise.
18663 * iconvdata/ibm1132.h: Likewise.
18664 * iconvdata/ibm1133.h: Likewise.
18665 * iconvdata/ibm1137.h: Likewise.
18666 * iconvdata/ibm1140.h: Likewise.
18667 * iconvdata/ibm1141.h: Likewise.
18668 * iconvdata/ibm1142.h: Likewise.
18669 * iconvdata/ibm1143.h: Likewise.
18670 * iconvdata/ibm1144.h: Likewise.
18671 * iconvdata/ibm1145.h: Likewise.
18672 * iconvdata/ibm1146.h: Likewise.
18673 * iconvdata/ibm1147.h: Likewise.
18674 * iconvdata/ibm1148.h: Likewise.
18675 * iconvdata/ibm1149.h: Likewise.
18676 * iconvdata/ibm1153.h: Likewise.
18677 * iconvdata/ibm1154.h: Likewise.
18678 * iconvdata/ibm1155.h: Likewise.
18679 * iconvdata/ibm1156.h: Likewise.
18680 * iconvdata/ibm1157.h: Likewise.
18681 * iconvdata/ibm1158.h: Likewise.
18682 * iconvdata/ibm1160.h: Likewise.
18683 * iconvdata/ibm1161.h: Likewise.
18684 * iconvdata/ibm1162.h: Likewise.
18685 * iconvdata/ibm1163.h: Likewise.
18686 * iconvdata/ibm1164.h: Likewise.
18687 * iconvdata/ibm1166.h: Likewise.
18688 * iconvdata/ibm1167.h: Likewise.
18689 * iconvdata/ibm12712.h: Likewise.
18690 * iconvdata/ibm1390.h: Likewise.
18691 * iconvdata/ibm1399.h: Likewise.
18692 * iconvdata/ibm16804.h: Likewise.
18693 * iconvdata/ibm4517.h: Likewise.
18694 * iconvdata/ibm4899.h: Likewise.
18695 * iconvdata/ibm4909.h: Likewise.
18696 * iconvdata/ibm4971.h: Likewise.
18697 * iconvdata/ibm5347.h: Likewise.
18698 * iconvdata/ibm803.h: Likewise.
18699 * iconvdata/ibm856.h: Likewise.
18700 * iconvdata/ibm901.h: Likewise.
18701 * iconvdata/ibm902.h: Likewise.
18702 * iconvdata/ibm9030.h: Likewise.
18703 * iconvdata/ibm9066.h: Likewise.
18704 * iconvdata/ibm921.h: Likewise.
18705 * iconvdata/ibm922.h: Likewise.
18706 * iconvdata/ibm9448.h: Likewise.
18707 * iconvdata/isiri-3342.h: Likewise.
18708 * iconvdata/jis0201.h: Likewise.
18709 * include/link.h: Likewise.
18710 * include/netdb.h: Likewise.
18711 * inet/check_native.c: Likewise.
18712 * inet/check_pf.c: Likewise.
18713 * inet/getipv4sourcefilter.c: Likewise.
18714 * inet/getnameinfo.c: Likewise.
18715 * inet/getsourcefilter.c: Likewise.
18716 * inet/htonl.c: Likewise.
18717 * inet/setipv4sourcefilter.c: Likewise.
18718 * inet/setsourcefilter.c: Likewise.
18719 * inet/test-inet6_opt.c: Likewise.
18720 * inet/tst-network.c: Likewise.
18721 * locale/C-collate.c: Likewise.
18722 * locale/C-ctype.c: Likewise.
18723 * locale/C-time.c: Likewise.
18724 * locale/C-translit.h: Likewise.
18725 * locale/loadarchive.c: Likewise.
18726 * locale/programs/3level.h: Likewise.
18727 * locale/programs/charmap.c: Likewise.
18728 * locale/programs/charmap.h: Likewise.
18729 * locale/programs/ld-address.c: Likewise.
18730 * locale/programs/ld-collate.c: Likewise.
18731 * locale/programs/ld-ctype.c: Likewise.
18732 * locale/programs/ld-identification.c: Likewise.
18733 * locale/programs/ld-measurement.c: Likewise.
18734 * locale/programs/ld-messages.c: Likewise.
18735 * locale/programs/ld-monetary.c: Likewise.
18736 * locale/programs/ld-name.c: Likewise.
18737 * locale/programs/ld-numeric.c: Likewise.
18738 * locale/programs/ld-paper.c: Likewise.
18739 * locale/programs/ld-telephone.c: Likewise.
18740 * locale/programs/ld-time.c: Likewise.
18741 * locale/programs/linereader.c: Likewise.
18742 * locale/programs/locale.c: Likewise.
18743 * locale/programs/locarchive.c: Likewise.
18744 * locale/programs/locfile.h: Likewise.
18745 * locale/programs/repertoire.c: Likewise.
18746 * locale/programs/simple-hash.c: Likewise.
18747 * locale/programs/simple-hash.h: Likewise.
18748 * malloc/memusage.c: Likewise.
18749 * malloc/memusagestat.c: Likewise.
18750 * nis/nis_defaults.c: Likewise.
18751 * nis/nis_hash.c: Likewise.
18752 * nis/nis_print.c: Likewise.
18753 * nis/nis_xdr.c: Likewise.
18754 * nscd/connections.c: Likewise.
18755 * nscd/hstcache.c: Likewise.
18756 * nscd/nscd_gethst_r.c: Likewise.
18757 * nscd/nscd_getserv_r.c: Likewise.
18758 * nscd/nscd_helper.c: Likewise.
18759 * nscd/servicescache.c: Likewise.
18760 * nss/makedb.c: Likewise.
18761 * nss/nss_db/db-XXX.c: Likewise.
18762 * nss/nss_db/db-initgroups.c: Likewise.
18763 * nss/nss_db/db-netgrp.c: Likewise.
18764 * nss/nss_files/files-network.c: Likewise.
18765 * nss/nss_files/files-parse.c: Likewise.
18766 * posix/bug-regex5.c: Likewise.
18767 * posix/fnmatch_loop.c: Likewise.
18768 * posix/regcomp.c: Likewise.
18769 * posix/regexec.c: Likewise.
18770 * posix/tst-rfc3484-2.c: Likewise.
18771 * posix/tst-rfc3484-3.c: Likewise.
18772 * posix/tst-rfc3484.c: Likewise.
18773 * resolv/nss_dns/dns-canon.c: Likewise.
18774 * resolv/nss_dns/dns-network.c: Likewise.
18775 * resolv/res_init.c: Likewise.
18776 * resolv/res_mkquery.c: Likewise.
18777 * resolv/tst-aton.c: Likewise.
18778 * stdlib/cxa_atexit.c: Likewise.
18779 * stdlib/cxa_finalize.c: Likewise.
18780 * stdlib/gen-fpioconst.c: Likewise.
18781 * stdlib/strtol_l.c: Likewise.
18782 * string/tst-endian.c: Likewise.
18783 * sunrpc/auth_des.c: Likewise.
18784 * sunrpc/clnt_udp.c: Likewise.
18785 * sunrpc/rtime.c: Likewise.
18786 * sunrpc/svcauth_des.c: Likewise.
18787 * sunrpc/xdr.c: Likewise.
18788 * sunrpc/xdr_intXX_t.c: Likewise.
18789 * sunrpc/xdr_rec.c: Likewise.
18790 * sysdeps/generic/ldconfig.h: Likewise.
18791 * sysdeps/generic/ldsodefs.h: Likewise.
18792 * sysdeps/generic/memusage.h: Likewise.
18793 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18794 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18795 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18796 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18797 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18798 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18799 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18800 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18801 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18802 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18803 * sysdeps/posix/getaddrinfo.c: Likewise.
18804 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18805 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18806 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18807 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18808 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18809 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18810 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18811 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18812 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18813 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18814 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18815 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18816 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18817 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18818 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18819 * sysdeps/x86_64/dl-tls.h: Likewise.
18820 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18821 * time/alt_digit.c: Likewise.
18822 * time/era.c: Likewise.
18823 * wcsmbs/tst-c16c32-1.c: Likewise.
18825 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18827 * math/libm-test.inc (struct test_sincos_data): New type.
18828 (RUN_TEST_LOOP_sincos): New macro.
18829 (sincos_test_data): New variable.
18830 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18832 2013-05-16 Richard Henderson <rth@redhat.com>
18834 * math/atest-exp2.c (LIMB64): New macro.
18835 (CONSTSZ): New macro.
18836 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18838 (print_mpn_fp): ... to function scope.
18839 (read_mpn_hex): Remove.
18840 (get_log2): Remove.
18841 (exp2_mpn): Use mp_log2.
18842 (main): Use mp_exp1.
18844 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18846 * math/libm-test.inc: Remove comment about not testing "inexact"
18848 (INEXACT_EXCEPTION): New macro.
18849 (NO_INEXACT_EXCEPTION): Likewise.
18850 (INVALID_EXCEPTION_OK): Update value.
18851 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18852 (OVERFLOW_EXCEPTION_OK): Likewise.
18853 (UNDERFLOW_EXCEPTION_OK): Likewise.
18854 (IGNORE_ZERO_INF_SIGN): Likewise.
18855 (ERRNO_UNCHANGED): Likewise.
18856 (ERRNO_EDOM): Likewise.
18857 (ERRNO_ERANGE): Likewise.
18858 (test_exceptions): Handle testing "inexact" exceptions.
18859 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18860 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18861 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18862 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18864 (rint_towardzero_test_data): Likewise.
18865 (rint_downward_test_data): Likewise.
18866 (rint_upward_test_data): Likewise.
18868 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18869 with OVERFLOW_EXCEPTION.
18870 (exp10_test_data): Likewise.
18871 (exp2_test_data): Likewise.
18872 (expm1_test_data): Likewise.
18873 (lgamma_test_data): Likewise.
18874 (pow_test_data): Likewise.
18875 (tgamma_test_data): Likewise.
18876 (yn_test_data): Remove duplicate test of overflow.
18878 * math/libm-test.inc (struct test_cc_c_data): New type.
18879 (RUN_TEST_LOOP_cc_c): New macro.
18880 (cpow_test_data): New variable.
18881 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18883 * math/libm-test.inc (struct test_f_L_data): New type.
18884 (RUN_TEST_LOOP_f_L): New macro.
18885 (llrint_test_data): New variable.
18886 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18887 (llrint_tonearest_test_data): New variable.
18888 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18889 (llrint_towardzero_test_data): New variable.
18890 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18891 (llrint_downward_test_data): New variable.
18892 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18893 (llrint_upward_test_data): New variable.
18894 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18895 (llround_test_data): New variable.
18896 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18898 2013-05-13 Peter Collingbourne <pcc@google.com>
18900 * math/atest-exp2.c (get_log2): Remove const attribute.
18902 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18904 * math/libm-test.inc (struct test_f_l_data): New type.
18905 (RUN_TEST_LOOP_f_l): New macro.
18906 (lrint_test_data): New variable.
18907 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18908 (lrint_tonearest_test_data): New variable.
18909 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18910 (lrint_towardzero_test_data): New variable.
18911 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18912 (lrint_downward_test_data): New variable.
18913 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18914 (lrint_upward_test_data): New variable.
18915 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18916 (lround_test_data): New variable.
18917 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18919 2013-05-15 Peter Collingbourne <pcc@google.com>
18921 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18922 (EXTRACT_WORDS64) Use where appropriate.
18923 (INSERT_WORDS64) Likewise.
18925 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18926 constraints with x constraints.
18927 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18929 * malloc/obstack.c (_obstack_compat): Add initializer.
18931 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18933 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18934 si_trapno and add si_addr_lsb to _sifields.sigfault.
18935 (si_trapno): Remove macro.
18936 (si_addr_lsb): Define new macro.
18937 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18939 2013-05-15 Joseph Myers <joseph@codesourcery.com>
18941 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18942 instead of TEST_f_l.
18943 (llrint_test_tonearest): Likewise.
18944 (llrint_test_towardzero): Likewise.
18945 (llrint_test_downward): Likewise.
18946 (llrint_test_upward): Likewise.
18947 (llround_test): Likewise.
18949 * math/libm-test.inc (struct test_f_i_data): Add comment.
18950 (RUN_TEST_LOOP_f_b): New macro.
18951 (RUN_TEST_LOOP_f_b_tg): Likewise.
18952 (finite_test_data): New variable.
18953 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18954 (isfinite_test_data): New variable.
18955 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18956 (isinf_test_data): New variable.
18957 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18958 (isnan_test_data): New variable.
18959 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18960 (isnormal_test_data): New variable.
18961 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18962 (issignaling_test_data): New variable.
18963 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18964 (signbit_test_data): New variable.
18965 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18967 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18968 with INVALID_EXCEPTION.
18969 (acosh_test_data): Likewise.
18970 (asin_test_data): Likewise.
18971 (atanh_test_data): Likewise.
18972 (fmod_test_data): Likewise.
18973 (log_test_data): Likewise.
18974 (log10_test_data): Likewise.
18975 (log2_test_data): Likewise.
18976 (pow_test_data): Likewise.
18977 (sqrt_test_data): Likewise.
18978 (y0_test_data): Likewise.
18979 (y1_test_data): Likewise.
18980 (yn_test_data): Likewise.
18982 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18985 * math/libm-test.inc (struct test_ff_i_data): New type.
18986 (RUN_TEST_LOOP_ff_i_tg): New macro.
18987 (isgreater_test_data): New variable.
18988 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18989 (isgreaterequal_test_data): New variable.
18990 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18991 (isless_test_data): New variable.
18992 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18993 (islessequal_test_data): New variable.
18994 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18995 (islessgreater_test_data): New variable.
18996 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18997 (isunordered_test_data): New variable.
18998 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19000 2013-05-14 David S. Miller <davem@davemloft.net>
19002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19004 2013-05-14 Joseph Myers <joseph@codesourcery.com>
19006 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19008 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19010 (struct test_f_i_data): Change type of max_ulp to int.
19012 * math/libm-test.inc (test_ffI_f1_data): New type.
19013 (RUN_TEST_LOOP_ffI_f1): New macro.
19014 (remquo_test_data): New variable.
19015 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19017 * setjmp/tst-setjmp-fp.c: New file.
19018 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19019 (link-libm): New variable.
19020 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19022 * math/libm-test.inc (struct test_f_i_data): New type.
19023 (RUN_TEST_LOOP_f_i): New macro.
19024 (RUN_TEST_LOOP_f_i_tg): Likewise.
19025 (fpclassify_test_data): New variable.
19026 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19027 (ilogb_test_data): New variable.
19028 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19030 * math/libm-test.inc (scalbln_test): Correct function name in END
19033 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19034 (RUN_TEST_LOOP_fI_f1): New macro.
19035 (frexp_test_data): New variable.
19036 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19038 * math/libm-test.inc (struct test_fF_f1_data): New type.
19039 (RUN_TEST_LOOP_fF_f1): New macro.
19040 (modf_test_data): New variable.
19041 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19043 * math/libm-test.inc (struct test_f_f1_data): New type.
19044 (RUN_TEST_LOOP_f_f1): New macro.
19045 (gamma_test_data): New variable.
19046 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19047 (lgamma_test_data): New variable.
19048 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19050 2013-05-13 Carlos O'Donell <carlos@redhat.com>
19052 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19053 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19054 (main): Comment "tls" pseudo-hwcap.
19056 2013-05-13 Joseph Myers <joseph@codesourcery.com>
19058 * math/libm-test.inc (struct test_fl_f_data): New type.
19059 (RUN_TEST_LOOP_fl_f): New variable.
19060 (scalbln_test_data): New variable.
19061 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19063 * math/libm-test.inc (struct test_fi_f_data): New type.
19064 (RUN_TEST_LOOP_fi_f): New macro.
19065 (ldexp_test_data): New variable.
19066 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19067 (scalbn_test_data): New variable.
19068 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19070 * math/libm-test.inc (struct test_c_f_data): New type.
19071 (RUN_TEST_LOOP_c_f): New macro.
19072 (cabs_test_data): New variable.
19073 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19074 (carg_test_data): New variable.
19075 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19076 (cimag_test_data): New variable.
19077 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19078 (creal_test_data): New variable.
19079 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19081 * math/libm-test.inc (struct test_if_f_data): New type.
19082 (RUN_TEST_LOOP_if_f): New macro.
19083 (jn_test_data): New variable.
19084 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19085 (yn_test_data): New variable.
19086 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19088 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19090 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19092 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19093 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19095 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19097 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19098 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19099 (bench-deps): Add bench-timing.h.
19100 * benchtests-bench-skeleton.c: Include bench-timing.h.
19101 (main): Use TIMING_* macros instead of clock_gettime.
19102 * benchtests/bench-timing.h: New file.
19105 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19106 Renamed from _LIB_VERSION.
19107 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19109 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19111 * math/libm-test.inc (struct test_fff_f_data): New type.
19112 (RUN_TEST_LOOP_fff_f): New macro.
19113 (fma_test_data): New variable.
19114 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19115 (fma_towardzero_test_data): New variable.
19116 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19117 (fma_downward_test_data): New variable.
19118 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19119 (fma_upward_test_data): New variable.
19120 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19122 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19123 (struct test_c_c_data): New type.
19124 (RUN_TEST_LOOP_c_c): New macro.
19125 (cacos_test_data): New variable.
19126 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19127 (cacosh_test_data): New variable.
19128 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19129 (casin_test_data): New variable.
19130 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19131 (casinh_test_data): New variable.
19132 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19133 (catan_test_data): New variable.
19134 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19135 (catanh_test_data): New variable.
19136 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19137 (ccos_test_data): New variable.
19138 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19139 (ccosh_test_data): New variable.
19140 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19141 (cexp_test_data): New variable.
19142 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19143 (clog_test_data): New variable.
19144 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19145 (clog10_test_data): New variable.
19146 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19147 (conj_test_data): New variable.
19148 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19149 (cproj_test_data): New variable.
19150 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19151 (csin_test_data): New variable.
19152 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19153 (csinh_test_data): New variable.
19154 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19155 (csqrt_test_data): New variable.
19156 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19157 (ctan_test_data): New variable.
19158 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19159 (ctan_tonearest_test_data): New variable.
19160 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19161 (ctan_towardzero_test_data): New variable.
19162 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19163 (ctan_downward_test_data): New variable.
19164 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19165 (ctan_upward_test_data): New variable.
19166 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19167 (ctanh_test_data): New variable.
19168 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19169 (ctanh_tonearest_test_data): New variable.
19170 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19171 (ctanh_towardzero_test_data): New variable.
19172 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19173 (ctanh_downward_test_data): New variable.
19174 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19175 (ctanh_upward_test_data): New variable.
19176 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19177 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19180 * math/libm-test.inc (struct test_ff_f_data): New type.
19181 (struct test_ff_f_data_nexttoward): Likewise.
19182 (RUN_TEST_LOOP_2_f): New macro.
19183 (RUN_TEST_LOOP_ff_f): Likewise.
19184 (atan2_test_data): New variable.
19185 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19186 (copysign_test_data): New variable.
19187 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19188 (fdim_test_data): New variable.
19189 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19190 (fmax_test_data): New variable.
19191 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19192 (fmin_test_data): New variable.
19193 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19194 (fmod_test_data): New variable.
19195 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19196 (hypot_test_data): New variable.
19197 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19198 (nextafter_test_data): New variable.
19199 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19200 (nexttoward_test_data): New variable.
19201 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19202 (pow_test_data): New variable.
19203 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19204 (pow_tonearest_test_data): New variable.
19205 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19206 (pow_towardzero_test_data): New variable.
19207 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19208 (pow_downward_test_data): New variable.
19209 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19210 (pow_upward_test_data): New variable.
19211 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19212 (remainder_test_data): New variable.
19213 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19214 (scalb_test_data): New variable.
19215 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19216 * sysdeps/i386/fpu/libm-test-ulps: Update.
19218 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19220 * math/libm-test.inc (fma_test): Use max_value instead of local
19222 (nextafter_test): Likewise.
19224 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19225 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19226 (acos_downward_test_data): New variable.
19227 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19228 (acos_upward_test_data): New variable.
19229 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19230 (acosh_test_data): New variable.
19231 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19232 (asin_test_data): New variable.
19233 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19234 (asin_tonearest_test_data): New variable.
19235 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19236 (asin_towardzero_test_data): New variable.
19237 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19238 (asin_downward_test_data): New variable.
19239 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19240 (asin_upward_test_data): New variable.
19241 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19242 (asinh_test_data): New variable.
19243 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19244 (atan_test_data): New variable.
19245 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19246 (atanh_test_data): New variable.
19247 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19248 (cbrt_test_data): New variable.
19249 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19250 (ceil_test_data): New variable.
19251 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19252 (cos_test_data): New variable.
19253 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19254 (cos_tonearest_test_data): New variable.
19255 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19256 (cos_towardzero_test_data): New variable.
19257 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19258 (cos_downward_test_data): New variable.
19259 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19260 (cos_upward_test_data): New variable.
19261 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19262 (cosh_test_data): New variable.
19263 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19264 (cosh_tonearest_test_data): New variable.
19265 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19266 (cosh_towardzero_test_data): New variable.
19267 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19268 (cosh_downward_test_data): New variable.
19269 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19270 (cosh_upward_test_data): New variable.
19271 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19272 (erf_test_data): New variable.
19273 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19274 (erfc_test_data): New variable.
19275 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19276 (exp_test_data): New variable.
19277 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19278 (exp_tonearest_test_data): New variable.
19279 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19280 (exp_towardzero_test_data): New variable.
19281 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19282 (exp_downward_test_data): New variable.
19283 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19284 (exp_upward_test_data): New variable.
19285 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19286 (exp10_test_data): New variable.
19287 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19288 (exp2_test_data): New variable.
19289 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19290 (expm1_test_data): New variable.
19291 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19292 (fabs_test_data): New variable.
19293 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19294 (floor_test_data): New variable.
19295 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19296 (j0_test_data): New variable.
19297 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19298 (j1_test_data): New variable.
19299 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19300 (log_test_data): New variable.
19301 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19302 (log10_test_data): New variable.
19303 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19304 (log1p_test_data): New variable.
19305 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19306 (log2_test_data): New variable.
19307 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19308 (logb_test_data): New variable.
19309 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19310 (logb_downward_test_data): New variable.
19311 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19312 (nearbyint_test_data): New variable.
19313 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19314 (rint_test_data): New variable.
19315 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19316 (rint_tonearest_test_data): New variable.
19317 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19318 (rint_towardzero_test_data): New variable.
19319 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19320 (rint_downward_test_data): New variable.
19321 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19322 (rint_upward_test_data): New variable.
19323 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19324 (round_test_data): New variable.
19325 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19326 (sin_test_data): New variable.
19327 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19328 (sin_tonearest_test_data): New variable.
19329 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19330 (sin_towardzero_test_data): New variable.
19331 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19332 (sin_downward_test_data): New variable.
19333 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19334 (sin_upward_test_data): New variable.
19335 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19336 (sinh_test_data): New variable.
19337 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19338 (sinh_tonearest_test_data): New variable.
19339 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19340 (sinh_towardzero_test_data): New variable.
19341 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19342 (sinh_downward_test_data): New variable.
19343 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19344 (sinh_upward_test_data): New variable.
19345 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19346 (sqrt_test_data): New variable.
19347 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19348 (tan_test_data): New variable.
19349 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19350 (tan_tonearest_test_data): New variable.
19351 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19352 (tan_towardzero_test_data): New variable.
19353 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19354 (tan_downward_test_data): New variable.
19355 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19356 (tan_upward_test_data): New variable.
19357 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19358 (tanh_test_data): New variable.
19359 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19360 (tgamma_test_data): New variable.
19361 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19362 (trunc_test_data): New variable.
19363 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19364 (y0_test_data): New variable.
19365 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19366 (y1_test_data): New variable.
19367 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19368 (significand_test_data): New variable.
19369 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19371 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19374 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19376 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19378 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19380 2013-05-10 Andreas Jaeger <aj@suse.de>
19383 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19384 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19386 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19388 * math/gen-libm-test.pl (adjust_arg): New function.
19389 (special_functions): Handle generating output in both functions
19391 (parse_args): Likewise.
19392 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19393 $in_func argument to parse_args.
19394 * math/libm-test.inc (struct test_f_f_data): New type.
19395 (IF_ROUND_INIT_): New macro.
19396 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19397 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19398 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19399 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19400 (ROUND_RESTORE_): Likewise.
19401 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19402 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19403 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19404 (ROUND_RESTORE_FE_UPWARD): Likewise.
19405 (RUN_TEST_LOOP_f_f): New macro.
19406 (acos_test_data): New variable.
19407 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19408 (acos_tonearest_test_data): New variable.
19409 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19411 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19413 * benchtests/bench-skeleton.c (startup): Fix coding style.
19415 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19418 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19419 negative infinity argument.
19420 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19421 negative infinity argument.
19422 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19423 negative infinity argument.
19424 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19427 2013-05-10 Florian Weimer <fweimer@redhat.com>
19429 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19430 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19431 * iconv/iconv_prog.c (main): Likewise.
19432 * locale/programs/charmap-dir.c (charmap_readdir)
19433 (fopen_uncompressed): Likewise.
19434 * locale/programs/locfile.c (siblings_uncached)
19435 (write_locale_data): Use lstat64 instead of lstat.
19436 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19439 2013-05-10 Andreas Jaeger <aj@suse.de>
19442 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19444 Include <locale.h>.
19446 2013-05-09 Carlos O'Donell <carlos@redhat.com>
19448 * elf/dl-close.c (_dl_close_worker): Add comments.
19450 2013-05-09 Joseph Myers <joseph@codesourcery.com>
19453 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19455 (__ieee754_rem_pio2l): Update comments.
19458 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19460 (__ieee754_rem_pio2l): Update comments.
19462 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19463 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19465 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19468 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19469 (M_PI_34_LOG10El): Likewise.
19470 (M_PI2_LOG10El): Likewise.
19471 (M_PI4_LOG10El): Likewise.
19472 (M_PI_LOG10El): Likewise.
19474 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19478 2013-05-08 Joseph Myers <joseph@codesourcery.com>
19480 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19481 (MINUS_ZERO_INIT): Likewise.
19482 (PLUS_INFTY_INIT): Likewise.
19483 (MINUS_INFTY_INIT): Likewise.
19484 (QNAN_VALUE_INIT): Likewise.
19485 (MAX_VALUE_INIT): Likewise.
19486 (MIN_VALUE_INIT): Likewise.
19487 (MIN_SUBNORM_VALUE_INIT): Likewise.
19488 (plus_zero): Initialize with PLUS_ZERO_INIT.
19489 (minus_zero): Initialize with MINUS_ZERO_INIT.
19490 (plus_infty): Initialize with PLUS_INFTY_INIT.
19491 (minus_infty): Initialize with MINUS_INFTY_INIT.
19492 (qnan_value): Initialize with QNAN_VALUE_INIT.
19493 (max_value): Initialize with MAX_VALUE_INIT.
19494 (min_value): Initialize with MIN_VALUE_INIT.
19495 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19497 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19498 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19499 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19500 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19502 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19503 (RUN_TEST_2_f): Likewise.
19504 (RUN_TEST_ff_f): Likewise.
19505 (RUN_TEST_fi_f): Likewise.
19506 (RUN_TEST_fl_f): Likewise.
19507 (RUN_TEST_fff_f): Likewise.
19508 (RUN_TEST_c_f): Likewise.
19509 (RUN_TEST_f_f1): Likewise.
19510 (RUN_TEST_fF_f1): Likewise.
19511 (RUN_TEST_fI_f1): Likewise.
19512 (RUN_TEST_ffI_f1): Likewise.
19513 (RUN_TEST_c_c): Likewise.
19514 (RUN_TEST_cc_c): Likewise.
19515 (RUN_TEST_f_i): Likewise.
19516 (RUN_TEST_f_i_tg): Likewise.
19517 (RUN_TEST_ff_i_tg): Likewise.
19518 (RUN_TEST_f_b): Likewise.
19519 (RUN_TEST_f_b_tg): Likewise.
19520 (RUN_TEST_f_l): Likewise.
19521 (RUN_TEST_f_L): Likewise.
19522 (RUN_TEST_sincos): Likewise.
19523 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19524 whether to show exceptions. Do not include ");\n" in return
19526 (special_functions): Output call to RUN_TEST_sincos instead of
19527 check_float calls. Update calls to new_test.
19528 (parse_args): Output call to single RUN_TEST_* macro instead of
19529 check_* calls and other assignments. Update calls to new_test.
19535 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19536 input to result for tgamma overflow.
19537 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19538 (gamma_coeff): New variable.
19539 (NCOEFF): New macro.
19540 (gamma_positive): New function.
19541 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19542 underflow here. Use gamma_positive instead of exp (lgamma) for
19544 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19545 (gamma_coeff): New variable.
19546 (NCOEFF): New macro.
19547 (gammaf_positive): New function.
19548 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19549 underflow here. Use gamma_positive instead of exp (lgamma) for
19551 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19552 (gamma_coeff): New variable.
19553 (NCOEFF): New macro.
19554 (gammal_positive): New function.
19555 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19556 underflow here. Use gamma_positive instead of exp (lgamma) for
19558 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19559 (gamma_coeff): New variable.
19560 (NCOEFF): New macro.
19561 (gammal_positive): New function.
19562 (__ieee754_gammal_r): Handle positive infinity, overflow and
19563 underflow here. Handle NaN the same as positive infinity. Remove
19564 check x < 0xffffffff for negative integers. Use gamma_positive
19565 instead of exp (lgamma) for other arguments.
19566 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19567 (gamma_coeff): New variable.
19568 (NCOEFF): New macro.
19569 (gammal_positive): New function.
19570 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19571 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19572 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19573 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19574 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19575 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19576 * sysdeps/generic/math_private.h (__gamma_productf): New
19578 (__gamma_product): Likewise.
19579 (__gamma_productl): Likewise.
19580 * math/Makefile (libm-calls): Add gamma_product.
19581 * math/libm-test.inc (tgamma_test): Add more tests.
19582 * sysdeps/i386/fpu/libm-test-ulps: Update.
19583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19585 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
19587 * benchtests/bench-skeleton.c (main): Preheat CPU.
19589 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19591 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19593 2013-05-07 Roland McGrath <roland@hack.frob.com>
19595 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19596 and _dl_skip_args_internal.
19598 2013-05-07 Carlos O'Donell <carlos@redhat.com>
19600 * manual/message.texi (Message Translation): Talk about users.
19601 Message to key mapping impacts design.
19603 2013-05-06 Roland McGrath <roland@hack.frob.com>
19605 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19607 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19609 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19610 * sysdeps/wordsize-64/glob64.c: ... here.
19612 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19613 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19616 * debug/getlogin_r_chk.c: Moved to ...
19617 * login/getlogin_r_chk.c: ... here.
19618 * debug/Makefile (routines): Move getlogin_r_chk to ...
19619 * login/Makefile (routines): ... here.
19620 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19621 * login/Versions (libc: GLIBC_2.4): ... here.
19623 * io/poll.c (__poll): Renamed from poll.
19624 Add libc_hidden_def.
19625 (poll): Define as weak alias.
19627 * debug/ptsname_r_chk.c: Moved to ...
19628 * login/ptsname_r_chk.c: ... here.
19629 * debug/Makefile (routines): Move ptsname_r_chk to ...
19630 * login/Makefile (routines): ... here.
19631 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19632 * login/Versions (libc: GLIBC_2.4): ... here.
19634 * posix/getlogin.c: Moved to ...
19635 * login/getlogin.c: ... here.
19636 * posix/getlogin_r.c: Moved to ...
19637 * login/getlogin_r.c: ... here.
19638 * posix/getlogin_r.c: Moved to ...
19639 * login/getlogin_r.c: ... here.
19640 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19641 * login/Makefile (routines): ... here.
19642 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19643 * login/Versions (libc: GLIBC_2.0): ... here.
19645 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19646 (setrlimit): Define as weak alias.
19648 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19649 Call __ names for open, ftruncate, and close.
19650 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19651 (truncate): Define as weak alias.
19653 2013-05-06 Joseph Myers <joseph@codesourcery.com>
19655 * math/gen-libm-test.pl (parse_args): Initialize x before each
19656 test of frexp, modf and remquo.
19658 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19659 test signgam value.
19661 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19665 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19667 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19669 2013-05-06 Roland McGrath <roland@hack.frob.com>
19671 * elf/dl-writev.h: New file.
19672 * elf/dl-misc.c: Include it.
19673 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19674 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19676 2013-05-04 Joseph Myers <joseph@codesourcery.com>
19678 * math/libm-test.inc (noXFails): Remove variable.
19679 (noXPasses): Likewise.
19680 (BUILD_COMPLEX_INT): Remove macro.
19681 (print_screen): Remove xfail argument.
19682 (print_screen_max_error): Likewise.
19683 (update_stats): Likewise.
19684 (print_max_error): Likewise. Update calls to other affected
19686 (print_complex_max_error): Likewise.
19687 (test_single_exception): Update calls to print_screen.
19688 (test_single_errno): Likewise.
19689 (check_float_internal): Remove xfail argument. Update calls to
19690 other affected functions.
19691 (check_float): Likewise.
19692 (check_complex): Likewise.
19693 (check_int): Likewise.
19694 (check_long): Likewise.
19695 (check_bool): Likewise.
19696 (check_longlong): Likewise.
19697 (main): Don't print noXFails and noXPasses.
19698 * math/gen-libm-test.pl (top level): Don't mention expected
19699 failure handling in comment.
19700 (new_test): Don't handle expected failures.
19701 (parse_args): Don't mention expected failure handling in comment.
19702 (generate_testfile): Don't handle expected failures.
19703 (parse_ulps): Likewise.
19704 (print_ulps_file): Likewise.
19705 (get_failure): Remove function.
19706 (output_test): Don't handle expected failures.
19707 * make/README.libm-test: Don't mention expected failure handling.
19709 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19710 (minus_zero): Likewise.
19711 (plus_infty): Likewise.
19712 (minus_infty): Likewise.
19713 (qnan_value): Likewise.
19714 (max_value): Likewise.
19715 (min_value): Likewise.
19716 (min_subnorm_value): Likewise.
19717 (initialize): Do not initialize those variables dynamically.
19719 2013-05-03 Roland McGrath <roland@hack.frob.com>
19721 * io/open.c (__open_2): Moved to ...
19722 * io/open_2.c: ... this new file.
19723 * io/open64.c (__open64_2): Moved to ...
19724 * io/open64_2.c: ... this new file.
19725 * io/openat.c (__openat_2): Moved to ...
19726 * io/openat_2.c: ... this new file.
19727 * io/openat64.c (__openat64_2): Moved to ...
19728 * io/openat64_2.c: ... this new file.
19729 * io/Makefile (routines): Add them.
19730 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19731 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19732 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19733 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19734 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19735 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19736 (__openat64): Add hidden_ver.
19737 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19738 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19740 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19741 Separately conditionalize setting of GLRO(dl_sysinfo) so
19742 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19743 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19745 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19747 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19748 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19750 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19751 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19752 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19753 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19754 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19756 2013-05-03 Joseph Myers <joseph@codesourcery.com>
19758 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19759 test signgam value.
19761 * math/libm-test.inc (hypot_test): Do not use
19762 IGNORE_ZERO_INF_SIGN.
19764 2013-05-03 Andreas Jaeger <aj@suse.de>
19766 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19768 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19769 (PF_MAX): Adjust for VSOCK change.
19771 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19775 2013-05-02 Carlos O'Donell <carlos@redhat.com>
19778 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19779 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19780 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19782 2013-05-02 David S. Miller <davem@davemloft.net>
19784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19786 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
19788 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19790 2013-05-01 Roland McGrath <roland@hack.frob.com>
19792 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19794 2013-05-01 Richard Smith <richard@metafoo.co.uk>
19797 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19798 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19799 Use __attribute__ ((__gnu_inline__)).
19800 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19801 Don't use __attribute__ ((__gnu_inline__)).
19803 2013-05-01 Joseph Myers <joseph@codesourcery.com>
19806 * math/s_catan.c (__catan): Handle small real or imaginary part of
19807 input specially to avoid spurious underflow.
19808 * math/s_catanf.c (__catanf): Likewise.
19809 * math/s_catanh.c (__catanh): Likewise.
19810 * math/s_catanhf.c (__catanhf): Likewise.
19811 * math/s_catanhl.c (__catanhl): Likewise.
19812 * math/s_catanl.c (__catanl): Likewise.
19813 * math/libm-test.inc (catan_test): Add more tests.
19814 (catanh_test): Likewise.
19815 * sysdeps/i386/fpu/libm-test-ulps: Update.
19816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19818 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19822 2013-04-30 Joseph Myers <joseph@codesourcery.com>
19825 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19826 accurately for denominator in atan2.
19827 * math/s_catanf.c (__catanf): Likewise.
19828 * math/s_catanh.c (__catanh): Likewise.
19829 * math/s_catanhf.c (__catanhf): Likewise.
19830 * math/s_catanhl.c (__catanhl): Likewise.
19831 * math/s_catanl.c (__catanl): Likewise.
19832 * math/libm-test.inc (catan_test): Add more tests.
19833 (catanh_test): Likewise.
19834 * sysdeps/i386/fpu/libm-test-ulps: Update.
19835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19837 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19839 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19841 * benchtests/Makefile (bench): Remove slow benchmarks.
19842 * benchtests/atan-inputs: Add slow benchmark inputs.
19843 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19844 (BENCH_FUNC): Accept variant offset.
19846 * benchtests/bench-skeleton.c (main): Run benchmark for each
19848 * benchtests/cos-inputs: Add slow benchmark inputs.
19849 * benchtests/exp-inputs: Likewise.
19850 * benchtests/pow-inputs: Likewise.
19851 * benchtests/sin-inputs: Likewise.
19852 * benchtests/slowatan-inputs: Remove.
19853 * benchtests/slowatan.c: Remove.
19854 * benchtests/slowcos-inputs: Remove.
19855 * benchtests/slowcos.c: Remove.
19856 * benchtests/slowexp-inputs: Remove.
19857 * benchtests/slowexp.c: Remove.
19858 * benchtests/slowpow-inputs: Remove.
19859 * benchtests/slowpow.c: Remove.
19860 * benchtests/slowsin-inputs: Remove.
19861 * benchtests/slowsin.c: Remove.
19862 * benchtests/slowtan-inputs: Remove.
19863 * benchtests/slowtan.c: Remove.
19864 * benchtests/tan-inputs: Add slow benchmark inputs.
19865 * scripts/bench.pl: Parse comments and directives.
19867 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19869 ($(objpfx)bench-%.c): Remove *-ITER.
19870 * benchtests/bench-modf.c: Remove definition of ITER.
19871 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19872 (main): Loop for DURATION seconds instead of fixed number of
19874 * scripts/bench.pl: Don't expect iterations in parameters.
19876 2013-04-29 Roland McGrath <roland@hack.frob.com>
19878 * io/fchdir.c (__fchdir): Renamed from fchdir.
19879 (fchdir): Define as weak alias.
19881 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19883 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19884 (ERRNO_EDOM): Likewise.
19885 (ERRNO_ERANGE): Likewise.
19886 (noErrnoTests): New variable.
19887 (init_max_error): Set errno to 0.
19888 (test_single_errno): New function.
19889 (test_errno): Likewise.
19890 (check_float_internal): Call test_errno. Set errno to 0.
19891 (check_complex): Refer to errno tests in comment.
19892 (check_int): Call test_errno. Set errno to 0.
19893 (check_long): Likewise.
19894 (check_bool): Likewise.
19895 (check_longlong): Likewise.
19896 (cos_test): Use ERRNO_* flags for errno tests instead of
19898 (expm1_test): Likewise.
19899 (fmod_test): Likewise.
19900 (ilogb_test): Likewise.
19901 (lgamma_test): Likewise.
19902 (pow_test): Likewise.
19903 (remainder_test): Likewise.
19904 (sin_test): Likewise.
19905 (tan_test): Likewise.
19906 (yn_test): Likewise.
19907 (initialize): Set errno to 0.
19908 (main): Print number of errno tests.
19909 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19911 2013-04-29 Andreas Jaeger <aj@suse.de>
19914 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19918 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19919 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19923 * stdlib/random.c (__initstate): Return NULL if
19927 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19928 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19931 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19935 2013-04-29 Joseph Myers <joseph@codesourcery.com>
19937 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19938 of individual tests.
19939 (casin_test): Likewise.
19940 (casinh_test): Likewise.
19942 2013-04-27 Joseph Myers <joseph@codesourcery.com>
19945 * math/s_catan.c (__catan): Handle arguments with large real or
19946 imaginary part separately without squaring.
19947 * math/s_catanf.c (__catanf): Likewise.
19948 * math/s_catanh.c (__catanh): Likewise.
19949 * math/s_catanhf.c (__catanhf): Likewise.
19950 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19952 (__catanhl): Handle arguments with large real or imaginary part
19953 separately without squaring.
19954 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19956 (__catanl): Handle arguments with large real or imaginary part
19957 separately without squaring.
19958 * math/libm-test.inc (catan_test): Add more tests.
19959 (catanh_test): Likewise.
19960 * sysdeps/i386/fpu/libm-test-ulps: Update.
19961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19963 2013-04-27 Andreas Jaeger <aj@suse.de>
19966 * stdlib/stdlib.h: Update guards for qecvt.
19967 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19970 2013-04-27 Allan McRae <allan@archlinux.org>
19972 * sysdeps/i386/fpu/libm-test-ulps: Update.
19974 2013-04-26 Joseph Myers <joseph@codesourcery.com>
19977 * math/s_catan.c: Include <float.h>.
19978 (__catan): Ensure underflow exception occurs for underflowed
19980 * math/s_catanf.c: Include <float.h>.
19981 (__catanf): Ensure underflow exception occurs for underflowed
19983 * math/s_catanh.c: Include <float.h>.
19984 (__catanh): Ensure underflow exception occurs for underflowed
19986 * math/s_catanhf.c: Include <float.h>.
19987 (__catanhf): Ensure underflow exception occurs for underflowed
19989 * math/s_catanhl.c: Include <float.h>.
19990 (__catanhl): Ensure underflow exception occurs for underflowed
19992 * math/s_catanl.c: Include <float.h>.
19993 (__catanl): Ensure underflow exception occurs for underflowed
19995 * math/libm-test.inc (catan_test): Add more tests.
19996 (catanh_test): Likewise.
19999 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20000 underflowed result.
20001 * math/s_ccoshf.c (__ccoshf): Likewise.
20002 * math/s_ccoshl.c (__ccoshl): Likewise.
20003 * math/s_csin.c (__csin): Likewise.
20004 * math/s_csinf.c (__csinf): Likewise.
20005 * math/s_csinh.c (__csinh): Likewise.
20006 * math/s_csinhf.c (__csinhf): Likewise.
20007 * math/s_csinhl.c (__csinhl): Likewise.
20008 * math/s_csinl.c (__csinl): Likewise.
20009 * math/libm-test.inc (ccos_test): Add more tests.
20010 (ccosh_test): Likewise.
20011 (csin_test): Likewise.
20012 (csinh_test): Likewise.
20014 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20016 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20017 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20018 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20019 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20020 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20021 powerpc/power5+/fpu folders.
20022 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20025 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20029 2013-04-25 Joseph Myers <joseph@codesourcery.com>
20031 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20032 additions to variable.
20033 [$(config-machine) = x86_64] (modules-names): Likewise.
20034 ($(objpfx)tst-audit3): Remove dependency.
20035 ($(objpfx)tst-audit3.out): Likewise.
20036 ($(objpfx)tst-audit4): Likewise.
20037 ($(objpfx)tst-audit4.out): Likewise.
20038 ($(objpfx)tst-audit5): Likewise.
20039 ($(objpfx)tst-audit5.out): Likewise.
20040 ($(objpfx)tst-audit6): Likewise.
20041 ($(objpfx)tst-audit6.out): Likewise.
20042 ($(objpfx)tst-audit7): Likewise.
20043 ($(objpfx)tst-audit7.out): Likewise.
20044 (tst-audit3-ENV): Remove variable.
20045 (tst-audit4-ENV): Likewise.
20046 (tst-audit5-ENV): Likewise.
20047 (tst-audit6-ENV): Likewise.
20048 (tst-audit7-ENV): Likewise.
20049 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20050 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20051 addition to variable.
20052 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20053 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20054 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20055 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20056 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20057 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20058 tst-audit3, tst-audit4 and tst-audit5.
20059 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20060 tst-audit6 and tst-audit7.
20061 [$(subdir) = elf] (modules-names): Add audit modules for those
20063 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20064 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20065 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20066 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20067 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20068 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20069 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20070 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20071 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20072 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20073 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20074 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20075 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20076 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20077 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20078 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20080 [$(subdir) = elf && $(config-cflags-avx) = yes]
20081 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20082 [$(subdir) = elf && $(config-cflags-avx) = yes]
20083 (CFLAGS-tst-auditmod4a.c): Likewise.
20084 [$(subdir) = elf && $(config-cflags-avx) = yes]
20085 (CFLAGS-tst-auditmod4b.c): Likewise.
20086 [$(subdir) = elf && $(config-cflags-avx) = yes]
20087 (CFLAGS-tst-auditmod6b.c): Likewise.
20088 [$(subdir) = elf && $(config-cflags-avx) = yes]
20089 (CFLAGS-tst-auditmod6c.c): Likewise.
20090 [$(subdir) = elf && $(config-cflags-avx) = yes]
20091 (CFLAGS-tst-auditmod7b.c): Likewise.
20092 * elf/tst-audit3.c: Move to ...
20093 * sysdeps/x86_64/tst-audit3.c: ... here.
20094 * elf/tst-audit4.c: Move to ...
20095 * sysdeps/x86_64/tst-audit4.c: ... here.
20096 * elf/tst-audit5.c: Move to ...
20097 * sysdeps/x86_64/tst-audit5.c: ... here.
20098 * elf/tst-audit6.c: Move to ...
20099 * sysdeps/x86_64/tst-audit6.c: ... here.
20100 * elf/tst-audit7.c: Move to ...
20101 * sysdeps/x86_64/tst-audit7.c: ... here.
20102 * elf/tst-auditmod3a.c: Move to ...
20103 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20104 * elf/tst-auditmod3b.c: Move to ...
20105 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20106 * elf/tst-auditmod4a.c: Move to ...
20107 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20108 * elf/tst-auditmod4b.c: Move to ...
20109 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20110 * elf/tst-auditmod5a.c: Move to ...
20111 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20112 * elf/tst-auditmod5b.c: Move to ...
20113 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20114 * elf/tst-auditmod6a.c: Move to ...
20115 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20116 * elf/tst-auditmod6b.c: Move to ...
20117 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20118 * elf/tst-auditmod6c.c: Move to ...
20119 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20120 * elf/tst-auditmod7a.c: Move to ...
20121 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20122 * elf/tst-auditmod7b.c: Move to ...
20123 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20125 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20128 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20129 define unconditionally.
20130 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20131 define unconditionally.
20132 (INT8_C, INT16_C, etc.): Likewise.
20134 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20136 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20137 __ehdr_start with hidden visibility.
20139 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20141 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20143 * math/libm-test.inc (cos_test): Use accurate hex constants.
20144 (sincost_test): Likewise.
20146 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20148 * math/libm-test.inc (catan_test): Add more tests.
20149 (catanh_test): Likewise.
20151 * math/s_catanf.c (__catanf): Use suffixed floating-point
20153 * math/s_catanhf.c (__catanhf): Likewise.
20154 * math/s_catanhl.c (__catanhl): Likewise.
20155 * math/s_catanl.c (__catanl): Likewise.
20158 * math/s_catan.c (__catan): Calculate imaginary part of result
20159 with log1p not log unless computing log of number close to 0.
20160 * math/s_catanf.c (__catanf): Likewise.
20161 * math/s_catanl.c (__catanl): Likewise.
20162 * math/s_catanh.c (__catanh): Calculate real part of result with
20163 log1p not log unless computing log of number close to 0.
20164 * math/s_catanhf.c (__catanhf): Likewise.
20165 * math/s_catanhl.c (__catanhl): Likewise.
20166 * math/libm-test.inc (catan_test): Add more tests.
20167 (catanh_test): Likewise.
20168 * sysdeps/i386/fpu/libm-test-ulps: Update.
20169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20171 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20173 * benchtests/Makefile: Mention files in which fast and slow
20174 paths of math functions are implemented.
20176 2013-04-23 Roland McGrath <roland@hack.frob.com>
20178 * sysdeps/posix/timespec_get.c: New file.
20180 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20182 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20184 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20186 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20187 powerpc/power5/fpu folders.
20188 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20189 * benchtests/Makefile: Add modf testcase.
20190 * benchtests/bench-modf.c: New file: Benchmark test for mo
20192 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20195 * time/Makefile (tests): Add tst-strptime-whitespace.
20196 * time/strptime_l.c (get_number): Use ISSPACE.
20197 (__strptime_internal): Likewise.
20198 * time/tst-strptime-whitespace.c: New test case.
20200 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20202 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20204 (_nss_files_init): Set it here.
20206 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20208 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20209 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20212 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20214 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20216 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20218 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20221 2013-04-21 David S. Miller <davem@davemloft.net>
20223 * po/ru.po: Update Russion translation from translation project.
20225 2013-04-17 Adam Conrad <adconrad@0c3.net>
20227 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20230 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20232 * configure.in: Remove i386 configure warning. Remove i386 case.
20233 * configure: Regenerate.
20234 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20235 Add example to error message.
20236 * sysdeps/i386/configure: Regenerate.
20238 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20240 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20242 * benchtests/cos-inputs: New file.
20243 * benchtests/slowcos-inputs: New file.
20244 * benchtests/slowcos.c: New file.
20245 * benchtests/slowtan-inputs: New file.
20246 * benchtests/slowtan.c: New file.
20247 * benchtests/tan-inputs: New file.
20249 2013-04-16 Roland McGrath <roland@hack.frob.com>
20251 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20254 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20256 * benchtests/Makefile: Include cppflags-iterator.mk to add
20257 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20259 * Makefile.in (bench-clean): New target.
20260 * benchtests/Makefile (bench-clean): Likewise.
20262 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20264 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20266 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20268 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20270 2013-04-15 Andreas Schwab <schwab@suse.de>
20272 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20273 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20274 * nscd/pwdcache.c (cache_addpw): Likewise.
20275 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20278 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20280 * benchtests/Makefile (bench): Write all output to
20281 bench-out.tmp together.
20283 2013-04-15 Andreas Schwab <schwab@suse.de>
20285 * nscd/nscd.c (main): Don't fork again after closing files.
20287 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20289 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20291 * benchtests/Rules (bench-deps): Collect dependencies into a
20292 single variable. Add Makefile to dependencies.
20293 ($(objpfx)bench-%.c): Depend on bench-deps.
20295 2013-04-12 Roland McGrath <roland@hack.frob.com>
20296 Xavier Roche <roche+kml2@exalead.com>
20299 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20300 just that it's a file descriptor.
20301 * manual/llio.texi (Synchronizing AIO Operations): Update description
20302 for EBADF error from aio_fsync.
20304 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20306 * Rules (bench): Move target definition...
20307 * benchtests/Makefile: ... here.
20309 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20311 * math/libm-test.inc (cos_test): Fix PI/2 test.
20312 (sincos_test): Likewise.
20313 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20314 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20316 2013-04-11 Andreas Schwab <schwab@suse.de>
20319 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20320 accept exponent character only when digits were seen.
20321 * stdio-common/Makefile (tests): Add bug26.
20322 * stdio-common/bug26.c: New file.
20325 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20328 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20330 * Makeconfig (rtld-prefix): Define built linker prefix.
20331 * Rules (run-bench): Use it.
20332 * math/Makefile (run-regen-ulps): Likewise.
20334 * Rules (bench): Remove eval.
20336 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20337 Roland McGrath <roland@hack.frob.com>
20338 Ondrej Bilka <neleai@seznam.cz>
20341 * time/getdate.c: Include ctype.h and alloca.h.
20342 (__getdate_r): Trim leading and trailing spaces of input.
20343 * time/tst-getdate.c (tests): Add tests with leading and
20346 2013-04-08 Roland McGrath <roland@hack.frob.com>
20349 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20350 when computing value.
20352 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20354 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20355 Use testrun.sh to run libm tests.
20358 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20360 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20363 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20365 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20367 * Makefile.in (regen-ulps): New target.
20368 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20369 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20370 [ifneq (no,$(PERL)] (regen-ulps): New target.
20371 [ifeq (no,$(PERL)] (regen-ulps): New target.
20372 * math/libm-test.inc (ulps_file_name): Define.
20373 (output_dir): New variable.
20374 (options): Add "output-dir" option.
20375 (parse_opt): Handle 'o' case.
20376 (main): If output_dir is non-NULL use it as a prefix
20378 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20380 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20382 [BZ #10060, #10062]
20383 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20384 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20385 fail configure if __sync_val_compare_and_swap is not inlined.
20386 * sysdeps/i386/configure: Regenerate.
20387 * configure.in: Build for i686 when configured for i386.
20388 * configure: Regenerate.
20389 * README: Remove i386 reference.
20391 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20393 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20394 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20396 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20398 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20399 (lmsnanval): New variables.
20400 (F): Add conversion tests.
20401 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20402 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20404 * stdio-common/tstdiomisc.c (F): Properly collect individual
20407 [BZ #14686, #15336]
20408 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20409 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20410 Instead, use input NaN values or generate a qNaN by arithmetic
20411 operation. Also fix bugs to comply with the standard.
20412 * math/libm-test.inc (remainder_test): Add more tests.
20414 [BZ #15335, #15342]
20415 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20416 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20417 input NaN values or generate a qNaN by arithmetic operation.
20419 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20422 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20425 2013-04-03 Joseph Myers <joseph@codesourcery.com>
20428 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20429 underflowed result.
20430 * math/s_cexpf.c (__cexpf): Likewise.
20431 * math/s_cexpl.c (__cexpl): Likewise.
20432 * math/libm-test.inc (cexp_test): Add more tests.
20434 2013-04-03 Andreas Schwab <schwab@suse.de>
20437 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20438 order arrays from heap if bigger than alloca cutoff.
20440 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20442 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20443 (SNAN_TESTS_double): Refer to GCC PR56831.
20444 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20447 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20449 * Rules (bench): Move bench.out after the run is complete.
20451 * Rules (bench): Echo currently running benchmark.
20453 * benchtests/Makefile (bench): Add atan and slowatan.
20454 * benchtests/atan-inputs: New file.
20455 * benchtests/slowatan-inputs: New file.
20456 * benchtests/slowatan.c: New file.
20458 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20459 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20463 * sysdeps/unix/sysv/linux/kernel-features.h
20464 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20465 __ASSUME_XFS_RESTRICTED_CHOWN.
20466 * sysdeps/unix/sysv/linux/pathconf.c
20467 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20468 Save and restore errno.
20470 2013-04-02 Joseph Myers <joseph@codesourcery.com>
20473 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20474 arguments using __kernel_casinh.
20475 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20476 arguments using __kernel_casinhf.
20477 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20478 arguments using __kernel_casinhl.
20479 * math/libm-test.inc (cacosh_test): Add more tests.
20480 * sysdeps/i386/fpu/libm-test-ulps: Update.
20481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20483 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20485 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20486 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20488 * bench/Makefile (bench): Add sin and slowsin.
20489 * benchtests/sin-inputs: New file.
20490 * benchtests/slowsin-inputs: New file.
20491 * benchtests/slowsin.c: New file.
20493 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20494 (bench): Add slowexp and slowpow.
20495 (exp-ITER): Increase iterations.
20496 (pow-ITER): Likewise.
20497 * benchtests/exp-inputs: Change input.
20498 * benchtests/pow-inputs: Likewise.
20499 * benchtests/slowexp-inputs: New file.
20500 * benchtests/slowexp.c: New file.
20501 * benchtests/slowpow-inputs: New file.
20502 * benchtests/slowpow.c: New file.
20504 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20506 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20508 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20509 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20510 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20511 * benchtests/Makefile: Add rint benchtest.
20512 * benchtests/rint-inputs: Input for rint benchtest.
20514 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20516 * Versions.def (libm): Add GLIBC_2.18.
20517 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20518 hidden libm prototypes.
20519 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20520 * math/Makefile (libm-calls): Add s_issignaling.
20521 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20522 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20523 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20525 * math/math.h [__USE_GNU] (issignaling): New macro.
20526 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20527 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20528 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20529 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20530 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20531 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20532 * manual/arith.texi (issignaling): New section.
20533 * manual/libm-err-tab.pl (@all_functions): Update comment.
20534 * math/gen-libm-test.pl (parse_args): Apply special handling for
20536 * math/libm-test.inc (print_float, issignaling_test): New
20538 (check_float_internal): Add issignaling checks.
20539 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20540 default definition.
20541 * sysdeps/powerpc/math-tests.h: New file.
20542 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20544 * math/test-snan.c (TEST_FUNC): Likewise.
20546 2013-03-30 David S. Miller <davem@davemloft.net>
20548 * po/de.po: Update from translation team.
20550 2013-03-30 Joseph Myers <joseph@codesourcery.com>
20553 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20554 imaginary part less than 1.0 and real part less than 0.5
20556 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20557 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20558 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20559 (cacos_test): Add more tests.
20560 (casin_test): Likewise.
20561 (casinh_test): Likewise.
20562 * sysdeps/i386/fpu/libm-test-ulps: Update.
20563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20565 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20567 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20568 ONE with its value.
20570 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20571 (__pow_mp): Replace ONE and MONE with their values.
20572 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20573 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20574 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20575 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20576 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20577 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20579 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20581 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20582 (__pow_mp): Replace ZERO and MZERO with their values.
20583 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20584 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20585 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20586 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20587 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20588 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20591 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20593 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20595 2013-03-28 Roland McGrath <roland@hack.frob.com>
20597 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20598 Declare with __attribute__ ((weak)).
20599 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20600 Call __call_tls_dtors only if it's not NULL.
20602 2013-03-28 Roland McGrath <roland@hack.frob.com>
20604 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20605 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20606 magic __ehdr_start linker symbol if it's defined.
20607 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20608 them up here if it was already done.
20610 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20611 (_dl_aux_init): Use const in cast when setting it.
20612 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20613 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20614 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20616 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20618 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20619 * csu/libc-tls.c: Nor here.
20620 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20622 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20623 (__libc_message): Never call vsyslog.
20625 2013-03-28 Alan Modra <amodra@gmail.com>
20627 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20629 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20632 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20635 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20639 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20642 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20643 Don't add gid passed as argument.
20645 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20647 2013-03-27 Joseph Myers <joseph@codesourcery.com>
20650 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20651 imaginary part between 1.0 and 1.5 and real part less than 0.5
20653 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20654 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20655 * math/libm-test.inc (cacos_test): Add more tests.
20656 (casin_test): Likewise.
20657 (casinh_test): Likewise.
20658 * sysdeps/i386/fpu/libm-test-ulps: Update.
20659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20661 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20663 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20666 (denorm): Likewise.
20667 (__dbl_mp): Likewise.
20668 (add_magnitudes): Likewise.
20669 (sub_magnitudes): Likewise.
20677 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20679 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20680 (__dubcos): Likewise.
20681 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20682 (__ieee754_acos): Likewise.
20683 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20684 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20685 (__exp1): Likewise.
20686 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20687 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20689 (my_log2): Likewise.
20690 (checkint): Likewise.
20691 * sysdeps/ieee754/dbl-64/e_remainder.c
20692 (__ieee754_remainder): Likewise.
20693 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20694 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20695 (bsloww): Likewise.
20696 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20698 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20699 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20700 MANTISSA_STORE_T to store computations on mantissa. Use
20701 macros for rounding and division.
20702 (denorm): Likewise.
20703 (__dbl_mp): Likewise.
20704 (add_magnitudes): Likewise.
20705 (sub_magnitudes): Likewise.
20708 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20709 powers of two in terms of TWOPOW macro.
20710 (mp_no): Make type of mantissa as MANTISSA_T.
20711 [!RADIXI]: Define RADIXI.
20712 [!TWO52]: Define TWO52.
20713 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20715 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20717 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20718 llroundl symbol when building for PPC32.
20720 2013-03-24 Mark H Weaver <mhw@netris.org>
20722 * manual/arith.texi (Normalization Functions): Fix prototypes for
20723 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20725 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20728 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20729 high value to check if expl overflow.
20730 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20731 to check for underflow and overflow.
20732 * math/libm-test.inc: Add exp test.
20734 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20737 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20740 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20742 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20745 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20747 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20748 wrap blocks consisting of several statements.
20750 * sysdeps/generic/math-tests.h: New file.
20751 * sysdeps/i386/fpu/math-tests.h: Likewise.
20752 * math/test-snan.c: Include it.
20753 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20755 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20758 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20759 (__ieee754_j0l): Do not improve calculations using cos of twice
20760 input for inputs above LDBL_MAX / 2.0L.
20761 (__ieee754_y0l): Likewise.
20762 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20763 (__ieee754_j1l): Do not improve calculations using cos of twice
20764 input for inputs above LDBL_MAX / 2.0L.
20765 (__ieee754_y1l): Likewise.
20766 * math/libm-test.inc (j0_test): Add another test.
20767 (j1_test): Likewise.
20768 (y0_test): Likewise.
20769 (y1_test): Likewise.
20770 * sysdeps/i386/fpu/libm-test-ulps: Update.
20772 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20774 * Rules ($(objpfx)bench-%.c): Include code from a C source
20777 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20780 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20781 imaginary part 1.0 and real part less than 0.5 specially.
20782 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20783 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20784 * math/libm-test.inc (cacos_test): Add more tests.
20785 (casin_test): Likewise.
20786 (casinh_test): Likewise.
20787 * sysdeps/i386/fpu/libm-test-ulps: Update.
20788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20790 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20792 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20793 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20795 2013-03-20 Joseph Myers <joseph@codesourcery.com>
20797 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20798 * config.make.in (config-cflags-sse4): Remove variable.
20799 (config-cflags-avx): Likewise.
20800 (config-cflags-sse2avx): Likewise.
20801 (config-cflags-novzeroupper): Likewise.
20802 (config-asflags-i686): Likewise.
20803 (have-mfma4): Likewise.
20804 (have-as-vis3): Likewise.
20806 * configure.in (MIG): Do not AC_SUBST.
20807 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20808 (libc_cv_cc_sse4): Do not AC_SUBST.
20809 (libc_cv_cc_avx): Likewise.
20810 (libc_cv_cc_sse2avx): Likewise.
20811 (libc_cv_cc_novzeroupper): Likewise.
20812 (libc_cv_cc_fma4): Likewise.
20813 (libc_cv_as_i686): Likewise.
20814 (libc_cv_sparc_as_vis3): Likewise.
20815 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20817 (config-asflags-i686): Likewise.
20818 (config-cflags-avx): Likewise.
20819 (config-cflags-sse2avx): Likewise.
20820 (have-mfma4): Likewise.
20821 (config-cflags-novzeroupper): Likewise.
20822 * sysdeps/mach/configure.in (MIG): Likewise.
20823 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20824 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20826 (config-cflags-avx): Likewise.
20827 (config-cflags-sse2avx): Likewise.
20828 (have-mfma4): Likewise.
20829 (config-cflags-novzeroupper): Likewise.
20830 * configure: Regenerated.
20831 * sysdeps/i386/configure: Likewise.
20832 * sysdeps/mach/configure: Likewise.
20833 * sysdeps/sparc/configure: Likewise.
20834 * sysdeps/x86_64/configure: Likewise.
20836 2013-03-20 Roland McGrath <roland@hack.frob.com>
20839 * locale/programs/localedef.c (options): Put N_ translation marker
20840 on argument names, not just descriptions.
20842 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20844 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20846 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
20849 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20851 2013-03-19 Roland McGrath <roland@hack.frob.com>
20853 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20854 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20855 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20856 [!BEFORE_ABORT] (before_abort): New function.
20857 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20858 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20859 (writev_for_fatal): New function.
20860 (WRITEV_FOR_FATAL): New macro; call that.
20861 (backtrace_and_maps): New function.
20862 (BEFORE_ABORT): New macro; call that.
20863 (struct str_list): Type removed.
20864 (__libc_message, __libc_fatal): Functions removed.
20865 Include <sysdeps/posix/libc_fatal.c> instead.
20867 2013-03-19 Joseph Myers <joseph@codesourcery.com>
20869 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20871 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20874 2013-03-19 Andreas Schwab <schwab@suse.de>
20876 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20877 * sysdeps/gnu/configure: Regenerate.
20879 * configure.in: Substitute libc_cv_rtlddir.
20880 * configure: Regenerate.
20881 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20882 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20883 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20884 * elf/Makefile (install-others, CFLAGS-interp.c)
20885 (ldso_install, common-ldd-rewrite): Likewise.
20886 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20887 $(inst_slibdir)/$(rtld-installed-name).
20888 * scripts/rellns-sh: Add -p option.
20889 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20892 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20894 * manual/nptl.texi: Renamed to ...
20895 * manual/threads.texi: ... this.
20896 * manual/Makefile (chapters): Update.
20898 2013-03-18 Roland McGrath <roland@hack.frob.com>
20901 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20902 on argument names, not just descriptions.
20903 * malloc/memusagestat.c (options): Likewise.
20904 * nss/getent.c (options): Likewise.
20906 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
20909 * iconv/iconv_prog.c (options): Put N_ translation marker
20910 on argument names, not just descriptions.
20911 * iconv/iconvconfig.c (options): Likewise.
20913 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
20915 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20916 implementation which is faster on all x86_64 architectures.
20917 Tested on AMD, Intel Nehalem, SNB, IVB.
20918 * sysdeps/x86_64/strnlen.S: Likewise.
20920 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20921 Remove all multiarch strlen and strnlen versions.
20922 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20923 Remove strlen and strnlen related parts.
20925 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20926 Inline strlen part.
20927 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20929 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20930 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20931 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20932 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20933 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20934 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20936 2013-03-17 Carlos O'Donell <carlos@redhat.com>
20938 * manual/memory.texi (Malloc Tunable Parameters):
20939 Sort parameters alphabetically. Add comments for missing entries.
20941 2013-03-17 David S. Miller <davem@davemloft.net>
20943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20945 2013-03-16 Joseph Myers <joseph@codesourcery.com>
20948 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20949 for arguments at most half maximum finite value.
20950 * math/libm-test.inc (j0_test): Add more tests.
20951 (j1_test): Likewise.
20952 (y0_test): Likewise.
20953 (y1_test): Likewise.
20954 * sysdeps/i386/fpu/libm-test-ulps: Update.
20955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20958 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20959 1 / x and functions P and Q for arguments above 0x1p256L.
20960 (__ieee754_y0l): Likewise.
20961 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20962 (__ieee754_y1l): Likewise.
20963 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20964 (j1_test): Likewise.
20965 (y0_test): Likewise.
20966 (y1_test): Likewise.
20968 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20970 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20973 2013-03-15 Roland McGrath <roland@hack.frob.com>
20975 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20976 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20977 zero since it's initialized to EXEC_PAGESIZE.
20979 * sysdeps/unix/sysv/linux/ldsodefs.h
20980 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20981 * sysdeps/generic/ldsodefs.h: ... here.
20983 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20985 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20987 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20989 * math/test-snan.c: Renamed from
20990 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20991 * math/Makefile (tests): Add test-snan.
20992 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20995 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20996 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20998 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20999 __builtin_nan family of functions.
21000 * math/libm-test.inc (initialize): Initialize qnan_value with
21001 __builtin_nan family of functions.
21002 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21004 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21006 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21007 storage class. Initialize qNaN_var and sNaN_var with
21008 __builtin_nan and __builtin_nans families of functions,
21011 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21012 (sqrt_test): Remove duplicate test with qNaN input.
21013 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21014 (round_test, signbit_test, significand_test): Note missing +/-Inf
21015 as well as qNaN tests.
21017 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21018 qNaN_var. Fix a few strings, too.
21019 * math/libm-test.inc (nan_value): Rename to qnan_value.
21020 * math/gen-libm-test.pl (%beautify): Adjust to that.
21021 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21022 * math/test-misc.c (main): Likewise.
21023 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21024 to __qnan_bytes, and __qnan_union, respectively.
21025 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21027 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21028 and lqnanval, respectively.
21029 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21030 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21031 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21032 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21034 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21035 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21038 * math/test-misc.c (main): Fix copy'n'pastos.
21039 * misc/tst-efgcvt.c (special): Likewise.
21041 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21042 Remove declarations.
21044 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21046 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21047 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21048 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21049 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21051 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21053 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21054 macro to return vdso values correctly in IFUNC implementations.
21055 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21056 Optimization by using IFUNC.
21058 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21059 Richard Henderson <rth@redhat.com>
21060 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21062 * Makefile.in (bench): New target.
21063 * NEWS: Mention the benchmark framework.
21064 * Rules (bench): Likewise.
21065 (binaries-bench): Generate binaries for functions to
21067 * benchtests/Makefile: New makefile for benchmark tests.
21068 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21070 * benchtests/exp-inputs: New input file for EXP function.
21071 * benchtests/pow-inputs: New input file for POW function.
21072 * scripts/bench.pl: New script to generate source files for
21073 benchmark programs.
21075 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21077 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21078 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21079 computations on mantissa. Use macros for rounding and
21081 (denorm): Likewise.
21082 (__dbl_mp): Likewise.
21083 (add_magnitudes): Likewise.
21084 (sub_magnitudes): Likewise.
21087 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21088 powers of two in terms of TWOPOW macro.
21089 (mp_no): Make type of mantissa as MANTISSA_T.
21090 [!RADIXI]: Define RADIXI.
21091 [!TWO52]: Define TWO52.
21092 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21094 * manual/nptl.texi (cindex): Modify threads to pthreads.
21096 2013-03-15 Joseph Myers <joseph@codesourcery.com>
21098 * sysdeps/x86_64/preconfigure: Regenerated.
21100 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21103 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21105 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21106 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21108 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21109 * math/libm-test.inc (j0_test): Do not allow one spurious
21110 underflow exception.
21111 (y1_test): Likewise.
21113 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21115 * manual/Makefile (chapters): Add nptl.
21116 * manual/debug.texi (Debugging Support): Add link to Threads
21118 * manual/nptl.texi: New file.
21120 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21122 2013-03-14 Petr Baudis <pasky@ucw.cz>
21124 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21125 for non-NULL pointer before the memory validity test. Pointed
21126 out by Holger Brunck <holger.brunck@keymile.com>.
21128 2013-03-13 Andreas Schwab <schwab@suse.de>
21130 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21133 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21135 * timezone/zic.c: Update from tzcode 2013b.
21137 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21139 * manual/install.texi (Configuring and compiling):
21140 Mention i686 and i586.
21141 * INSTALL: Regenerate.
21143 2013-03-12 Roland McGrath <roland@hack.frob.com>
21145 * sysdeps/init_array/elf-init.c: New file.
21147 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21148 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21150 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21151 __gmon_start__ as global, but as static with a .preinit_array pointer.
21152 * sysdeps/init_array/gmon-start.c: New file. Use that.
21153 * sysdeps/init_array/crti.S: New file, empty except for comments.
21154 * sysdeps/init_array/crtn.S: Likewise.
21156 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21158 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21160 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21161 Remove Prefer_SSE_for_memop.
21162 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21163 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21164 HAS_PREFER_SSE_FOR_MEMOP.
21165 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21167 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21168 Remove bzero, memset ifunc support.
21169 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21170 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21171 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21172 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21174 2013-03-11 Andreas Schwab <schwab@suse.de>
21177 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21180 (GLIBC_2.16): Remove pthread_atfork.
21182 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21184 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21185 (ptestcases.h): Likewise.
21187 2013-03-08 Roland McGrath <roland@hack.frob.com>
21189 * Makeconfig ($(common-objpfx)config.status): Depend on
21190 sysdeps/*/preconfigure{,.in} too.
21192 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21194 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21195 (__free_hook): Use void * instead of __malloc_ptr_t.
21196 (__malloc_hook): Likewise.
21197 (__realloc_hook): Likewise.
21198 (__memalign_hook): Likewise.
21199 (__after_morecore_hook): Likewise.
21200 * malloc/arena.c (save_malloc_hook): Likewise.
21201 (save_free_hook): Likewise.
21202 * malloc/hooks.c (malloc_hook_ini): Likewise.
21203 (realloc_hook_ini): Likewise.
21204 (memalign_hook_ini): Likewise.
21205 * malloc/malloc.c (malloc_hook_ini): Likewise.
21206 (realloc_hook_ini): Likewise.
21207 (memalign_hook_ini): Likewise.
21208 (__free_hook): Likewise.
21209 (__malloc_hook): Likewise.
21210 (__realloc_hook): Likewise.
21211 (__memalign_hook): Likewise.
21212 (__libc_malloc): Likewise.
21213 (__libc_free): Likewise.
21214 (__libc_realloc): Likewise.
21215 (__libc_memalign): Likewise.
21216 (__libc_valloc): Likewise.
21217 (__libc_pvalloc): Likewise.
21218 (__libc_calloc): Likewise.
21219 (__posix_memalign): Likewise.
21220 * malloc/morecore.c (__sbrk): Likewise.
21221 (__default_morecore): Likewise.
21223 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21225 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21226 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21227 __malloc_ptrdiff_t.
21229 * malloc/malloc.h (__malloc_size_t): Remove macro.
21230 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21232 (old_memalign_hook): Likewise.
21233 (old_realloc_hook): Likewise.
21234 (struct hdr): Likewise.
21236 (mallochook): Likewise.
21237 (memalignhook): Likewise.
21238 (reallochook): Likewise.
21239 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21240 (tr_old_realloc_hook): Likewise.
21241 (tr_old_memalign_hook): Likewise.
21242 (tr_mallochook): Likewise.
21243 (tr_reallochook): Likewise.
21244 (tr_memalignhook): Likewise.
21246 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21248 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21249 default_ldbl_pack and using as default implementation.
21250 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21252 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21253 redundant definition.
21254 (ldbl_insert_mantissa): Likewise.
21255 (ldbl_canonicalize): Likewise.
21256 (ldbl_nearbyint): Likewise.
21257 (ldbl_pack): Rename to ldbl_pack_ppc.
21258 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21259 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21260 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21262 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21264 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21265 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21266 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21267 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21269 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21270 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21271 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21273 2013-03-07 Andreas Jaeger <aj@suse.de>
21275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21278 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21280 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21281 Include mpa.h and declare __MPEXP.
21282 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21283 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21284 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21285 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21286 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21287 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21288 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21290 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21291 (__slowpow): Use long double EXPL and LOGL functions to
21293 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21294 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21295 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21296 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21297 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21298 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21300 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21301 intermediate variable to calculate exponent.
21303 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21307 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21308 [!NO__SQR]: Define __sqr.
21309 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21310 and NO__SQR. Remove all code except __mul and __sqr. Include
21311 sysdeps/ieee754/dbl-64/mpa.c.
21312 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21315 * posix/Makefile (tests): Add tst-pathconf.
21316 * posix/tst-pathconf.c: New test case.
21317 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21319 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21321 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21323 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21325 2013-03-06 Andreas Jaeger <aj@suse.de>
21327 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21328 definition via __MAP_ANONYMOUS.
21330 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21331 it's not part of Linux headers.
21333 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21334 (MAP_HUGE_MASK): Define.
21336 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21338 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21339 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21341 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21342 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21344 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21345 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21347 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21349 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21350 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21351 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21352 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21353 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21354 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21356 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21359 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21360 Handle f2fs and efivarfs.
21362 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21365 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21366 (EFIVARFS_MAGIC): Add.
21367 (F2FS_LINK_MAX): Add.
21369 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21371 * stdio-common/vfprintf.c: Replace __builtin_expect with
21374 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21377 * sysdeps/generic/bp-sym.h: Remove file.
21378 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21379 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21380 <bp-sym.h> and <bp-asm.h>.
21381 (__longjmp): Don't use BP_SYM.
21382 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21384 (memcpy): Don't use BP_SYM.
21385 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21386 <bp-sym.h> and <bp-asm.h>.
21387 (memcpy): Don't use BP_SYM.
21388 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21390 (memcpy): Don't use BP_SYM.
21391 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21393 (memset): Don't use BP_SYM.
21394 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21395 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21396 (__bzero): Don't use BP_SYM.
21397 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21398 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21399 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21400 <bp-sym.h> and <bp-asm.h>.
21401 (memcmp): Don't use BP_SYM. Remove comment about bounded
21403 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21404 <bp-sym.h> and <bp-asm.h>.
21405 (memcpy): Don't use BP_SYM.
21406 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21407 <bp-sym.h> and <bp-asm.h>.
21408 (memset): Don't use BP_SYM.
21409 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21410 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21411 (__bzero): Don't use BP_SYM.
21412 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21413 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21414 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21415 <bp-sym.h> and <bp-asm.h>.
21416 (strncmp): Don't use BP_SYM. Remove comment about bounded
21418 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21419 <bp-sym.h> and <bp-asm.h>.
21420 (memcpy): Don't use BP_SYM.
21421 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21422 <bp-sym.h> and <bp-asm.h>.
21423 (memset): Don't use BP_SYM.
21424 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21425 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21426 (__bzero): Don't use BP_SYM.
21427 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21428 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21429 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21430 <bp-sym.h> and <bp-asm.h>.
21431 (__memchr): Don't use BP_SYM.
21432 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21433 <bp-sym.h> and <bp-asm.h>.
21434 (memcmp): Don't use BP_SYM. Remove comment about bounded
21436 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21437 <bp-sym.h> and <bp-asm.h>.
21438 (memcpy): Don't use BP_SYM.
21439 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21440 <bp-sym.h> and <bp-asm.h>.
21441 (__mempcpy): Don't use BP_SYM.
21442 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21443 <bp-sym.h> and <bp-asm.h>.
21444 (__memrchr): Don't use BP_SYM.
21445 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21446 <bp-sym.h> and <bp-asm.h>.
21447 (memset): Don't use BP_SYM.
21448 (__bzero): Likewise.
21449 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21450 <bp-sym.h> and <bp-asm.h>.
21451 (__rawmemchr): Don't use BP_SYM.
21452 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21453 <bp-sym.h> and <bp-asm.h>.
21454 (__STRCMP): Don't use BP_SYM.
21455 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21456 <bp-sym.h> and <bp-asm.h>.
21457 (strchr): Don't use BP_SYM.
21458 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21459 <bp-sym.h> and <bp-asm.h>.
21460 (__strchrnul): Don't use BP_SYM.
21461 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21462 <bp-sym.h> and <bp-asm.h>.
21463 (strlen): Don't use BP_SYM.
21464 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21465 <bp-sym.h> and <bp-asm.h>.
21466 (strncmp): Don't use BP_SYM. Remove comment about bounded
21468 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21469 <bp-sym.h> and <bp-asm.h>.
21470 (__strnlen): Don't use BP_SYM.
21471 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21472 <bp-sym.h> and <bp-asm.h>.
21473 (__GI__setjmp): Don't use BP_SYM.
21474 (_setjmp): Likewise.
21475 (__sigsetjmp): Likewise.
21476 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21477 (L(start_addresses)): Don't use BP_SYM.
21478 (_start): Likewise.
21479 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21481 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21482 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21483 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21484 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21485 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21487 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21488 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21489 about bounded pointers.
21490 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21491 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21492 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21494 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21495 about bounded pointers. Remove GKM FIXME comments.
21496 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21497 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21499 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21500 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21501 Remove GKM FIXME comments.
21502 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21503 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21504 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21506 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21507 about bounded pointers. Remove GKM FIXME comment.
21508 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21510 (strncmp): Don't use BP_SYM. Remove comment about bounded
21512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21513 <bp-sym.h> and <bp-asm.h>.
21514 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21516 <bp-sym.h> and <bp-asm.h>.
21517 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21520 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21522 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21525 2013-03-05 David S. Miller <davem@davemloft.net>
21527 * po/es.po: Update from translation team.
21529 2013-03-05 Andreas Jaeger <aj@suse.de>
21531 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21532 <bits/mman-linux.h>.
21533 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21535 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21536 <bits/mman-linux.h> to end of file.
21537 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21539 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21540 <bits/mman-linux.h> to end of file.
21541 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21543 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21544 <bits/mman-linux.h> to end of file.
21546 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21547 (MCL_CURRENT, MCL_FUTURE): Define here.
21549 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21552 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21554 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21556 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21558 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21559 fourth parameter needed for rt_sigprocmask syscall.
21560 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21561 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21562 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21563 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21564 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21565 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21567 2013-03-04 Joseph Myers <joseph@codesourcery.com>
21570 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21571 comment about bounded pointers.
21572 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21573 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21575 2013-03-04 Andreas Jaeger <aj@suse.de>
21577 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21578 common definitions.
21580 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21581 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21582 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21583 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21584 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21585 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21587 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21590 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21591 __ieee754_sqrl instead of __sqrl.
21593 2013-03-01 Joseph Myers <joseph@codesourcery.com>
21595 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21596 * sysdeps/powerpc/fpu_control.h: ... here.
21597 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21598 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21599 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21600 * sysdeps/powerpc/bits/mathinline.h: ... here.
21602 2013-03-01 Roland McGrath <roland@hack.frob.com>
21604 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21605 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21606 to just [NEED_DL_SYSINFO_DSO].
21607 * elf/dl-support.c: Likewise.
21608 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21609 * elf/rtld.c (dl_main): Likewise.
21610 * elf/setup-vdso.h (setup_vdso): Likewise.
21611 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21612 * sysdeps/unix/sysv/linux/dl-sysdep.c
21613 (_dl_discover_osversion): Likewise.
21615 2013-03-01 Carlos O'Donell <carlos@redhat.com>
21617 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21618 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21620 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21622 * NEWS: Mention libm performance improvements and non-x86 PI
21625 * csu/libc-start.c (__pthread_initialize_minimal): Change
21626 function arguments.
21627 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21629 2013-02-28 Joseph Myers <joseph@codesourcery.com>
21632 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21633 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21634 <bp-sym.h> and <bp-asm.h>.
21635 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21636 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21638 (memcpy): Don't use BP_SYM.
21639 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21641 (__mpn_add_n): Don't use BP_SYM.
21642 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21643 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21645 (__mpn_addmul_1): Don't use BP_SYM.
21646 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21647 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21649 (_setjmp): Don't use BP_SYM.
21650 (__novmx_setjmp): Likewise.
21651 (__GI__setjmp): Likewise.
21652 (__vmx_setjmp): Likewise.
21653 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21655 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21656 (__bzero): Don't use BP_SYM.
21657 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21658 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21659 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21660 <bp-sym.h> and <bp-asm.h>.
21661 (memcpy): Don't use BP_SYM.
21662 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21663 <bp-sym.h> and <bp-asm.h>.
21664 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21665 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21666 <bp-sym.h> and <bp-asm.h>.
21667 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21668 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21670 (__mpn_lshift): Don't use BP_SYM.
21671 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21672 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21674 (memset): Don't use BP_SYM.
21675 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21676 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21677 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21679 (__mpn_mul_1): Don't use BP_SYM.
21680 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21681 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21682 <bp-sym.h> and <bp-asm.h>.
21683 (memcmp): Don't use BP_SYM.
21684 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21685 <bp-sym.h> and <bp-asm.h>.
21686 (memcpy): Don't use BP_SYM.
21687 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21688 <bp-sym.h> and <bp-asm.h>.
21689 (memset): Don't use BP_SYM.
21690 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21691 <bp-sym.h> and <bp-asm.h>.
21692 (strncmp): Don't use BP_SYM.
21693 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21694 <bp-sym.h> and <bp-asm.h>.
21695 (memcpy): Don't use BP_SYM.
21696 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21697 <bp-sym.h> and <bp-asm.h>.
21698 (memset): Don't use BP_SYM.
21699 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21700 <bp-sym.h> and <bp-asm.h>.
21701 (__memchr): Don't use BP_SYM.
21702 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21703 <bp-sym.h> and <bp-asm.h>.
21704 (memcmp): Don't use BP_SYM.
21705 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21706 <bp-sym.h> and <bp-asm.h>.
21707 (memcpy): Don't use BP_SYM.
21708 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21709 <bp-sym.h> and <bp-asm.h>.
21710 (__mempcpy): Don't use BP_SYM.
21711 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21712 <bp-sym.h> and <bp-asm.h>.
21713 (__memrchr): Don't use BP_SYM.
21714 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21715 <bp-sym.h> and <bp-asm.h>.
21716 (memset): Don't use BP_SYM.
21717 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21718 <bp-sym.h> and <bp-asm.h>.
21719 (__rawmemchr): Don't use BP_SYM.
21720 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21721 <bp-sym.h> and <bp-asm.h>.
21722 (__STRCMP): Don't use BP_SYM.
21723 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21724 <bp-sym.h> and <bp-asm.h>.
21725 (strchr): Don't use BP_SYM.
21726 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21727 <bp-sym.h> and <bp-asm.h>.
21728 (__strchrnul): Don't use BP_SYM.
21729 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21730 <bp-sym.h> and <bp-asm.h>.
21731 (strlen): Don't use BP_SYM.
21732 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21733 <bp-sym.h> and <bp-asm.h>.
21734 (strncmp): Don't use BP_SYM.
21735 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21736 <bp-sym.h> and <bp-asm.h>.
21737 (__strnlen): Don't use BP_SYM.
21738 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21740 (__mpn_rshift): Don't use BP_SYM.
21741 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21742 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21743 <bp-sym.h> and <bp-asm.h>.
21744 (__sigsetjmp): Don't use BP_SYM.
21745 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21746 (L(start_addresses)): Don't use BP_SYM.
21747 (_start): Likewise.
21748 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21750 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21751 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21752 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21753 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21755 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21756 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21757 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21758 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21760 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21762 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21763 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21765 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21767 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21768 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21769 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21771 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21773 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21775 (strncmp): Don't use BP_SYM,
21776 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21778 (__mpn_sub_n): Don't use BP_SYM.
21779 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21780 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21782 (__mpn_submul_1): Don't use BP_SYM.
21783 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21785 <bp-sym.h> and <bp-asm.h>.
21786 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21788 <bp-sym.h> and <bp-asm.h>.
21789 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21792 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21794 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21795 Use ZK to minimize writes to Z.
21796 (sub_magnitudes): Simplify code a bit.
21797 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21798 Use ZK to minimize writes to Z.
21799 (sub_magnitudes): Simplify code a bit.
21801 2013-02-27 Roland McGrath <roland@hack.frob.com>
21803 * csu/gmon-start.c: Add special exception to license text.
21805 2013-02-27 Richard Henderson <rth@redhat.com>
21807 * scripts/config.guess: Update from config.git.
21808 * scripts/config.sub: Likewise.
21810 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21812 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21814 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21816 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21818 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21820 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21822 2013-02-26 Roland McGrath <roland@hack.frob.com>
21824 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21825 [$(build-shared = yes].
21827 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21829 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21830 (__mul): Reduce iterations for calculating mantissa.
21832 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21834 (__mpranred): Likewise.
21837 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21838 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21840 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21842 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21843 Define __attribute__.
21845 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21847 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21849 * posix/regex_internal.h (__attribute): Remove.
21850 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21851 (re_string_context_at): Likewise.
21852 (bitset_not): Use __attribute__ and mark function as possibly
21854 (bitset_merge): Likewise.
21855 (bitset_mask): Likewise.
21856 (re_string_char_size_at): Likewise.
21857 (re_string_wchar_at): Likewise.
21858 (re_string_elem_size_at): Likewise.
21860 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21862 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21866 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21870 (denorm): Likewise.
21871 (__dbl_mp): Likewise.
21872 (add_magnitudes): Likewise.
21873 (sub_magnitudes): Likewise.
21877 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21880 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21883 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21886 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21887 up changes with default code.
21888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21891 2013-02-24 Allan McRae <allan@archlinux.org>
21893 * manual/socket.texi (The Internet Namespace): Order menu items
21894 to match that in the file.
21896 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21897 node listing of the info page menu.
21899 2013-02-21 Joseph Myers <joseph@codesourcery.com>
21902 * sysdeps/i386/bp-asm.h: Remove file.
21903 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21904 (PARMS): Do not use macros from bp-asm.h.
21908 (__mpn_add_n): Do not use BP_SYM
21909 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21911 (PARMS): Do not use macros from bp-asm.h.
21914 (__mpn_addmul_1): Do not use BP_SYM
21915 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21917 (PARMS): Do not use macros from bp-asm.h.
21918 (SIGMSK): Likewise.
21919 (_setjmp): Likewise. Do not use BP_SYM.
21920 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21922 (PARMS): Do not use macros from bp-asm.h.
21923 (SIGMSK): Likewise.
21924 (setjmp): Likewise. Do not use BP_SYM.
21925 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21927 (PARMS): Do not use macros from bp-asm.h.
21928 (__frexp): Do not use BP_SYM.
21930 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21932 (PARMS): Do not use macros from bp-asm.h.
21933 (__frexpf): Do not use BP_SYM.
21934 (frexpf): Likewise.
21935 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21937 (PARMS): Do not use macros from bp-asm.h.
21938 (__frexpl): Do not use BP_SYM.
21939 (frexpl): Likewise.
21940 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21942 (PARMS): Do not use macros from bp-asm.h.
21943 (__remquo): Do not use BP_SYM.
21944 (remquo): Likewise.
21945 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21947 (PARMS): Do not use macros from bp-asm.h.
21948 (__remquof): Do not use BP_SYM.
21949 (remquof): Likewise.
21950 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21952 (PARMS): Do not use macros from bp-asm.h.
21953 (__remquol): Do not use BP_SYM.
21954 (remquol): Likewise.
21955 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21957 (PARMS): Do not use macros from bp-asm.h.
21960 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21961 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21963 (PARMS): Do not use macros from bp-asm.h.
21964 (strlen): Do not use BP_SYM.
21965 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21967 (PARMS): Do not use macros from bp-asm.h.
21971 (__mpn_add_n): Do not use BP_SYM.
21972 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21974 (PARMS): Do not use macros from bp-asm.h.
21977 (__mpn_addmul_1): Do not use BP_SYM.
21978 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21981 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21983 (PARMS): Do not use macros from bp-asm.h.
21986 (__mpn_lshift): Do not use BP_SYM.
21987 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21989 (PARMS): Do not use macros from bp-asm.h.
21993 (memcpy): Likewise. Do not use BP_SYM.
21994 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21995 libc_hidden_def and weak_alias.
21996 (mempcpy): Do not use BP_SYM in weak_alias.
21997 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21999 (PARMS): Do not use macros from bp-asm.h.
22002 [!BZERO_P] (CHR): Likewise.
22003 (memset): Likewise. Do not use BP_SYM.
22004 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22006 (PARMS): Do not use macros from bp-asm.h.
22009 (__mpn_mul_1): Do not use BP_SYM.
22010 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22012 (PARMS): Do not use macros from bp-asm.h.
22015 (__mpn_rshift): Do not use BP_SYM.
22016 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22018 (PARMS): Do not use macros from bp-asm.h.
22021 (strchr): Likewise. Do not use BP_SYM.
22022 (index): Do not use BP_SYM in weak_alias.
22023 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22025 (PARMS): Do not use macros from bp-asm.h.
22028 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22029 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22031 (PARMS): Do not use macros from bp-asm.h.
22032 (strlen): Do not use BP_SYM.
22033 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22035 (PARMS): Do not use macros from bp-asm.h.
22039 (__mpn_sub_n): Do not use BP_SYM.
22040 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22042 (PARMS): Do not use macros from bp-asm.h.
22045 (__mpn_submul_1): Do not use BP_SYM.
22046 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22048 (PARMS): Do not use macros from bp-asm.h.
22052 (__mpn_add_n): Do not use BP_SYM.
22053 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22056 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22058 (PARMS): Do not use macros from bp-asm.h.
22061 (memcmp): Do not use BP_SYM.
22062 (bcmp): Do not use BP_SYM in weak_alias.
22063 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22065 (PARMS): Do not use macros from bp-asm.h.
22069 (memcpy): Likewise. Do not use BP_SYM.
22070 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22072 (PARMS): Do not use macros from bp-asm.h.
22076 (memmove): Likewise. Do not use BP_SYM.
22077 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22079 (PARMS): Do not use macros from bp-asm.h.
22083 (__mempcpy): Likewise. Do not use BP_SYM.
22084 (mempcpy): Do not use BP_SYM in weak_alias.
22085 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22087 (PARMS): Do not use macros from bp-asm.h.
22090 [!BZERO_P] (CHR): Likewise.
22091 (memset): Likewise. Do not use BP_SYM.
22092 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22094 (PARMS): Do not use macros from bp-asm.h.
22096 (strcmp): Do not use BP_SYM.
22097 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22099 (PARMS): Do not use macros from bp-asm.h.
22102 [USE_AS_STRTOK_R] (SAVE): Likewise.
22103 (FUNCTION): Likewise. Do not use BP_SYM.
22104 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22106 (strtok_r): Likewise.
22107 (__GI___strtok_r): Likewise.
22108 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22109 (PARMS): Do not use macros from bp-asm.h.
22112 (__mpn_lshift): Do not use BP_SYM.
22113 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22114 (PARMS): Do not use macros from bp-asm.h.
22117 (__memchr): Do not use BP_SYM.
22118 (memchr): Do not use BP_SYM in weak_alias.
22119 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22120 (PARMS): Do not use macros from bp-asm.h.
22123 (memcmp): Do not use BP_SYM.
22124 (bcmp): Do not use BP_SYM in weak_alias.
22125 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22126 (PARMS): Do not use macros from bp-asm.h.
22129 (__mpn_mul_1): Do not use BP_SYM.
22130 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22132 (PARMS): Do not use macros from bp-asm.h.
22135 (__rawmemchr): Do not use BP_SYM.
22136 (rawmemchr): Do not use BP_SYM in weak_alias.
22137 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22138 (PARMS): Do not use macros from bp-asm.h.
22141 (__mpn_rshift): Do not use BP_SYM.
22142 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22143 (PARMS): Do not use macros from bp-asm.h.
22144 (SIGMSK): Likewise.
22145 (__sigsetjmp): Likewise. Do not use BP_SYM.
22146 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22147 (_start): Do not use BP_SYM.
22148 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22149 (PARMS): Do not use macros from bp-asm.h.
22152 (__stpcpy): Likewise. Do not use BP_SYM.
22153 (stpcpy): Do not use BP_SYM in weak_alias.
22154 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22156 (PARMS): Do not use macros from bp-asm.h.
22160 (__stpncpy): Likewise. Do not use BP_SYM.
22161 (stpncpy): Do not use BP_SYM in weak_alias.
22162 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22163 (PARMS): Do not use macros from bp-asm.h.
22166 (strchr): Likewise. Do not use BP_SYM.
22167 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22169 (PARMS): Do not use macros from bp-asm.h.
22172 (__strchrnul): Likewise. Do not use BP_SYM.
22173 (strchrnul): Do not use BP_SYM in weak_alias.
22174 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22176 (PARMS): Do not use macros from bp-asm.h.
22178 (strcspn): Do not use BP_SYM.
22179 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22181 (PARMS): Do not use macros from bp-asm.h.
22184 (strpbrk): Likewise. Do not use BP_SYM.
22185 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22187 (PARMS): Do not use macros from bp-asm.h.
22190 (strrchr): Likewise. Do not use BP_SYM.
22191 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22192 (PARMS): Do not use macros from bp-asm.h.
22194 (strspn): Do not use BP_SYM.
22195 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22196 (PARMS): Do not use macros from bp-asm.h.
22200 (FUNCTION): Likewise. Do not use BP_SYM.
22201 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22203 (strtok_r): Likewise.
22204 (__GI___strtok_r): Likewise.
22205 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22206 (PARMS): Do not use macros from bp-asm.h.
22210 (__mpn_sub_n): Do not use BP_SYM.
22211 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22213 (PARMS): Do not use macros from bp-asm.h.
22216 (__mpn_submul_1): Do not use BP_SYM.
22217 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22219 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22221 (PARMS): Do not use macros from bp-asm.h.
22226 (__clone): Do not use BP_SYM.
22227 (clone): Do not use BP_SYM in weak_alias.
22228 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22230 (PARMS): Do not use macros from bp-asm.h.
22232 (__mmap64): Do not use BP_SYM.
22233 (mmap64): Do not use BP_SYM in weak_alias.
22234 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22235 <bp-sym.h> and <bp-asm.h>.
22236 (PARMS): Do not use macros from bp-asm.h.
22237 (__posix_fadvise64_l64): Do not use BP_SYM.
22238 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22239 (PARMS): Do not use macros from bp-asm.h.
22241 (semtimedop): Do not use BP_SYM.
22242 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22245 2013-02-21 Allan McRae <allan@archlinux.org>
22247 * manual/message.texi (Charset conversion in gettext):
22248 Move @end statement to beginning of line.
22250 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22252 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22254 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22257 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22258 (denorm): Likewise.
22259 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22262 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22264 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22265 tail-call to the resolved function if pltexit isn't needed.
22267 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22269 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22270 or Y being zero as being unlikely.
22271 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22274 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22276 * manual/nss.texi (System Databases and Name Service Switch):
22277 Remove frobnicate @pxref.
22279 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22281 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22282 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22284 2013-02-20 Petr Machata <pmachata@redhat.com>
22286 * elf/elf.h (R_ARM_TARGET1): New macro.
22287 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22288 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22289 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22290 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22291 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22292 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22293 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22294 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22295 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22296 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22297 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22298 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22299 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22300 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22301 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22302 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22303 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22304 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22305 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22306 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22307 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22308 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22309 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22310 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22311 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22312 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22313 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22314 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22315 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22316 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22317 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22318 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22319 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22320 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22321 (R_ARM_THM_GOT_BREL12): Likewise.
22322 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22323 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22324 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22325 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22326 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22327 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22328 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22329 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22330 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22332 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22334 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22335 __attribute_used__ to __attribute__ ((unused)).
22337 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22339 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22341 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22342 comment formatting.
22343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22345 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22348 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22350 (ENTER): Remove both macro definitions.
22352 (CHECK_BOUNDS_LOW): Likewise.
22353 (CHECK_BOUNDS_HIGH): Likewise.
22354 (CHECK_BOUNDS_BOTH): Likewise.
22355 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22356 (RETURN_BOUNDED_POINTER): Likewise.
22357 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22358 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22359 (POP_ERRNO_LOCATION_RETURN): Likewise.
22360 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22361 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22362 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22364 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22365 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22366 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22367 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22368 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22369 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22370 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22371 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22372 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22373 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22374 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22375 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22376 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22377 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22379 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22380 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22382 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22383 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22384 * sysdeps/i386/i586/memset.S (memset): Likewise.
22385 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22386 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22387 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22389 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22390 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22391 Change uses of L(2) to L(out).
22392 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22393 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22394 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22395 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22396 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22398 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22399 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22401 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22402 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22403 (RETURN): Do not use macro LEAVE.
22404 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22405 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22406 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22407 * sysdeps/i386/i686/memset.S (memset): Likewise.
22408 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22409 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22410 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22411 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22413 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22414 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22415 L(1_2) and L(1_3) into L(1).
22416 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22417 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22418 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22419 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22420 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22421 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22422 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22423 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22424 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22426 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22427 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22428 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22429 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22430 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22431 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22432 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22433 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22434 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22435 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22436 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22437 * sysdeps/i386/strspn.S (strspn): Likewise.
22438 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22440 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22441 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22442 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22443 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22444 L(1_3) into L(1_1).
22445 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22446 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22447 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22449 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22451 2013-02-19 Jakub Jelinek <jakub@redhat.com>
22453 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22456 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22458 * math/atest-exp.c (exp_mpn): Remove ROUND.
22459 * math/atest-exp2.c (exp_mpn): Likewise.
22460 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22462 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22463 * stdlib/tst-tls-atexit-lib.c: Likewise.
22464 * stdlib/tst-tls-atexit.c: Likewise.
22466 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22468 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22469 and __attribute_alloc_size__.
22471 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22473 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22474 __attribute_alloc_size__.
22475 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22476 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22478 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22480 * include/programs/xmalloc.h: New file.
22481 * catgets/gencat.c: Include it.
22482 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22483 * elf/pldd.c: Likewise.
22484 * iconv/iconv_charmap.c: Likewise.
22485 * iconv/iconvconfig.c: Likewise.
22486 * iconv/strtab.c: Likewise.
22487 * locale/programs/locale.c: Likewise.
22488 * locale/programs/localedef.h: Likewise.
22489 * locale/programs/simple-hash.c: Likewise.
22490 * nscd/nscd.h: Likewise.
22491 * nss/makedb.c: Likewise.
22492 * sysdeps/generic/ldconfig.h: Likewise.
22494 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22496 * Versions.def: Add GLIBC_2.18.
22497 * include/link.h (struct link_map): New member l_tls_dtor_count.
22498 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22499 (__call_tls_dtors): Likewise.
22500 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22501 __cxa_thread_atexit_impl.
22502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22510 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22518 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22519 (tests): Add test case tst-tls-atexit.
22520 (modules-names): Add shared library for tst-tls-atexit.
22521 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22522 (GLIBC_PRIVATE): Add __call_tls_dtors.
22523 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22525 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22526 * stdlib/tst-tls-atexit.c: New test case.
22527 * stdlib/tst-tls-atexit-lib.c: New test case.
22529 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22531 * elf/Versions (ld): Add _dl_find_dso_for_object.
22532 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22533 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22534 (dl_open_worker): Use _dl_find_dso_for_object.
22535 * elf/dl-sym.c (do_sym): Likewise.
22536 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22538 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22540 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22541 Syntactic changes only.
22542 (_dl_runtime_profile): Do a tail-call to the resolved function.
22544 2013-02-17 Joseph Myers <joseph@codesourcery.com>
22547 * sysdeps/x86_64/bp-asm.h: Remove file.
22548 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22549 <bp-sym.h> and <bp-asm.h>.
22550 (__clone): Do not use BP_SYM.
22551 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22552 <bp-sym.h> and <bp-asm.h>.
22553 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22554 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22556 (_setjmp): Do not use BP_SYM.
22557 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22559 (setjmp): Do not use BP_SYM.
22560 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22562 (mempcpy): Do not use BP_SYM in weak_alias.
22563 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22565 (strchr): Do not use BP_SYM.
22566 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22568 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22569 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22570 (_start): Do not use BP_SYM.
22571 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22573 (strcat): Do not use BP_SYM.
22574 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22576 (STRCMP): Do not use BP_SYM.
22577 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22579 (STRCPY): Do not use BP_SYM.
22580 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22582 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22584 (FUNCTION): Do not use BP_SYM.
22585 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22587 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22589 2013-02-17 Andreas Jaeger <aj@suse.de>
22591 * time/Versions: Sort entries.
22592 * string/Versions: Likewise.
22593 * resolv/Versions: Likewise.
22594 * posix/Versions: Likewise.
22595 * iconv/Versions: Likewise.
22596 * elf/Versions: Likewise.
22597 * wcsmbs/Versions: Likewise.
22599 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22601 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22602 loop termination condition.
22604 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22605 variable to calculate EZ.
22608 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22609 the lower precision input.
22611 2013-02-15 Joseph Myers <joseph@codesourcery.com>
22614 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22615 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22616 (run-via-rtld-prefix): Do not handle %-bp tests.
22617 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22618 (all-object-suffixes): Remove .ob.
22619 (bppfx): Remove variable.
22620 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22621 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22622 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22623 [$(build-bounded) = yes] (libtype.ob): Likewise.
22624 * Makerules (elide-routines.ob): Remove variable.
22625 (do-tests-clean): Do not handle *-bp.out.
22626 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22627 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22628 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22629 (tests): Do not include $(tests-bp.out).
22630 (xtests): Do not include $(xtests-bp.out).
22631 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22632 [$(build-bounded) = yes] ($(addprefix
22633 $(objpfx),$(binaries-bounded))): Remove rule.
22634 ($(objpfx)%-bp.out): Remove rule.
22635 * config.make.in (build-bounded): Remove variable.
22636 * crypt/Makefile [$(build-bounded) = yes]
22637 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22638 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22639 append to variable.
22640 [$(build-bounded) = yes] (install-lib): Likewise.
22641 [$(build-bounded) = yes] (generated): Likewise.
22642 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22644 * intl/Makefile [$(build-bounded) = yes]
22645 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22646 * math/Makefile [$(build-bounded) = yes]
22647 ($(tests:%=$(objpfx)%-bp): Likewise.
22648 * misc/Makefile [$(build-bounded) = yes]
22649 ($(objpfx)tst-tsearch-bp): Likewise.
22650 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22651 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22653 * string/Makefile (o-objects.ob): Remove variable.
22654 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22655 (CFLAGS-.ob): Remove variable.
22656 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22657 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22658 both definitions of variable.
22659 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22660 (ASFLAGS-.ob): Remove variable.
22662 2013-02-14 Joseph Myers <joseph@codesourcery.com>
22665 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22666 Remove __BOUNDED_POINTERS__ from condition.
22667 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22668 * string/bits/string2.h [!__NO_STRING_INLINES &&
22669 !__BOUNDED_POINTERS__]: Likewise.
22670 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22672 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22673 Remove conditional code.
22674 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22675 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22676 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22680 * csu/libc-start.c: Do not include <bp-sym.h>.
22681 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22682 * elf/dl-open.c: Do not include <bp-sym.h>.
22683 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22684 * math/fegetenv.c: Do not include <bp-sym.h>.
22685 (fegetenv): Do not use BP_SYM in versioned symbols.
22686 * nptl/sysdeps/pthread/bits/libc-lockP.h
22687 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22689 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22690 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22691 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22692 (__pthread_mutex_destroy): Likewise.
22693 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22694 (__pthread_mutex_lock): Likewise.
22695 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22696 (__pthread_mutex_trylock): Likewise.
22697 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22698 (__pthread_mutex_unlock): Likewise.
22699 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22700 (__pthread_mutexattr_init): Likewise.
22701 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22702 (__pthread_mutexattr_destroy): Likewise.
22703 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22704 (__pthread_mutexattr_settype): Likewise.
22705 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22706 (__pthread_rwlock_init): Likewise.
22707 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22708 (__pthread_rwlock_destroy): Likewise.
22709 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22710 (__pthread_rwlock_rdlock): Likewise.
22711 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22712 (__pthread_rwlock_tryrdlock): Likewise.
22713 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22714 (__pthread_rwlock_wrlock): Likewise.
22715 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22716 (__pthread_rwlock_trywrlock): Likewise.
22717 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22718 (__pthread_rwlock_unlock): Likewise.
22719 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22720 (__pthread_key_create): Likewise.
22721 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22722 (__pthread_setspecific): Likewise.
22723 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22724 (__pthread_getspecific): Likewise.
22725 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22727 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22728 (_pthread_cleanup_push_defer): Likewise.
22729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22730 (_pthread_cleanup_pop_restore): Likewise.
22731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22732 (pthread_setcancelstate): Likewise.
22733 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22735 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22736 (memchr): Do not use BP_SYM in weak_alias.
22737 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22738 (fegetenv): Do not use BP_SYM in versioned symbols.
22739 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22740 (fesetenv): Do not use BP_SYM in versioned symbols.
22741 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22742 (feupdateenv): Do not use BP_SYM in versioned symbols.
22743 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22744 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22745 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22746 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22747 (open64): Do not use BP_SYM in weak_alias.
22748 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22749 (fegetenv): Do not use BP_SYM in versioned symbols.
22750 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22751 (fesetenv): Do not use BP_SYM in versioned symbols.
22752 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22753 (feupdateenv): Do not use BP_SYM in versioned symbols.
22754 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22755 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22756 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22757 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22758 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22759 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22760 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22762 (__libc_start_main): Do not use BP_SYM.
22764 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22766 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22767 redundant return line.
22769 (denorm): Likewise.
22770 (dbl_mp): Likewise.
22771 (sub_magnitudes): Likewise.
22777 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22779 (denorm): Likewise.
22780 (dbl_mp): Likewise.
22781 (sub_magnitudes): Likewise.
22788 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22790 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22791 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22794 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22795 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22796 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22797 of __mul for squares.
22798 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22800 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22802 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22803 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22805 2013-02-13 Joseph Myers <joseph@codesourcery.com>
22808 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22810 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22811 prototype or function definition. Rename ubp_* variables and
22812 parameters. Remove argv definitions conditional on
22813 [__BOUNDED_POINTERS__].
22814 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22815 * elf/dl-runtime.c (_dl_fixup): Likewise.
22816 * include/set-hooks.h (RUN_HOOK): Likewise.
22817 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22819 * string/strcpy.c (strcpy): Do not use __unbounded.
22820 * sysdeps/generic/frame.h (struct layout): Likewise.
22821 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22822 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22823 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22824 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22825 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22826 (__backtrace): Likewise.
22827 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22829 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22830 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22831 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22833 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22834 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22835 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22836 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22837 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22838 Do not use __unbounded.
22839 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22840 Rename __unboundedrlimits parameter to rlimits in prototype.
22841 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22842 Do not use __unbounded.
22843 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22844 not use __ptrvalue.
22845 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22846 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22847 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22848 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22849 __ptrvalue or __unbounded.
22850 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22851 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22853 (__new_msgctl): Do not use __ptrvalue.
22854 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22856 (__libc_msgrcv): Do not use __ptrvalue.
22857 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22858 startup_info): Do not use __unbounded.
22859 (__libc_start_main): Likewise. Rename ubp_* variables and
22860 parameters. Remove argv definitions conditional on
22861 [__BOUNDED_POINTERS__].
22862 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22864 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22866 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22868 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22870 (__new_shmctl): Do not use __ptrvalue.
22871 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22872 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22874 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22875 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22876 (__libc_sigaction): Likewise.
22877 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22878 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22880 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22882 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
22884 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22886 * string/mempcpy.c: Implement by calling memcpy.
22888 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22890 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22892 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22895 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22896 values in the mantissa.
22898 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22899 minimize writes to Z.
22900 (sub_magnitudes): Simplify code a bit.
22902 2013-02-12 Roland McGrath <roland@hack.frob.com>
22904 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22905 from the message. The linker prefixes all warnings with that already.
22907 2013-02-12 Andreas Schwab <schwab@suse.de>
22910 * posix/regexec.c (extend_buffers): Add parameter min_len.
22911 (check_matching): Pass minimum needed length.
22912 (clean_state_log_if_needed): Likewise.
22913 (get_subexp): Likewise.
22914 * posix/Makefile (tests): Add bug-regex34.
22915 (bug-regex34-ENV): Define.
22916 * posix/bug-regex34.c: New file.
22919 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22920 elements compare against the byte sequence of it, not its name.
22921 * posix/Makefile (tests): Add bug-regex35.
22922 (bug-regex35-ENV): Define.
22923 * posix/bug-regex35.c: New file.
22925 2013-02-11 Tom de Vries <tom@codesourcery.com>
22927 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22929 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22930 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22931 (CHECK_EOL): Add undef.
22933 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
22935 * bits/stdlib-bsearch.h: New file.
22936 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22937 * stdlib/stdlib.h: Likewise.
22939 2013-02-11 Roland McGrath <roland@hack.frob.com>
22941 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22942 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22944 * manual/search.texi (Array Search Function): Add missing const in
22946 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22947 declaration to use rlim_t.
22948 (Basic Scheduling Functions): Remove erroneous const from
22949 sched_getparam prototype. Remove erroneous * from
22950 sched_get_priority_max and sched_get_priority_min prototypes.
22951 (Resource Usage): Fix summary @comment on vtimes to refer to
22952 sys/vtimes.h rather than vtimes.h.
22953 Add missing *s in vtimes prototype.
22954 (Limits on Resources): Fix ulimit prototype to return long int.
22955 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22956 prototypes to use long int rather than double.
22957 (BSD Random): Fix initstate and setstate to use char *, not void *.
22958 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22959 prototype to make second argument 'struct aiocb64 *const[]'.
22960 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22961 (Status of AIO Operations): Remove erroneous const in aio_return and
22962 aio_return64 prototypes.
22963 (Synchronizing I/O): Fix sync prototype to return void.
22964 * manual/startup.texi (Suboptions): Remove an erroneous const in
22965 getsubopt prototype.
22966 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22967 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22968 use size_t rather than int.
22969 (Scanning All Users): Likewise for getpwent_r.
22970 (Setting Groups): Add missing const to setgroups prototype.
22971 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22972 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22973 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22974 'const void *' rather than 'const char *'.
22975 (Host Address Functions): Likewise for inet_ntop.
22976 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22977 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22978 ssize_t for return value.
22979 (Sending Data): Likewise for send, sendto, sendmsg.
22980 (Socket Option Functions): Add a missing const in setsockopt prototype.
22981 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22982 use wchar_t for the argument.
22983 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22984 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22986 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22987 double/float/long double for second argument.
22988 Fix return types of significand, significandf, significandl.
22989 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22990 argument in fchmod prototype.
22991 (File Owner): Use uid_t and gid_t in fchown prototype.
22992 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22993 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22994 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22995 use 'const struct dirent **' as argument types to CMP function pointer
22997 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22998 (File Times): Fix summary magic @comment for struct utimbuf and utime
22999 to refer to utime.h, not time.h.
23000 * manual/string.texi (Argz Functions): Add missing const in
23001 argz_extract and argz_next prototypes.
23002 (Finding Tokens in a String): Likewise for basename.
23003 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23004 (Copying and Concatenation): Fix typo in wmemmove prototype.
23005 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23006 (Signal Stack): Remove erroneous const in sigstack prototype.
23007 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23009 (Simple Calendar Time): Likewise for stime.
23010 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23012 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23013 say sys/sysctl.h instead.
23014 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23015 and vsyslog prototypes.
23017 2013-02-11 Tom de Vries <tom@codesourcery.com>
23019 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23022 2013-02-11 Roland McGrath <roland@hack.frob.com>
23024 * misc/sys/mman.h: Fix typo in mremap comment.
23026 2013-02-08 Roland McGrath <roland@hack.frob.com>
23028 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23029 the '\0' terminator.
23031 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23034 * debug/segfault.c: Don't include <bp-checks.h>.
23035 * sysdeps/generic/bp-checks.h: Remove file.
23036 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23037 (__GETDENTS): Don't use CHECK_N.
23038 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23039 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23040 (__getgroups): Don't use CHECK_N.
23041 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23042 (setgroups): Don't use CHECK_N.
23043 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23044 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23045 (__libc_msgrcv): Don't use CHECK_N.
23046 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23047 (__libc_msgsnd): Don't use CHECK_N.
23048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23050 (__libc_pread): Don't use CHECK_N.
23051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23052 include <bp-checks.h>.
23053 (__libc_pread64): Don't use CHECK_N.
23054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23055 include <bp-checks.h>.
23056 (__libc_pwrite): Don't use CHECK_N.
23057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23058 include <bp-checks.h>.
23059 (__libc_pwrite64): Don't use CHECK_N.
23060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23062 (__libc_pread): Don't use CHECK_N.
23063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23064 include <bp-checks.h>.
23065 (__libc_pread64): Don't use CHECK_N.
23066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23067 include <bp-checks.h>.
23068 (__libc_pwrite): Don't use CHECK_N.
23069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23070 include <bp-checks.h>.
23071 (__libc_pwrite64): Don't use CHECK_N.
23072 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23073 (do_pread): Don't use CHECK_N.
23074 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23075 (do_pread64): Don't use CHECK_N.
23076 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23077 (do_pwrite): Don't use CHECK_N.
23078 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23079 (do_pwrite64): Don't use CHECK_N.
23080 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23081 (__libc_readv): Don't use CHECK_N.
23082 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23083 (semop): Don't use CHECK_N.
23084 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23086 (semtimedop): Don't use CHECK_N.
23087 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23088 (__libc_pread): Don't use CHECK_N.
23089 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23091 (__libc_pread64): Don't use CHECK_N.
23092 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23094 (__libc_pwrite): Don't use CHECK_N.
23095 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23097 (__libc_pwrite64): Don't use CHECK_N.
23098 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23100 (__libc_msgrcv): Don't use CHECK_N.
23101 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23102 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23103 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23104 (__libc_writev): Don't use CHECK_N.
23106 2013-02-08 Roland McGrath <roland@hack.frob.com>
23108 * string/strcpy.c: Removed unused variable.
23110 * Makeconfig (+sysdep-includes): Define with := rather than =.
23111 Use an existing include/ subdir of each sysdeps dir before it.
23113 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23115 * nscd/connection.c (register_traced_file): Comment function.
23116 [HAVE_INOTIFY] (union __inev): Define.
23117 [HAVE_INOTIFY] (inotify_check_files): New function.
23118 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23119 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23121 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23123 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23125 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23126 loaded if not already and that a failure is permanent.
23128 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23131 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23132 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23134 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23137 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23138 (CHECK_1_NULL_OK): Likewise.
23139 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23140 (__fxstat): Do not use CHECK_1.
23141 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23143 (___fxstat64): Do not use CHECK_1.
23144 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23146 (__fxstatat): Do not use CHECK_1.
23147 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23149 (__fxstatat64): Do not use CHECK_1.
23150 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23152 (__fxstat): Do not use CHECK_1.
23153 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23155 (__fxstatat): Do not use CHECK_1.
23156 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23158 (__getresgid): Do not use CHECK_1.
23159 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23161 (__getresuid): Do not use CHECK_1.
23162 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23164 (__lxstat): Do not use CHECK_1.
23165 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23167 (__old_msgctl): Do not use CHECK_1.
23168 (__new_msgctl): Likewise.
23169 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23171 (__new_setrlimit): Do not use CHECK_1.
23172 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23174 (__old_shmctl): Do not use CHECK_1.
23175 (__new_shmctl): Likewise.
23176 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23178 (__xstat): Do not use CHECK_1.
23179 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23180 (__lxstat): Do not use CHECK_1.
23181 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23183 (___lxstat64): Do not use CHECK_1.
23184 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23185 (__old_msgctl): Do not use CHECK_1.
23186 (__new_msgctl): Likewise.
23187 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23189 (__gettimeofday): Do not use CHECK_1.
23190 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23191 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23192 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23194 (__gettimeofday): Do not use CHECK_1.
23195 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23196 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23197 (__new_shmctl): Do not use CHECK_1.
23198 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23200 (do_sigtimedwait): Do not use CHECK_1.
23201 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23203 (do_sigwaitinfo): Do not use CHECK_1.
23204 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23206 (msgctl): Do not use CHECK_1.
23207 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23209 (shmctl): Do not use CHECK_1.
23210 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23211 (ustat): Do not use CHECK_1.
23212 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23214 (__fxstat): Do not use CHECK_1.
23215 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23217 (__fxstatat): Do not use CHECK_1.
23218 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23220 (__lxstat): Do not use CHECK_1.
23221 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23223 (__xstat): Do not use CHECK_1.
23224 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23225 (__xstat): Do not use CHECK_1.
23226 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23227 (___xstat64): Do not use CHECK_1.
23230 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23232 (CHECK_BOUNDS_HIGH): Likewise.
23233 * string/strcpy.c: Do not include <bp-checks.h>.
23234 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23236 2013-02-07 Roland McGrath <roland@hack.frob.com>
23238 * nscd/nscd-client.h (__nscd_drop_map_ref):
23239 Add __attribute__ ((unused)).
23240 * nis/nss-nisplus.h (niserr2nss): Likewise.
23242 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23243 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23245 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23246 Remove inline keyword.
23247 * include/rounding-mode.h (round_away): Likewise.
23248 * libio/wfileops.c (adjust_wide_data): Likewise.
23249 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23250 (__m128i_strloadu_tolower): Likewise.
23251 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23252 (__m128i_strloadu_tolower): Likewise.
23253 * time/mktime.c (ydhms_diff): Likewise.
23254 * locale/elem-hash.h (elem_hash): Likewise.
23255 * locale/setlocale.c (setdata): Likewise.
23256 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23257 (re_string_wchar_at): Likewise.
23258 (bitset_not, bitset_merge, bitset_mask): Likewise.
23259 [!(__GNUC__ > 3)] (inline): Remove macro.
23260 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23261 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23262 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23263 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23264 * string/memcmp.c (memcmp_bytes): Likewise.
23265 * locale/programs/locarchive.c (compute_hashval): Likewise.
23266 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23267 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23268 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23269 * nss/getent.c (print_rpc, print_protocols): Likewise.
23270 (print_passwd, print_group, print_aliases): Likewise.
23271 * nis/nss-nisplus.h (niserr2nss): Likewise.
23272 * nscd/connections.c (restart_p): Likewise.
23273 Change return type to bool.
23275 2013-02-05 Roland McGrath <roland@hack.frob.com>
23277 * Makeconfig (all-Depend-files): Add existing
23278 $(sorted-subdirs:=/Depend) files.
23279 (all-subdirs): Remove nss.
23280 * sysdeps/unix/inet/Subdirs: Add it here instead.
23281 * hesiod/Depend: New file.
23283 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23284 instead of calling alloca.
23286 * io/lseek.c (__lseek): Rename to __libc_lseek.
23287 Define __lseek as an alias.
23289 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23291 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23293 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23294 else clause and remove check for non-standard endianness.
23296 2013-02-04 David S. Miller <davem@davemloft.net>
23298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23300 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23303 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23304 (__ubp_memchr): Remove prototype.
23305 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23306 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23307 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23308 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23309 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23311 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23312 (__ubp_memchr): Likewise.
23313 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23314 (__ubp_memchr): Likewise.
23315 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23316 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23317 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23318 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23320 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23321 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23322 (__getcwd): Do not use CHECK_STRING.
23323 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23325 (__real_chown): Do not use CHECK_STRING.
23326 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23328 (fchownat): Do not use CHECK_STRING.
23329 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23331 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23333 (__lchown): Do not use CHECK_STRING.
23334 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23335 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23336 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23337 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23339 include <bp-checks.h>.
23340 (truncate64): Do not use CHECK_STRING.
23341 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23343 (__real_chown): Do not use CHECK_STRING.
23344 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23346 (__lchown): Do not use CHECK_STRING.
23347 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23349 (__chown): Do not use CHECK_STRING.
23350 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23352 (truncate64): Do not use CHECK_STRING.
23353 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23355 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23356 (__xmknod): Do not use CHECK_STRING.
23357 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23359 (__xmknodat): Do not use CHECK_STRING.
23360 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23361 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23363 2013-02-04 Andreas Schwab <schwab@suse.de>
23366 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23367 * include/netdb.h: Likewise for h_errno.
23368 * elf/tst-stackguard1.c: Include <tls.h>.
23370 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23372 * elf/link.h (struct link_map): Extend the l_addr comment.
23373 * include/link.h (struct link_map): Likewise.
23375 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23378 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23379 (BOUNDED_1): Remove macro.
23380 * debug/backtrace.c: Don't include <bp-checks.h>.
23381 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23382 (__backtrace): Likewise.
23383 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23385 (__backtrace): Don't use BOUNDED_1.
23386 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23388 (__backtrace): Don't use BOUNDED_1.
23389 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23390 (__backtrace): Don't use BOUNDED_1.
23391 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23392 (shmat): Don't use BOUNDED_N.
23394 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23397 * sysdeps/generic/bp-start.h: Remove file.
23398 * csu/libc-start.c: Don't include <bp-start.h>.
23399 (LIBC_START_MAIN): Set up __environ directly instead of using
23400 INIT_ARGV_and_ENVIRON.
23401 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23405 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23407 (CHECK_FCNTL): Likewise.
23408 (CHECK_N_PAGES): Likewise.
23411 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23413 (CHECK_SIGSET_NULL_OK): Likewise.
23414 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23416 (sigpending): Don't use CHECK_SIGSET.
23417 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23419 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23420 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23422 (do_sigsuspend): Don't use CHECK_SIGSET.
23423 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23425 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23426 (do_sigwait): Don't use CHECK_SIGSET.
23427 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23429 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23430 include <bp-checks.h>.
23431 (sigpending): Don't use CHECK_SIGSET.
23432 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23433 include <bp-checks.h>.
23434 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23435 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23437 (sigpending): Don't use CHECK_SIGSET.
23438 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23440 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23443 * sysdeps/generic/bp-semctl.h: Remove file.
23444 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23445 <bp-checks.h> and <bp-semctl.h>.
23446 (__old_semctl): Don't use CHECK_SEMCTL.
23447 (__new_semctl): Likewise.
23448 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23450 (__old_semctl): Don't use CHECK_SEMCTL.
23451 (__new_semctl): Likewise.
23452 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23453 <bp-checks.h> and <bp-semctl.h>.
23454 (__old_semctl): Don't use CHECK_SEMCTL.
23455 (__new_semctl): Likewise.
23456 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23457 <bp-checks.h> and <bp-semctl.h>.
23458 (semctl): Don't use CHECK_SEMCTL.
23461 * Makerules (elide-bp-thunks): Remove variable.
23462 (elide-routines.oS): Don't use $(elide-bp-thunks).
23463 (elide-routines.os): Likewise.
23464 (elide-routines.o): Likewise.
23465 (elide-routines.op): Likewise.
23466 (elide-routines.og): Likewise.
23467 (objects): Don't use $(bp-thunks).
23468 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23470 (common-generated): Do not add s-proto-bp.d.
23471 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23474 Do not generate makefile rules for bounded-pointer thunks.
23475 * sysdeps/generic/bp-thunks.h: Remove file.
23476 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23477 * sysdeps/unix/s-proto-bp.S: Likewise.
23480 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23481 parts of result separately when argument is not close to line from
23482 -i to i and one part of argument is small.
23483 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23484 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23485 * math/libm-test.inc (cacos_test): Add more tests.
23486 (casin_test): Likewise.
23487 (casinh_test): Likewise.
23488 * sysdeps/i386/fpu/libm-test-ulps: Update.
23489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23491 2013-01-31 David S. Miller <davem@davemloft.net>
23493 * po/de.po: Update from translation team.
23495 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23497 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23499 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23501 * configure.in (_AC_PROG_CC_C89): New definition.
23502 * configure: Regenerate.
23504 * configure.in (AC_PROG_CPP): New definition.
23505 * configure: Regenerate.
23507 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23509 * debug/tst-backtrace.h: New file.
23510 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23511 (ret): Remove variable.
23513 (FAIL): Remove macro.
23514 (NO_INLINE): Likewise.
23515 (fn1): Use match function instead of strstr.
23516 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23517 (ret): Remove variable.
23519 (FAIL): Remove macro.
23520 (NO_INLINE): Likewise.
23521 (fn): Use match function instead of strstr.
23522 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23523 (ret): Remove variable.
23525 (FAIL): Remove macro.
23526 (NO_INLINE): Likewise.
23527 (handle_signal): Use match function instead of strstr.
23528 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23529 (ret): Remove variable.
23531 (FAIL): Remove macro.
23532 (NO_INLINE): Likewise.
23533 (handle_signal): Use match function instead of strstr.
23535 2013-01-23 Roland McGrath <roland@hack.frob.com>
23537 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23539 2013-01-23 David S. Miller <davem@davemloft.net>
23541 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23542 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23543 argument of CAS if possible.
23544 * sysdeps/sparc/sparc64/bits/atomic.h
23545 (__arch_compare_and_exchange_val_32_acq): Likewise.
23546 (__arch_compare_and_exchange_val_64_acq): Likewise.
23548 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23550 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23551 * sysdeps/posix/ulimit.c: ... this.
23552 Include <limits.h>.
23553 * sysdeps/unix/bsd/ulimit.c: Remove file.
23555 2013-01-23 Adam Conrad <adconrad@0c3.net>
23557 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23558 (LDFLAGS-tst-array5): Likewise.
23560 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23563 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23564 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23565 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23566 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23568 2013-01-21 David S. Miller <davem@davemloft.net>
23570 * sysdeps/sparc/backtrace.c: New file.
23571 * sysdeps/sparc/sparc32/backtrace.h: New file.
23572 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23573 * sysdeps/sparc/sparc64/backtrace.h: New file.
23574 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23575 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23578 2013-01-21 Andreas Schwab <schwab@suse.de>
23581 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23584 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23588 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23590 2013-01-18 Joseph Myers <joseph@codesourcery.com>
23591 Mark Mitchell <mark@codesourcery.com>
23592 Tom de Vries <tom@codesourcery.com>
23593 Paul Pluzhnikov <ppluzhnikov@google.com>
23595 * debug/tst-backtrace2.c: New file.
23596 * debug/tst-backtrace3.c: Likewise.
23597 * debug/tst-backtrace4.c: Likewise.
23598 * debug/tst-backtrace5.c: Likewise.
23599 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23600 (CFLAGS-tst-backtrace3.c): Likewise.
23601 (CFLAGS-tst-backtrace4.c): Likewise.
23602 (CFLAGS-tst-backtrace5.c): Likewise.
23603 (LDFLAGS-tst-backtrace2): Likewise.
23604 (LDFLAGS-tst-backtrace3): Likewise.
23605 (LDFLAGS-tst-backtrace4): Likewise.
23606 (LDFLAGS-tst-backtrace5): Likewise.
23607 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23608 tst-backtrace4 and tst-backtrace5.
23610 2013-01-18 Anton Blanchard <anton@samba.org>
23611 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23613 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23614 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23615 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23616 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23618 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23619 "+r" and remove output regs list as redundant. Add explicit inline
23620 asm to specify register of return val to work around compiler codegen
23621 bug. Remove (int) cast on return value. Add return type parameter to
23622 use in macro so that this macro does not truncate return value for
23624 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23625 pass to INTERNAL_VSYSCALL_NCS.
23626 (INLINE_VSYSCALL): Add 'long int' as return type to
23627 INTERNAL_VSYSCALL_NCS macro invocation.
23628 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23629 INTERNAL_VSYSCALL_NCS macro invocation.
23630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23632 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23635 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23636 Fix application of SIMD FP exception mask.
23638 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23639 mp_no from a power of two.
23640 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23641 __mpexp_twomm1. Use __pow_mp.
23643 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23646 2013-01-17 David S. Miller <davem@davemloft.net>
23648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23650 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23653 * include/complex.h: Condition contents on [!_COMPLEX_H].
23654 (__kernel_casinhf): New prototype.
23655 (__kernel_casinh): Likewise.
23656 (__kernel_casinhl): Likewise.
23657 * math/Makefile (libm_calls): Add k_casinh.
23658 * math/k_casinh.c: New file.
23659 * math/k_casinhf.c: Likewise.
23660 * math/k_casinhl.c: Likewise.
23661 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23662 finite nonzero arguments.
23663 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23664 finite nonzero arguments.
23665 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23666 finite nonzero arguments.
23667 * math/s_casinh.c: Do not include <float.h>.
23668 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23669 * math/s_casinhf.c: Do not include <float.h>.
23670 (__casinhf): Move code for finite nonzero arguments to
23672 * math/s_casinhl.c: Do not include <float.h>.
23673 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23675 (__casinhl): Move code for finite nonzero arguments to
23677 * math/libm-test.inc (cacos_test): Add more tests.
23678 * sysdeps/i386/fpu/libm-test-ulps: Update.
23679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23681 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23683 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23684 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23685 [!HAVE_MREMAP]: Remove [defined linux] case.
23686 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23688 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23690 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23692 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
23694 * elf/elf.h (R_386_SIZE32): New relocation.
23695 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23697 (elf_machine_rela): Likewise.
23698 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23699 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23701 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23703 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23704 (FP_FAST_FMA): Do not define.
23705 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23706 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23707 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23708 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23709 !_SOFT_FLOAT]: Likewise.
23710 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23711 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23713 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23714 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23715 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23716 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23717 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23718 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23721 2013-01-16 Andreas Schwab <schwab@suse.de>
23724 * include/stdlib.h (__mktemp): Add declaration.
23725 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23726 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23728 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23730 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23732 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23733 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23734 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23736 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23737 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23739 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23741 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23742 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23743 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23745 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23746 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23748 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23750 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23752 2013-01-15 David S. Miller <davem@davemloft.net>
23754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23755 trunc{,f} to libm-sysdep_routes.
23756 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23766 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23767 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23768 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23769 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23770 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23771 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23774 nearbyint{,f} to libm-sysdep_routes.
23775 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23786 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23788 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23789 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23791 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23792 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23793 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23795 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23796 libc_feholdexcept and libc_fesetenv.
23798 2013-01-15 Mike Frysinger <vapier@gentoo.org>
23800 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23802 2013-01-14 David S. Miller <davem@davemloft.net>
23804 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23805 (SPARC_ASM_VIS2_IFUNC): Likewise.
23806 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23808 use of 'siam' instruction.
23809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23815 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23816 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23817 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23827 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23828 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23829 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23830 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23837 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23838 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23839 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23840 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23842 routines to libm-sysdep_routines.
23843 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23846 fdim/fdimf to libm-sysdep_routines.
23847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23855 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23856 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23857 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23858 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23860 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23862 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23863 to optimize copies.
23865 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23866 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23867 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23869 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23870 local variable MPTWO.
23871 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23874 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23876 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23879 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23881 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23883 2013-01-13 Mike Frysinger <vapier@gentoo.org>
23885 * manual/pattern.texi (glob_t): Document gl_flags.
23886 (glob64_t): Likewise.
23888 2013-01-11 David S. Miller <davem@davemloft.net>
23890 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23891 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23892 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
23893 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23894 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23895 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23896 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23897 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23898 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23899 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23900 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23901 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23902 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23904 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23905 sparc V9 rather than using V8 code.
23906 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23907 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23909 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23911 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23914 2013-01-11 Roland McGrath <roland@hack.frob.com>
23916 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23917 not in the main loop.
23918 * configure: Regenerated.
23920 2013-01-11 Joseph Myers <joseph@codesourcery.com>
23922 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23923 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23925 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23926 [!__GLIBC_HAVE_LONG_LONG] case.
23927 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23928 condition to just #else.
23929 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23930 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23931 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23932 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23934 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23935 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23936 #elif condition to just #else.
23937 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23938 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23939 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23940 #elif condition to just #else.
23942 2013-01-11 Steve Ellcey <sellcey@mips.com>
23944 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23945 (EF_MIPS_ARCH_64): Fix value.
23946 (EF_MIPS_ARCH_32R2): New.
23947 (EF_MIPS_ARCH_64R2): New.
23949 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23951 * Makeconfig (+link-pie-before-libc): New.
23952 (+link-pie-after-libc): Likewise.
23953 (+link-pie-tests): Likewise.
23954 (+link-pie): Rewritten.
23955 (link-before-libc): Remove $(config-LDFLAGS).
23956 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23957 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23958 (config-LDFLAGS): Renamed to ...
23959 (rtld-LDFLAGS): This.
23960 (rtld-tests-LDFLAGS): New macro.
23961 (link-libc-rpath-link): Likewise.
23962 (link-libc-tests-rpath-link): Likewise.
23963 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23964 (link-libc): Prepand $(link-libc-rpath-link).
23965 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23966 (test-program-prefix): New macro.
23967 (test-via-rtld-prefix): Likewise.
23968 (test-program-cmd): Likewise.
23969 (host-test-program-cmd): Likewise.
23970 * Makefile ($(common-objpfx)testrun.sh): Replace
23971 $(run-program-prefix) with $(test-program-prefix).
23972 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23974 ($(common-objpfx)shlib.lds): Likewise.
23975 (build-module-helper): Likewise.
23976 ($(common-objpfx)format.lds): Likewise.
23977 * Rules (binaries-pie-tests): New.
23978 (binaries-pie-notests): Likewise.
23979 (binaries-pie): Rewritten.
23980 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23981 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23982 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23983 (make-test-out): Replace $(host-built-program-cmd) with
23984 $(host-test-program-cmd).
23985 * config.make.in (build-hardcoded-path-in-tests): New variable.
23986 * configure.in (--enable-hardcoded-path-in-tests): New configure
23988 (hardcoded_path_in_tests): New AC_SUBST.
23989 * configure: Regenerated.
23990 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23991 $(built-program-cmd) with $(test-program-cmd).
23992 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23993 (test_program_cmd): This.
23994 * elf/Makefile ($(objpfx)order.out): Run test with
23995 $(test-program-prefix).
23996 ($(objpfx)order2.out): Likewise.
23997 ($(objpfx)tst-initorder.out): Likewise.
23998 ($(objpfx)tst-initorder2.out): Likewise.
23999 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24000 $(test-program-cmd).
24001 ($(objpfx)tst-array1-static.out): Likewise.
24002 ($(objpfx)tst-array2.out): Likewise.
24003 ($(objpfx)tst-array3.out): Likewise.
24004 ($(objpfx)tst-array4.out): Likewise.
24005 ($(objpfx)tst-array5.out): Likewise.
24006 ($(objpfx)tst-array5-static.out): Likewise.
24007 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24008 $(test-program-cmd).
24009 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24010 $(run-program-prefix) with $(test-program-prefix).
24011 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24012 (test_program_prefix): This.
24013 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24014 $(run-program-prefix) with $(test-program-prefix).
24015 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24016 (test_program_prefix): This.
24017 * iconvdata/tst-tables.sh: Likewise.
24018 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24019 $(run-program-prefix) with $(test-program-prefix).
24020 ($(objpfx)tst-translit.out): Likewise.
24021 ($(objpfx)tst-gettext2.out): Likewise.
24022 ($(objpfx)tst-gettext4.out): Likewise.
24023 ($(objpfx)tst-gettext6.out): Likewise.
24024 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24025 (test_program_prefix): This.
24026 * intl/tst-gettext2.sh: Likewise.
24027 * intl/tst-gettext4.sh Likewise.
24028 * intl/tst-gettext6.sh: Likewise.
24029 * intl/tst-translit.sh: Likewise.
24030 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24031 with $(test-program-cmd).
24032 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24033 $(run-program-prefix) with $(test-program-prefix).
24034 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24035 (test_program_prefix): This.
24036 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24037 $(run-program-prefix) with $(test-program-prefix).
24038 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24039 (test_program_prefix): This.
24040 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24041 * posix/Makefile ($(objpfx)globtest.out): Replace
24042 $(run-via-rtld-prefix) and $(test-wrapper) with
24043 $(test-program-prefix) and $(test-via-rtld-prefix).
24044 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24045 $(test-program-prefix).
24046 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24047 $(host-test-program-cmd).
24048 (tst-spawn-ARGS): Likewise.
24049 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24050 $(test-program-prefix).
24051 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24052 (test_via_rtld_prefix): This.
24053 (test_wrapper): Renamed to ...
24054 (test_program_prefix): This.
24055 (run_program_prefix): Replaced by test_program_prefix.
24056 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24057 (test_program_prefix): This.
24058 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24059 with $(host-test-program-cmd).
24060 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24061 $(run-program-prefix) with $(test-program-prefix).
24062 ($(objpfx)tst-printf.out): Likewise.
24063 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24064 $(test-program-cmd).
24065 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24066 (test_program_prefix): This.
24067 * stdio-common/tst-unbputc.sh: Likewise.
24068 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24069 $(run-program-prefix) with $(test-program-prefix).
24070 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24071 (test_program_prefix): This.
24072 * string/Makefile ($(objpfx)tst-svc.out): Replace
24073 $(built-program-cmd) with $(test-program-cmd).
24075 2013-01-11 Andreas Jaeger <aj@suse.de>
24078 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24079 value. Sync with Linux 3.7.
24081 2013-01-10 David S. Miller <davem@davemloft.net>
24083 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24084 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24085 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24087 2013-01-10 Roland McGrath <roland@hack.frob.com>
24089 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24091 * configure: Regenerated.
24093 2013-01-10 David S. Miller <davem@davemloft.net>
24095 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24096 sparc V9 rather than using V8 code.
24097 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24098 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24100 2013-01-10 Roland McGrath <roland@hack.frob.com>
24102 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24103 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24104 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24105 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24106 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24107 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24108 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24109 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24110 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24111 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24112 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24113 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24114 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24115 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24116 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24117 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24118 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24119 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24120 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24121 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24122 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24123 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24124 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24125 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24126 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24127 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24128 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24130 2013-01-10 David S. Miller <davem@davemloft.net>
24132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24134 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24136 * posix/Makefile (tests-static): New variable.
24137 (tests): Add $(tests-static).
24138 (tst-exec-static-ARGS): New variable.
24139 (tst-spawn-static-ARGS): Likewise.
24140 * posix/tst-exec-static.c: New file.
24141 * posix/tst-spawn-static.c: Likewise.
24142 * posix/tst-exec.c: Support run directly.
24143 * posix/tst-spawn.c: Likewise.
24145 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24147 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24149 * math/bits/mathcalls.h (llrint): Likewise.
24150 (llround): Likewise.
24151 * stdlib/stdlib.h (struct drand48_data): Likewise.
24152 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24153 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24154 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24156 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24158 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24159 (elf_greg_t): Likewise.
24160 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24161 (__jmp_buf): Likewise.
24162 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24164 (llrint): Likewise, for all definitions.
24165 (llrintl): Likewise.
24167 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24168 Remove [__GNUC__] condition.
24169 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24170 condition to just [__USE_ISOC99].
24171 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24173 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24176 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24177 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24179 (_POSIX_V6_ILP32_OFF32): Likewise.
24180 (_XBS5_ILP32_OFF32): Likewise.
24181 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24182 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24184 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24186 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24188 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24189 doubles __mpexp_twomm1. Adjust usage.
24190 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24193 2013-01-10 Andreas Schwab <schwab@suse.de>
24196 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24197 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24199 2013-01-09 David S. Miller <davem@davemloft.net>
24202 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24203 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24204 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24205 (TCP_FASTOPEN): Define.
24206 (tcp_repair_opt): New structure.
24207 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24209 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24210 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24211 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24212 (tcp_cookie_transactions): New structure.
24214 2013-01-09 Anton Blanchard <anton@samba.org>
24216 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24217 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24218 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24219 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24221 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24223 * include/features.h (__USE_ANSI): Remove.
24225 2013-01-09 Roland McGrath <roland@hack.frob.com>
24227 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24229 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24231 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24233 * sysdeps/s390/fpu/libm-test-ulps: Update.
24235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24237 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24241 (denorm): Likewise.
24242 (__mp_dbl): Likewise.
24243 (__dbl_mp): Likewise.
24244 (add_magnitudes): Likewise.
24245 (sub_magnitudes): Likewise.
24251 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24255 (denorm): Likewise.
24256 (__mp_dbl): Likewise.
24257 (__dbl_mp): Likewise.
24258 (add_magnitudes): Likewise.
24259 (sub_magnitudes): Likewise.
24265 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24269 (denorm): Likewise.
24270 (__mp_dbl): Likewise.
24271 (__dbl_mp): Likewise.
24272 (add_magnitudes): Likewise.
24273 (sub_magnitudes): Likewise.
24280 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24282 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24283 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24284 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24285 2 && __USE_EXTERN_INLINES]: Likewise.
24287 2013-01-08 Andreas Jaeger <aj@suse.de>
24290 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24292 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24293 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24295 2013-01-07 Anton Blanchard <anton@samba.org>
24297 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24298 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24299 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24300 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24301 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24302 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24303 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24304 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24305 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24306 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24307 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24308 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24309 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24310 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24311 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24312 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24313 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24314 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24315 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24316 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24317 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24318 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24319 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24320 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24321 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24322 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24323 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24324 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24325 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24326 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24327 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24328 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24329 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24330 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24331 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24332 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24333 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24334 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24335 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24336 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24337 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24338 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24339 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24341 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24343 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24344 (__MALLOC_PMT): Likewise.
24345 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24346 [__GNUC__], only on [_LIBC].
24347 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24348 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24349 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24350 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24351 forward declaration.
24352 (realloc_hook_ini): Likewise.
24353 (memalign_hook_ini): Likewise.
24354 (__libc_memalign): Do not use __MALLOC_PMT in variable
24356 (__libc_valloc): Likewise.
24357 (__libc_pvalloc): Likewise.
24358 (__libc_calloc): Likewise.
24359 (__posix_memalign): Likewise.
24362 * math/s_casinh.c: Include <float.h>.
24363 (__casinh): Do not do computation with squaring and square root
24364 for large arguments.
24365 * math/s_casinhf.c: Include <float.h>.
24366 (__casinhf): Do not do computation with squaring and square root
24367 for large arguments.
24368 * math/s_casinhl.c: Include <float.h>.
24369 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24370 (__casinhl): Do not do computation with squaring and square root
24371 for large arguments.
24372 * math/libm-test.inc (casin_test): Add more tests.
24373 (casinh_test): Likewise.
24374 * sysdeps/i386/fpu/libm-test-ulps: Update.
24375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24377 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24379 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24380 (__x86_64_raw_data_cache_size): Likewise.
24381 (__x86_64_data_cache_size_half): Likewise.
24382 (__x86_64_raw_data_cache_size_half): Likewise.
24383 (__x86_64_shared_cache_size): Likewise.
24384 (__x86_64_raw_shared_cache_size): Likewise.
24385 (__x86_64_shared_cache_size_half): Likewise.
24386 (__x86_64_raw_shared_cache_size_half): Likewise.
24387 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24389 (__x86_data_cache_size): This.
24390 (__x86_64_raw_data_cache_size): Renamed to ...
24391 (__x86_raw_data_cache_size): This.
24392 (__x86_64_data_cache_size_half): Renamed to ...
24393 (__x86_data_cache_size_half): This.
24394 (__x86_64_raw_data_cache_size_half): Renamed to ...
24395 (__x86_raw_data_cache_size_half): This.
24396 (__x86_64_shared_cache_size): Renamed to ...
24397 (__x86_shared_cache_size): This.
24398 (__x86_64_raw_shared_cache_size): Renamed to ...
24399 (__x86_raw_shared_cache_size): This.
24400 (__x86_64_shared_cache_size_half): Renamed to ...
24401 (__x86_shared_cache_size_half): This.
24402 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24403 (__x86_raw_shared_cache_size_half): This.
24404 * sysdeps/x86_64/memcpy.S: Updated.
24405 * sysdeps/x86_64/memset.S: Likewise.
24406 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24407 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24408 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24410 2013-01-04 David S. Miller <davem@davemloft.net>
24412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24414 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24416 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24417 1 to avoid redefinition warning.
24418 (__USE_GNU): Don't define.
24419 (init_signaling_nan): Protoize.
24421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24423 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24425 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24426 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24427 (__cpymn): Likewise.
24428 (norm): Remove commented code.
24429 (denorm): Likewise.
24430 (__mp_dbl): Likewise.
24432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24433 (__cpymn): Likewise.
24434 (norm): Remove commented code.
24435 (denorm): Likewise.
24436 (__mp_dbl): Likewise.
24439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24440 mp_no value for 1.0 and 2.0.
24441 (norm): Use RADIXI instead of radixi.d.
24442 (denorm): Likewise.
24443 (__mul): Use 0.0 instead of zero.d.
24444 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24445 mp_no value for 1.0 and 2.0.
24446 (norm): Use RADIXI instead of radixi.d.
24447 (denorm): Likewise.
24448 (__mul): Use 0.0 instead of zero.d.
24450 2013-01-04 Joseph Myers <joseph@codesourcery.com>
24453 * math/s_casinh.c (__casinh): Reduce finite argument to first
24454 quadrant then set signs of results at the end.
24455 * math/s_casinhf.c (__casinhf): Likewise.
24456 * math/s_casinhl.c (__casinhl): Likewise.
24457 * math/libm-test.inc (casin_test): Add more tests.
24458 (casinh_test): Likewise.
24459 * sysdeps/i386/fpu/libm-test-ulps: Update.
24460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24462 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24464 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24466 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24468 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24470 (denorm): Likewise.
24471 (__mp_dbl): Likewise.
24474 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24475 and adjust the header comment.
24477 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24478 variable name from declaration.
24480 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24483 Initialize COMMON_CPUID_INDEX_7 element.
24484 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24485 (CPUID_RTM): Likewise.
24486 (HAS_RTM): Likewise.
24487 (COMMON_CPUID_INDEX_7): New enum.
24489 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24492 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24493 size is zero, record memory as freed.
24495 2013-01-03 Andreas Jaeger <aj@suse.de>
24497 * po/ia.po: Add new Interlingua translation.
24499 2012-01-03 Allan McRae <allan@archlinux.org>
24501 * locale/programs/localedef.c: Fix description of '--posix' flag.
24503 2013-01-02 Joseph Myers <joseph@codesourcery.com>
24505 * NEWS: Update dates in second copyright notice.
24506 * README: Update copyright dates in example.
24507 * manual/libc.texinfo: Update copyright dates.
24508 * scripts/test-installation.pl: Update copyright date in --version
24511 * hurd/ctty-input.c: Fix copyright notice formatting.
24512 * hurd/ctty-output.c: Likewise.
24513 * hurd/dtable.c: Likewise.
24514 * hurd/hurd-raise.c: Likewise.
24515 * hurd/hurdprio.c: Likewise.
24516 * hurd/msgportdemux.c: Likewise.
24517 * misc/sys/file.h: Likewise.
24518 * misc/sys/ioctl.h: Likewise.
24519 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24520 * sysdeps/mach/hurd/chdir.c: Likewise.
24521 * sysdeps/mach/hurd/fchdir.c: Likewise.
24522 * sysdeps/mach/hurd/rename.c: Likewise.
24523 * sysdeps/mach/hurd/rmdir.c: Likewise.
24524 * sysdeps/mach/hurd/seekdir.c: Likewise.
24525 * sysdeps/mach/hurd/setsid.c: Likewise.
24526 * sysdeps/posix/wait3.c: Likewise.
24528 * All files with FSF copyright notices: Update copyright dates
24529 using scripts/update-copyrights.
24530 * intl/plural.c: Regenerated.
24531 * locale/programs/charmap-kw.h: Likewise.
24532 * locale/programs/locfile-kw.h: Likewise.
24534 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24536 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24539 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24540 calculation loop and add branch prediction.
24542 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24543 check access beyond bounds of m1np.
24545 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24547 (__inv): Remove local variable MPTWO to use the global
24549 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24550 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24552 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24553 MP3HALFS static const.
24555 2013-01-01 David S. Miller <davem@davemloft.net>
24557 * po/ca.po: Update from translation team.
24559 2013-01-01 Joseph Myers <joseph@codesourcery.com>
24561 * scripts/update-copyrights: New file.
24562 * Makeconfig: Reformat copyright notice.
24563 * ctype/ctype.h: Likewise.
24564 * debug/swprintf_chk.c: Likewise.
24565 * elf/dl-cache.c: Likewise.
24566 * elf/dl-debug.c: Likewise.
24567 * elf/dl-object.c: Likewise.
24568 * grp/initgroups.c: Likewise.
24569 * hurd/Makefile: Likewise.
24570 * hurd/hurd/signal.h: Likewise.
24571 * hurd/hurdfault.c: Likewise.
24572 * hurd/hurdioctl.c: Likewise.
24573 * hurd/hurdlookup.c: Likewise.
24574 * hurd/intr-msg.c: Likewise.
24575 * iconv/gconv_open.c: Likewise.
24576 * libio/swprintf.c: Likewise.
24577 * locale/lc-ctype.c: Likewise.
24578 * locale/nl_langinfo.c: Likewise.
24579 * mach/Machrules: Likewise.
24580 * mach/Makefile: Likewise.
24581 * malloc/obstack.h: Likewise.
24582 * manual/Makefile: Likewise.
24583 * manual/tsort.awk: Likewise.
24584 * misc/bits/stab.def: Likewise.
24585 * nis/nis_print_group_entry.c: Likewise.
24586 * nis/nis_table.c: Likewise.
24587 * nis/nss_compat/compat-pwd.c: Likewise.
24588 * nis/nss_compat/compat-spwd.c: Likewise.
24589 * po/Makefile: Likewise.
24590 * posix/fnmatch.c: Likewise.
24591 * posix/regex.h: Likewise.
24592 * resolv/Makefile: Likewise.
24593 * resolv/nss_dns/dns-network.c: Likewise.
24594 * resolv/res_hconf.c: Likewise.
24595 * scripts/gen-sorted.awk: Likewise.
24596 * soft-fp/soft-fp.h: Likewise.
24597 * stdio-common/printf.h: Likewise.
24598 * stdlib/monetary.h: Likewise.
24599 * stdlib/random.c: Likewise.
24600 * stdlib/random_r.c: Likewise.
24601 * sysdeps/generic/Makefile: Likewise.
24602 * sysdeps/gnu/Makefile: Likewise.
24603 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24604 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24605 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24606 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24607 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24608 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24609 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24610 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24611 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24612 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24613 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24614 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24615 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24616 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24617 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24618 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24619 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24620 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24621 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24622 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24623 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24624 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24625 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24626 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24627 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24628 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24629 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24630 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24631 * sysdeps/mach/hurd/errnos.awk: Likewise.
24632 * sysdeps/mach/hurd/fork.c: Likewise.
24633 * sysdeps/mach/hurd/getcwd.c: Likewise.
24634 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24635 * sysdeps/mach/hurd/mmap.c: Likewise.
24636 * sysdeps/mach/hurd/utimes.c: Likewise.
24637 * sysdeps/mach/hurd/xmknod.c: Likewise.
24638 * sysdeps/posix/profil.c: Likewise.
24639 * sysdeps/posix/readdir_r.c: Likewise.
24640 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24641 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24642 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24643 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24644 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24645 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24646 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24647 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24648 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24649 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24650 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24651 * sysdeps/pthread/lio_listio.c: Likewise.
24652 * sysdeps/sparc/dl-procinfo.h: Likewise.
24653 * sysdeps/unix/i386/sysdep.S: Likewise.
24654 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24655 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24656 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24657 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24659 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24660 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24661 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24662 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24663 * sysdeps/wordsize-32/divdi3.c: Likewise.
24664 * time/sys/time.h: Likewise.
24665 * wcsmbs/Makefile: Likewise.
24667 2013-01-01 David S. Miller <davem@davemloft.net>
24669 * po/fr.po: Update from translation team.
24671 * catgets/gencat.c: Update copyright year.
24672 * csu/version.c: Likewise.
24673 * debug/catchsegv.sh: Likewise.
24674 * debug/pcprofiledump.c: Likewise.
24675 * debug/xtrace.sh: Likewise.
24676 * elf/ldconfig.c: Likewise.
24677 * elf/ldd.bash.in: Likewise.
24678 * elf/pldd.c: Likewise.
24679 * elf/sotruss.ksh: Likewise.
24680 * elf/sprof.c: Likewise.
24681 * iconv/iconv_prog.c: Likewise.
24682 * iconv/iconvconfig.c: Likewise.
24683 * locale/programs/locale.c: Likewise.
24684 * locale/programs/localedef.c: Likewise.
24685 * login/programs/pt_chown.c: Likewise.
24686 * malloc/memusage.sh: Likewise.
24687 * malloc/memusagestat.c: Likewise.
24688 * malloc/mtrace.pl: Likewise.
24689 * nscd/nscd.c: Likewise.
24690 * nss/getent.c: Likewise.
24691 * nss/makedb.c: Likewise.
24692 * posix/getconf.c: Likewise.
24694 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24696 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24699 2012-12-30 Mike Frysinger <vapier@gentoo.org>
24701 * math/bits/mathcalls.h (modf): Use __nonnull.
24703 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24705 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24706 (split): Use macro CN instead of the bare value.
24707 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24709 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24710 instead of the bare value.
24711 (power1): Likewise.
24713 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24715 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24717 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24719 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24721 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24722 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24723 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24724 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24726 2012-12-28 Andreas Jaeger <aj@suse.de>
24728 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24729 values are from Linux 3.7.
24731 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24732 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24734 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24736 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24739 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24741 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24742 variables with preprocessor constants.
24743 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24744 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24745 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24747 2012-12-27 Bruno Haible <bruno@clisp.org>
24750 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24753 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24755 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24756 and use variable directly.
24757 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24759 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24761 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24762 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24764 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24765 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24766 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24767 include directive. Remove local variable MPONE.
24768 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24769 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24770 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24772 2012-12-25 David S. Miller <davem@davemloft.net>
24774 * version.h (RELEASE): Set to "development".
24775 (VERSION): Set to "2.17.90".
24776 * NEWS: Add 2.18 section.
24778 2012-12-21 David S. Miller <davem@davemloft.net>
24780 * po/hr.po: Update from translation team.
24782 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24784 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24786 2012-12-19 Steve Ellcey <sellcey@mips.com>
24788 * NEWS: Mention new memcpy for MIPS.
24790 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24792 * manual/contrib.texi (Contributors): Spelling correction.
24794 2012-12-15 David S. Miller <davem@davemloft.net>
24796 * po/ru.po: Update from translation team.
24798 2012-12-13 David S. Miller <davem@davemloft.net>
24800 * NEWS: Mention IFUNC testsuite enhancements.
24802 * po/pl.po: Update from translation team.
24803 * po/bg.po: Likewise.
24805 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24806 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24808 2012-12-11 David S. Miller <davem@davemloft.net>
24810 * po/sv.po: Update from translation team.
24812 * po/vi.po: Update from translation team.
24814 * po/cs.po: Update from translation team.
24816 * po/de.po: Update from translation team.
24817 * po/eo.po: Likewise.
24818 * po/nl.po: Likewise.
24820 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24823 * manual/argp.texi (Argp Helper Functions): Move node to follow
24824 Argp Parsing State.
24827 * manual/conf.texi (Limits on File System Capacity): Mention if
24828 terminating null is included in the max size.
24830 2012-12-10 Andreas Jaeger <aj@suse.de>
24832 * po/cs.po: Update from translation team.
24834 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24836 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24837 void pointer and cast to uintptr_t.
24838 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24840 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24841 * sysdeps/s390/s390-64/memset.S: Likewise.
24843 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
24846 * menual/message.texi (Message Translation): Fix typos.
24847 (Helper programs for gettext): Likewise.
24849 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24852 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24855 2012-12-07 David S. Miller <davem@davemloft.net>
24857 * po/libc.pot: Update.
24859 2012-12-07 Richard Henderson <rth@redhat.com>
24862 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24863 normal/normal case to before the switch.
24864 (_FP_DIV): Likewise.
24866 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24867 Mike Frysinger <vapier@gentoo.org>
24869 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24870 check for __NR_fadvise64_64.
24872 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24874 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24875 0, not just to plain "0" as a statement.
24876 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24879 2012-12-06 Joseph Myers <joseph@codesourcery.com>
24881 * NEWS: Use sourceware.org in Bugzilla URL.
24883 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24886 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24888 * stdio-common/tst-put-error.c (do_test): Add newline to the
24889 padded test to ensure flush.
24891 2012-12-05 Jeff Law <law@redhat.com>
24893 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24895 2012-12-05 Joseph Myers <joseph@codesourcery.com>
24897 * README: Don't refer to ports add-on as distributed separately.
24898 Mention AArch64 in list of systems supported in the ports add-on.
24900 * LICENSES: Add more non-FSF copyright and license notices.
24902 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24905 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24907 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24908 10000 as width of padded output.
24910 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24912 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24914 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24915 variable LX with __attribute__ ((unused)).
24916 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24918 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24919 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24920 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24921 with __attribute__ ((unused)).
24923 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
24925 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24927 2012-12-04 Joseph Myers <joseph@codesourcery.com>
24929 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24930 (CFLAGS-nldbl-acos.c): New variable.
24931 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24932 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24933 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24934 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24935 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24936 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24937 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24938 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24939 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24940 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24941 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24942 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24943 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24944 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24945 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24946 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24947 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24948 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24949 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24950 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24951 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24952 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24953 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24954 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24955 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24956 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24957 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24958 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24959 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24960 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24961 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24962 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24963 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24964 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24965 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24966 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24967 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24968 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24969 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24970 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24971 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24972 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24973 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24974 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24975 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24976 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24977 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24978 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24979 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24980 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24981 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24982 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24983 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24984 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24985 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24986 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24987 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24988 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24989 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24990 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24991 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24992 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24993 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24994 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24995 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24996 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24997 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24998 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24999 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25000 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25001 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25002 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25003 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25004 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25005 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25006 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25007 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25008 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25009 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25010 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25011 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25012 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25013 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25014 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25015 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25016 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25017 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25018 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25019 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25020 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25021 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25022 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25023 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25024 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25025 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25026 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25027 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25030 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25033 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25034 whole low double instead of just low 47 bits when splitting values
25037 2012-12-03 Allan McRae <allan@archlinux.org>
25039 * manual/stdio.texi (Predefined Printf Handlers): Remove
25040 @hsep and @vsep usage.
25042 2012-12-03 Mike Frysinger <vapier@gentoo.org>
25044 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25045 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25047 2012-12-03 Jeff Law <law@redhat.com>
25049 * time/sys/time.h (settimeofday): Do not mark TV argument
25052 2012-12-01 Mike Frysinger <vapier@gentoo.org>
25054 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25055 when currently writing and seek to current position when not.
25056 * libio/Makefile (tests): Remove bug-fclose1.
25057 * libio/bug-fclose1.c: Delete.
25059 2012-12-01 Joseph Myers <joseph@codesourcery.com>
25061 * manual/arith.texi (feenableexcept): Fix typo.
25062 (fedisableexcept): Likewise.
25064 2012-11-30 Roland McGrath <roland@hack.frob.com>
25066 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25067 second, differently-typed declaration, rather than a cast.
25069 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25071 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25072 * include/rpc/svc.h: ... here.
25074 2012-11-30 Aurelien Jarno <aurel32@debian.org>
25077 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25078 depending n and resplen2 to catch cases where answer
25081 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25083 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25084 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25086 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25088 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25090 2012-11-29 Roland McGrath <roland@hack.frob.com>
25092 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25094 2012-11-28 Jeff Law <law@redhat.com>
25097 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25098 dataset_temporary. Track alloca usage into alloca_used.
25099 If dataset is large allocate and release it via malloc/free.
25101 2012-06-04 Florian Weimer <fweimer@redhat.com>
25104 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25106 2012-11-28 David S. Miller <davem@davemloft.net>
25108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25110 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25113 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25114 of pi/2 rounded to nearest to 64 bits.
25115 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25116 nearest to 64 bits.
25117 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25120 2012-11-28 Jeff Law <law@redhat.com>
25121 Martin Osvald <mosvald@redhat.com>
25124 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25125 * sunrpc/svc.c: Include time.h.
25126 (__svc_accept_failed): New function.
25127 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25128 any reason other than EINTR, call __svc_accept_failed.
25129 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25130 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25132 2012-11-28 Andreas Schwab <schwab@suse.de>
25134 * scripts/abilist.awk: Also handle indirect functions in .opd
25137 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25140 * sysdeps/x86/fpu/powl_helper.c: New file.
25141 * sysdeps/x86/fpu/Makefile: Likewise.
25142 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25144 (__ieee754_powl): Use __powl_helper for finite arguments except
25145 integer exponents below 8.
25146 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25148 (__ieee754_powl): Use __powl_helper for finite arguments except
25149 integer exponents below 8.
25150 * math/libm-test.inc (pow_test): Add more tests and enable some
25151 previously disabled tests.
25152 * sysdeps/i386/fpu/libm-test-ulps: Update.
25153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25155 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25156 Carlos O'Donell <carlos_odonell@mentor.com>
25158 * nss/makedb.c (is_prime): Assert that input is odd and greater
25159 than 4. Note that fact in a comment too.
25160 (next_prime): Add 4 to input.
25162 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25165 * libio/Makefile (tests): Add test case tst-fwrite-error.
25166 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25167 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25168 * libio/tst-fwrite-error.c: New test case.
25170 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25172 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25173 before casting to void *.
25174 * include/libc-internal.h (__pointer_type): New macro.
25175 (__integer_if_pointer_type_sub): Likewise.
25176 (__integer_if_pointer_type): Likewise.
25177 (cast_to_integer): Likewise.
25178 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25179 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25180 before casting to atomic64_t.
25181 (atomic_exchange_acq): Likewise.
25182 (__arch_exchange_and_add_body): Likewise.
25183 (__arch_add_body): Likewise.
25184 (atomic_add_negative): Likewise.
25185 (atomic_add_zero): Likewise.
25187 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25189 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25190 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25191 (add_fdes): Likewise.
25192 (linear_search_fdes): Likewise.
25193 (binary_search_unencoded_fdes): Likewise.
25195 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25197 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25199 2012-11-24 Adam Conrad <adconrad@0c3.net>
25201 * configure.in: Autodetect C++ header directories.
25202 * configure: Regenerated.
25204 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25206 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25208 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25212 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25214 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25215 LDBL_MANT_DIG == 106]: Disable some tests.
25216 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25218 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25222 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25223 input for small inputs. Return +/- pi/2 for large inputs.
25224 * math/libm-test.inc (atan_test): Add more tests.
25226 * sysdeps/generic/unwind-dw2-fde-glibc.c
25227 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25228 __attribute__ ((unused)).
25231 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25232 x * y if x and y are nonzero and z is zero.
25235 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25236 nonzero exponents with absolute value below 0x1p-117 to +/-
25240 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25241 up arguments below 2**-450, not just those below 2**-500.
25242 * math/libm-test.inc (hypot_test): Add another test.
25245 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25246 Return a+b for ratio over 2**120, not 2**60.
25247 * math/libm-test.inc (hypot_test): Add another test.
25249 * math/libm-test.inc (clog_test): Use
25250 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25251 (clog10_test): Likewise.
25254 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25256 2012-11-22 Andreas Schwab <schwab@suse.de>
25258 * sysdeps/i386/fpu/libm-test-ulps: Update.
25260 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25262 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25263 printf output with newline.
25265 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25268 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25269 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25270 -z nodlopen, -z initfirst and -z execstack support.
25271 * configure: Regenerated.
25273 * elf/elf.h (DF_1_NODIRECT): New macro.
25274 (DF_1_IGNMULDEF): Likewise.
25275 (DF_1_NOKSYMS): Likewise.
25276 (DF_1_NOHDR): Likewise.
25277 (DF_1_EDITED): Likewise.
25278 (DF_1_NORELOC): Likewise.
25279 (DF_1_SYMINTPOSE): Likewise.
25280 (DF_1_GLOBAUDIT): Likewise.
25281 (DF_1_SINGLETON): Likewise.
25282 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25283 DT_1_SUPPORTED_MASK bits.
25284 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25286 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25288 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25290 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25292 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25295 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25296 (sendmmsg): Move declarations...
25297 * socket/sys/socket.h: ... here.
25298 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25299 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25301 * socket/recvmmsg.c: ... this new file.
25302 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25303 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25304 definition of __sendmmsg hidden.
25305 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25306 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25307 Move ENOSYS stub into and include it from...
25308 * socket/sendmmsg.c: ... this new file.
25309 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25310 (sysdep_routines): Move recvmmsg and sendmmsg...
25311 * socket/Makefile (routines): ... here.
25312 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25313 (GLIBC_PRIVATE): Add __sendmmsg.
25314 * include/sys/socket.h (__sendmmsg): Add declarations.
25315 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25318 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25320 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25321 variable I1 with __attribute__ ((unused)).
25322 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25324 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25326 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25327 DUMMY variables with __attribute__ ((unused)).
25329 * bits/byteswap.h: Include <bits/types.h>.
25330 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25332 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25334 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25335 string_t. Do not manually set errno.
25336 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25337 length with __strnlen. Make sure to both set errno and return it on
25340 2012-11-19 David S. Miller <davem@davemloft.net>
25342 With help from Joseph Myers.
25343 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25344 very large arguments properly.
25345 * math/libm-test.inc (atan_test): New tests.
25346 (atan2_test): New tests.
25347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25348 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25350 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25353 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25356 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25357 [POSIX] (EADDRNOTAVAIL): Likewise.
25358 [POSIX] (EAFNOSUPPORT): Likewise.
25359 [POSIX] (EALREADY): Likewise.
25360 [POSIX] (ECONNABORTED): Likewise.
25361 [POSIX] (ECONNREFUSED): Likewise.
25362 [POSIX] (ECONNRESET): Likewise.
25363 [POSIX] (EDESTADDRREQ): Likewise.
25364 [POSIX] (EDQUOT): Likewise.
25365 [POSIX] (EHOSTUNREACH): Likewise.
25366 [POSIX] (EIDRM): Likewise.
25367 [POSIX] (EISCONN): Likewise.
25368 [POSIX] (ELOOP): Likewise.
25369 [POSIX] (EMULTIHOP): Likewise.
25370 [POSIX] (ENETDOWN): Likewise.
25371 [POSIX] (ENETUNREACH): Likewise.
25372 [POSIX] (ENOBUFS): Likewise.
25373 [POSIX] (ENODATA): Likewise.
25374 [POSIX] (ENOLINK): Likewise.
25375 [POSIX] (ENOMSG): Likewise.
25376 [POSIX] (ENOPROTOOPT): Likewise.
25377 [POSIX] (ENOSR): Likewise.
25378 [POSIX] (ENOSTR): Likewise.
25379 [POSIX] (ENOTCONN): Likewise.
25380 [POSIX] (ENOTSOCK): Likewise.
25381 [POSIX] (EOPNOTSUPP): Likewise.
25382 [POSIX] (EOVERFLOW): Likewise.
25383 [POSIX] (EPROTO): Likewise.
25384 [POSIX] (EPROTONOSUPPORT): Likewise.
25385 [POSIX] (EPROTOTYPE): Likewise.
25386 [POSIX] (ESTALE): Likewise.
25387 [POSIX] (ETIME): Likewise.
25388 [POSIX] (ETXTBSY): Likewise.
25389 [POSIX] (EWOULDBLOCK): Likewise.
25390 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25391 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25392 [POSIX] (SEEK_CUR): Likewise.
25393 [POSIX] (SEEK_END): Likewise.
25394 [POSIX || UNIX98] (mode_t): Do not require.
25395 [POSIX] (off_t): Likewise.
25396 [POSIX] (pid_t): Likewise.
25397 [POSIX] (sys/stat.h): Do not allow header.
25398 [POSIX] (unistd.h): Likewise.
25399 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25400 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25401 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25402 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25404 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25405 sigevent): Specify elements.
25406 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25408 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25409 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25411 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25412 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25413 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25414 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25415 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25416 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25417 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25418 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25419 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25420 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25421 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25422 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25423 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25424 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25426 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25428 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25430 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25432 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25433 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25434 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25435 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25436 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25437 Specify lower bound on value.
25438 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25439 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25440 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25441 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25442 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25443 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25444 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25445 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25447 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25449 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25450 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25451 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25452 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25453 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25454 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25455 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25456 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25457 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25458 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25459 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25460 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25461 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25462 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25463 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25464 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25466 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25468 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25469 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25470 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25471 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25472 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25473 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25475 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25476 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25477 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25478 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25479 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25480 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25481 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25483 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25484 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25485 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25486 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25487 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25488 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25489 specify as optional.
25490 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25491 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25492 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25493 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25494 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25495 [XPG3] (NL_LANGMAX): Likewise.
25496 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25497 [POSIX || XPG3] (NL_NMAX): Likewise.
25498 [POSIX || XPG3] (NL_SETMAX): Likewise.
25499 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25500 [XPG3] (NZERO): Likewise.
25501 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25502 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25503 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25504 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25505 (REG_ERANGE): Expect.
25506 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25508 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25509 Use (void) in prototype.
25510 [POSIX] (*_t): Allow.
25511 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25512 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25513 (WRDE_BADVAL): Expect.
25515 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25517 [XPG3 || XPG4] (O_RSYNC): Likewise.
25518 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25520 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25521 [XPG3 || XPG4] (sigqueue): Likewise.
25522 [XPG3 || XPG4] (sigtimedwait): Likewise.
25523 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25524 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25525 [XPG3 || XPG4] (vsnprintf): Likewise.
25526 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25528 [XPG3 || XPG4] (blksize_t): Likewise.
25529 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25531 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25532 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25533 [XPG3 || XPG4] (struct itimerspec): Likewise.
25534 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25535 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25536 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25537 [XPG3 || XPG4] (clockid_t): Likewise.
25538 [XPG3 || XPG4] (timer_t): Likewise.
25539 [XPG3 || XPG4] (clock_getres): Likewise.
25540 [XPG3 || XPG4] (clock_gettime): Likewise.
25541 [XPG3 || XPG4] (clock_settime): Likewise.
25542 [XPG3 || XPG4] (nanosleep): Likewise.
25543 [XPG3 || XPG4] (timer_create): Likewise.
25544 [XPG3 || XPG4] (timer_delete): Likewise.
25545 [XPG3 || XPG4] (timer_gettime): Likewise.
25546 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25547 [XPG3 || XPG4] (timer_settime): Likewise.
25548 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25549 [XPG3 || XPG4] (getlogin_r): Likewise.
25550 [XPG3 || XPG4] (pread): Likewise.
25551 [XPG3 || XPG4] (pthread_atfork): Likewise.
25552 [XPG3 || XPG4] (pwrite): Likewise.
25555 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25558 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25560 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25561 finalizing MALLSTREAM.
25563 * sysdeps/mach/hurd/syncfs.c: New file.
25565 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25568 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25569 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25570 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25571 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25572 (_nss_dns_gethostbyname4_r): Likewise.
25573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25574 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25576 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25579 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25581 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25583 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25584 * elf/cache.c (print_entry): Print ",AArch64" for
25587 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25588 * elf/cache.c (print_entry): Print ",hard-float" for
25591 2012-11-18 David S. Miller <davem@davemloft.net>
25593 With help from Joseph Myers.
25594 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25596 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25598 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25599 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25601 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25602 * math/libm-test.inc (y0_test): New tests.
25603 (y1_test): New tests.
25604 * sysdeps/i386/fpu/libm-test-ulps: Update.
25605 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25608 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25610 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25612 * configure: Regenerated.
25614 2012-11-17 David S. Miller <davem@davemloft.net>
25617 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25618 nonzero exponents with absolute value below 0x1p-128 to +/-
25621 2012-11-17 Joseph Myers <joseph@codesourcery.com>
25623 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25625 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25627 * posix/getconf-speclist.c: New file.
25628 * posix/posix-envs.def: Likewise.
25629 * posix/confstr.c (START_ENV_GROUP): New macro.
25630 (END_ENV_GROUP): Likewise.
25631 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25632 (KNOWN_PRESENT_ENV_STRING): Likewise.
25633 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25634 (UNKNOWN_ENVIRONMENT): Likewise.
25635 (confstr): Include posix-envs.def instead of handling
25636 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25637 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25638 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25639 (END_ENV_GROUP): Likewise.
25640 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25641 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25642 (UNKNOWN_ENVIRONMENT): Likewise.
25643 (__sysconf): Include posix-envs.def instead of handling associated
25644 cases directly here.
25645 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25646 preprocessing getconf-speclist.c rather than running getconf or
25647 generating empty file.
25649 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25651 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25653 2012-11-16 Andrej Lajovic <natrij@gmail.com>
25656 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25658 2012-11-16 David S. Miller <davem@davemloft.net>
25660 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25661 smaller than LDBL_EPSILON/2.0L, just return xm1.
25663 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25665 * elf/tst-array1.c (init): Set constructor priority to 1000.
25666 (fini): Set destructor priority to 1000.
25667 * elf/tst-array2dep.c: Likewise.
25669 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25672 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25673 (_IO_new_file_xsputn): Also return EOF if none of the input
25674 data was written when overflow failed.
25675 * libio/iopadn.c (_IO_padn): Likewise.
25676 * libio/iowpadn.c (_IO_wpadn): Likewise.
25677 * stdio-common/tst-put-error.c: Add copyright notice.
25678 (do_test): Add case for printing padded string.
25679 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25680 _IO_padn returned error.
25681 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25682 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25685 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25687 * libio/libioP.h: Add comment note that the references to C++
25688 bits are now obsolete.
25690 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25692 * math/libm-test.inc (check_complex): Use asprintf.
25694 2012-11-14 Joseph Myers <joseph@codesourcery.com>
25696 * debug/pcprofiledump.c (print_version): Update copyright year.
25697 * malloc/memusagestat.c (print_version): Likewise.
25699 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25702 * elf/Makefile (tests): Add tst-audit8.
25703 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25704 ($(objpfx)tst-audit8.out): New target.
25705 (tst-audit8-ENV): New variable.
25706 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25707 audit if l_reloc_result is NULL.
25708 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25709 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25710 * elf/tst-audit8.c: New file.
25712 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25714 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25715 * misc/Makefile (CFLAGS-select.c): Define.
25716 * posix/Makefile (CFLAGS-pause.c): Define.
25718 2012-11-13 David S. Miller <davem@davemloft.net>
25720 * crypt/Makefile: Move test targets after toplevel Rules
25721 inclusion. Grab any necessary sysdep routines when linking.
25722 * crypt/md5.c (md5_process_block): Remove define, we will always
25723 name it __md5_process_block.
25724 (md5_finish_ctx): Update md5_process_block call.
25725 (md5_stream): Likewise.
25726 (md5_process_bytes): Likewise.
25727 (md5_process_block): Rename to __md5_process_block and move to ...
25728 * crypt/md5-block.c: ... here.
25729 * crypt/sha256.c (sha256_process_block): Move to ...
25730 * crypt/sha256-block.c: ... here.
25731 * crypt/sha512.c (sha512_process_block): Move to ...
25732 * crypt/sha512-block.c: ... here.
25733 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25735 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25736 * sysdeps/sparc/sparc64/multiarch/Makefile
25737 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25739 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25740 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25742 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25743 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25744 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25745 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25746 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25747 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25748 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25749 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25750 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25752 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25753 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25755 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25757 2012-11-13 Joseph Myers <joseph@codesourcery.com>
25759 * timezone/tzselect.ksh: Update from tzcode git revision
25760 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25761 * timezone/zdump.c: Likewise.
25762 * timezone/zic.c: Likewise.
25763 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25764 in TZVERSION setting, not $(PKGVERSION).
25765 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25766 REPORT_BUGS_TO settings.
25769 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25772 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25774 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25775 detection to immediately after _FP_ROUND().
25776 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25779 2012-11-11 David S. Miller <davem@davemloft.net>
25781 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25783 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25784 __close rather than their public counterparts.
25786 2012-11-10 Joseph Myers <joseph@codesourcery.com>
25788 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25790 [UNIX98] (sem_timedwait): Do not expect.
25791 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25792 [XPG4 || UNIX98] (sockatmark): Do not expect.
25793 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25794 (clock_getcpuclockid): Do not expect.
25795 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25796 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25798 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25799 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25800 [UNIX98] (vwscanf): Likewise.
25801 [UNIX98] (vswscanf): Likewise.
25803 2012-11-09 Joseph Myers <joseph@codesourcery.com>
25805 * timezone/version.h: Remove file.
25806 * timezone/README: Do not refer to version.h.
25807 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25808 $(objpfx)version.h.
25809 ($(objpfx)zdump.o): Likewise.
25810 ($(objpfx)version.h): New target.
25812 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25814 * timezone/README: Don't mention modification to tzselect.ksh.
25815 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25816 work on unmodified tzselect.ksh. Substitute version numbers in
25819 * Makefile (format-me): Remove.
25820 (INSTALL): Adjust indentation. Use commands directly instead of
25821 using $(format-me).
25823 * aclocal.m4 (ACX_PKGVERSION): New macro.
25824 (ACX_BUGURL): Likewise.
25825 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25826 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25827 (REPORT_BUGS_TO): Likewise.
25828 * configure: Regenerated.
25829 * config.h.in (PKGVERSION): New macro.
25830 (REPORT_BUGS_TO): Likewise.
25831 * config.make.in (PKGVERSION): New variable.
25832 (PKGVERSION_TEXI): Likewise.
25833 (REPORT_BUGS_TO): Likewise.
25834 (REPORT_BUGS_TEXI): Likewise.
25835 * Makefile (format-me): Use -I$(common-objpfx)manual.
25836 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25837 ($(common-objpfx)manual/%): New target.
25838 (manual/%): Remove target.
25839 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25840 (print_version): Use PKGVERSION.
25841 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25842 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25843 and REPORT_BUGS_TO.
25844 ($(objpfx)xtrace): Likewise.
25845 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25846 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25847 (print_version): Use PKGVERSION.
25848 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25849 (do_version): Use PKGVERSION.
25850 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25852 (common-ldd-rewrite): Likewise.
25853 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25854 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25855 (print_version): Use PKGVERSION.
25856 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25857 * elf/pldd.c (argp_program_bug_address): Remove variable.
25858 (more_help): New function.
25859 (argp): Use more_help.
25860 (print_version): Use PKGVERSION.
25861 * elf/sln.c (main): Use PKGVERSION.
25862 (usage): Use REPORT_BUGS_TO.
25863 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25864 (top level): Use PKGVERSION.
25865 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25866 (print_version): Use PKGVERSION.
25867 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25868 (print_version): Use PKGVERSION.
25869 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25870 (print_version): Use PKGVERSION.
25871 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25872 (print_version): Use PKGVERSION.
25873 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25874 (print_version): Use PKGVERSION.
25875 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25876 (print_version): Use PKGVERSION.
25877 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25879 ($(objpfx)memusage): Likewise.
25880 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25881 (do_version): Use PKGVERSION.
25882 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25883 (print_version): Use PKGVERSION.
25884 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25885 ($PKGVERSION): New variable.
25886 ($REPORT_BUGS_TO): Likewise.
25887 (usage): Use $REPORT_BUGS_TO.
25888 (top level): Use $PKGVERSION.
25889 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25890 ($(objpfx)pkgvers.texi): New rule.
25891 ($(objpfx)stamp-pkgvers): Likewise.
25892 * manual/install.texi: Include pkgvers.texi.
25893 (--with-pkgversion): Document new configure option.
25894 (--with-bugurl): Likewise.
25895 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25896 than necessarily for this particular distribution. Use
25897 REPORT_BUGS_TO for where to report bugs.
25898 * INSTALL: Regenerated.
25899 * manual/libc.texinfo: Include pkgvers.texi.
25900 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25901 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25902 (print_version): Use PKGVERSION.
25903 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25904 (print_version): Use PKGVERSION.
25905 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25906 (print_version): Use PKGVERSION.
25907 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25908 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25910 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25911 (print_version): Use PKGVERSION.
25912 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25913 (print_version): Use PKGVERSION.
25914 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25917 * timezone/checktab.awk: Update from tzcode 2012i.
25918 * timezone/ialloc.c: Likewise.
25919 * timezone/private.h: Likewise.
25920 * timezone/scheck.c: Likewise.
25921 * timezone/tzfile.h: Likewise.
25922 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25923 (TZVERSION): Hardcode tzcode version number.
25924 * timezone/zdump.c: Update from tzcode 2012i.
25925 * timezone/zic.c: Likewise.
25926 * timezone/version.h: New file.
25927 * timezone/README: Describe version.h. Update upstream location.
25930 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25931 (mktemp): Enable declaration.
25932 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25933 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25934 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25935 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25937 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25939 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25941 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25943 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25945 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25949 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25950 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25951 for copies of such integer values.
25952 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25953 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25955 2012-11-09 Andreas Jaeger <aj@suse.de>
25957 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25958 definitions and declarations that are provided by
25959 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25961 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25963 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25964 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25965 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25968 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25970 * elf/elf.h: Update comment before AArch64 relocations.
25972 2012-11-07 David S. Miller <davem@davemloft.net>
25974 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25975 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25976 (__start_context): Declare.
25977 (__makecontext_ret): Delete.
25978 (__makecontext): Hook up __start_context instead of
25980 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25981 (sysdep_routines): Add __start_context when in stdlib.
25983 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25985 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25986 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25987 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25989 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25990 (READELF): New variable. Use it instead of hardcoded "readelf".
25992 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25994 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25995 * sysdeps/x86/Makefile: Here.
25996 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25997 * sysdeps/x86/tst-xmmymm.sh: This.
25999 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26001 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26003 [UNIX98] (pthread_barrier_t): Do not expect.
26004 [UNIX98] (pthread_barrierattr_t): Likewise.
26005 [UNIX98] (pthread_spinlock_t): Likewise.
26006 [UNIX98] (pthread_barrier_destroy): Likewise.
26007 [UNIX98] (pthread_barrier_init): Likewise.
26008 [UNIX98] (pthread_barrier_wait): Likewise.
26009 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26010 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26011 [UNIX98] (pthread_barrierattr_init): Likewise.
26012 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26013 [UNIX98] (pthread_getcpuclockid): Likewise.
26014 [UNIX98] (pthread_mutex_timedlock): Likewise.
26015 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26016 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26017 [UNIX98] (pthread_sigmask): Likewise.
26018 [UNIX98] (pthread_spin_destroy): Likewise.
26019 [UNIX98] (pthread_spin_init): Likewise.
26020 [UNIX98] (pthread_spin_lock): Likewise.
26021 [UNIX98] (pthread_spin_trylock): Likewise.
26022 [UNIX98] (pthread_spin_unlock): Likewise.
26023 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26025 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26026 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26027 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26028 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26029 [XPG3 || XPG4] (pthread_key_t): Likewise.
26030 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26031 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26032 [XPG3 || XPG4] (pthread_once_t): Likewise.
26033 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26034 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26035 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26036 [XPG3 || XPG4] (pthread_t): Likewise.
26038 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26040 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26042 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26043 Change function return type to int.
26045 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26046 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26047 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26048 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26049 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26050 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26051 [!POSIX] (posix_madvise): Likewise.
26052 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26054 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26055 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26056 (mode_t): Likewise.
26057 (posix_mem_offset): Likewise.
26058 (posix_typed_mem_get_info): Likewise.
26059 (posix_typed_mem_open): Likewise.
26061 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26062 Change condition to [XOPEN2K8].
26064 * conform/conformtest.pl: Preprocess allow-header data with -x c
26065 instead of from stdin.
26066 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26067 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26068 [C99-based standards] (cerfc): Likewise.
26069 [C99-based standards] (cexp2): Likewise.
26070 [C99-based standards] (cexpm1): Likewise.
26071 [C99-based standards] (clog10): Likewise.
26072 [C99-based standards] (clog1p): Likewise.
26073 [C99-based standards] (clog2): Likewise.
26074 [C99-based standards] (clgamma): Likewise.
26075 [C99-based standards] (ctgamma): Likewise.
26076 [C99-based standards] (cerff): Likewise.
26077 [C99-based standards] (cerfcf): Likewise.
26078 [C99-based standards] (cexp2f): Likewise.
26079 [C99-based standards] (cexpm1f): Likewise.
26080 [C99-based standards] (clog10f): Likewise.
26081 [C99-based standards] (clog1pf): Likewise.
26082 [C99-based standards] (clog2f): Likewise.
26083 [C99-based standards] (clgammaf): Likewise.
26084 [C99-based standards] (ctgammaf): Likewise.
26085 [C99-based standards] (cerfl): Likewise.
26086 [C99-based standards] (cerfcl): Likewise.
26087 [C99-based standards] (cexp2l): Likewise.
26088 [C99-based standards] (cexpm1l): Likewise.
26089 [C99-based standards] (clog10l): Likewise.
26090 [C99-based standards] (clog1pl): Likewise.
26091 [C99-based standards] (clog2l): Likewise.
26092 [C99-based standards] (clgammal): Likewise.
26093 [C99-based standards] (ctgammal): Likewise.
26094 * conform/data/inttypes.h-data [C99-based standards]: Include
26095 stdint.h-data. Remove all expectations for stdint.h contents.
26096 [C99-based standards] (PRI*): Do not allow.
26097 [C99-based standards] (SCN*): Likewise.
26098 [C99-based standards] (*_t): Likewise.
26099 [C99-based-standards] (PRId8): Expect macro.
26100 [C99-based-standards] (PRIi8): Likewise.
26101 [C99-based-standards] (PRIo8): Likewise.
26102 [C99-based-standards] (PRIu8): Likewise.
26103 [C99-based-standards] (PRIx8): Likewise.
26104 [C99-based-standards] (PRIX8): Likewise.
26105 [C99-based-standards] (SCNd8): Likewise.
26106 [C99-based-standards] (SCNi8): Likewise.
26107 [C99-based-standards] (SCNo8): Likewise.
26108 [C99-based-standards] (SCNu8): Likewise.
26109 [C99-based-standards] (SCNx8): Likewise.
26110 [C99-based-standards] (PRIdLEAST8): Likewise.
26111 [C99-based-standards] (PRIiLEAST8): Likewise.
26112 [C99-based-standards] (PRIoLEAST8): Likewise.
26113 [C99-based-standards] (PRIuLEAST8): Likewise.
26114 [C99-based-standards] (PRIxLEAST8): Likewise.
26115 [C99-based-standards] (PRIXLEAST8): Likewise.
26116 [C99-based-standards] (SCNdLEAST8): Likewise.
26117 [C99-based-standards] (SCNiLEAST8): Likewise.
26118 [C99-based-standards] (SCNoLEAST8): Likewise.
26119 [C99-based-standards] (SCNuLEAST8): Likewise.
26120 [C99-based-standards] (SCNxLEAST8): Likewise.
26121 [C99-based-standards] (PRIdFAST8): Likewise.
26122 [C99-based-standards] (PRIiFAST8): Likewise.
26123 [C99-based-standards] (PRIoFAST8): Likewise.
26124 [C99-based-standards] (PRIuFAST8): Likewise.
26125 [C99-based-standards] (PRIxFAST8): Likewise.
26126 [C99-based-standards] (PRIXFAST8): Likewise.
26127 [C99-based-standards] (SCNdFAST8): Likewise.
26128 [C99-based-standards] (SCNiFAST8): Likewise.
26129 [C99-based-standards] (SCNoFAST8): Likewise.
26130 [C99-based-standards] (SCNuFAST8): Likewise.
26131 [C99-based-standards] (SCNxFAST8): Likewise.
26132 [C99-based-standards] (PRId16): Likewise.
26133 [C99-based-standards] (PRIi16): Likewise.
26134 [C99-based-standards] (PRIo16): Likewise.
26135 [C99-based-standards] (PRIu16): Likewise.
26136 [C99-based-standards] (PRIx16): Likewise.
26137 [C99-based-standards] (PRIX16): Likewise.
26138 [C99-based-standards] (SCNd16): Likewise.
26139 [C99-based-standards] (SCNi16): Likewise.
26140 [C99-based-standards] (SCNo16): Likewise.
26141 [C99-based-standards] (SCNu16): Likewise.
26142 [C99-based-standards] (SCNx16): Likewise.
26143 [C99-based-standards] (PRIdLEAST16): Likewise.
26144 [C99-based-standards] (PRIiLEAST16): Likewise.
26145 [C99-based-standards] (PRIoLEAST16): Likewise.
26146 [C99-based-standards] (PRIuLEAST16): Likewise.
26147 [C99-based-standards] (PRIxLEAST16): Likewise.
26148 [C99-based-standards] (PRIXLEAST16): Likewise.
26149 [C99-based-standards] (SCNdLEAST16): Likewise.
26150 [C99-based-standards] (SCNiLEAST16): Likewise.
26151 [C99-based-standards] (SCNoLEAST16): Likewise.
26152 [C99-based-standards] (SCNuLEAST16): Likewise.
26153 [C99-based-standards] (SCNxLEAST16): Likewise.
26154 [C99-based-standards] (PRIdFAST16): Likewise.
26155 [C99-based-standards] (PRIiFAST16): Likewise.
26156 [C99-based-standards] (PRIoFAST16): Likewise.
26157 [C99-based-standards] (PRIuFAST16): Likewise.
26158 [C99-based-standards] (PRIxFAST16): Likewise.
26159 [C99-based-standards] (PRIXFAST16): Likewise.
26160 [C99-based-standards] (SCNdFAST16): Likewise.
26161 [C99-based-standards] (SCNiFAST16): Likewise.
26162 [C99-based-standards] (SCNoFAST16): Likewise.
26163 [C99-based-standards] (SCNuFAST16): Likewise.
26164 [C99-based-standards] (SCNxFAST16): Likewise.
26165 [C99-based-standards] (PRId32): Likewise.
26166 [C99-based-standards] (PRIi32): Likewise.
26167 [C99-based-standards] (PRIo32): Likewise.
26168 [C99-based-standards] (PRIu32): Likewise.
26169 [C99-based-standards] (PRIx32): Likewise.
26170 [C99-based-standards] (PRIX32): Likewise.
26171 [C99-based-standards] (SCNd32): Likewise.
26172 [C99-based-standards] (SCNi32): Likewise.
26173 [C99-based-standards] (SCNo32): Likewise.
26174 [C99-based-standards] (SCNu32): Likewise.
26175 [C99-based-standards] (SCNx32): Likewise.
26176 [C99-based-standards] (PRIdLEAST32): Likewise.
26177 [C99-based-standards] (PRIiLEAST32): Likewise.
26178 [C99-based-standards] (PRIoLEAST32): Likewise.
26179 [C99-based-standards] (PRIuLEAST32): Likewise.
26180 [C99-based-standards] (PRIxLEAST32): Likewise.
26181 [C99-based-standards] (PRIXLEAST32): Likewise.
26182 [C99-based-standards] (SCNdLEAST32): Likewise.
26183 [C99-based-standards] (SCNiLEAST32): Likewise.
26184 [C99-based-standards] (SCNoLEAST32): Likewise.
26185 [C99-based-standards] (SCNuLEAST32): Likewise.
26186 [C99-based-standards] (SCNxLEAST32): Likewise.
26187 [C99-based-standards] (PRIdFAST32): Likewise.
26188 [C99-based-standards] (PRIiFAST32): Likewise.
26189 [C99-based-standards] (PRIoFAST32): Likewise.
26190 [C99-based-standards] (PRIuFAST32): Likewise.
26191 [C99-based-standards] (PRIxFAST32): Likewise.
26192 [C99-based-standards] (PRIXFAST32): Likewise.
26193 [C99-based-standards] (SCNdFAST32): Likewise.
26194 [C99-based-standards] (SCNiFAST32): Likewise.
26195 [C99-based-standards] (SCNoFAST32): Likewise.
26196 [C99-based-standards] (SCNuFAST32): Likewise.
26197 [C99-based-standards] (SCNxFAST32): Likewise.
26198 [C99-based-standards] (PRId64): Likewise.
26199 [C99-based-standards] (PRIi64): Likewise.
26200 [C99-based-standards] (PRIo64): Likewise.
26201 [C99-based-standards] (PRIu64): Likewise.
26202 [C99-based-standards] (PRIx64): Likewise.
26203 [C99-based-standards] (PRIX64): Likewise.
26204 [C99-based-standards] (SCNd64): Likewise.
26205 [C99-based-standards] (SCNi64): Likewise.
26206 [C99-based-standards] (SCNo64): Likewise.
26207 [C99-based-standards] (SCNu64): Likewise.
26208 [C99-based-standards] (SCNx64): Likewise.
26209 [C99-based-standards] (PRIdLEAST64): Likewise.
26210 [C99-based-standards] (PRIiLEAST64): Likewise.
26211 [C99-based-standards] (PRIoLEAST64): Likewise.
26212 [C99-based-standards] (PRIuLEAST64): Likewise.
26213 [C99-based-standards] (PRIxLEAST64): Likewise.
26214 [C99-based-standards] (PRIXLEAST64): Likewise.
26215 [C99-based-standards] (SCNdLEAST64): Likewise.
26216 [C99-based-standards] (SCNiLEAST64): Likewise.
26217 [C99-based-standards] (SCNoLEAST64): Likewise.
26218 [C99-based-standards] (SCNuLEAST64): Likewise.
26219 [C99-based-standards] (SCNxLEAST64): Likewise.
26220 [C99-based-standards] (PRIdFAST64): Likewise.
26221 [C99-based-standards] (PRIiFAST64): Likewise.
26222 [C99-based-standards] (PRIoFAST64): Likewise.
26223 [C99-based-standards] (PRIuFAST64): Likewise.
26224 [C99-based-standards] (PRIxFAST64): Likewise.
26225 [C99-based-standards] (PRIXFAST64): Likewise.
26226 [C99-based-standards] (SCNdFAST64): Likewise.
26227 [C99-based-standards] (SCNiFAST64): Likewise.
26228 [C99-based-standards] (SCNoFAST64): Likewise.
26229 [C99-based-standards] (SCNuFAST64): Likewise.
26230 [C99-based-standards] (SCNxFAST64): Likewise.
26231 [C99-based-standards] (PRIdMAX): Likewise.
26232 [C99-based-standards] (PRIiMAX): Likewise.
26233 [C99-based-standards] (PRIoMAX): Likewise.
26234 [C99-based-standards] (PRIuMAX): Likewise.
26235 [C99-based-standards] (PRIxMAX): Likewise.
26236 [C99-based-standards] (PRIXMAX): Likewise.
26237 [C99-based-standards] (SCNdMAX): Likewise.
26238 [C99-based-standards] (SCNiMAX): Likewise.
26239 [C99-based-standards] (SCNoMAX): Likewise.
26240 [C99-based-standards] (SCNuMAX): Likewise.
26241 [C99-based-standards] (SCNxMAX): Likewise.
26242 [C99-based-standards] (PRIdPTR): Likewise.
26243 [C99-based-standards] (PRIiPTR): Likewise.
26244 [C99-based-standards] (PRIoPTR): Likewise.
26245 [C99-based-standards] (PRIuPTR): Likewise.
26246 [C99-based-standards] (PRIxPTR): Likewise.
26247 [C99-based-standards] (PRIXPTR): Likewise.
26248 [C99-based-standards] (SCNdPTR): Likewise.
26249 [C99-based-standards] (SCNiPTR): Likewise.
26250 [C99-based-standards] (SCNoPTR): Likewise.
26251 [C99-based-standards] (SCNuPTR): Likewise.
26252 [C99-based-standards] (SCNxPTR): Likewise.
26253 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26255 * conform/data/stdint.h-data: Update comments to clarify
26257 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26259 [C99-based standards] (INT8_MAX): Likewise.
26260 [C99-based standards] (INT16_MIN): Likewise.
26261 [C99-based standards] (INT16_MAX): Likewise.
26262 [C99-based standards] (INT32_MIN): Likewise.
26263 [C99-based standards] (INT32_MAX): Likewise.
26264 [C99-based standards] (INT64_MIN): Likewise.
26265 [C99-based standards] (INT64_MAX): Likewise.
26266 [C99-based standards] (UINT8_MAX): Likewise.
26267 [C99-based standards] (UINT16_MAX): Likewise.
26268 [C99-based standards] (UINT32_MAX): Likewise.
26269 [C99-based standards] (UINT64_MAX): Likewise.
26270 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26271 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26272 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26273 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26274 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26275 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26276 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26277 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26278 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26279 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26280 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26281 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26282 [C99-based standards] (INT_FAST8_MIN): Likewise.
26283 [C99-based standards] (INT_FAST8_MAX): Likewise.
26284 [C99-based standards] (INT_FAST16_MIN): Likewise.
26285 [C99-based standards] (INT_FAST16_MAX): Likewise.
26286 [C99-based standards] (INT_FAST32_MIN): Likewise.
26287 [C99-based standards] (INT_FAST32_MAX): Likewise.
26288 [C99-based standards] (INT_FAST64_MIN): Likewise.
26289 [C99-based standards] (INT_FAST64_MAX): Likewise.
26290 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26291 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26292 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26293 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26294 [C99-based standards] (INTPTR_MIN): Likewise.
26295 [C99-based standards] (INTPTR_MAX): Likewise.
26296 [C99-based standards] (UINTPTR_MAX): Likewise.
26297 [C99-based standards] (INTMAX_MIN): Likewise.
26298 [C99-based standards] (INTMAX_MAX): Likewise.
26299 [C99-based standards] (UINTMAX_MAX): Likewise.
26300 [C99-based standards] (PTRDIFF_MIN): Likewise.
26301 [C99-based standards] (PTRDIFF_MAX): Likewise.
26302 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26303 [C99-based standards] (SIZE_MAX): Likewise.
26304 [C99-based standards] (WCHAR_MAX): Likewise.
26305 [C99-based standards] (WINT_MAX): Likewise.
26306 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26307 constraint on value.
26308 [C99-based standards] (WCHAR_MIN): Likewise.
26309 [C99-based standards] (WINT_MIN): Likewise.
26310 [C99-based standards] (*_t): Allow.
26311 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26312 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26313 Include math.h-data and complex.h-data. Remove all expectations
26314 of math.h and complex.h contents.
26315 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26317 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26318 (struct tm): Expect tag.
26319 [C99-based-standards] (wcstof): Expect function.
26320 [C99-based-standards] (wcstold): Likewise.
26321 [C99-based-standards] (wcstoll): Likewise.
26322 [C99-based-standards] (wcstoull): Likewise.
26323 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26324 macro-int-constant. Specify type.
26325 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26326 constraint on value.
26327 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26329 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26331 [ISO C standards]: Do not allow headers.
26332 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26333 wcs[abcdefghijklmnopqrstuvwxyz]*.
26334 [ISO C standards] (*_t): Do not allow.
26335 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26337 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26338 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26340 [ISO C standards]: Do not allow headers.
26341 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26342 is[abcdefghijklmnopqrstuvwxyz]*.
26343 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26344 to[abcdefghijklmnopqrstuvwxyz]*.
26345 [ISO C standards] (*_t): Do not allow.
26346 * conform/data/stdalign.h-data: New file.
26347 * conform/data/stdbool.h-data: Likewise.
26348 * conform/data/stdnoreturn.h-data: Likewise.
26350 2012-11-07 Roland McGrath <roland@hack.frob.com>
26353 * manual/filesys.texi (Directory Entries): Typo fix.
26354 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26356 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26358 * elf/elf.h (EM_AARCH64): New macro.
26359 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26360 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26361 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26362 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26363 (R_AARCH64_TLSDESC): Likewise.
26364 (NT_ARM_TLS): Likewise.
26365 (NT_ARM_HW_BREAK): Likewise.
26366 (NT_ARM_HW_WATCH): Likewise.
26368 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26371 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26372 (__ieee754_powl): Saturate nonzero exponents with absolute value
26373 below 0x1p-79 to +/- 0x1p-79.
26374 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26375 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26376 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26377 nonzero exponents with absolute value below 0x1p-32 to +/-
26379 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26380 (__ieee754_powl): Saturate nonzero exponents with absolute value
26381 below 0x1p-79 to +/- 0x1p-79.
26382 * math/libm-test.inc (pow_test): Add more tests.
26384 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26386 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26387 _dl_s390_cap_flags with kernel. Increase string length.
26388 (_dl_s390_platforms): Add z196 and zEC12.
26390 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26392 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26393 Change XOPEN21K to XOPEN2K.
26395 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26397 * string/memmove.c: Use memcpy when possible.
26399 2012-11-06 Andreas Jaeger <aj@suse.de>
26401 * po/eo.po: Update from translation team.
26403 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26406 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26407 exponent and small x and y exponents, scale x or y up. Increase
26408 by 2 the exponent used in scaling up.
26409 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26410 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26411 * math/libm-test.inc (fma_test): Add more tests.
26412 (fma_test_towardzero): Likewise.
26413 (fma_test_downward): Likewise.
26414 (fma_test_upward): Likewise.
26416 2012-11-05 Joseph Myers <joseph@codesourcery.com>
26419 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26423 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26424 namespace for names of struct fields.
26425 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26427 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26428 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26430 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26433 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26435 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26437 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26441 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26444 2012-11-04 Joseph Myers <joseph@codesourcery.com>
26447 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26448 definitely overflow as x * y not x * y + z.
26449 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26450 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26451 * math/libm-test.inc (fma_test): Add more tests.
26452 (fma_test_towardzero): Likewise.
26453 (fma_test_downward): Likewise.
26454 (fma_test_upward): Likewise.
26456 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26460 * include/stub-tag.h: Remove file.
26461 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26463 * manual/maint.texi (Porting): Don't reference it.
26464 * Makerules ($(objpfx)stubs): Likewise.
26465 * dirent/closedir.c: Don't include <stub-tag.h>.
26466 * dirent/dirfd.c: Likewise.
26467 * dirent/fdopendir.c: Likewise.
26468 * dirent/getdents.c: Likewise.
26469 * dirent/getdents64.c: Likewise.
26470 * dirent/opendir.c: Likewise.
26471 * dirent/readdir.c: Likewise.
26472 * dirent/readdir64.c: Likewise.
26473 * dirent/readdir64_r.c: Likewise.
26474 * dirent/readdir_r.c: Likewise.
26475 * dirent/rewinddir.c: Likewise.
26476 * dirent/seekdir.c: Likewise.
26477 * dirent/telldir.c: Likewise.
26478 * gmon/profil.c: Likewise.
26479 * grp/setgroups.c: Likewise.
26480 * inet/if_index.c: Likewise.
26481 * io/access.c: Likewise.
26482 * io/chdir.c: Likewise.
26483 * io/chmod.c: Likewise.
26484 * io/chown.c: Likewise.
26485 * io/close.c: Likewise.
26486 * io/dup.c: Likewise.
26487 * io/dup2.c: Likewise.
26488 * io/dup3.c: Likewise.
26489 * io/euidaccess.c: Likewise.
26490 * io/faccessat.c: Likewise.
26491 * io/fchdir.c: Likewise.
26492 * io/fchmod.c: Likewise.
26493 * io/fchmodat.c: Likewise.
26494 * io/fchown.c: Likewise.
26495 * io/fchownat.c: Likewise.
26496 * io/fcntl.c: Likewise.
26497 * io/flock.c: Likewise.
26498 * io/fstatfs.c: Likewise.
26499 * io/fstatfs64.c: Likewise.
26500 * io/fstatvfs.c: Likewise.
26501 * io/fstatvfs64.c: Likewise.
26502 * io/futimens.c: Likewise.
26503 * io/fxstat.c: Likewise.
26504 * io/fxstat64.c: Likewise.
26505 * io/fxstatat.c: Likewise.
26506 * io/fxstatat64.c: Likewise.
26507 * io/getcwd.c: Likewise.
26508 * io/isatty.c: Likewise.
26509 * io/lchmod.c: Likewise.
26510 * io/lchown.c: Likewise.
26511 * io/link.c: Likewise.
26512 * io/linkat.c: Likewise.
26513 * io/lseek.c: Likewise.
26514 * io/lseek64.c: Likewise.
26515 * io/lxstat64.c: Likewise.
26516 * io/mkdir.c: Likewise.
26517 * io/mkdirat.c: Likewise.
26518 * io/mkfifo.c: Likewise.
26519 * io/mkfifoat.c: Likewise.
26520 * io/open.c: Likewise.
26521 * io/open64.c: Likewise.
26522 * io/openat.c: Likewise.
26523 * io/openat64.c: Likewise.
26524 * io/pipe.c: Likewise.
26525 * io/pipe2.c: Likewise.
26526 * io/poll.c: Likewise.
26527 * io/posix_fadvise.c: Likewise.
26528 * io/posix_fadvise64.c: Likewise.
26529 * io/posix_fallocate.c: Likewise.
26530 * io/posix_fallocate64.c: Likewise.
26531 * io/read.c: Likewise.
26532 * io/readlink.c: Likewise.
26533 * io/readlinkat.c: Likewise.
26534 * io/rmdir.c: Likewise.
26535 * io/sendfile.c: Likewise.
26536 * io/sendfile64.c: Likewise.
26537 * io/statfs.c: Likewise.
26538 * io/statfs64.c: Likewise.
26539 * io/statvfs.c: Likewise.
26540 * io/statvfs64.c: Likewise.
26541 * io/symlink.c: Likewise.
26542 * io/symlinkat.c: Likewise.
26543 * io/ttyname.c: Likewise.
26544 * io/ttyname_r.c: Likewise.
26545 * io/umask.c: Likewise.
26546 * io/unlink.c: Likewise.
26547 * io/unlinkat.c: Likewise.
26548 * io/utime.c: Likewise.
26549 * io/utimensat.c: Likewise.
26550 * io/write.c: Likewise.
26551 * io/xmknod.c: Likewise.
26552 * io/xmknodat.c: Likewise.
26553 * io/xstat.c: Likewise.
26554 * io/xstat64.c: Likewise.
26555 * login/getpt.c: Likewise.
26556 * login/grantpt.c: Likewise.
26557 * login/unlockpt.c: Likewise.
26558 * math/e_acoshl.c: Likewise.
26559 * math/e_acosl.c: Likewise.
26560 * math/e_asinl.c: Likewise.
26561 * math/e_atan2l.c: Likewise.
26562 * math/e_atanhl.c: Likewise.
26563 * math/e_coshl.c: Likewise.
26564 * math/e_expl.c: Likewise.
26565 * math/e_fmodl.c: Likewise.
26566 * math/e_gammal_r.c: Likewise.
26567 * math/e_hypotl.c: Likewise.
26568 * math/e_j0l.c: Likewise.
26569 * math/e_j1l.c: Likewise.
26570 * math/e_jnl.c: Likewise.
26571 * math/e_lgammal_r.c: Likewise.
26572 * math/e_log10l.c: Likewise.
26573 * math/e_log2l.c: Likewise.
26574 * math/e_logl.c: Likewise.
26575 * math/e_powl.c: Likewise.
26576 * math/e_rem_pio2l.c: Likewise.
26577 * math/e_sinhl.c: Likewise.
26578 * math/e_sqrtl.c: Likewise.
26579 * math/fclrexcpt.c: Likewise.
26580 * math/fedisblxcpt.c: Likewise.
26581 * math/feenablxcpt.c: Likewise.
26582 * math/fegetenv.c: Likewise.
26583 * math/fegetexcept.c: Likewise.
26584 * math/fegetround.c: Likewise.
26585 * math/feholdexcpt.c: Likewise.
26586 * math/fesetenv.c: Likewise.
26587 * math/fesetround.c: Likewise.
26588 * math/feupdateenv.c: Likewise.
26589 * math/fgetexcptflg.c: Likewise.
26590 * math/fraiseexcpt.c: Likewise.
26591 * math/fsetexcptflg.c: Likewise.
26592 * math/ftestexcept.c: Likewise.
26593 * math/k_cosl.c: Likewise.
26594 * math/k_rem_pio2l.c: Likewise.
26595 * math/k_sinl.c: Likewise.
26596 * math/k_tanl.c: Likewise.
26597 * math/s_asinhl.c: Likewise.
26598 * math/s_atanl.c: Likewise.
26599 * math/s_cbrtl.c: Likewise.
26600 * math/s_erfl.c: Likewise.
26601 * math/s_expm1l.c: Likewise.
26602 * math/s_log1pl.c: Likewise.
26603 * math/s_tanhl.c: Likewise.
26604 * misc/acct.c: Likewise.
26605 * misc/brk.c: Likewise.
26606 * misc/chflags.c: Likewise.
26607 * misc/chroot.c: Likewise.
26608 * misc/fchflags.c: Likewise.
26609 * misc/fgetxattr.c: Likewise.
26610 * misc/flistxattr.c: Likewise.
26611 * misc/fremovexattr.c: Likewise.
26612 * misc/fsetxattr.c: Likewise.
26613 * misc/fsync.c: Likewise.
26614 * misc/ftruncate.c: Likewise.
26615 * misc/futimes.c: Likewise.
26616 * misc/futimesat.c: Likewise.
26617 * misc/getdomain.c: Likewise.
26618 * misc/getdtsz.c: Likewise.
26619 * misc/gethostid.c: Likewise.
26620 * misc/gethostname.c: Likewise.
26621 * misc/getloadavg.c: Likewise.
26622 * misc/getpagesize.c: Likewise.
26623 * misc/getsysstats.c: Likewise.
26624 * misc/getxattr.c: Likewise.
26625 * misc/gtty.c: Likewise.
26626 * misc/ioctl.c: Likewise.
26627 * misc/lgetxattr.c: Likewise.
26628 * misc/listxattr.c: Likewise.
26629 * misc/llistxattr.c: Likewise.
26630 * misc/lremovexattr.c: Likewise.
26631 * misc/lsetxattr.c: Likewise.
26632 * misc/lutimes.c: Likewise.
26633 * misc/madvise.c: Likewise.
26634 * misc/mincore.c: Likewise.
26635 * misc/mlock.c: Likewise.
26636 * misc/mlockall.c: Likewise.
26637 * misc/mmap.c: Likewise.
26638 * misc/mprotect.c: Likewise.
26639 * misc/msync.c: Likewise.
26640 * misc/munlock.c: Likewise.
26641 * misc/munlockall.c: Likewise.
26642 * misc/munmap.c: Likewise.
26643 * misc/preadv.c: Likewise.
26644 * misc/preadv64.c: Likewise.
26645 * misc/ptrace.c: Likewise.
26646 * misc/pwritev.c: Likewise.
26647 * misc/pwritev64.c: Likewise.
26648 * misc/readv.c: Likewise.
26649 * misc/reboot.c: Likewise.
26650 * misc/remap_file_pages.c: Likewise.
26651 * misc/removexattr.c: Likewise.
26652 * misc/revoke.c: Likewise.
26653 * misc/select.c: Likewise.
26654 * misc/setdomain.c: Likewise.
26655 * misc/setegid.c: Likewise.
26656 * misc/seteuid.c: Likewise.
26657 * misc/sethostid.c: Likewise.
26658 * misc/sethostname.c: Likewise.
26659 * misc/setregid.c: Likewise.
26660 * misc/setreuid.c: Likewise.
26661 * misc/setxattr.c: Likewise.
26662 * misc/sstk.c: Likewise.
26663 * misc/stty.c: Likewise.
26664 * misc/swapoff.c: Likewise.
26665 * misc/swapon.c: Likewise.
26666 * misc/sync.c: Likewise.
26667 * misc/syncfs.c: Likewise.
26668 * misc/syscall.c: Likewise.
26669 * misc/truncate.c: Likewise.
26670 * misc/ualarm.c: Likewise.
26671 * misc/usleep.c: Likewise.
26672 * misc/ustat.c: Likewise.
26673 * misc/utimes.c: Likewise.
26674 * misc/vhangup.c: Likewise.
26675 * misc/writev.c: Likewise.
26676 * posix/_exit.c: Likewise.
26677 * posix/alarm.c: Likewise.
26678 * posix/execve.c: Likewise.
26679 * posix/fexecve.c: Likewise.
26680 * posix/fork.c: Likewise.
26681 * posix/fpathconf.c: Likewise.
26682 * posix/getaddrinfo.c: Likewise.
26683 * posix/getegid.c: Likewise.
26684 * posix/geteuid.c: Likewise.
26685 * posix/getgid.c: Likewise.
26686 * posix/getgroups.c: Likewise.
26687 * posix/getlogin.c: Likewise.
26688 * posix/getlogin_r.c: Likewise.
26689 * posix/getpgid.c: Likewise.
26690 * posix/getpid.c: Likewise.
26691 * posix/getppid.c: Likewise.
26692 * posix/getresgid.c: Likewise.
26693 * posix/getresuid.c: Likewise.
26694 * posix/getsid.c: Likewise.
26695 * posix/getuid.c: Likewise.
26696 * posix/glob64.c: Likewise.
26697 * posix/nanosleep.c: Likewise.
26698 * posix/pathconf.c: Likewise.
26699 * posix/pause.c: Likewise.
26700 * posix/posix_madvise.c: Likewise.
26701 * posix/pread.c: Likewise.
26702 * posix/pread64.c: Likewise.
26703 * posix/pwrite.c: Likewise.
26704 * posix/pwrite64.c: Likewise.
26705 * posix/sched_getaffinity.c: Likewise.
26706 * posix/sched_getp.c: Likewise.
26707 * posix/sched_gets.c: Likewise.
26708 * posix/sched_primax.c: Likewise.
26709 * posix/sched_primin.c: Likewise.
26710 * posix/sched_rr_gi.c: Likewise.
26711 * posix/sched_setaffinity.c: Likewise.
26712 * posix/sched_setp.c: Likewise.
26713 * posix/sched_sets.c: Likewise.
26714 * posix/sched_yield.c: Likewise.
26715 * posix/setgid.c: Likewise.
26716 * posix/setlogin.c: Likewise.
26717 * posix/setpgid.c: Likewise.
26718 * posix/setresgid.c: Likewise.
26719 * posix/setresuid.c: Likewise.
26720 * posix/setsid.c: Likewise.
26721 * posix/setuid.c: Likewise.
26722 * posix/sleep.c: Likewise.
26723 * posix/spawni.c: Likewise.
26724 * posix/sysconf.c: Likewise.
26725 * posix/times.c: Likewise.
26726 * posix/wait.c: Likewise.
26727 * posix/wait3.c: Likewise.
26728 * posix/wait4.c: Likewise.
26729 * posix/waitpid.c: Likewise.
26730 * resolv/gai_sigqueue.c: Likewise.
26731 * resource/getpriority.c: Likewise.
26732 * resource/getrlimit.c: Likewise.
26733 * resource/getrusage.c: Likewise.
26734 * resource/nice.c: Likewise.
26735 * resource/setpriority.c: Likewise.
26736 * resource/setrlimit.c: Likewise.
26737 * resource/ulimit.c: Likewise.
26738 * rt/aio_cancel.c: Likewise.
26739 * rt/aio_fsync.c: Likewise.
26740 * rt/aio_read.c: Likewise.
26741 * rt/aio_sigqueue.c: Likewise.
26742 * rt/aio_suspend.c: Likewise.
26743 * rt/aio_write.c: Likewise.
26744 * rt/clock_getres.c: Likewise.
26745 * rt/clock_gettime.c: Likewise.
26746 * rt/clock_nanosleep.c: Likewise.
26747 * rt/clock_settime.c: Likewise.
26748 * rt/lio_listio.c: Likewise.
26749 * rt/mq_close.c: Likewise.
26750 * rt/mq_getattr.c: Likewise.
26751 * rt/mq_notify.c: Likewise.
26752 * rt/mq_open.c: Likewise.
26753 * rt/mq_receive.c: Likewise.
26754 * rt/mq_send.c: Likewise.
26755 * rt/mq_setattr.c: Likewise.
26756 * rt/mq_timedreceive.c: Likewise.
26757 * rt/mq_timedsend.c: Likewise.
26758 * rt/mq_unlink.c: Likewise.
26759 * rt/shm_open.c: Likewise.
26760 * rt/shm_unlink.c: Likewise.
26761 * rt/timer_create.c: Likewise.
26762 * rt/timer_delete.c: Likewise.
26763 * rt/timer_getoverr.c: Likewise.
26764 * rt/timer_gettime.c: Likewise.
26765 * rt/timer_settime.c: Likewise.
26766 * setjmp/__longjmp.c: Likewise.
26767 * setjmp/setjmp.c: Likewise.
26768 * signal/kill.c: Likewise.
26769 * signal/killpg.c: Likewise.
26770 * signal/raise.c: Likewise.
26771 * signal/sigaction.c: Likewise.
26772 * signal/sigaltstack.c: Likewise.
26773 * signal/sigblock.c: Likewise.
26774 * signal/sigignore.c: Likewise.
26775 * signal/sigintr.c: Likewise.
26776 * signal/signal.c: Likewise.
26777 * signal/sigpause.c: Likewise.
26778 * signal/sigpending.c: Likewise.
26779 * signal/sigqueue.c: Likewise.
26780 * signal/sigreturn.c: Likewise.
26781 * signal/sigset.c: Likewise.
26782 * signal/sigsetmask.c: Likewise.
26783 * signal/sigstack.c: Likewise.
26784 * signal/sigsuspend.c: Likewise.
26785 * signal/sigtimedwait.c: Likewise.
26786 * signal/sigvec.c: Likewise.
26787 * signal/sigwait.c: Likewise.
26788 * signal/sigwaitinfo.c: Likewise.
26789 * signal/sysv_signal.c: Likewise.
26790 * socket/accept.c: Likewise.
26791 * socket/accept4.c: Likewise.
26792 * socket/bind.c: Likewise.
26793 * socket/connect.c: Likewise.
26794 * socket/getpeername.c: Likewise.
26795 * socket/getsockname.c: Likewise.
26796 * socket/getsockopt.c: Likewise.
26797 * socket/isfdtype.c: Likewise.
26798 * socket/listen.c: Likewise.
26799 * socket/recv.c: Likewise.
26800 * socket/recvfrom.c: Likewise.
26801 * socket/recvmsg.c: Likewise.
26802 * socket/send.c: Likewise.
26803 * socket/sendmsg.c: Likewise.
26804 * socket/sendto.c: Likewise.
26805 * socket/setsockopt.c: Likewise.
26806 * socket/shutdown.c: Likewise.
26807 * socket/sockatmark.c: Likewise.
26808 * socket/socket.c: Likewise.
26809 * socket/socketpair.c: Likewise.
26810 * stdio-common/ctermid.c: Likewise.
26811 * stdio-common/cuserid.c: Likewise.
26812 * stdio-common/remove.c: Likewise.
26813 * stdio-common/rename.c: Likewise.
26814 * stdio-common/renameat.c: Likewise.
26815 * stdio-common/tempname.c: Likewise.
26816 * stdlib/getcontext.c: Likewise.
26817 * stdlib/makecontext.c: Likewise.
26818 * stdlib/setcontext.c: Likewise.
26819 * stdlib/swapcontext.c: Likewise.
26820 * stdlib/system.c: Likewise.
26821 * streams/fattach.c: Likewise.
26822 * streams/fdetach.c: Likewise.
26823 * streams/getmsg.c: Likewise.
26824 * streams/getpmsg.c: Likewise.
26825 * streams/putmsg.c: Likewise.
26826 * streams/putpmsg.c: Likewise.
26827 * sysdeps/unix/bsd/getpt.c: Likewise.
26828 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26829 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26830 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26833 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26834 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26835 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26836 * sysvipc/msgctl.c: Likewise.
26837 * sysvipc/msgget.c: Likewise.
26838 * sysvipc/msgrcv.c: Likewise.
26839 * sysvipc/msgsnd.c: Likewise.
26840 * sysvipc/semctl.c: Likewise.
26841 * sysvipc/semget.c: Likewise.
26842 * sysvipc/semop.c: Likewise.
26843 * sysvipc/semtimedop.c: Likewise.
26844 * sysvipc/shmat.c: Likewise.
26845 * sysvipc/shmctl.c: Likewise.
26846 * sysvipc/shmdt.c: Likewise.
26847 * sysvipc/shmget.c: Likewise.
26848 * termios/tcdrain.c: Likewise.
26849 * termios/tcflow.c: Likewise.
26850 * termios/tcflush.c: Likewise.
26851 * termios/tcgetattr.c: Likewise.
26852 * termios/tcgetpgrp.c: Likewise.
26853 * termios/tcsendbrk.c: Likewise.
26854 * termios/tcsetattr.c: Likewise.
26855 * termios/tcsetpgrp.c: Likewise.
26856 * time/adjtime.c: Likewise.
26857 * time/clock.c: Likewise.
26858 * time/getitimer.c: Likewise.
26859 * time/gettimeofday.c: Likewise.
26860 * time/setitimer.c: Likewise.
26861 * time/settimeofday.c: Likewise.
26862 * time/stime.c: Likewise.
26863 * time/time.c: Likewise.
26865 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
26867 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26870 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26872 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26874 2012-11-03 Joseph Myers <joseph@codesourcery.com>
26877 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26878 FE_TONEAREST before applying Dekker multiplication and Knuth
26879 addition. Clear inexact exceptions and check for exact zero
26880 results afterwards.
26881 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26882 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26883 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26884 * math/libm-test.inc (fma_test): Add more tests.
26885 (fma_test_towardzero): Likewise.
26886 (fma_test_downward): Likewise.
26887 (fma_test_upward): Likewise.
26888 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26890 (libc_fesetround): New macro.
26891 (libc_fesetroundf): Likewise.
26892 (libc_fesetroundl): Likewise.
26893 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26895 (libc_fesetround_387): Likewise.
26896 (libc_fesetroundf): New macro.
26897 (libc_fesetround): Likewise.
26898 (libc_fesetroundl): Likewise.
26899 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26901 (libc_fesetroundf): New macro.
26902 (libc_fesetround): Likewise.
26903 (libc_fesetroundl): Likewise.
26904 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26905 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26906 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26908 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26909 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26911 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26912 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26914 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26918 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26919 integer constant usable in #if and use that to give value to enum
26921 (FE_DIVBYZERO): Likewise.
26922 (FE_UNDERFLOW): Likewise.
26923 (FE_OVERFLOW): Likewise.
26924 (FE_INVALID): Likewise.
26925 (FE_INVALID_SNAN): Likewise.
26926 (FE_INVALID_ISI): Likewise.
26927 (FE_INVALID_IDI): Likewise.
26928 (FE_INVALID_ZDZ): Likewise.
26929 (FE_INVALID_IMZ): Likewise.
26930 (FE_INVALID_COMPARE): Likewise.
26931 (FE_INVALID_SOFTWARE): Likewise.
26932 (FE_INVALID_SQRT): Likewise.
26933 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26934 (FE_TONEAREST): Likewise.
26935 (FE_TOWARDZERO): Likewise.
26936 (FE_UPWARD): Likewise.
26937 (FE_DOWNWARD): Likewise.
26938 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26939 (FE_DIVBYZERO): Likewise.
26940 (FE_OVERFLOW): Likewise.
26941 (FE_UNDERFLOW): Likewise.
26942 (FE_INEXACT): Likewise.
26943 (FE_TONEAREST): Likewise.
26944 (FE_DOWNWARD): Likewise.
26945 (FE_UPWARD): Likewise.
26946 (FE_TOWARDZERO): Likewise.
26947 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26948 (FE_UNDERFLOW): Likewise.
26949 (FE_OVERFLOW): Likewise.
26950 (FE_DIVBYZERO): Likewise.
26951 (FE_INVALID): Likewise.
26952 (FE_TONEAREST): Likewise.
26953 (FE_TOWARDZERO): Likewise.
26954 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26955 (FE_OVERFLOW): Likewise.
26956 (FE_UNDERFLOW): Likewise.
26957 (FE_DIVBYZERO): Likewise.
26958 (FE_INEXACT): Likewise.
26959 (FE_TONEAREST): Likewise.
26960 (FE_TOWARDZERO): Likewise.
26961 (FE_UPWARD): Likewise.
26962 (FE_DOWNWARD): Likewise.
26963 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26964 (FE_DIVBYZERO): Likewise.
26965 (FE_OVERFLOW): Likewise.
26966 (FE_UNDERFLOW): Likewise.
26967 (FE_INEXACT): Likewise.
26968 (FE_TONEAREST): Likewise.
26969 (FE_DOWNWARD): Likewise.
26970 (FE_UPWARD): Likewise.
26971 (FE_TOWARDZERO): Likewise.
26973 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26975 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26977 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26979 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26980 commands. Quote $PWD.
26981 (blacklist_exports): Don't use remove_newlines. Replace "declare
26983 (remove_newlines): Remove.
26985 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26987 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26988 * stdlib/stdlib.h (atof): Moved to ...
26989 * include/bits/stdlib-float.h: Here. New file.
26990 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26991 * stdlib/bits/stdlib-float.h: New file.
26992 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26994 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26997 2012-11-02 Joseph Myers <joseph@codesourcery.com>
26999 * conform/conformtest.pl (@headers): Add fenv.h.
27000 * conform/data/fenv.h-data: New file.
27001 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27002 include of <math/fenv.h>.
27004 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27005 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27006 && !UNIX98]. Enables tests for XOPEN2K8.
27007 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27008 POSIX2008]: Likewise.
27010 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27011 (struct rusage): Do not expect type or its members.
27014 * math/math.h (FP_NAN): Define macro to integer constant usable in
27015 #if and use that to give value to enum constant.
27016 (FP_INFINITE): Likewise.
27017 (FP_ZERO): Likewise.
27018 (FP_SUBNORMAL): Likewise.
27019 (FP_NORMAL): Likewise.
27021 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27023 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27024 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27027 2012-11-02 Roland McGrath <roland@hack.frob.com>
27029 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27030 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27031 autoconf-time if not.
27032 * configure.in: Remove AC_PREREQ.
27034 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27036 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27037 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27038 of the internal implementation.
27040 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27042 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27043 except include of <misc/sys/syslog.h>.
27045 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27048 function returns with a NULL context exit with zero.
27050 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27052 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27054 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27056 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27057 (run_program_cmd): This.
27058 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27059 (tst_langinfo): New variable. Use it.
27061 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27063 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27064 floating point opcodes.
27066 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27068 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27071 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27073 * sysdeps/mach/hurd/powerpc: Remove directory.
27074 * sysdeps/mach/powerpc: Likewise.
27076 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27078 * scripts/check-local-headers.sh: Ignore c++ headers.
27080 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27082 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27083 __libc_cleanup_region_start argument.
27085 2012-11-01 Joseph Myers <joseph@codesourcery.com>
27089 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27090 x * y using scaling, not as x * y + z.
27091 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27092 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27093 * math/libm-test.inc (fma_test): Add more tests.
27094 (fma_test_towardzero): Likewise.
27095 (fma_test_downward): Likewise.
27096 (fma_test_upward): Likewise.
27098 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27100 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27102 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27104 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27107 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27109 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27111 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27118 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27121 Fix the order of the list for glibc 2.17.
27122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27125 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27129 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27132 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27133 for low part of x being zero before using __atanl (y).
27134 * math/libm-test.inc (atan2_test): Add another test.
27136 * manual/install.texi (Configuring and compiling): Document
27137 general use of test-wrapper and test-wrapper-env.
27138 * INSTALL: Regenerated.
27140 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27141 (__fma): Do not extract and scale down low bits on after-rounding
27142 systems when result rounded to normal precision would have normal
27144 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27145 (__fmal): Do not extract and scale down low bits on after-rounding
27146 systems when result rounded to normal precision would have normal
27148 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27149 (__fmal): Do not extract and scale down low bits on after-rounding
27150 systems when result rounded to normal precision would have normal
27152 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27154 (fma_test): Add more tests.
27155 (fma_test_towardzero): Likewise.
27156 (fma_test_downward): Likewise.
27157 (fma_test_upward): Likewise.
27159 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27161 * sysdeps/i386/tininess.h: Renamed to ...
27162 * sysdeps/x86/tininess.h: This.
27163 * sysdeps/x86_64/tininess.h: Removed.
27165 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27167 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27168 input. Use $(build-program-cmd).
27169 ($(objpfx)tst-array1-static.out): Likewise.
27170 ($(objpfx)tst-array2.out): Likewise.
27171 ($(objpfx)tst-array3.out): Likewise.
27172 ($(objpfx)tst-array4.out): Likewise.
27173 ($(objpfx)tst-array5.out): Likewise.
27174 ($(objpfx)tst-array5-static.out): Likewise.
27176 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27178 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27181 * nss/nsswitch.h (nss_interface_function): Provide new
27182 macro for use with NSS functions.
27183 * grp/initgroups.c: Use new macro.
27184 * nss/getXXbyYY.c: Likewise.
27185 * nss/getXXbyYY_r.c: Likewise.
27186 * nss/getXXent.c: Likewise.
27187 * nss/getXXent_r.c: Likewise.
27188 * sysdeps/posix/getaddrinfo.c: Likewise.
27190 2012-10-30 Andreas Jaeger <aj@suse.de>
27192 * po/ru.po: Update Russion translation from translation project.
27194 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27198 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27199 result and shift together with sticky bit instead of replicating
27200 round-to-nearest rounding.
27201 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27202 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27203 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27204 missing underflow exceptions.
27205 (fma_test_towardzero): Add more tests.
27206 (fma_test_downward): Likewise.
27207 (fma_test_upward): Likewise.
27210 * sysdeps/generic/tininess.h: New file.
27211 * sysdeps/i386/tininess.h: Likewise.
27212 * sysdeps/sh/tininess.h: Likewise.
27213 * sysdeps/x86_64/tininess.h: Likewise.
27214 * stdlib/tst-strtod-underflow.c: Likewise.
27215 * stdlib/tst-tininess.c: Likewise.
27216 * stdlib/strtod_l.c: Include <tininess.h>.
27217 (round_and_return): Do not set errno for exact underflow cases.
27218 Force an underflow exception when setting errno for underflow.
27219 Determine underflow based on rounding to normal precision if
27220 TININESS_AFTER_ROUNDING.
27221 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27222 ERANGE for exact underflow cases.
27223 * stdlib/Makefile (tests): Add tst-tininess and
27224 tst-strtod-underflow.
27225 ($(objpfx)tst-tininess): Use $(link-libm).
27226 ($(objpfx)tst-strtod-underflow): Likewise.
27228 2012-10-30 Andreas Jaeger <aj@suse.de>
27231 * elf/Makefile (tests): Remove conditional for have-initfini-array
27232 since this is now always required and the variable does not exist
27234 (tests-static): Likewise.
27235 (modules-names): Likewise.
27237 * po/eo.po: Add Esperanto translation from translation project.
27239 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27240 merged with constructor/destructor.
27241 (init_array): Likewise.
27242 * elf/tst-array2dep.c (fini_array): Likewise.
27243 (init_array): Likewise.
27245 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27247 * manual/message.texi: Delete @cartouche tags.
27249 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27251 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27253 * sysdeps/mach/hurd/fsync.c: Likewise.
27255 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27256 [_POSIX_REALTIME_SIGNALS]: Change condition to
27257 [_POSIX_REALTIME_SIGNALS > 0].
27259 2012-10-27 Andreas Jaeger <aj@suse.de>
27261 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27262 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27263 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27264 [__WORDSIZE != 64]: Likewise.
27266 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27268 * iconvdata/tst-table.sh: Remove ${SHELL}.
27269 * iconvdata/tst-tables.sh: Likewise.
27271 2012-10-25 David S. Miller <davem@davemloft.net>
27273 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27274 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27277 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27279 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27280 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27281 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27284 2012-10-25 Roland McGrath <roland@hack.frob.com>
27286 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27287 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27290 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27291 Jim Blandy <jimb@codesourcery.com>
27293 * scripts/cross-test-ssh.sh: New file.
27294 * manual/install.texi (Configuring and compiling): Document use of
27296 * INSTALL: Regenerated.
27298 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27300 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27303 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27305 * Makeconfig (run-program-prefix): Fix comment.
27307 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27308 Jim Blandy <jimb@codesourcery.com>
27310 * Makeconfig (test-wrapper): New variable,
27311 (test-wrapper-env): Likewise.
27312 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27313 (run-built-tests): Define to yes.
27314 (run-program-prefix): Use $(test-wrapper).
27315 (built-program-cmd): Likewise.
27316 * Rules (make-test-out): Use $(test-wrapper-env) and
27317 $(host-built-program-cmd).
27318 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27319 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27321 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27322 $(test-wrapper-env) to tst-rtld-load-self.sh.
27323 ($(objpfx)order2.out): Use $(test-wrapper).
27324 ($(objpfx)tst-initorder.out): Likewise.
27325 ($(objpfx)tst-initorder2.out): Likewise.
27326 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27327 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27328 (test_wrapper_env): New variable. Use it to run ld.so.
27329 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27330 Use it to run ld.so.
27331 (test_wrapper_env): Likewise.
27332 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27333 $(test-wrapper) to run-iconv-test.sh.
27334 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27335 (ICONV): Use $test_wrapper.
27336 * posix/Makefile ($(objpfx)globtest.out): Pass
27337 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27338 globtest.sh, not $(run-program-prefix).
27339 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27340 (test_wrapper): Likewise.
27341 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27342 set together with run_via_rtld_prefix.
27343 (run_program_prefix): Define in terms of test_wrapper and
27344 run_via_rtld_prefix.
27346 2012-10-24 Roland McGrath <roland@hack.frob.com>
27348 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27349 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27353 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27354 Declare __clock_getres, __clock_gettime, __clock_settime,
27355 __clock_nanosleep, and __clock_getcpuclockid.
27356 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27357 Remove librt_hidden_def (clock_gettime).
27358 * sysdeps/unix/clock_gettime.c: Likewise.
27359 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27360 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27361 * rt/clock_getres.c: Define __clock_getres as an alias.
27362 * sysdeps/posix/clock_getres.c: Likewise.
27363 * rt/clock_settime.c: Define __clock_settime as an alias.
27364 * sysdeps/unix/clock_settime.c: Likewise.
27365 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27366 * sysdeps/unix/clock_nanosleep.c: Likewise.
27367 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27368 * rt/clock-compat.c: New file.
27369 * rt/Makefile (librt-routines): Add clock-compat and move
27370 $(clock-routines) to ...
27371 (routines): ... here, new variable.
27372 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27373 Don't add get_clockfreq here.
27374 * rt/Versions (libc: GLIBC_2.17): New version set.
27375 Add clock_* symbols here.
27376 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27377 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27378 (GLIBC_2.17): Add clock_* symbols.
27379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27381 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27390 * NEWS: Mention the move.
27392 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27393 Use __open, __read, __close rather than their public counterparts.
27394 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27395 (__get_clockfreq_via_cpuinfo): Likewise.
27396 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27397 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27399 * config.h.in (HAVE_IFUNC): New #undef.
27400 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27402 * configure: Regenerated.
27404 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27406 * configure.in: Move READELF check to start of file.
27407 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27408 libc_cv_asm_gnu_indirect_function in the process.
27409 * configure: Regenerated.
27411 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27413 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27414 send the output to /dev/null.
27415 (libc_cv_cc_with_libunwind): Likewise.
27416 (libc_cv_as_noexecstack): Likewise.
27417 * configure: Regenerate.
27419 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27421 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27423 * posix/globtest.sh (TMPDIR): Do not set.
27424 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27425 (testout): Likewise.
27427 2012-10-24 Andreas Jaeger <aj@suse.de>
27429 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27430 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27431 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27432 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27433 posix_fadvise64, posix_fallocate64.
27435 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27436 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27437 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27439 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27441 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27443 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27444 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27445 <bits/fcntl-linux.h>.
27446 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27448 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27449 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27450 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27451 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27452 [__WORDSIZE != 64]: Likewise.
27454 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27456 * Makeconfig (run-built-tests): New variable.
27457 * Rules [$(cross-compiling) = yes]: Change condition to
27458 [$(run-built-tests) = no].
27459 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27460 to [$(run-built-tests) = yes].
27461 * elf/Makefile [$(cross-compiling) = no]: Likewise
27462 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27463 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27464 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27465 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27466 * io/Makefile [$(cross-compiling) = no]: Likewise.
27467 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27468 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27469 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27470 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27471 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27472 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27473 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27474 * string/Makefile [$(cross-compiling) = no]: Likewise.
27476 * posix/Makefile ($(objpfx)globtest.out): Pass
27477 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27478 $(rtld-installed-name).
27479 * posix/globtest.sh (elf_objpfx): Remove variable.
27480 (rtld_installed_name): Likewise.
27481 (library_path): Likewise.
27482 (run_program_prefix): New variable. Use for running globtest
27485 2012-10-23 Jim Blandy <jimb@codesourcery.com>
27486 Joseph Myers <joseph@codesourcery.com>
27488 * Makeconfig (host-built-program-cmd): New variable.
27489 * elf/Makefile (tst-stackguard1-ARGS): Use
27490 $(host-built-program-cmd).
27491 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27492 (tst-spawn-ARGS): Likewise.
27493 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27495 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27496 Jim Blandy <jimb@codesourcery.com>
27498 * Makeconfig (run-via-rtld-prefix): New variable.
27499 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27500 (built-program-cmd): Likewise.
27502 2012-10-22 Andreas Jaeger <aj@suse.de>
27504 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27505 __O_RSYNC if it exists, otherwise to O_SYNC.
27507 2012-10-22 Jim Blandy <jimb@codesourcery.com>
27508 Joseph Myers <joseph@codesourcery.com>
27510 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27512 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27514 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27517 2012-10-22 Andreas Jaeger <aj@suse.de>
27519 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27521 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27523 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27524 bits/fcntl-linux.h.
27526 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27527 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27529 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27531 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27534 2012-10-21 Jim Blandy <jimb@codesourcery.com>
27535 Joseph Myers <joseph@codesourcery.com>
27537 * config.make.in (NM): New variable.
27539 2012-10-21 Andreas Jaeger <aj@suse.de>
27541 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27542 definitions and declarations that are provided by
27543 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27545 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27548 * elf/Makefile (tests-static): Add tst-leaks1-static.
27549 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27550 ($(objpfx)tst-leaks1-static): New rule.
27551 ($(objpfx)tst-leaks1-static-mem): Likewise.
27552 (tst-leaks1-static-ENV): New macro.
27553 * elf/dl-open.c (dl_open_worker): Check the main application
27554 only if SHARED is defined.
27555 * elf/tst-leaks1-static.c: New file.
27557 2012-10-20 Andreas Jaeger <aj@suse.de>
27559 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27560 generic values for Linux.
27561 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27562 and declarations that are provided by <bits/fcntl-linux.h> and
27563 include <bits/fcntl-linux.h>.
27564 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27565 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27567 2012-10-20 Roland McGrath <roland@hack.frob.com>
27569 * io/fcntl.h: Move include of <bits/types.h> to the top and
27570 include it unconditionally.
27572 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27574 * wcsmbs/Makefile (tests-ifunc): New variable.
27575 (tests): Add $(tests-ifunc).
27576 * wcsmbs/test-wcschr-ifunc.c: New file.
27577 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27578 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27579 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27580 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27581 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27583 * string/Makefile (tests-ifunc): New variable.
27584 (tests): Add $(tests-ifunc).
27585 * string/test-memccpy.c (TEST_NAME): New macro.
27586 * string/test-memchr.c (TEST_NAME): Likewise.
27587 * string/test-memcmp.c (TEST_NAME): Likewise.
27588 * string/test-memcpy.c (TEST_NAME): Likewise.
27589 * string/test-memmem.c (TEST_NAME): Likewise.
27590 * string/test-memmove.c (TEST_NAME): Likewise.
27591 * string/test-memset.c (TEST_NAME): Likewise.
27592 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27593 * string/test-stpcpy.c (TEST_NAME): Likewise.
27594 * string/test-stpncpy.c (TEST_NAME): Likewise.
27595 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27596 * string/test-strcasestr.c (TEST_NAME): Likewise.
27597 * string/test-strcat.c (TEST_NAME): Likewise.
27598 * string/test-strchr.c (TEST_NAME): Likewise.
27599 * string/test-strcmp.c(TEST_NAME): Likewise.
27600 * string/test-strcpy.c (TEST_NAME): Likewise.
27601 * string/test-strcspn.c (TEST_NAME): Likewise.
27602 * string/test-strlen.c (TEST_NAME): Likewise.
27603 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27604 * string/test-strncmp.c (TEST_NAME): Likewise.
27605 * string/test-strncpy.c (TEST_NAME): Likewise.
27606 * string/test-strnlen.c (TEST_NAME): Likewise.
27607 * string/test-strpbrk.c (TEST_NAME): Likewise.
27608 * string/test-strrchr.c (TEST_NAME): Likewise.
27609 * string/test-strspn.c (TEST_NAME): Likewise.
27610 * string/test-strstr.c (TEST_NAME): Likewise.
27611 * string/test-bcopy-ifunc.c: New file.
27612 * string/test-bzero-ifunc.c: Likewise.
27613 * string/test-memccpy-ifunc.c: Likewise.
27614 * string/test-memchr-ifunc.c: Likewise.
27615 * string/test-memcmp-ifunc.c: Likewise.
27616 * string/test-memcpy-ifunc.c: Likewise.
27617 * string/test-memmem-ifunc.c: Likewise.
27618 * string/test-memmove-ifunc.c: Likewise.
27619 * string/test-mempcpy-ifunc.c: Likewise.
27620 * string/test-memset-ifunc.c: Likewise.
27621 * string/test-rawmemchr-ifunc.c: Likewise.
27622 * string/test-stpcpy-ifunc.c: Likewise.
27623 * string/test-stpncpy-ifunc.c: Likewise.
27624 * string/test-strcasecmp-ifunc.c: Likewise.
27625 * string/test-strcasestr-ifunc.c: Likewise.
27626 * string/test-strcat-ifunc.c: Likewise.
27627 * string/test-strchr-ifunc.c: Likewise.
27628 * string/test-strchrnul-ifunc.c: Likewise.
27629 * string/test-strcmp-ifunc.c: Likewise.
27630 * string/test-strcpy-ifunc.c: Likewise.
27631 * string/test-strcspn-ifunc.c: Likewise.
27632 * string/test-strlen-ifunc.c: Likewise.
27633 * string/test-strncasecmp-ifunc.c: Likewise.
27634 * string/test-strncat-ifunc.c: Likewise.
27635 * string/test-strncmp-ifunc.c: Likewise.
27636 * string/test-strncpy-ifunc.c: Likewise.
27637 * string/test-strnlen-ifunc.c: Likewise.
27638 * string/test-strpbrk-ifunc.c: Likewise.
27639 * string/test-strrchr-ifunc.c: Likewise.
27640 * string/test-strspn-ifunc.c: Likewise.
27641 * string/test-strstr-ifunc.c: Likewise.
27643 * debug/Makefile (tests-ifunc): New variable.
27644 (tests): Add $(tests-ifunc).
27645 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27646 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27647 * debug/test-stpcpy_chk-ifunc.c: New file.
27648 * debug/test-strcpy_chk-ifunc.c: Likewise.
27650 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27653 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27654 header is not read in.
27656 2012-10-19 Joseph Myers <joseph@codesourcery.com>
27658 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27659 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27660 directly. Pass built executable to script as
27661 $(built-program-cmd).
27662 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27663 $testprogram without using LD_LIBRARY_PATH and $ldso.
27665 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27666 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27667 $(rtld-installed-name).
27668 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27669 (rtld_installed_name): Likewise.
27670 (library_path): Likewise.
27671 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27672 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27673 $(run-program-prefix) to tst-tables.sh.
27674 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27675 it to run tst-table-from and tst-table-to.
27676 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27677 Pass it to tst-table.sh.
27678 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27679 $(run-program-prefix) to tst-gettext.sh.
27680 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27682 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27684 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27685 to run tst-gettext.
27686 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27687 to run tst-gettext2.
27688 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27689 to run tst-translit.
27690 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27691 $(run-program-prefix) to tst-mtrace.sh.
27692 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27694 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27695 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27696 $(rtld-installed-name).
27697 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27698 (rtld_installed_name): Likewise.
27699 (run_program_prefix): New variable. Use it to run wordexp-test.
27701 * Makeconfig (ARCH): Remove all definitions.
27702 (machine): Likewise.
27703 [ARCH]: Remove conditional code.
27704 [!objdir]: Give error.
27705 [!objdir] (objpfx): Remove.
27706 [!objdir] (common-objpfx): Likewise.
27707 [!objdir] (common-objdir): Likewise.
27708 * configure.in (config_makefile): Remove. Hardcode Makefile in
27709 AC_CONFIG_FILES call.
27710 * configure: Regenerated.
27713 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27715 (testout): Likewise.
27717 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27718 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27719 $(rtld-installed-name).
27720 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27721 (rtld_installed_name): Likwise.
27722 (runit): Remove function.
27723 (run_getconf): New variable, Use it for running getconf binary.
27725 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27728 * string/test-memmem.c (check_result): New function.
27729 (do_one_test): Use it.
27730 (check1): New function.
27731 (test_main): Use it.
27733 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27735 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27737 2012-10-18 Joseph Myers <joseph@codesourcery.com>
27739 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27740 (_G_LSEEK64): Likewise.
27741 (_G_MMAP64): Likewise.
27742 (_G_FSTAT64): Likewise.
27743 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27744 (_G_LSEEK64): Likewise.
27745 (_G_MMAP64): Likewise.
27746 (_G_FSTAT64): Likewise.
27747 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27748 unconditional. Call __mmap64 directly.
27749 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27750 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27751 __lseek64 directly.
27752 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27753 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27755 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27756 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27757 __lseek64 directly.
27758 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27759 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27760 __lseek64 directly.
27761 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27762 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27763 __lseek64 directly.
27764 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27765 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27766 __fxstat64 directly.
27767 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27768 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27770 (freopen64) [!_G_OPEN64]: Remove conditional code.
27771 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27773 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27774 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27776 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27777 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27779 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27780 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27782 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27783 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27785 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27786 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27788 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27789 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27791 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27793 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27796 * manual/memory.texi (Malloc Tunable Parameters): Add note
27797 about free list pointers overwriting some perturb bytes.
27798 Wording suggested by Roland McGrath.
27800 2012-10-17 Joseph Myers <joseph@codesourcery.com>
27802 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27803 (lgamma_test): Likewise.
27804 (tgamma_test): Likewise.
27806 2012-10-16 Florian Weimer <fweimer@redhat.com>
27809 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27810 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27812 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27814 * NEWS: Mention BZ #14716.
27815 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27816 when removing AVAILABLE1_USES_J macro.
27818 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27820 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27821 (__bswap_64): __uint64_t for unsigned 64-bit int.
27823 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27825 * include/string.h (memmem): Declare libc hidden alias.
27826 * string/memmem.c (memmem): Define libc hidden alias.
27827 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27828 __read, __close instead of open, read, close.
27830 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27832 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27833 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27835 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27836 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27837 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27839 (__rawmemchr_sse2): Likewise.
27840 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27841 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27842 (__strchr_sse2): Likewise.
27843 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27844 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27845 (__strcasecmp_sse2): Likewise.
27846 (__strncasecmp_sse2): Likewise.
27847 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27848 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27849 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27850 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27851 (__strrchr_sse2): Likewise.
27852 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27854 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27855 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27856 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27857 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27858 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27859 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27860 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27861 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27862 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27863 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27864 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27865 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27866 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27867 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27868 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27869 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27870 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27871 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27872 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27873 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27874 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27875 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27876 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27877 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27878 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27879 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27880 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27881 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27882 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27883 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27885 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27887 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27888 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27889 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27890 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27892 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27894 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27895 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27896 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27897 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27899 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27900 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27901 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27902 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27903 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27904 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27905 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27906 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27907 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27908 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27909 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27910 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27911 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27912 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27913 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27914 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27915 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27916 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27917 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27918 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27919 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27920 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27921 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27922 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27923 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27924 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27925 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27926 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27927 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27928 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27929 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27930 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27931 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27932 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27933 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27934 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27935 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27936 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27937 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27938 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27939 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27941 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27942 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27943 * include/ifunc-impl-list.h: New file.
27944 * misc/ifunc-impl-list.c: Likewise.
27945 * misc/Makefile (routines): Add ifunc-impl-list.
27946 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27947 * string/test-string.h: Include <ifunc-impl-list.h>.
27948 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27949 TEST_NAME]: New variables.
27950 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27952 (test_init): Call __libc_ifunc_impl_list to initialize
27953 func_list if TEST_IFUNC and TEST_NAME are defined.
27955 * string/Makefile (strop-tests): Add bcopy and bzero.
27956 * string/test-bcopy.c: New file.
27957 * string/test-bzero.c: Likewise.
27958 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27960 * string/test-memset.c: Support bzero test if TEST_BZERO is
27962 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27964 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27966 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27969 2012-10-10 Joseph Myers <joseph@codesourcery.com>
27971 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27972 * configure: Regenerated.
27974 * Makeconfig (+link-static-before-libc): Don't include
27975 $(link-static-libc).
27977 * libio/libio.h (_IO_pos_t): Remove.
27979 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27981 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27984 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27986 * crypt/crypt-entry.c: Include fips-private.h.
27987 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27988 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27989 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27990 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27992 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
27994 * crypt/crypt-private.h: Include stdbool.h.
27995 (_ufc_setup_salt_r): Return bool.
27996 * crypt/crypt-entry.c: Include errno.h.
27997 (__crypt_r): Return NULL with EINVAL for bad salt.
27998 * crypt/crypt_util.c (bad_for_salt): New.
27999 (_ufc_setup_salt_r): Check that salt is long enough and within
28000 the specified alphabet.
28001 * crypt/badsalttest.c: New file.
28002 * crypt/Makefile (tests): Add it.
28003 ($(objpfx)badsalttest): New.
28005 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28007 * NEWS: Add entry for BZ #14602.
28009 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28011 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28013 * math/libm-test.inc: Update comment listing what functions and
28015 (isgreater_test): New function.
28016 (isgreaterequal_test): Likewise.
28017 (isless_test): Likewise.
28018 (islessequal_test): Likewise.
28019 (islessgreater_test): Likewise.
28020 (isunordered_test): Likewise.
28021 (main): Call the new functions.
28023 2012-10-09 Roland McGrath <roland@hack.frob.com>
28025 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28026 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28027 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28028 * sysdeps/i386/configure: Regenerated.
28029 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28030 * sysdeps/mach/configure: Regenerated.
28031 * sysdeps/mach/hurd/configure: Regenerated.
28032 * sysdeps/powerpc/configure: Regenerated.
28033 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28034 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28035 * sysdeps/s390/s390-32/configure: Regenerated.
28036 * sysdeps/s390/s390-64/configure: Regenerated.
28037 * sysdeps/sh/configure: Regenerated.
28038 * sysdeps/sparc/configure: Regenerated.
28039 * sysdeps/unix/sysv/linux/configure: Regenerated.
28040 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28041 * sysdeps/x86_64/configure: Regenerated.
28043 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28044 defined. Don't check if MAP is NULL.
28046 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28048 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28049 (_G_stat64): Likewise.
28050 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28051 (_G_stat64): Likewise.
28052 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28053 instead of struct _G_stat64.
28054 * libio/fileops.c (mmap_remap_check): Likewise.
28055 (decide_maybe_mmap): Likewise.
28056 (_IO_new_file_seekoff): Likewise.
28057 (_IO_file_stat): Likewise.
28058 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28060 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28061 instead of struct _G_stat64.
28062 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28064 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28067 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28069 (CHECK_EOL): New macro.
28070 (two_way_short_needle): Check beginning of haystack for EOL. Use
28072 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28073 Replace with CHECK_EOL.
28074 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28075 Replace with CHECK_EOL.
28077 2012-10-08 Joseph Myers <joseph@codesourcery.com>
28079 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28081 * math/libm-test.inc: Update comment listing what functions and
28083 (finite_test): New function.
28084 (isinf_test): Likewise.
28085 (isnan_test): Likewise.
28086 (fpclassify_test): Test subnormal input.
28087 (isfinite_test): Likewise.
28088 (isnormal_test): Likewise.
28089 (main): Call the new functions.
28091 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28094 * Makerules (%.dynsym): Force C locale when running
28095 $(OBJDUMP) --dynamic-syms.
28097 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28099 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28102 2012-10-06 David S. Miller <davem@davemloft.net>
28104 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28105 upper 32-bits of the length value in %o2 since we use branch-on-register
28106 tests which consider the entire 64-bit register.
28108 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28110 * string/test-strstr.c (check2): Add a test for page boundary.
28112 2012-10-05 David S. Miller <davem@davemloft.net>
28114 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28115 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28117 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28119 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28120 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28121 and bzero when HWCAP_SPARC_CRYPTO is present.
28123 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28126 * string/test-strstr.c (check2): New function.
28127 (test_main): Call check2.
28129 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28131 * string/bug-strcasestr1.c (do_test): Moved to ...
28132 * string/test-strcasestr.c (check1): Here. New function.
28133 (do_one_test): Break out result checking code into ...
28134 (check_result): This. New function.
28135 (do_one_test): Call check_result.
28136 (test_main): Call check1.
28137 * string/bug-strchr1.c (do_test): Moved to ...
28138 * string/test-strchr.c (check1): Here. New function.
28139 (do_one_test): Break out result checking code into ...
28140 (check_result): This. New function.
28141 (do_one_test): Call check_result.
28142 (test_main): Call check1.
28143 * string/bug-strstr1.c (main): Moved to ...
28144 * string/test-strstr.c (check1): Here. New function.
28145 (do_one_test): Break out result checking code into ...
28146 (check_result): This. New function.
28147 (do_one_test): Call check_result.
28148 (test_main): Call check1.
28149 * string/bug-strcasestr1.c: Removed.
28150 * string/bug-strchr1.c: Likewise.
28151 * string/bug-strstr1.c: Likewise.
28153 * elf/Makefile (dl-routines): Add hwcaps.
28154 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28155 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28156 (_dl_important_hwcaps): Moved to ...
28157 * elf/dl-hwcaps.c: Here. New file.
28158 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28161 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28162 if IS_IN_rtld isn't defined.
28164 * elf/dl-support.c (_dl_sysinfo_map): New.
28165 Include "get-dynamic-info.h" and "setup-vdso.h".
28166 (_dl_non_dynamic_init): Call setup_vdso.
28167 * elf/dynamic-link.h: Don't include <assert.h>.
28168 (elf_get_dynamic_info): Moved to ...
28169 * elf/get-dynamic-info.h: Here. New file.
28170 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28171 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28172 * elf/setup-vdso.h: Here. New file.
28173 * elf/rtld.c: Include "setup-vdso.h".
28174 (dl_main): Call setup_vdso.
28176 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28178 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28179 creal in comment listing functions tested. List finite, isinf,
28180 isnan, isless, islessequal, isgreater, isgreaterequal,
28181 islessgreater, isunordered, lgamma_r and pow10 as functions and
28182 macros not tested. Mention which functions not tested are aliases
28183 for other functions. Fix typo. Note that signs of NaNs are not
28186 * scripts/config.guess: Update from config.git.
28187 * scripts/config.sub: Likewise.
28189 2012-10-04 Roland McGrath <roland@hack.frob.com>
28191 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28192 * misc/madvise.c (madvise): Renamed to __madvise.
28193 Make madvise a weak alias.
28194 * include/sys/mman.h: Declare __madvise.
28195 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28196 * sysdeps/unix/syscalls.list
28197 (madvise): Make __madvise the strong name, and madvise a weak alias.
28198 * sysdeps/unix/sysv/linux/syscalls.list
28199 (madvise, mmap): Remove redundant entries.
28200 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28201 * malloc/malloc.c (mtrim): Likewise.
28202 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28204 2012-10-03 Roland McGrath <roland@hack.frob.com>
28206 * sysdeps/mach/hurd/dl-cache.c: File removed.
28207 * config.h.in (USE_LDCONFIG): New #undef.
28208 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28209 * configure: Regenerated.
28210 * elf/Makefile (dl-routines): Add dl-cache only under
28211 [$(use-ldconfig) = yes].
28212 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28213 cache on [USE_LDCONFIG].
28214 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28216 * elf/rtld.c (dl_main): Likewise.
28218 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28220 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28221 _SC_LEVEL4_CACHE_LINESIZE.
28223 2012-10-03 Roland McGrath <roland@hack.frob.com>
28225 * sysdeps/unix/bsd/confstr.h: File removed.
28227 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28229 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28232 2012-10-02 Roland McGrath <roland@hack.frob.com>
28234 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28235 Make 'mapoff' field ElfW(Off) rather than off_t.
28237 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28239 * nscd/Makefile: Remove nscd-cflags and all its users.
28240 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28241 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28244 * malloc.c (malloc_printerr): Clarify error message.
28246 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28249 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28250 Set bit_FMA_Usable if FMA is supported.
28251 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28253 (bit_FMA4_Usable): Updated.
28254 (index_FMA_Usable): New macro.
28255 (CPUID_FMA): Likewise
28256 (HAS_FMA): Defined with bit_FMA_Usable.
28258 2012-10-01 Roland McGrath <roland@hack.frob.com>
28260 * bits/types.h (__swblk_t): Type removed.
28261 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28262 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28263 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28264 (__SWBLK_T_TYPE): Likewise.
28265 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28266 (__SWBLK_T_TYPE): Likewise.
28267 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28268 (__SWBLK_T_TYPE): Likewise.
28269 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28270 (__SWBLK_T_TYPE): Likewise.
28272 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28273 Honza Horak <hhorak@redhat.com>
28275 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28276 (xdr_mapname): Use YPMAXMAP as maxsize.
28277 (xdr_peername): Use YPMAXPEER as maxsize.
28278 (xdr_keydat): Use YPAXRECORD as maxsize.
28279 (xdr_valdat): Use YPMAXRECORD as maxsize.
28281 2012-10-01 Roland McGrath <roland@hack.frob.com>
28283 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28285 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28286 * csu/init-first.c: ... here.
28287 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28288 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28289 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28290 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28291 * sysdeps/i386/init-first.c: File removed.
28292 * sysdeps/sh/init-first.c: File removed.
28294 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28297 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28298 if x * y might underflow to zero and z is zero.
28299 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28300 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28301 * math/libm-test.inc (min_subnorm_value): New variable.
28302 (fma_test): Add more tests.
28303 (fma_test_towardzero): Likewise.
28304 (fma_test_downward): Likewise
28305 (fma_test_upward): Likewise.
28306 (initialize): Set min_subnorm_value.
28308 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28311 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28313 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28314 mode for addition resulting in exact zero.
28315 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28316 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28318 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28319 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28320 * math/libm-test.inc (fma_test): Add more tests.
28321 (fma_test_towardzero): New function.
28322 (fma_test_downward): Likewise.
28323 (fma_test_upward): Likewise.
28324 (main): Call the new functions.
28326 2012-09-28 David S. Miller <davem@davemloft.net>
28328 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28330 2012-09-28 Roland McGrath <roland@hack.frob.com>
28332 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28333 instead of SIGALRM.
28335 * sysdeps/gnu/_G_config.h: Moved to ...
28336 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28337 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28338 * sysdeps/generic/_G_config.h: ... here.
28340 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28342 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28344 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28345 Conditionalize target on [libnss_test1.so-version].
28347 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28349 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28350 (elfobjdir): Move out of conditionals.
28352 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28353 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28354 (__nss_lookup_function): Conditionalize label remove_from_tree on
28355 [!DO_STATIC_NSS || SHARED], matching its only use.
28357 2012-09-28 David S. Miller <davem@davemloft.net>
28359 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28360 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28362 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28364 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28365 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28366 when HWCAP_SPARC_CRYPTO is present.
28368 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28370 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28372 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28375 * stdio-common/vfprintf.c (process_string_arg): Revert
28378 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28380 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28382 * stdio-common/tst-sprintf.c: Include <locale.h>
28383 (main): Test sprintf's handling of incomplete multibyte
28386 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28388 * elf/dl-runtime.c (VERSYMIDX): Removed.
28389 * elf/dl-version.c (VERSYMIDX): Likewise.
28390 * elf/do-rel.h (VERSYMIDX): Likewise.
28391 (VALIDX): Likewise.
28392 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28393 * elf/rtld.c (VALIDX): Likewise.
28394 (ADDRIDX): Likewise.
28395 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28396 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28397 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28398 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28399 (VALIDX): Likewise.
28400 (ADDRIDX): Likewise.
28402 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28404 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28406 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28409 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28411 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28412 addresses are in the same scope as 192.0.2/24.
28413 * posix/gai.conf: Document new scope table defaults.
28415 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28418 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28419 for ftell. Compute offsets from write pointers instead.
28420 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28422 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28425 * libio/Makefile (tests): New test case tst-fseek.
28426 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28427 combination works in wide mode.
28428 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28429 state when the external buffer state changes.
28431 2012-09-27 David S. Miller <davem@davemloft.net>
28434 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28435 pass reloc->r_addend in as the 'high' argument to
28436 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28440 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28442 * rt/tst-aio2.c: Include <pthread.h>.
28443 * rt/tst-aio3.c: Likewise.
28445 2012-09-27 Steve Ellcey <sellcey@mips.com>
28447 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28449 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28451 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28452 contents on [SHARED].
28454 2012-09-26 Marek Polacek <polacek@redhat.com>
28458 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28459 for C++ and GCC <4.3 as well as for non GCC compilers.
28461 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28463 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28465 2012-09-25 Roland McGrath <roland@hack.frob.com>
28467 * Makefile.in (all, install): Declare with .PHONY.
28468 Reported by Michael Hope <michael.hope@linaro.org>.
28470 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28472 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28473 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28475 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28477 (sydep_routines): Add the new and the internal functions.
28478 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28479 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28481 (GLIBC_2.17): Add the new function.
28482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28483 (GLIBC_2.17): Likewise.
28484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28485 (GLIBC_2.17): Likewise.
28486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28487 (GLIBC_2.17): Likewise.
28488 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28490 2012-09-25 Alan Modra <amodra@gmail.com>
28492 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28493 Add release barrier before setting once_control to say
28494 initialisation is done. Add hints on lwarx. Use macro in
28496 (clear_once_control): Add release barrier.
28498 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28501 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28503 * math/s_clog10.c (__clog10): Likewise.
28504 * math/s_clog10f.c (__clog10f): Likewise.
28505 * math/s_clog10l.c (__clog10l): Likewise.
28506 * math/s_clogf.c (__clogf): Likewise.
28507 * math/s_clogl.c (__clogl): Likewise.
28508 * math/Makefile (libm-calls): Add x2y2m1.
28509 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28510 (__x2y2m1): Likewise.
28511 (__x2y2m1l): Likewise.
28512 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28513 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28514 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28515 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28516 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28517 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28518 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28519 * sysdeps/i386/fpu/libm-test-ulps: Update.
28520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28523 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28524 int as type of variable DEPTH.
28525 (glob): Use size_t instead of int as type of variables NEWCOUNT
28528 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28530 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28531 Add s_sincosf-sse2.
28532 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28533 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28534 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28535 macros for using routine as __sincosf_ia32.
28536 Use macro for function declaration and weak_alias.
28537 * sysdeps/i386/fpu/libm-test-ulps: Update.
28539 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28542 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28543 subnormal argument.
28544 * math/s_cexpf.c (__cexpf): Likewise.
28545 * math/s_csinf.c (__csinf): Likewise.
28546 * math/s_csinhf.c (__csinhf): Likewise.
28547 * math/s_ctanf.c (__ctanf): Likewise.
28548 * math/s_ctanhf.c (__ctanhf): Likewise.
28549 * math/s_ccosh.c (__ccoshf): Likewise.
28550 * math/s_cexp.c (__cexpl): Likewise.
28551 * math/s_csin.c (__csin): Likewise.
28552 * math/s_csinh.c (__csinh): Likewise.
28553 * math/s_ctan.c (__ctan): Likewise.
28554 * math/s_ctanh.c (ctanh): Likewise.
28555 * math/s_ccoshl.c (__ccoshl): Likewise.
28556 * math/s_cexpl.c (__cexpl): Likewise.
28557 * math/s_csinl.c (__csinl): Likewise.
28558 * math/s_csinhl.c (__csinhl): Likewise.
28559 * math/s_ctanl.c (__ctanl): Likewise.
28560 * math/s_ctanhl.c (__ctanhl): Likewise.
28562 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28564 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28565 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28566 (_IO_off_t): Define to __off_t, not _G_off_t.
28567 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28568 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28569 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28570 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28571 type of __dummy and __dummy2 fields.
28572 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28573 (_G_ssize_t): Likewise.
28574 (_G_off_t): Likewise.
28575 (_G_pid_t): Likewise.
28576 (_G_uid_t): Likewise.
28577 (_G_wchar_t): Likewise.
28578 (_G_wint_t): Likewise.
28579 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28580 (_G_ssize_t): Likewise.
28581 (_G_off_t): Likewise.
28582 (_G_pid_t): Likewise.
28583 (_G_uid_t): Likewise.
28584 (_G_wchar_t): Likewise.
28585 (_G_wint_t): Likewise.
28586 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28587 (_G_ssize_t): Likewise.
28588 (_G_off_t): Likewise.
28589 (_G_pid_t): Likewise.
28590 (_G_uid_t): Likewise.
28591 (_G_wchar_t): Likewise.
28592 (_G_wint_t): Likewise.
28594 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28596 * malloc/arena.c: Include malloc-sysdep.h.
28597 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28598 is sufficient to shrink the heap or an unmap is needed.
28599 * sysdeps/generic/malloc-sysdep.h: New file. Define
28600 new function check_may_shrink_heap.
28601 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28602 new function check_may_shrink_heap.
28604 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28606 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28609 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28611 * catgets/test-gencat.sh: Add "set -e".
28612 * elf/tst-pathopt.sh: Likewise.
28613 * grp/tst_fgetgrent.sh: Likewise.
28614 * iconvdata/run-iconv-test.sh: Likewise.
28615 * intl/tst-gettext.sh: Likewise.
28616 * intl/tst-gettext2.sh: Likewise.
28617 * intl/tst-gettext4.sh: Likewise.
28618 * intl/tst-gettext6.sh: Likewise.
28619 * intl/tst-translit.sh: Likewise.
28620 * io/ftwtest-sh: Likewise.
28621 * libio/test-freopen.sh: Likewise.
28622 * malloc/tst-mtrace.sh: Likewise.
28623 * posix/globtest.sh: Likewise.
28624 * posix/tst-getconf.sh: Likewise.
28625 * posix/wordexp-tst.sh: Likewise.
28626 * stdio-common/tst-printf.sh: Likewise.
28627 * stdio-common/tst-unbputc.sh: Likewise.
28628 * stdlib/tst-fmtmsg.sh: Likewise.
28629 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28630 * catgets/Makefile: Do not specify -e option when running
28631 testsuite shell scripts.
28632 * elf/Makefile: Likewise.
28633 * grp/Makefile: Likewise.
28634 * iconvdata/Makefile: Likewise.
28635 * intl/Makefile: Likewise.
28636 * io/Makefile: Likewise.
28637 * libio/Makefile: Likewise.
28638 * malloc/Makefile: Likewise.
28639 * posix/Makefile: Likewise.
28640 * stdio-common/Makefile: Likewise.
28641 * stdlib/Makefile: Likewise.
28642 * sysdeps/x86_64/Makefile: Likewise.
28644 * io/ftwtest-sh: Add copyright header.
28645 * posix/globtest.sh: Likewise.
28646 * posix/tst-getconf.sh: Likewise.
28647 * posix/wordexp-tst.sh: Likewise.
28648 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28650 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28653 * Makeconfig (+link): Defined as $(+link-static) if
28654 $(build-shared) isn't yes.
28655 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28657 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28659 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28662 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28663 new chunk size with MALLOC_ALIGN_MASK.
28665 2012-09-24 Joseph Myers <joseph@codesourcery.com>
28668 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28670 (__printf_fphex): Determine rounding using get_rounding_mode and
28672 * stdio-common/tst-printf-round.c (struct hex_test): New
28674 (hex_tests): New variable.
28675 (test_hex_in_one_mode): New function.
28676 (do_test): Also run tests for hex float output.
28678 2012-09-21 Joseph Myers <joseph@codesourcery.com>
28680 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28681 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28682 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28683 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28684 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28685 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28686 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28687 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28689 2012-09-20 Joseph Myers <joseph@codesourcery.com>
28691 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28692 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28693 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28694 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28696 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28699 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28701 * elf/tst-rtld-load-self.sh: New test.
28702 * elf/Makefile: Run it.
28704 2012-09-18 Joseph Myers <joseph@codesourcery.com>
28706 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28707 (tst-writev-ENV): Remove.
28708 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28710 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28712 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28714 2012-09-17 Joseph Myers <joseph@codesourcery.com>
28716 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28718 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28720 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28721 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28722 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28725 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28728 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28729 * config.make.in (have-cpp-asm-debuginfo): Removed.
28730 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28731 * configure: Regenerated.
28733 2012-09-14 Joseph Myers <joseph@codesourcery.com>
28736 * stdio-common/printf_fp.c: Include <stdbool.h> and
28738 (___printf_fp): Determine rounding using get_rounding_mode and
28740 * stdio-common/tst-printf-round.c: New file.
28741 * stdio-common/Makefile (tests): Add tst-printf-round.
28742 (link-libm): New variable.
28743 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28745 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28748 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28749 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28751 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28754 2012-09-13 Joseph Myers <joseph@codesourcery.com>
28756 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28757 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28758 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28759 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28761 2012-09-12 Joseph Myers <joseph@codesourcery.com>
28764 * include/rounding-mode.h: New file.
28765 * sysdeps/generic/get-rounding-mode.h: Likewise.
28766 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28767 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28768 (MAX_VALUE): New macro.
28769 (MIN_VALUE): Likewise.
28770 (overflow_value): New function.
28771 (underflow_value): Likewise.
28772 (round_and_return): Use overflow_value and underflow_value to
28773 determine return values in overflow and underflow cases. Use
28774 round_away to determine rounding depending on rounding mode.
28775 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28776 determine return values in overflow and underflow cases.
28777 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28778 (struct test_results): New structure.
28779 (struct test): Use struct test_results to store expected results
28780 for all rounding modes.
28781 (TEST): Include expected results for all rounding modes.
28782 (test_in_one_mode): New function.
28783 (do_test): Use test_in_one_mode to compute and check results.
28784 Check results for all rounding modes.
28785 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28788 2012-12-09 Allan McRae <allan@archlinux.org>
28790 * sysdeps/i386/fpu/libm-test-ulps: Update
28792 2012-09-11 Joseph Myers <joseph@codesourcery.com>
28794 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28795 (_G_int32_t): Likewise.
28796 (_G_uint16_t): Likewise.
28797 (_G_uint32_t): Likewise.
28798 (_G_HAVE_BOOL): Likewise.
28799 (_G_HAVE_ATEXIT): Likewise.
28800 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28801 (_G_HAVE_IO_FILE_OPEN): Likewise.
28802 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28803 (_G_int32_t): Likewise.
28804 (_G_uint16_t): Likewise.
28805 (_G_uint32_t): Likewise.
28806 (_G_HAVE_BOOL): Likewise.
28807 (_G_HAVE_ATEXIT): Likewise.
28808 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28809 (_G_HAVE_IO_FILE_OPEN): Likewise.
28810 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28811 (_G_int32_t): Likewise.
28812 (_G_uint16_t): Likewise.
28813 (_G_uint32_t): Likewise.
28814 (_G_HAVE_BOOL): Likewise.
28815 (_G_HAVE_ATEXIT): Likewise.
28816 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28817 (_G_HAVE_IO_FILE_OPEN): Likewise.
28819 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28821 * csu/libc-tls.c: Update copyright years.
28823 2012-09-10 Joseph Myers <joseph@codesourcery.com>
28825 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28826 [!_G_USING_THUNKS]: Remove conditional code.
28827 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28828 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28830 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28831 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28832 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28833 (_G_VTABLE_LABEL_PREFIX): Likewise.
28834 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28835 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28836 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28837 (_G_VTABLE_LABEL_PREFIX): Likewise.
28838 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28839 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28840 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28841 (_G_VTABLE_LABEL_PREFIX): Likewise.
28842 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28844 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28846 * libio/Makefile: Include ../Makeconfig before tests.
28847 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28848 only if $(build-shared) is yes.
28850 * iconv/gconv_db.c: Update copyright years.
28852 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28854 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28855 unwind info if defined PIC. Fix special cases description.
28856 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28858 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28860 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28862 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28864 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28866 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28869 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28870 (LDLIBS-tst-chk4): This.
28871 (LDFLAGS-tst-chk5): Renamed to ...
28872 (LDLIBS-tst-chk5): This.
28873 (LDFLAGS-tst-chk6): Renamed to ...
28874 (LDLIBS-tst-chk6): This.
28875 (LDFLAGS-tst-lfschk4): Renamed to ...
28876 (LDLIBS-tst-lfschk4): This.
28877 (LDFLAGS-tst-lfschk5): Renamed to ...
28878 (LDLIBS-tst-lfschk5): This.
28879 (LDFLAGS-tst-lfschk6): Renamed to ...
28880 (LDLIBS-tst-lfschk6): This.
28882 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28883 on $(common-objpfx)soversions.mk.
28885 2012-09-07 Joseph Myers <joseph@codesourcery.com>
28888 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28891 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28893 * malloc/arena.c (arena_get_retry): New function that gets
28894 another arena for the caller to try its request on.
28895 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28896 current arena cannot fulfill the request.
28897 (__libc_memalign): Likewise.
28898 (__libc_memalign): Likewise.
28899 (__libc_pvalloc): Likewise.
28900 (__libc_calloc): Likewise.
28902 2012-09-05 John Tobey <john.tobey@gmail.com>
28905 * manual/arith.texi (Operations on Complex): Fix description
28906 of carg branch cut.
28908 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28911 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28915 * manual/memory.texi (Memory): Make order of menu items match
28918 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28920 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28921 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28922 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28924 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28926 * csu/libc-tls.c (static_dtv): Renamed to ...
28927 (_dl_static_dtv): This. Make it global.
28928 (_dl_initial_dtv): Removed.
28929 (__libc_setup_tls): Updated.
28930 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28931 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28934 2012-09-06 Petr Machata <pmachata@redhat.com>
28936 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28937 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28938 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28939 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28941 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28944 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28945 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28948 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28951 * Makeconfig (link-static-before-libc): Replace $(+prector)
28953 (link-static-after-libc): Replace $(+postctor) with
28955 (link-bounded): Replace $(+prector)/$(+postctor) with
28956 $(+prectorT)/$(+postctorT).
28957 (+prectorT): New macro.
28958 (+postctorT): Likewise.
28960 2012-09-06 Joseph Myers <joseph@codesourcery.com>
28962 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28963 (round_str): Handle values above the maximum for IBM long double
28965 * stdlib/tst-strtod-round.c (tests): Regenerated.
28967 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28969 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28971 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28972 zarch_nohighgprs around the zarch optimized routines.
28973 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28974 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28975 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28978 2012-09-05 David S. Miller <davem@davemloft.net>
28980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28982 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28983 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28984 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28985 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28988 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28990 * malloc/arena.c: Fold copyright years.
28991 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28993 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28995 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28997 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
28999 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29001 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29003 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29004 change internal state upon failure.
29006 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29008 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29009 * malloc/memusage.c (mmap): Likewise.
29010 (mmap64, mremap): Likewise. Adjust name in comment.
29012 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29014 * libio/fileops.c: Fix typos in comments.
29015 * libio/oldfileops.c: Likewise.
29016 * libio/wfileops.c: Likewise.
29018 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29021 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29022 (tst-malloc-usable-ENV): Set environment for test case.
29023 * malloc/hooks.c (malloc_check_get_size): New function to get
29025 * malloc/malloc.c (musable): Use malloc_check_get_size.
29026 * malloc/tst-malloc-usable.c: New test case.
29028 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29030 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29032 2012-09-05 Allan McRae <allan@archlinux.org>
29035 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29036 determine header location.
29037 * configure: Regenerated.
29039 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29041 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29043 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29044 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29046 (test): Regenerate.
29048 2012-09-04 David S. Miller <davem@davemloft.net>
29050 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29051 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29052 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29054 2012-09-04 Florian Weimer <fweimer@redhat.com>
29056 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29059 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29061 2012-09-04 Joseph Myers <joseph@codesourcery.com>
29064 * libio/iogetdelim.c: Include <limits.h>.
29065 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29066 + len + 1 would overflow.
29068 2012-09-03 Andreas Jaeger <aj@suse.de>
29070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29071 * sysdeps/i386/fpu/libm-test-ulps: Update.
29073 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29075 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29076 Add s_sinf-sse2, s_conf-sse2.
29078 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29079 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29080 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29081 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29083 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29084 for using routine as __sinf_ia32.
29085 Use macro for function declaration and weak_alias.
29086 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29087 for using routine as __cosf_ia32.
29088 Use macro for function declaration and weak_alias.
29090 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29091 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29093 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29094 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29095 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29097 * math/libm-test.inc (cos_test): Add more test cases.
29098 (sin_test): Likewise.
29099 (sincos_test): Likewise.
29101 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29103 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29104 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29106 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29108 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29111 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29112 first element of the GOT.
29113 (elf_machine_load_address): Return the difference between
29114 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29116 2012-09-01 Allan McRae <allan@archlinux.org>
29119 * configure.in (AWK): Require gawk version 3.0 or later.
29120 * configure: Regenerated.
29122 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29124 * sysdeps/unix/sysv/linux/kernel-features.h
29125 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29126 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29127 [__NR_clock_getres]: Make code unconditional.
29128 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29129 (clock_getcpuclockid): Remove code left unreachable by removal of
29131 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29132 code unconditional.
29133 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29134 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29135 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29136 Make code unconditional.
29137 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29138 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29139 * sysdeps/unix/sysv/linux/clock_settime.c
29140 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29142 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29143 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29145 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29148 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29149 scripts/test-installation.pl.
29151 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29152 and $ld_so_version if it is set.
29154 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29157 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29158 failure if reading from procfs failed.
29159 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29161 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29163 * sysdeps/unix/sysv/linux/kernel-features.h
29164 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29165 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29166 Remove conditional code.
29167 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29168 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29169 Remove conditional code.
29170 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29171 * sysdeps/unix/sysv/linux/i386/fxstat.c
29172 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29173 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29174 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29175 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29176 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29177 * sysdeps/unix/sysv/linux/i386/lxstat.c
29178 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29179 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29180 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29181 Remove conditional code.
29182 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29183 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29184 Remove conditional code.
29185 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29186 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29187 <kernel-features.h>.
29188 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29190 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29191 Remove conditional code.
29192 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29193 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29194 Remove conditional.
29196 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29199 * NEWS: Add fixed bug number.
29201 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29204 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29205 underflowing exponent in case of negative sign.
29206 * stdlib/tst-strtod-round-data: Add more tests.
29207 * stdlib/tst-strtod-round.c (tests): Regenerated.
29210 * stdlib/strtod_l.c (NDIG): Remove.
29211 (HEXNDIG): Likewise.
29212 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29213 smallest representable value.
29214 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29215 lie within an exact representation of 1/2 ulp of the result.
29216 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29218 (TENS_P9_IDX): Define unconditionally.
29219 (TENS_P9_SIZE): Likewise.
29220 (TENS_P10_IDX): Likewise.
29221 (TENS_P10_SIZE): Likewise.
29222 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29223 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29224 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29225 entries for 10^2^13 and 10^2^14.
29226 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29227 (TENS_P13_IDX): Define.
29228 (TENS_P13_SIZE): Likewise.
29229 (TENS_P14_IDX): Likewise.
29230 (TENS_P14_SIZE): Likewise.
29231 (_fpioconst_pow10): Change array size to
29232 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29234 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29235 1024]: Add entries for 10^2^13 and 10^2^14.
29236 [LAST_POW10 > _LAST_POW10]: Remove #error.
29237 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29238 (_fpioconst_pow10): Change array size to
29239 FPIOCONST_POW10_ARRAY_SIZE.
29240 * stdlib/gen-fpioconst.c: New file.
29241 * stdlib/gen-tst-strtod-round.c: Likewise.
29242 * stdlib/tst-strtod-round-data: Likewise.
29243 * stdlib/tst-strtod-round.c: Likewise.
29244 * stdlib/Makefile (tests): Add tst-strtod-round.
29247 * stdlib/strtod_l.c: Include <stdint.h>.
29248 (NDEBUG): Do not define.
29249 (round_and_return): Change EXPONENT parameter to type intmax_t.
29250 Rearrange calculations to avoid internal overflow possibilities.
29251 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29252 Rearrange calculations to avoid internal overflow possibilities.
29253 Assert that number fits inside MPNSIZE limbs.
29254 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29255 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29256 calculations and add assertions to avoid internal overflow
29257 possibilities. Add casts to avoid signed/unsigned operations.
29258 * stdlib/tst-strtod-overflow.c: New file.
29259 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29261 2012-08-25 Marek Polacek <polacek@redhat.com>
29263 * time/time.h: Fix some typos in comments.
29265 2012-08-23 Roland McGrath <roland@hack.frob.com>
29267 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29268 * posix/tst-rfc3484-2.c: Likewise.
29269 * posix/tst-rfc3484-3.c: Likewise.
29271 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29273 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29274 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29276 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29278 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29279 #include of fxstatat64.c.
29281 2012-08-22 Roland McGrath <roland@hack.frob.com>
29283 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29284 * shadow/getspent_r.c: Likewise.
29285 * shadow/getspnam.c: Likewise.
29286 * shadow/getspnam_r.c: Likewise.
29287 * gshadow/getsgent.c: Likewise.
29288 * gshadow/getsgent_r.c: Likewise.
29289 * gshadow/getsgnam.c: Likewise.
29290 * gshadow/getsgnam_r.c: Likewise.
29291 * inet/getnetbyad.c: Likewise.
29292 * inet/getnetbyad_r.c: Likewise.
29293 * inet/getnetbynm.c: Likewise.
29294 * inet/getnetbynm_r.c: Likewise.
29295 * inet/getnetent.c: Likewise.
29296 * inet/getnetent_r.c: Likewise.
29297 * inet/getproto.c: Likewise.
29298 * inet/getproto_r.c: Likewise.
29299 * inet/getprtent.c: Likewise.
29300 * inet/getprtent_r.c: Likewise.
29301 * inet/getprtname.c: Likewise.
29302 * inet/getprtname_r.c: Likewise.
29303 * inet/getrpcbyname.c: Likewise.
29304 * inet/getrpcbyname_r.c: Likewise.
29305 * inet/getrpcbynumber.c: Likewise.
29306 * inet/getrpcbynumber_r.c: Likewise.
29307 * inet/getrpcent.c: Likewise.
29308 * inet/getrpcent_r.c: Likewise.
29309 * inet/getaliasent.c: Likewise.
29310 * inet/getaliasent_r.c: Likewise.
29311 * inet/getaliasname.c: Likewise.
29312 * inet/getaliasname_r.c: Likewise.
29313 * nscd/getgrgid_r.c: Likewise.
29314 * nscd/getgrnam_r.c: Likewise.
29315 * nscd/gethstbyad_r.c: Likewise.
29316 * nscd/gethstbynm3_r.c: Likewise.
29317 * nscd/getpwnam_r.c: Likewise.
29318 * nscd/getpwuid_r.c: Likewise.
29319 * nscd/getsrvbynm_r.c: Likewise.
29320 * nscd/getsrvbypt_r.c: Likewise.
29321 * nscd/gai.c: Likewise.
29323 * configure.in (build_nscd): New substituted variable, set
29324 by --disable-build-nscd and defaults to $use_nscd.
29325 * configure: Regenerated.
29326 * config.make.in (build-nscd): New substituted variable.
29327 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29328 Change conditional to require [$(build-nscd) = yes] as well.
29329 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29332 * configure.in (use_nscd): New substituted variable, set by
29333 --disable-nscd. If enabled, define USE_NSCD.
29334 * configure: Regenerated.
29335 * config.h.in: Add USE_NSCD.
29336 * config.make.in (use-nscd): New substituted variable.
29337 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29338 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29339 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29340 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29341 (CFLAGS-getgrnam_r.c): Likewise.
29342 (CFLAGS-initgroups.c): Likewise.
29343 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29344 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29346 * inet/getnetgrent_r.c
29347 (nscd_setnetgrent): New function, broken out of ...
29348 (setnetgrent): ... here. Call it.
29349 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29350 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29351 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29352 * nscd/Makefile (routines, aux): Move definitions after include of
29353 Makeconfig. Conditionalize on [$(use-nscd) != no].
29354 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29355 Conditionalize on [USE_NSCD].
29356 (is_nscd, nscd_init_cb): Likewise.
29357 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29358 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29359 * nss/nss_db/db-init.c: Likewise.
29360 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29362 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29363 (make_request): Use it.
29364 (cache_valid_p): New function.
29365 (__check_pf): Use it.
29366 * NEWS: Add item for --disable-nscd.
29368 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29370 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29371 to support sed >= 4.2.1-20-ga9bf076.
29372 * configure: Regenerated.
29374 2012-08-22 Roland McGrath <roland@hack.frob.com>
29376 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29377 Conditionalize whole body on [IREL].
29379 2012-08-22 Jeff Law <law@redhat.com>
29382 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29383 if the family is PF_UNSPEC.
29385 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29387 * Makerules (lib-version): Rename from V.
29388 (install-lib-nosubdir): Change V to lib-version.
29390 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29393 * powerpc32/power6/wcschr.c: New file.
29394 * powerpc32/power6/wcscpy.c: New file.
29395 * powerpc32/power6/wcsrchr.c: New file.
29396 * powerpc64/power6/wcschr.c: New file.
29397 * powerpc64/power6/wcscpy.c: New file.
29398 * powerpc64/power6/wcsrchr.c: New file.
29400 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29402 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29403 (two_way_short_needle): Use it.
29404 * string/strstr.c (AVAILABLE1_USES_J): Define.
29405 * string/strcasestr.c: Likewise.
29407 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29409 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29412 * NEWS: Add an entry.
29413 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29414 define their defaults.
29415 (two_way_short_needle): Detect end-of-string on-the-fly.
29416 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29417 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29418 * string/bug-strcasestr1.c: New test.
29419 * string/Makefile: Run it.
29421 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29424 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29425 the first character.
29427 2012-08-21 Roland McGrath <roland@hack.frob.com>
29429 * csu/elf-init.c (__libc_csu_irel): Function removed.
29430 * csu/libc-start.c (apply_irel): New function.
29431 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29433 2012-08-21 Joseph Myers <joseph@codesourcery.com>
29435 * sysdeps/unix/sysv/linux/kernel-features.h
29436 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29437 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29438 <kernel-features.h>.
29439 [__NR_fadvise64_64]: Make code unconditional.
29440 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29441 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29442 !__NR_fadvise64_64)]: Likewise.
29443 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29444 !__NR_fadvise64_64))]: Likewise.
29445 [__NR_fadvise64]: Make code unconditional.
29446 [!__NR_fadvise64]: Remove conditional code.
29447 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29448 <kernel-features.h>.
29449 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29451 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29454 not include <kernel-features.h>.
29455 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29457 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29459 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29460 include <kernel-features.h>.
29461 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29463 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29466 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29468 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29469 slight instruction rearrangements per scrollpipe analysis.
29470 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29472 2012-08-20 Roland McGrath <roland@hack.frob.com>
29474 * manual/syslog.texi (syslog; vsyslog, closelog):
29475 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29476 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29478 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29479 DSOCAPS to match condition on defining it.
29481 2012-08-20 Joseph Myers <joseph@codesourcery.com>
29483 * sysdeps/unix/sysv/linux/kernel-features.h
29484 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29486 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29487 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29489 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29490 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29492 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29493 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29495 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29496 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29498 * sysdeps/unix/sysv/linux/kernel-features.h
29499 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29500 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29502 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29503 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29504 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29505 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29506 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29507 Make code unconditional.
29508 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29509 (__mmap64) [!__NR_mmap2]: Likewise.
29510 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29511 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29512 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29513 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29514 [__NR_mmap2]: Make code unconditional.
29515 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29516 (__mmap64) [!__NR_mmap2]: Likewise.
29518 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29520 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29522 2012-08-18 Andreas Jaeger <aj@suse.de>
29524 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29526 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29528 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29529 * include/unistd.h (__have_sock_cloexec): Likewise.
29530 (__have_pipe2): Likewise.
29531 (__have_dup3): Likewise.
29533 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29536 * include/unistd.h (__have_pipe2): Change define into an extern int.
29537 (__have_dup3): Likewise.
29538 * socket/have_sock_cloexec.c: Include fcntl.h.
29539 (__have_pipe2): New variable.
29540 (__have_dup3): Likewise.
29542 2012-08-17 Mike Frysinger <vapier@gentoo.org>
29544 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29546 2012-08-17 Marek Polacek <polacek@redhat.com>
29548 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29549 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29551 2012-08-17 Roland McGrath <roland@hack.frob.com>
29553 * configure.in: Add AC_SUBST for sysheaders.
29554 * configure: Regenerated.
29555 * config.make.in (sysheaders): New substituted variable.
29557 * sysdeps/unix/mkfifo.c: Moved ...
29558 * sysdeps/posix/mkfifo.c: ... here.
29559 * sysdeps/unix/mkfifoat.c: Moved ...
29560 * sysdeps/posix/mkfifoat.c: ... here.
29562 * sysdeps/unix/utime.c: Moved ...
29563 * sysdeps/posix/utime.c: ... here.
29565 * sysdeps/unix/time.c: Moved ...
29566 * sysdeps/posix/time.c: ... here.
29567 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29568 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29570 * sysdeps/unix/nice.c: Moved ...
29571 * sysdeps/posix/nice.c: ... here.
29573 * sysdeps/unix/alarm.c: Moved ...
29574 * sysdeps/posix/alarm.c: ... here.
29576 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29578 2012-08-17 Jeff Law <law@redhat.com>
29580 * intl/Makefile (codeset_mo): New variable.
29581 ($(codeset_mo)): New target.
29582 (tst-codeset.out): Depend on that. Remove explicit rule.
29583 (tst-gettext3.out, tst-gettext5.out): Likewise.
29584 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29585 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29586 * intl/tst-codeset.sh: Remove.
29587 * intl/tst-gettext3.sh: Likewise.
29588 * intl/tst-gettext5.sh: Likewise.
29590 2012-08-17 Roland McGrath <roland@hack.frob.com>
29592 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29593 * sysdeps/unix/syscalls.list: ... here.
29595 * sysdeps/posix/getaddrinfo.c
29596 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29597 (gaiconf_init, gaiconf_reload): Use them.
29598 [!_STATBUF_ST_NSEC]
29599 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29600 Define using time_t rather than struct timespec.
29602 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29603 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29605 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29607 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29608 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29611 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29612 __libc_cleanup_push argument.
29614 * bits/param.h: New file.
29615 * misc/sys/param.h: New file.
29616 * include/sys/param.h: New file.
29617 * misc/Makefile (headers): Add bits/param.h.
29618 * sysdeps/generic/sys/param.h: File removed.
29619 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29620 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29621 * sysdeps/mach/hurd/bits/param.h: New file.
29622 * sysdeps/mach/hurd/sys/param.h: File removed.
29624 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29627 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29629 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29630 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29633 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29634 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29635 rather than -D_IO_MTSAFE_IO conditionally.
29636 * stdio-common/Makefile (CPPFLAGS): Likewise.
29637 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29638 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29639 Use $(libio-mtsafe).
29640 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29641 of -D_IO_MTSAFE_IO.
29642 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29643 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29644 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29645 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29646 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29647 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29648 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29649 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29650 (CFLAGS-fread_u_chk.c): Likewise.
29651 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29652 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29653 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29654 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29655 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29656 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29657 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29658 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29659 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29661 * libio/Makefile: Test [$(libc-reentrant) = yes]
29662 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29665 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29666 * sysdeps/pthread/configure: File removed.
29667 * sysdeps/pthread/Makeconfig: New file.
29668 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29669 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29671 2012-08-16 Gary Benson <gbenson@redhat.com>
29673 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29674 unmapping the first object in a namespace.
29676 2012-08-16 Roland McGrath <roland@hack.frob.com>
29678 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29679 (__internal_setnetgrent): ... this. Add internal_function to
29680 definition. Add libc_hidden_def.
29681 (setnetgrent): Update caller.
29682 (internal_endnetgrent): Renamed to ...
29683 (__internal_endnetgrent): ... this. Add internal_function to
29684 definition. Add libc_hidden_def.
29685 (endnetgrent): Update caller.
29686 (internal_getnetgrent_r): Renamed to ...
29687 (__internal_getnetgrent_r): ... this. Add internal_function to
29688 definition. Add libc_hidden_def.
29689 (__getnetgrent_r): Update caller.
29690 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29692 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29694 * stdlib/longlong.h: Update from GCC.
29696 2012-08-16 Roland McGrath <roland@hack.frob.com>
29698 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29699 on _QL, which is set by umul_ppmm but never used.
29700 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29701 variables, which are set by GMP macros but never used.
29702 * stdio-common/_itowa.c (_itowa): Likewise.
29703 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29704 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29706 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29708 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29709 struct La_sh_regs is not constant.
29710 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29711 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29712 and struct La_sparc64_regs are not constant.
29714 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29716 * sysdeps/unix/sysv/linux/kernel-features.h
29717 (__ASSUME_POSIX_TIMERS): Remove.
29718 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29719 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29720 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29721 Make code unconditional.
29722 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29723 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29724 Make code unconditional.
29725 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29726 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29727 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29728 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29729 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29730 Make code unconditional.
29731 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29732 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29733 (__libc_missing_posix_timers): Remove.
29735 2012-08-15 Roland McGrath <roland@hack.frob.com>
29737 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29738 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29740 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29742 * elf/dl-sym.c: Include <stdlib.h>.
29744 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29745 constants, which avoids warnings in 32-bit builds.
29747 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29748 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29750 * misc/lseek.c: File moved to ...
29751 * io/lseek.c: ... here.
29753 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29755 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29756 shifting LEN more than 31 bits at once.
29758 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29761 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29762 segmentation fault for a case of two empty input strings.
29763 * string/test-strncasecmp.c (check1): Renamed to...
29764 (bz12205): ...this.
29765 (bz14195): Add new testcase for two empty input strings and N > 0.
29766 (test_main): Call new testcase, adapt for renamed function.
29768 2012-08-15 Andreas Jaeger <aj@suse.de>
29771 * crypt/md5test2.c: New test, based on test supplied by Serge
29772 Belyshev <belyshev@depni.sinp.msu.ru>.
29773 * crypt/Makefile (xtests): Add md5test-giant..
29774 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29776 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29779 * crypt/md5.c (md5_process_block): Don't assume the buffer
29780 length is less than 2**32.
29781 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29782 length is less than 2**64.
29784 2012-08-15 Roland McGrath <roland@hack.frob.com>
29786 * string/str-two-way.h: Include <sys/param.h>.
29787 (MAX): Macro removed.
29789 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29790 Move #define and #undef of memmove to just before and after
29791 including <string.h>.
29793 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29794 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29795 and after including <string.h>. Move declarations of
29796 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29797 to before #include "string/memmove.c".
29799 * include/dirent.h: Declare __getdirentries.
29801 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29802 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29804 2012-08-14 Mike Frysinger <vapier@gentoo.org>
29806 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29807 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29808 * sysdeps/i386/configure: Regenerated.
29809 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29810 STABS_CURRENT_FILE, and STABS_FUN.
29811 (END): Remove call to STABS_FUN_END.
29812 (STABS_CURRENT_FILE1): Delete.
29813 (STABS_CURRENT_FILE): Likewise.
29814 (STABS_FUN): Likewise.
29815 (STABS_FUN_END): Likewise.
29816 (STABS_FUN2): Likewise.
29817 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29818 * sysdeps/x86_64/configure: Regenerated.
29820 2012-08-14 Roland McGrath <roland@hack.frob.com>
29822 * elf/dl-open.c: Include <atomic.h>.
29823 * elf/dl-lookup.c: Likewise.
29825 2012-08-14 Joseph Myers <joseph@codesourcery.com>
29827 * sysdeps/unix/sysv/linux/kernel-features.h
29828 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29829 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29831 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29833 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29834 condition on __ASSUME_CLONE_THREAD_FLAGS.
29836 2012-08-14 Andreas Jaeger <aj@suse.de>
29838 * sysdeps/i386/fpu/libm-test-ulps: Update.
29840 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29842 * include/atomic.h (atomic_exchange_and_add): Split into ...
29843 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29846 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29850 2012-08-13 Jeff Law <law@redhat.com>
29852 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29853 null byte in the output string.
29855 2012-08-10 Joseph Myers <joseph@codesourcery.com>
29857 * sysdeps/unix/sysv/linux/kernel-features.h
29858 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29859 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29860 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29861 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29862 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29863 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29864 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29866 2012-08-09 Jeff Law <law@redhat.com>
29869 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29870 When avoid_arena is set, don't retry in the that arena. Pick the
29871 next one, whatever it might be.
29872 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29873 (arena_lock): Pass in new parameter to arena_get2.
29874 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29876 (__libc_malloc): Unify retrying after main arena failure with
29877 __libc_memalign version.
29878 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29880 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29883 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29884 to __redirect_strstr.
29885 (__strstr_sse42): Use typeof __redirect_strstr.
29886 (__strstr_ia32): Likewise.
29887 (__libc_strstr): New prototype.
29888 (strstr): Renamed to ...
29889 (__libc_strstr): This.
29890 (strstr): New strong alias of __libc_strstr.
29891 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29892 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29895 (__libc_time): New prototype.
29896 (time_ifunc): Replace time with __libc_time.
29897 (time): New strong alias and hidden definition of __libc_time.
29898 (__GI_time): Remove strong alias.
29899 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29900 Include <stddef.h>.
29901 (memmove): Redefined to __redirect_memmove.
29902 (__memmove_sse2): Use typeof __redirect_memmove.
29903 (__memmove_ssse3): Likewise.
29904 (__memmove_ssse3_back): Likewise.
29905 (__libc_memmove): New prototype.
29906 (memmove): Renamed to ...
29907 (__libc_memmove): This.
29908 (memmove): New strong alias of __libc_memmove.
29910 2012-08-08 Mark Salter <msalter@redhat.com>
29913 (R_MN10300_TLS_GD): Define.
29914 (R_MN10300_TLS_LD): Likewise.
29915 (R_MN10300_TLS_LDO): Likewise.
29916 (R_MN10300_TLS_GOTIE): Likewise.
29917 (R_MN10300_TLS_IE): Likewise.
29918 (R_MN10300_TLS_LE): Likewise.
29919 (R_MN10300_TLS_DTPMOD): Likewise.
29920 (R_MN10300_TLS_DTPOFF): Likewise.
29921 (R_MN10300_TLS_TPOFF): Likewise.
29922 (R_MN10300_SYM_DIFF): Likewise.
29923 (R_MN10300_ALIGN): Likewise.
29924 (R_MN10300_NUM): Update.
29926 2012-08-08 Joseph Myers <joseph@codesourcery.com>
29928 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29931 2012-08-08 Roland McGrath <roland@hack.frob.com>
29933 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29935 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29936 sysdeps/unix -> sysdeps/posix move.
29937 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29939 2012-08-07 Allan McRae <allan@archlinux.org>
29942 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29943 (SUNOS_CPP): Likewise.
29944 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29946 (open_input): Call CPP using execvp.
29948 2012-08-07 Joseph Myers <joseph@codesourcery.com>
29950 * sysdeps/unix/sysv/linux/kernel-features.h
29951 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29952 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29953 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29954 (__ASSUME_WAITID_SYSCALL): Likewise.
29955 * sysdeps/unix/sysv/linux/dl-execstack.c
29956 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29957 code unconditional.
29958 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29960 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29961 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29962 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29964 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29966 [__ASSUME_WAITID_SYSCALL]: Likewise.
29967 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29969 2012-08-07 Roland McGrath <roland@hack.frob.com>
29971 * sysdeps/unix/closedir.c: Renamed to ...
29972 * sysdeps/posix/closedir.c: ... here.
29973 * sysdeps/unix/dirfd.c: Renamed to ...
29974 * sysdeps/posix/dirfd.c: ... here.
29975 * sysdeps/unix/dirstream.h: Renamed to ...
29976 * sysdeps/posix/dirstream.h: ... here.
29977 * sysdeps/unix/fdopendir.c: Renamed to ...
29978 * sysdeps/posix/fdopendir.c: ... here.
29979 * sysdeps/unix/opendir.c: Renamed to ...
29980 * sysdeps/posix/opendir.c: ... here.
29981 * sysdeps/unix/readdir.c: Renamed to ...
29982 * sysdeps/posix/readdir.c: ... here.
29983 * sysdeps/unix/readdir_r.c: Renamed to ...
29984 * sysdeps/posix/readdir_r.c: ... here.
29985 * sysdeps/unix/rewinddir.c: Renamed to ...
29986 * sysdeps/posix/rewinddir.c: ... here.
29987 * sysdeps/unix/seekdir.c: Renamed to ...
29988 * sysdeps/posix/seekdir.c: ... here.
29989 * sysdeps/unix/telldir.c: Renamed to ...
29990 * sysdeps/posix/telldir.c: ... here.
29991 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29992 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29993 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29994 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29996 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29997 * bits/fcntl.h: ... here.
29999 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30001 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30002 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30003 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30004 (struct flock): Move l_start, l_len to the beginning.
30005 Use __pid_t for l_pid.
30006 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30007 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30008 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30009 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30010 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30011 [__USE_LARGEFILE64] (struct flock64): New type.
30012 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30014 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30015 * bits/dirent.h: ... here.
30017 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30018 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30020 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30022 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30023 Change from 2.6.0 to 2.6.16.
30024 * sysdeps/unix/sysv/linux/configure: Regenerated.
30025 * sysdeps/unix/sysv/linux/kernel-features.h
30026 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30027 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30029 (__ASSUME_UTIMES): Likewise.
30030 (__ASSUME_CLONE_STOPPED): Remove.
30031 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30032 architectures, not kernel version.
30033 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30034 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30035 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30036 (__ASSUME_WAITID_SYSCALL): Likewise.
30037 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30038 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30039 * README: State 2.6.16 as minimum Linux kernel version. Do not
30040 refer to older versions.
30042 2012-08-06 Roland McGrath <roland@hack.frob.com>
30044 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30045 Define alphasort64 as an alias.
30046 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30047 Define versionsort64 as an alias.
30048 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30049 Define scandir64 as an alias.
30050 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30051 Define scandirat64 as an alias.
30052 * dirent/alphasort64.c (alphasort64):
30053 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30054 * dirent/versionsort64.c: Likewise.
30055 * dirent/scandir64.c: Likewise.
30056 * dirent/scandirat64.c: Likewise.
30057 * sysdeps/wordsize-64/alphasort.c: File removed.
30058 * sysdeps/wordsize-64/alphasort64.c: File removed.
30059 * sysdeps/wordsize-64/scandir.c: File removed.
30060 * sysdeps/wordsize-64/scandir64.c: File removed.
30061 * sysdeps/wordsize-64/scandirat.c: File removed.
30062 * sysdeps/wordsize-64/scandirat64.c: File removed.
30063 * sysdeps/wordsize-64/versionsort.c: File removed.
30064 * sysdeps/wordsize-64/versionsort64.c: File removed.
30065 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30066 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30067 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30068 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30069 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30070 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30071 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30072 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30074 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30075 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30076 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30077 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30078 [defined __arch64__ || defined __sparcv9]
30079 (__INO_T_MATCHES_INO64_T): New macro.
30080 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30081 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30082 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30083 * sysdeps/unix/sysv/linux/bits/dirent.h
30084 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30085 (_DIRENT_MATCHES_DIRENT64): New macro.
30087 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30088 Define lockf64 as an alias.
30089 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30090 Define fseeko64 as an alias.
30091 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30092 Define ftello64 as an alias.
30093 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30094 Define _IO_fgetpos64 and fgetpos64 as aliases.
30095 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30096 Define _IO_fsetpos64 and fsetpos64 as aliases.
30097 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30098 Conditionalize body on this.
30099 * libio/fseeko64.c: Likewise.
30100 * libio/ftello64.c: Likewise.
30101 * libio/iofgetpos64.c: Likewise.
30102 * libio/iofsetpos64.c: Likewise.
30103 * sysdeps/wordsize-64/lockf.c: File removed.
30104 * sysdeps/wordsize-64/lockf64.c: File removed.
30105 * sysdeps/wordsize-64/fseeko.c: File removed.
30106 * sysdeps/wordsize-64/fseeko64.c: File removed.
30107 * sysdeps/wordsize-64/ftello.c: File removed.
30108 * sysdeps/wordsize-64/ftello64.c: File removed.
30109 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30110 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30111 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30112 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30113 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30114 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30115 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30116 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30117 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30118 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30119 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30120 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30121 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30122 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30124 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30125 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30126 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30127 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30128 [defined __arch64__ || defined __sparcv9]
30129 (__OFF_T_MATCHES_OFF64_T): New macro.
30130 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30131 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30132 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30133 (__OFF_T_MATCHES_OFF64_T): New macro.
30135 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30137 * stdlib/secure-getenv.c (__secure_getenv): Replace
30138 GLIBC_2_16 with GLIBC_2_17.
30140 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30142 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30143 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30145 2012-08-03 David S. Miller <davem@davemloft.net>
30147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30149 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30151 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30153 (__ASSUME_CORRECT_SI_PID): Likewise.
30154 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30155 (__ASSUME_TMPFS_NAME): Likewise.
30156 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30157 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30158 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30159 (HAVE_AUX_SECURE): Make definition unconditional.
30160 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30161 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30163 2012-08-03 Roland McGrath <roland@hack.frob.com>
30165 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30166 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30167 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30168 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30169 __eloop_threshold instead of SYMLOOP_MAX.
30171 * sysdeps/generic/eloop-threshold.h: New file.
30172 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30174 * elf/chroot_canon.c (chroot_canon): Likewise.
30176 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30179 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30180 Change to 2.6.0 everywhere.
30181 * sysdeps/unix/sysv/linux/configure: Regenerated.
30182 * sysdeps/unix/sysv/linux/kernel-features.h
30183 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30184 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30186 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30187 (__ASSUME_FUTEX_REQUEUE): Remove.
30188 (__ASSUME_STATFS64): Define unconditionally.
30189 (__ASSUME_AT_SECURE): Likewise.
30190 (__ASSUME_CORRECT_SI_PID): Likewise.
30191 (__ASSUME_TGKILL): Define without depending on kernel version for
30193 (__ASSUME_UTIMES): Likewise.
30194 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30196 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30197 (__ASSUME_TMPFS_NAME): Likewise.
30198 * README: Update reference to Linux kernel versions.
30200 2012-08-02 Marek Polacek <polacek@redhat.com>
30203 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30204 libc_cv_asm_type_prefix with %.
30205 * configure: Regenerated.
30206 * include/libc-symbols.h: Remove comment about
30207 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30208 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30209 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30210 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30211 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30212 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30213 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30214 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30215 * elf/tst-unique2mod1.c: Likewise.
30216 * elf/tst-unique1mod2.c: Likewise.
30217 * elf/tst-unique1mod1.c: Likewise.
30218 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30219 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30220 Replace ASM_TYPE_DIRECTIVE with .type.
30221 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30222 * sysdeps/i386/sysdep.h: Likewise.
30223 * sysdeps/x86_64/sysdep.h: Likewise.
30224 * sysdeps/sh/sysdep.h: Likewise.
30225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30226 Do not define ASM_TYPE_DIRECTIVE.
30227 * sysdeps/powerpc/sysdep.h: Likewise.
30228 * sysdeps/powerpc/powerpc32/sysdep.h:
30229 Replace ASM_TYPE_DIRECTIVE with .type.
30230 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30231 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30232 * sysdeps/i386/fpu/e_powf.S: Likewise.
30233 * sysdeps/i386/fpu/e_expl.S: Likewise.
30234 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30235 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30236 * sysdeps/i386/fpu/e_pow.S: Likewise.
30237 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30238 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30239 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30240 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30241 * sysdeps/i386/fpu/e_log2.S: Likewise.
30242 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30243 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30244 * sysdeps/i386/fpu/e_powl.S: Likewise.
30245 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30246 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30247 * sysdeps/i386/fpu/e_logl.S: Likewise.
30248 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30249 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30250 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30251 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30252 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30253 * sysdeps/i386/fpu/e_log.S: Likewise.
30254 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30255 * sysdeps/i386/fpu/e_logf.S: Likewise.
30256 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30257 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30258 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30259 * sysdeps/i386/fpu/e_log10.S: Likewise.
30260 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30261 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30262 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30263 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30264 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30265 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30266 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30267 * sysdeps/i386/i686/strtok.S: Likewise.
30268 * sysdeps/i386/i386-mcount.S: Likewise.
30269 * sysdeps/i386/strtok.S: Likewise.
30270 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30271 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30272 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30273 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30274 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30275 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30276 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30277 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30278 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30279 * sysdeps/x86_64/_mcount.S: Likewise.
30280 * sysdeps/x86_64/strtok.S: Likewise.
30281 * sysdeps/sh/_mcount.S: Likewise.
30283 2012-08-01 Roland McGrath <roland@hack.frob.com>
30285 * libio/iofopen.c: Include <fcntl.h>.
30286 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30287 (_IO_fopen64, fopen64): Define as aliases.
30288 * libio/iofopen64.c: Include <fcntl.h>.
30289 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30290 Conditionalize body on this.
30291 * sysdeps/wordsize-64/iofopen.c: File removed.
30292 * sysdeps/wordsize-64/iofopen64.c: File removed.
30294 2012-08-01 Marek Polacek <polacek@redhat.com>
30296 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30297 Use dlfcn directly instead of a variable.
30298 (binfmt-subdir): Do not define.
30301 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30303 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30304 Remove all definitions.
30305 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30306 <kernel-features.h>.
30307 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30308 (miss_F_GETOWN_EX): Remove all definitions.
30309 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30311 [!__ASSUME_FCNTL64]: Remove conditional code.
30312 [__ASSUME_FCNTL64]: Make code unconditional.
30313 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30314 <kernel-features.h>.
30315 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30316 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30317 (lockf64) [__NR_fcntl64]: Make code unconditional.
30318 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30320 * sysdeps/unix/sysv/linux/kernel-features.h
30321 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30322 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30323 Make code unconditional.
30324 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30325 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30327 [__NR_vfork]: Make code unconditional.
30328 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30329 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30331 [__NR_vfork]: Make code unconditional.
30332 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30333 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30335 2012-08-01 Roland McGrath <roland@hack.frob.com>
30337 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30338 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30340 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30341 Define mkstemp64 as an alias.
30342 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30343 Define mkstemps64 as an alias.
30344 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30345 Define mkostemp64 as an alias.
30346 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30347 Define mkostemps64 as an alias.
30348 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30349 Conditionalize body on this.
30350 * misc/mkostemp64.c: Likewise.
30351 * misc/mkostemps64.c: Likewise.
30352 * misc/mkstemps64.c: Likewise.
30353 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30354 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30355 * sysdeps/wordsize-64/mkostemp.c: File removed.
30356 * sysdeps/wordsize-64/mkstemp.c: File removed.
30357 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30358 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30359 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30360 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30363 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30364 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30365 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30366 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30368 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30369 compat_symbol macros from <shlib-compat.h> rather than the underlying
30370 default_symbol_version and symbol_version macros, so that DEFAULT
30371 lines in shlib-versions are respected.
30372 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30374 2012-08-01 Florian Weimer <fweimer@redhat.com>
30376 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30377 Declare with warn_unused_result.
30378 (setgid, setregid, setegid, setresgid): Likewise.
30379 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30381 * WUR-REPORT: Remove set*id functions.
30383 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30385 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30387 2012-07-31 Roland McGrath <roland@hack.frob.com>
30390 * include/sys/socket.h (__libc_accept, __libc_accept4):
30391 Add attribute_hidden.
30392 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30394 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30396 * inet/getnetgrent_r.c (setup): Likewise.
30398 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30400 2012-07-31 David S. Miller <davem@davemloft.net>
30402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30404 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30407 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30408 value between 1.0 and 2.0 and smaller part has absolute value less
30410 * math/s_clog10.c (__clog10): Likewise.
30411 * math/s_clog10f.c (__clog10f): Likewise.
30412 * math/s_clog10l.c (__clog10l): Likewise.
30413 * math/s_clogf.c (__clogf): Likewise.
30414 * math/s_clogl.c (__clogl): Likewise.
30415 * math/libm-test.inc (clog_test): Add more tests.
30416 (clog10_test): Likewise.
30417 * sysdeps/i386/fpu/libm-test-ulps: Update.
30418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30420 2012-07-31 Florian Weimer <fweimer@redhat.com>
30422 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30423 Exit with zero in case no suitable GID is found, and write a
30424 message to standard error.
30426 2012-07-30 Roland McGrath <roland@hack.frob.com>
30428 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30430 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30431 (MAXPATHLEN): Removed.
30432 (NOGROUP, NODEV): New macros.
30433 (setbit, clrbit, isset, isclr): New macros.
30434 (howmany, roundup, powerof2): New macros.
30435 (DEV_BSIZE): New macro.
30437 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30438 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30440 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30441 definition on [!__NO_LONG_DOUBLE_MATH].
30443 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30444 PTR_MANGLE and PTR_DEMANGLE.
30446 * socket/accept4.c (accept4): Rename to __libc_accept4.
30447 Define accept4 as a weak alias.
30449 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30450 on [_DIRENT_HAVE_D_TYPE].
30451 * io/ftw.c (ftw_dir): Likewise.
30453 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30455 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30457 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30458 Use the BSD numbers rather than the arbitrary ones we had.
30459 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30460 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30461 (SIGXCPU, SIGXFSZ): New macros.
30464 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30465 initializer on [_LIBC_REENTRANT].
30467 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30468 definitions inside [_POSIX_MAPPED_FILES].
30470 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30472 * dirent/opendir.c: Include <fcntl.h>.
30474 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30475 (__libc_getspecific): Likewise.
30476 (__libc_key_create): Likewise.
30478 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30479 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30480 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30481 (tmpfile64): Define as alias.
30482 * sysdeps/wordsize-64/tmpfile.c: File removed.
30483 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30484 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30485 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30487 * stdio-common/vfscanf.c: Include <stdbool.h>.
30488 * nss/makedb.c: Likewise.
30489 * stdio-common/_i18n_number.h: Likewise.
30490 * argp/argp-help.c: Likewise.
30491 * posix/wordexp.c: Likewise.
30492 * sysdeps/posix/spawni.c: Likewise.
30493 * nss/nss_files/files-initgroups.c: Likewise.
30494 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30495 * nss/nss_files/files-initgroups.c: Likewise.
30496 * nss/nss_db/db-netgrp.c: Likewise.
30497 * nss/nss_db/db-initgroups.c: Likewise.
30498 * io/fchmodat.c: Include <sys/stat.h>.
30500 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30501 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30503 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30506 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30507 Add multiple inclusion protection.
30509 2012-07-27 David S. Miller <davem@davemloft.net>
30511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30513 2012-07-27 Gary Benson <gbenson@redhat.com>
30516 * elf/rtld.c: Include <stap-probe.h>.
30517 (dl_main): Added static probes "init_start" and "init_complete".
30518 * elf/dl-load.c: Include <stap-probe.h>.
30519 (lose): Take new parameter "nsid".
30520 Added static probe "map_failed".
30521 (_dl_map_object_from_fd): Pass namespace id to lose.
30522 Added static probe "map_start".
30523 (open_verify): Pass namespace id to lose.
30524 * elf/dl-open.c: Include <stap-probe.h>.
30525 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30526 and "reloc_complete".
30527 * elf/dl-close.c: Include <stap-probe.h>.
30528 (_dl_close_worker): Added static probes "unmap_start" and
30530 * elf/rtld-debugger-interface.txt: New file documenting the above.
30532 2012-07-26 Roland McGrath <roland@hack.frob.com>
30534 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30535 rather than a string variable.
30536 * sunrpc/rpc_main.c (h_output): Likewise.
30537 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30539 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30541 * inet/check_native.c: New file.
30543 2012-07-26 Joseph Myers <joseph@codesourcery.com>
30546 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30547 if larger part has absolute value 1.0.
30548 * math/s_clog10.c (__clog10): Likewise.
30549 * math/s_clog10f.c (__clog10f): Likewise.
30550 * math/s_clog10l.c (__clog10l): Likewise.
30551 * math/s_clogf.c (__clogf): Likewise.
30552 * math/s_clogl.c (__clogl): Likewise.
30553 * math/libm-test.inc (clog_test): Add more tests.
30554 (clog10_test): Likewise.
30555 * sysdeps/i386/fpu/libm-test-ulps: Update.
30556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30558 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30559 (pltexit): Likewise.
30560 (La_regs): Likewise.
30561 (La_retval): Likewise.
30562 (int_retval): Likewise.
30563 Update #error for removed macros to refer only to definitions in
30565 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30567 (pltexit): Likewise.
30568 (La_regs): Likewise.
30569 (La_retval): Likewise.
30570 (int_retval): Likewise.
30571 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30573 (pltexit): Likewise.
30574 (La_regs): Likewise.
30575 (La_retval): Likewise.
30576 (int_retval): Likewise.
30577 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30579 (pltexit): Likewise.
30580 (La_regs): Likewise.
30581 (La_retval): Likewise.
30582 (int_retval): Likewise.
30583 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30585 (pltexit): Likewise.
30586 (La_regs): Likewise.
30587 (La_retval): Likewise.
30588 (int_retval): Likewise.
30589 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30591 (pltexit): Likewise.
30592 (La_regs): Likewise.
30593 (La_retval): Likewise.
30594 (int_retval): Likewise.
30595 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30597 (pltexit): Likewise.
30598 (La_regs): Likewise.
30599 (La_retval): Likewise.
30600 (int_retval): Likewise.
30601 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30602 macro definitions in tst-audit.h.
30603 * sysdeps/i386/tst-audit.h: New file.
30604 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30605 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30606 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30607 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30608 * sysdeps/sh/tst-audit.h: Likewise.
30609 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30610 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30611 * sysdeps/x86_64/tst-audit.h: Likewise.
30613 2012-07-26 Andreas Jaeger <aj@suse.de>
30615 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30618 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30619 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30620 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30622 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30623 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30624 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30626 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30629 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30631 (si_call_addr, si_syscall, si_arch): Define new macro.
30632 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30634 (si_call_addr, si_syscall, si_arch): Define new marcro.
30635 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30637 (si_call_addr, si_syscall, si_arch): Define new macro.
30638 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30640 (si_call_addr, si_syscall, si_arch): Define new macro.
30642 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30645 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30646 Change to 2.4.21 where previously 2.4.1.
30647 * sysdeps/unix/sysv/linux/configure: Regenerated.
30648 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30649 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30650 Linux kernel version.
30651 (__ASSUME_STD_AUXV): Remove.
30652 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30654 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30655 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30656 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30657 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30658 (__ASSUME_NETLINK_SUPPORT): Likewise.
30659 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30660 (__no_netlink_support): Remove conditional definition.
30661 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30663 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30664 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30665 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30666 (if_nameindex_ioctl): Remove.
30667 (if_nameindex_netlink): Do not handle __no_netlink_support.
30668 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30670 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30671 Remove conditional code.
30672 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30674 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30676 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30677 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30678 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30680 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30681 [!__ASSUME_STD_AUXV]: Remove conditional code.
30682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30683 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30684 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30686 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30687 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30689 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30691 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30692 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30694 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30696 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30699 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30702 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30703 code unconditional.
30704 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30706 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30708 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30711 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30713 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30716 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30717 code unconditional.
30718 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30720 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30722 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30725 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30726 code unconditional.
30727 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30729 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30731 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30734 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30736 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30737 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30738 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30739 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30740 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30741 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30742 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30743 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30744 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30745 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30746 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30747 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30748 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30749 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30750 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30751 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30752 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30753 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30754 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30755 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30756 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30757 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30758 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30760 2012-07-25 Florian Weimer <fweimer@redhat.com>
30762 * Versions.def: Add GLIBC_2.17.
30763 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30764 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30765 Introduce __libc_secure_getenv.
30766 * stdlib/Versions (2.17): Add secure_getenv
30767 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30768 * stdlib/secure-getenv.c: Rename __secure_getenv to
30769 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30770 symbol __secure_getenv for GLIBC_2.0.
30771 * stdlib/tst-secure-getenv.c: New.
30772 * stdlib/Makefile (tests): Add testcase.
30773 * manual/startup.texi (Environment Access): Document
30775 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30776 __libc_secure_getenv.
30777 * inet/ruserpass.c (ruserpass): Likewise.
30778 * malloc/mtrace.c (mtrace): Likewise.
30779 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30780 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30781 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30782 * sysdeps/posix/tempname.c: Likewise. Evaluate
30783 HAVE_SECURE_GETENV.
30784 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30785 __secure_getenv to __libc_secure_getenv.
30786 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30793 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30797 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30799 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30801 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30802 (struct La_i86_retval): Likewise.
30803 (struct La_x86_64_regs): Likewise.
30804 (struct La_x86_64_retval): Likewise.
30805 (struct La_x32_regs): Likewise.
30806 (struct La_x32_retval): Likewise.
30807 (struct La_ppc32_regs): Likewise.
30808 (struct La_ppc32_retval): Likewise.
30809 (struct La_ppc64_regs): Likewise.
30810 (struct La_ppc64_retval): Likewise.
30811 (struct La_sh_regs): Likewise.
30812 (struct La_sh_retval): Likewise.
30813 (struct La_s390_32_regs): Likewise.
30814 (struct La_s390_32_retval): Likewise.
30815 (struct La_s390_64_regs): Likewise.
30816 (struct La_s390_64_retval): Likewise.
30817 (struct La_sparc32_regs): Likewise.
30818 (struct La_sparc32_retval): Likewise.
30819 (struct La_sparc64_regs): Likewise.
30820 (struct La_sparc64_retval): Likewise.
30821 (struct audit_ifaces): Remove architecture-specific pltenter and
30823 * sysdeps/i386/ldsodefs.h: New file.
30824 * sysdeps/powerpc/ldsodefs.h: Likewise.
30825 * sysdeps/s390/ldsodefs.h: Likewise.
30826 * sysdeps/sh/ldsodefs.h: Likewise.
30827 * sysdeps/sparc/ldsodefs.h: Likewise.
30828 * sysdeps/x86_64/ldsodefs.h: Likewise.
30830 2012-07-25 Marek Polacek <polacek@redhat.com>
30833 * math/libm-test.inc (yn_test): Add another test.
30834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30835 to ERANGE when the result is +-Inf.
30836 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30837 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30838 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30839 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30841 2012-07-24 Joseph Myers <joseph@codesourcery.com>
30843 * conform/data/time.h-data (NULL): Use macro-constant. Require
30845 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30847 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30849 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30851 * configure.in <sysdeps resolving>: Correct printing
30853 * configure: Regenerate.
30855 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30857 * math/w_ilogb.c: Include <limits.h>.
30858 * math/w_ilogbl.c: Likewise.
30860 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30862 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30863 va_copy. Document allowing for unavailable va_copy only as
30864 pre-C99 compatibility.
30865 * manual/string.texi (Copying and Concatenation): Use va_copy
30866 instead of __va_copy in concat example.
30868 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30870 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30871 (__sendto): Use create_address_port. Initialize APORT and deallocate
30874 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30875 with O_NOLINK passed to __file_name_lookup.
30877 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30878 with O_NOLINK passed to __file_name_lookup.
30880 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30881 negative N or less than NGIDS.
30883 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30884 type to string_t. Set ERANGE as errno and return it if NAME is not big
30885 enough. Use memcpy instead of strncpy.
30887 2012-07-20 Joseph Myers <joseph@codesourcery.com>
30889 * elf/Makefile (check-data): Remove.
30890 (localplt.data): New vpath directive.
30891 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30892 instead of $(check-data).
30893 * scripts/data/localplt-generic.data: Move to ...
30894 * sysdeps/generic/localplt.data: ... here.
30895 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30896 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30897 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30900 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30903 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30906 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30909 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30912 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30916 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30918 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30919 PPC32 and PPC64 files.
30920 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30921 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30923 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30925 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30926 __makecontext_ret to ...
30927 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30928 ... here and call exit if uc_link is NULL. New file.
30929 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30930 __makecontext_ret.S.
30931 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30932 __makecontext_ret to ...
30933 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30934 ... here and call exit if uc_link is NULL. New file.
30935 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30936 __makecontext_ret.S.
30938 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30940 * elf/elf.h (R_390_IRELATIVE): New definition.
30941 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30942 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30943 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30944 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30945 (elf_machine_lazy_rel): Likewise.
30946 * sysdeps/s390/dl-irel.h: New file.
30947 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30948 * sysdeps/s390/s390-64/memset.S: New asm code.
30949 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30950 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30951 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30952 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30953 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30954 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30955 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30956 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30957 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30958 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30959 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30960 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30961 * sysdeps/s390/s390-32/memset.S: New asm code.
30962 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30964 2012-07-17 Marek Polacek <polacek@redhat.com>
30967 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30968 * sysdeps/s390/s390-64/configure.in: Likewise.
30969 * sysdeps/sparc/configure.in: Likewise.
30970 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30971 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30972 * sysdeps/i386/configure.in: Likewise.
30973 * sysdeps/x86_64/configure.in: Likewise.
30974 * sysdeps/sh/configure.in: Likewise.
30975 * sysdeps/s390/s390-32/configure: Regenerated.
30976 * sysdeps/s390/s390-64/configure: Likewise.
30977 * sysdeps/x86_64/configure: Likewise.
30978 * sysdeps/sh/configure: Likewise.
30979 * sysdeps/powerpc/powerpc64/configure: Likewise.
30980 * sysdeps/powerpc/powerpc32/configure: Likewise.
30981 * sysdeps/sparc/configure: Likwise.
30982 * sysdeps/i386/configure: Likewise.
30984 * elf/dl-open.c: Comment fixes.
30986 2012-07-17 Joseph Myers <joseph@codesourcery.com>
30988 * Makefile [CXX] (check-data): Remove.
30989 [CXX] (c++-types.data): New vpath directive.
30990 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30991 vpath. Do not allow for C++ type data being missing.
30992 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30993 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30994 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30995 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30996 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30997 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30998 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31001 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31004 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31007 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31010 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31013 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31016 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31019 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31022 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31023 definitions to architecture-specific files.
31024 (TLS_IE): Likewise.
31025 (TLS_LD): Likewise.
31026 (TLS_GD): Likewise.
31027 * sysdeps/i386/tls-macros.h: New file.
31028 * sysdeps/powerpc/tls-macros.h: Likewise.
31029 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31030 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31031 * sysdeps/sh/tls-macros.h: Likewise.
31032 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31033 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31034 * sysdeps/x86_64/tls-macros.h: Likewise.
31036 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31038 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31039 zero value for regular exit case.
31041 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31042 (__start_context): Preserve zero value for regular exit case.
31044 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31045 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31047 * manual/setjmp.texi (setcontext): Clarify normal process
31048 termination when uc_link is the null pointer.
31049 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31052 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31054 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31055 preprocessor. Test for each exception mask separately.
31057 2012-07-16 Andreas Jaeger <aj@suse.de>
31059 * po/ru.po: Update from translation team.
31061 2012-07-15 Joseph Myers <joseph@codesourcery.com>
31063 * conform/data/string.h-data (NULL): Use macro-constant. Require
31065 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31066 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31067 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31068 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31069 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31071 2012-07-13 Andreas Jaeger <aj@suse.de>
31073 * po/fr.po: Update from translation team.
31075 2012-07-12 Marek Polacek <polacek@redhat.com>
31078 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31079 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31082 2012-07-12 Joseph Myers <joseph@codesourcery.com>
31085 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31086 Change to 2.4.1 where previously 2.4.0.
31087 * sysdeps/unix/sysv/linux/configure: Regenerated.
31088 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31089 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31091 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31092 (__ASSUME_AT_CLKTCK): Remove.
31093 (__ASSUME_AT_PAGESIZE): Likewise.
31094 (__ASSUME_AT_XID): Likewise.
31095 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31096 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31097 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31099 (HAVE_AUX_PAGESIZE): Likewise.
31100 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31101 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31102 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31104 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31108 the temporary buffer used to invoke __gethostbyname2_r,
31109 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31110 host_data / struct gaih_addrtuple.
31111 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31112 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31113 header file nss/nsswitch.h.
31114 * nss/nsswitch.h (global scope): Add definition of implementation
31115 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31116 resolv/nss_dns/dns-host.c).
31118 2012-07-11 Andreas Jaeger <aj@suse.de>
31120 * po/fr.po: Update from translation team.
31122 * po/sv.po: Update from translation team
31123 * po/fr.po: Another update from translation team.
31125 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31127 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31128 for subnormals or multiply small sinh result by itself.
31129 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31132 2012-07-11 David S. Miller <davem@davemloft.net>
31134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31136 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31139 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31140 (INTERNAL_MARK): Shift it here.
31142 2012-07-10 Marek Polacek <polacek@redhat.com>
31145 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31146 libc_cv_asm_global_directive with .globl.
31147 * configure: Regenerated.
31148 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31150 * sysdeps/i386/configure: Regenerated.
31151 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31153 * sysdeps/x86_64/configure: Regenerated.
31154 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31155 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31156 * elf/tst-unique2mod2.c: Likewise.
31157 * elf/tst-unique2mod1.c: Likewise.
31158 * elf/tst-unique1mod2.c: Likewise.
31159 * elf/tst-unique1mod1.c: Likewise.
31160 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31161 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31162 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31163 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31164 * sysdeps/mach/sysdep.h: Likewise.
31165 * sysdeps/i386/sysdep.h: Likewise.
31166 * sysdeps/i386/i386-mcount.S: Likewise.
31167 * sysdeps/x86_64/_mcount.S: Likewise.
31168 * sysdeps/x86_64/sysdep.h: Likewise.
31169 * sysdeps/sh/_mcount.S: Likewise.
31170 * sysdeps/sh/sysdep.h: Likewise.
31171 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31172 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31173 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31174 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31175 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31176 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31177 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31178 * locale/localeinfo.h: Likewise.
31179 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31180 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31182 2012-07-09 Roland McGrath <roland@hack.frob.com>
31185 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31187 * manual/message.texi (The Uniforum approach): Likewise.
31188 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31189 (glibc iconv Implementation): Likewise.
31191 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31194 * math/s_clog.c (__clog): Avoid scaling a value down where that
31195 could result in underflow.
31196 * math/s_clog10.c (__clog10): Likewise.
31197 * math/s_clog10f.c (__clog10f): Likewise.
31198 * math/s_clog10l.c (__clog10l): Likewise.
31199 * math/s_clogf.c (__clogf): Likewise.
31200 * math/s_clogl.c (__clogl): Likewise.
31201 * math/libm-test.inc (clog_test): Add more tests.
31202 (clog10_test): Likewise.
31203 * sysdeps/i386/fpu/libm-test-ulps: Update.
31204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31206 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31209 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31210 by 7 not 8 to examine high bit of fractional part.
31213 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31214 for call to __mcount_internal.
31215 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31216 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31217 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31219 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31222 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31223 approximation for values within 0x1p-13f of an odd multiple of
31225 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31226 exception. Add more tests.
31227 * sysdeps/i386/fpu/libm-test-ulps: Update.
31230 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31231 inputs and return -1 for them. Do not check for +Inf in case not
31232 reachable for +Inf.
31233 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31234 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31235 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31236 and return -1 for them. Do not check for +Inf in case not
31237 reachable for +Inf.
31238 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31240 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31241 and return -1 for them. Do not check for +Inf in case not
31242 reachable for +Inf.
31243 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31244 spurious underflow.
31245 * sysdeps/i386/fpu/libm-test-ulps: Update.
31246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31248 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31250 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31252 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31256 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31257 could result in spurious underflow. Scale down values above
31258 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31259 * math/s_csqrtf.c (__csqrtf): Likewise.
31260 * math/s_csqrtl.c (__csqrtl): Likewise.
31261 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31262 spurious underflow.
31263 * sysdeps/i386/fpu/libm-test-ulps: Update.
31264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31266 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31268 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31270 * catgets/xopen-msg.awk: New file.
31271 * catgets/xopen-msg.sed: Removed.
31273 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31275 * intl/po2test.awk: New file.
31276 * intl/po2test.sed: Removed.
31278 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31281 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31282 or multiply small sinh result by itself.
31283 * math/s_ctanf.c (__ctanf): Likewise.
31284 * math/s_ctanh.c (__ctanh): Likewise.
31285 * math/s_ctanhf.c (__ctanhf): Likewise.
31286 * math/s_ctanhl.c (__ctanhl): Likewise.
31287 * math/s_ctanl.c (__ctanl): Likewise.
31288 * math/libm-test.inc (ctan_test_tonearest): New function.
31289 (ctan_test_towardzero): Likewise.
31290 (ctan_test_downward): Likewise.
31291 (ctan_test_upward): Likewise.
31292 (ctanh_test_tonearest): Likewise.
31293 (ctanh_test_towardzero): Likewise.
31294 (ctanh_test_downward): Likewise.
31295 (ctanh_test_upward): Likewise.
31296 (main): Call these new functions.
31297 * sysdeps/i386/fpu/libm-test-ulps: Update.
31298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31300 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31302 * .gitignore: Delete /ports entry.
31304 2012-07-03 Andreas Jaeger <aj@suse.de>
31306 * po/bg.po: Update from translation team.
31307 * po/cs.po: Likewise.
31308 * po/de.po: Likewise.
31309 * po/hr.po: Likewise.
31310 * po/nl.pl: Likewise.
31311 * po/pl.po: Likewise.
31312 * po/vi.po: Likewise.
31314 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31316 * Makeconfig [!+link] (+link-before-libc): New variable.
31317 [!+link] (+link-after-libc): Likewise.
31318 [!+link] (+link-tests): Likewise.
31319 [!+link] (+link): Define in terms of $(+link-before-libc) and
31320 $(+link-after-libc).
31321 [!+link-static] (+link-static-before-libc): New variable.
31322 [!+link-static] (+link-static-after-libc): Likewise.
31323 [!+link-static] (+link-static-tests): Likewise.
31324 [!+link-static] (+link-static): Define in terms of
31325 $(+link-static-before-libc) and $(+link-static-after-libc).
31326 [build-shared] (link-libc-before-gnulib): New variable.
31327 [build-shared] (link-libc-tests): Likewise.
31328 [build-shared] (link-libc): Define in terms of
31329 $(link-libc-before-gnulib).
31330 [!build-shared] (link-libc-tests): New variable.
31331 (link-libc-static-tests): New variable.
31332 [!gnulib] (gnulib-arch): New variable.
31333 [!gnulib] (gnulib-tests): Likewise.
31334 [!gnulib] (static-gnulib-arch): Likewise.
31335 [!gnulib] (static-gnulib-tests): Likewise.
31336 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31337 Define with "=" instead of ":=".
31338 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31339 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31340 * Rules (binaries-all-notests): New variable.
31341 (binaries-all-tests): Likewise.
31342 (binaries-static-notests): Likewise.
31343 (binaries-static-tests): Likewise.
31344 (binaries-all): Define using $(binaries-all-notests) and
31345 $(binaries-all-tests).
31346 (binaries-static): Define using $(binaries-static-notests) and
31347 $(binaries-static-tests).
31348 (binaries-shared-tests): New variable.
31349 (binaries-shared-notests): Likewise.
31350 (binaries-shared): Remove variable.
31351 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31352 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31353 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31354 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31355 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31356 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31357 * elf/Makefile (sln-modules): New variable.
31358 (extra-objs): Add $(sln-modules:=.o).
31359 (ldconfig-modules): Add static-stubs.
31360 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31361 * elf/static-stubs.c: New file.
31364 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31365 by 7 not 8 to examine high bit of fractional part. Use volatile
31366 variables when splitting into final array of floats if
31367 __FLT_EVAL_METHOD__ != 0.
31368 * math/libm-test.inc (cos_test): Add another test.
31369 (sin_test): Likewise.
31370 * sysdeps/i386/fpu/libm-test-ulps: Update.
31373 * math/libm-test.inc (cosh_test): Add more tests.
31375 * version.h (RELEASE): Set to "development".
31376 (VERSION): Set to "2.16.90".
31378 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31380 * NEWS: Update copyright. Remove last-updated date.
31381 Mention math library bug fixes and timezone data changes.
31382 * README: Mention GNU/Hurd, x32, and HPPA support status.
31384 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31386 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31388 2012-06-27 Andreas Jaeger <aj@suse.de>
31390 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31392 2012-06-25 Andreas Jaeger <aj@suse.de>
31394 * sysdeps/s390/fpu/libm-test-ulps: Update.
31396 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31397 Thomas Schwinge <thomas@codesourcery.com>
31399 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31400 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31401 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31404 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31406 * sysdeps/mach/start.c: Remove file.
31407 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31408 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31409 * sysdeps/sh/init-first.c: Likewise.
31411 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31412 registers for frame unwinding purposes, add CFI directives.
31413 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31414 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31415 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31418 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31419 __fortify_fail returning.
31420 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31422 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31423 sysdeps/sh/____longjmp_chk.S.
31424 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31425 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31426 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31427 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31429 * sysdeps/sh/abort-instr.h: New file.
31430 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31431 process in case exit returns.
31433 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31434 initialize the GOT register before use.
31436 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31437 calculation of ARGC > 4.
31439 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31440 meaningful names to some local labels.
31442 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31443 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31445 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31446 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31447 (__arch_compare_and_exchange_val_16_acq): Likewise.
31448 (__arch_compare_and_exchange_val_32_acq): Likewise.
31449 (atomic_exchange_and_add): Fix gUSA sequence.
31450 (atomic_add): Likewise.
31451 (atomic_add_negative): Likewise.
31452 (atomic_add_zero): Likewise.
31453 (atomic_bit_test_set): Likewise.
31455 2012-06-22 Andreas Schwab <schwab@redhat.com>
31458 * include/link.h (struct link_map): Add l_free_initfini.
31459 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31461 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31462 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31463 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31466 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31468 * configure.in: Use AC_LANG_SOURCE.
31469 * configure: Regenerate.
31471 2012-06-22 Roland McGrath <roland@hack.frob.com>
31473 * configure.in (libc_cv_localstatedir): New substituted variable.
31474 * configure: Regenerated.
31475 * config.make.in (localstatedir): New variable, substituted from
31476 libc_cv_localstatedir.
31477 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31478 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31479 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31480 * sysdeps/gnu/configure: Regenerated.
31482 2012-06-21 Jeff Law <law@redhat.com>
31485 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31486 free. Simplify list management for _LIBC case.
31488 2012-06-21 Joseph Myers <joseph@codesourcery.com>
31491 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31492 Clear sign bit of 64-bit integer value before comparing against
31495 * sysdeps/mach/configure: Regenerated.
31497 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31500 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31502 2012-06-21 Jeff Law <law@redhat.com>
31505 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31506 uint16_t for elements in the "seen" array to avoid char overflows.
31507 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31508 * elf/dl-open.c (dl_open_worker): Likewise.
31510 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31512 * scripts/list-sources.sh: Scan PORTS for translations.
31513 * po/libc.pot: Regenerated.
31515 2012-06-21 Andreas Jaeger <aj@suse.de>
31518 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31520 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31521 * bits/byteswap-16.h (__bswap_16): Likewise.
31522 * bits/byteswap.h (__bswap_constant_16): Likewise.
31524 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31527 * sysdeps/i386/fpu_control.h: Removed.
31528 * sysdeps/x86_64/fpu_control.h: Moved to ...
31529 * sysdeps/x86/fpu_control.h: Here.
31531 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31532 (_FPU_SETCW): Likewise.
31534 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31537 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31538 * sysdeps/x86/fpu/bits/mathinline.h: This.
31539 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31543 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31544 functions if __x86_64__ is defined.
31546 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31548 * string/endian.h: Add !__ASSEMBLER__ condition for including
31549 conversion interfaces.
31551 2012-06-15 Joseph Myers <joseph@codesourcery.com>
31554 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31555 of ABS(x) in calculating zero to negative powers other than odd
31557 * math/libm-test.inc (pow_test): Add more tests.
31559 2012-06-15 Andreas Jaeger <aj@suse.de>
31561 * manual/contrib.texi (Contributors): Update entry of Liubov
31562 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31565 2012-06-15 Cyril Hrubis <metan@ucw.cz>
31567 * string/string.h: Add __wur to GNU version of strerror_r.
31569 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31572 * string/Makefile (tests): Add tst-strtok_r.
31573 * string/tst-strtok_r.c: New file.
31574 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31575 RAX_LP/RDX_LP on SAVE_PTR.
31577 2012-06-14 Roland McGrath <roland@hack.frob.com>
31579 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31581 2012-06-14 Joseph Myers <joseph@codesourcery.com>
31583 * libm_test.inc (csqrt_test): Allow more spurious underflow
31585 (j0_test): Likewise.
31586 (j1_test): Likewise.
31587 (y0_test): Likewise.
31588 (y1_test): Likewise.
31590 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31592 * po/Makefile (libc.pot): Use UTF-8 charset.
31594 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31597 Suppress sign-conversion warning from FD_SET.
31598 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31599 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31600 not unsigned long int.
31601 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31603 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31607 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31608 __extern_always_inline instead of __extern_inline.
31609 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31610 (__signbit): Likewise.
31611 (__signbitl): Support C++ namespace.
31612 (lrintf): New inline function.
31614 (llrintf): Likewise.
31615 (llrint): Likewise.
31625 (floorf): Likewise.
31626 (nearbyint): Likewise.
31627 (nearbyintf): Likewise.
31629 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31631 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31632 non-default versions.
31634 2012-06-11 Roland McGrath <roland@hack.frob.com>
31637 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31639 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31641 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31642 (FE_UPWARD, FE_DOWNWARD): Don't define.
31643 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31644 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31646 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31648 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31649 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31651 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31653 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31654 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31655 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31656 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31658 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31661 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31662 * sysdeps/i386/fpu/Implies: New file.
31663 * sysdeps/x86_64/fpu/Implies: Likewise.
31664 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31665 * sysdeps/x86/fpu/bits/fenv.h: This.
31667 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31670 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31673 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31674 character 0xffff that matches the last element of the
31677 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31679 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31682 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31684 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31685 values higher than 25.6283.
31687 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31689 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31690 subnormal exponent extraction and add some __builtin_expect.
31691 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31692 Fix for subnormal mantissa calculation.
31694 2012-06-04 Mike Frysinger <vapier@gentoo.org>
31696 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31697 cpu2 is -1 and errno is not ENOSYS.
31699 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31702 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31703 * sysdeps/x86/bits/string.h: This.
31704 * sysdeps/x86_64/bits/string.h: Removed.
31706 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31707 if not compiling for x86-64, but compiling for >= i486.
31709 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31710 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31712 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31713 New macro from Linux kernel 3.4.0.
31714 (FP_XSTATE_MAGIC2): Likewise.
31715 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31716 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31717 (struct _fpx_sw_bytes): New struct.
31718 (struct _xsave_hdr): Likewise.
31719 (struct _ymmh_state): Likewise.
31720 (struct _xstate): Likewise.
31722 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31723 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31724 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31725 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31726 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31727 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31729 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31730 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31731 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31732 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31733 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31734 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31736 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31739 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31740 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31741 (sysdep_headers): Include sys/platform/ppc.h.
31742 * sysdeps/powerpc/test-gettimebase.c: Test for
31743 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31744 * manual/Makefile (appendices): Include platform.texi.
31745 * manual/contrib.texi (Contributors): Update @node pointers.
31746 * manual/maint.texi (Maintenance): Likewise.
31747 (Platform): New node.
31748 * manual/platform.texi: New file. Document the new features.
31750 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31751 Jakub Jelinek <jakub@redhat.com>
31754 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31755 where __builtin_expect is unavailable.
31757 2012-06-03 David S. Miller <davem@davemloft.net>
31759 * stdlib/longlong.h: Updated from GCC.
31761 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31764 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31765 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31768 (GLIBC_2.16): Likewise.
31770 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31772 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31774 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31777 (default-abi): New variable.
31778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31779 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31781 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31783 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31785 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31788 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31789 definition. Document in comment.
31791 2012-06-01 David S. Miller <davem@davemloft.net>
31793 * stdlib/longlong.h: Updated from GCC.
31795 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31798 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31799 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31800 sys/debugreg.h sys/io.h here.
31801 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31802 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31804 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31805 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31806 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31807 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31808 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31809 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31811 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31812 Define only if __x86_64__ is defined.
31814 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31817 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31818 Use int64_t for variable i.
31819 * math/libm-test.inc (fmod_test): Add more tests.
31821 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31822 z computation is not scheduled after fetestexcept.
31823 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31824 Use math_force_eval instead of asm to ensure calculation scheduled
31825 before exception test.
31826 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31827 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31829 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31831 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31832 computation is not scheduled after fetestexcept.
31834 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31837 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31838 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31840 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31842 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31843 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31845 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31848 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31850 (__WCHAR_MIN): Support __WORDSIZE == 64.
31851 (__WCHAR_MAX): Likewise.
31853 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31854 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31857 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31858 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31861 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31862 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31864 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31865 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31867 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31868 Defined to 1 if __x86_64__ isn't defined.
31869 (_STAT_VER_LINUX_OLD): New.
31870 (st_atime): Remove duplicate.
31871 (st_mtime): Likewise.
31872 (st_ctime): Likewise.
31874 2012-05-31 David S. Miller <davem@davemloft.net>
31876 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31879 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31881 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31885 * elf/dl-reloc.c: Include <_itoa.h>.
31886 (_dl_reloc_bad_type): Remove use of INTUSE.
31887 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31888 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31889 * stdio-common/psiginfo.c (psiginfo): Likewise.
31890 * stdio-common/psignal.c (psignal): Likewise.
31891 * string/strsignal.c (strsignal): Likewise.
31892 * include/signal.h (_sys_siglist): Declare hidden proto.
31893 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31894 INTVARDEF with libc_hidden_data_def.
31895 * stdio-common/itoa-udigits.c: Likewise.
31896 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31897 (_itoa_lower_digits_internal): Remove declaration.
31898 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31899 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31900 (_sys_sigabbrev_internal): Remove aliases.
31901 (_sys_siglist): Define hidden alias.
31903 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31905 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31908 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31911 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31912 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31914 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31915 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31916 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31917 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31918 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31919 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31921 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31922 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31923 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31925 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31933 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31934 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31935 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31937 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31938 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31939 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31940 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31941 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31942 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31944 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31945 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31947 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31948 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31950 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31951 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31952 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31954 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31955 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31957 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31959 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31960 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31961 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31963 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31965 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31967 2012-05-31 Joseph Myers <joseph@codesourcery.com>
31969 * math/math.h (M_El): Use two more decimal places.
31970 (M_LOG2El): Likewise.
31971 (M_LOG10El): Likewise.
31972 (M_LN2l): Likewise.
31973 (M_LN10l): Likewise.
31975 (M_PI_2l): Likewise.
31976 (M_PI_4l): Likewise.
31977 (M_1_PIl): Likewise.
31978 (M_2_PIl): Likewise.
31979 (M_2_SQRTPIl): Likewise.
31980 (M_SQRT2l): Likewise.
31981 (M_SQRT1_2l): Likewise.
31983 2012-05-31 David S. Miller <davem@davemloft.net>
31985 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31986 values between float registers.
31987 * sysdeps/sparc/sparc64/memset.S: Likewise.
31988 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31990 2012-05-31 Mike Frysinger <vapier@gentoo.org>
31992 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31993 -D_FORTIFY_SOURCE=1.
31994 (CPPFLAGS-tst-longjmp_chk.c): Define.
31995 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31996 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31997 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31998 CFLAGS-tst-wchar-h.c.
32000 2012-05-31 Marek Polacek <polacek@redhat.com>
32003 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32004 __endmntent_internal): Remove declaration.
32005 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32006 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32007 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32009 2012-05-30 David S. Miller <davem@davemloft.net>
32011 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32012 (___Q_simulate_exceptions): Use real FP ops rather than writing
32014 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32017 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32020 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32021 * sysdeps/x86/bits/xtitypes.h: This.
32023 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32024 * sysdeps/x86/bits/wordsize.h: This.
32026 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32027 * sysdeps/x86/bits/huge_vall.h: This.
32029 * sysdeps/i386/bits/select.h: Removed.
32030 * sysdeps/x86_64/bits/select.h: Renamed to ...
32031 * sysdeps/x86/bits/select.h: This.
32033 * sysdeps/i386/bits/setjmp.h: Removed.
32034 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32035 * sysdeps/x86/bits/setjmp.h: This.
32037 * sysdeps/i386/bits/mathdef.h: Removed.
32038 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32039 * sysdeps/x86/bits/mathdef.h: This.
32041 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32044 * include/sys/socket.h (__connect_internal)
32045 (__libc_sa_len_internal): Remove declaration.
32046 (__connect, __libc_sa_len): Declare hidden_proto.
32047 (SA_LEN): Remove use of INTUSE.
32048 * socket/connect.c: Add libc_hidden_def.
32049 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32050 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32051 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32053 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32054 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32055 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32056 of adding _internal alias.
32058 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32061 * sysdeps/i386/bits/link.h: Removed.
32062 * sysdeps/i386/bits/linkmap.h: Likewise.
32063 * sysdeps/x86_64/bits/link.h: Renamed to ...
32064 * sysdeps/x86/bits/link.h: This.
32065 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32066 * sysdeps/x86/bits/linkmap.h: This.
32068 * sysdeps/i386/bits/endian.h: Removed.
32069 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32070 * sysdeps/x86/bits/endian.h: This.
32072 * sysdeps/i386/bits/byteswap.h: Removed.
32073 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32074 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32075 * sysdeps/x86/bits/byteswap.h: This.
32076 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32077 * sysdeps/x86/bits/byteswap-16.h: This.
32078 * sysdeps/i386/Implies: Add x86.
32079 * sysdeps/x86_64/Implies: Likewise.
32081 2012-05-30 David S. Miller <davem@davemloft.net>
32083 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32084 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32085 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32086 (FP_TRAPPING_EXCEPTIONS): Define.
32087 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32088 (FP_TRAPPING_EXCEPTIONS): Define.
32089 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32090 subnormals only when inexact has been signalled or underflow
32091 exceptions are enabled.
32092 (_FP_PACK_CANONICAL): Likewise.
32094 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32097 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32098 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32100 2012-05-30 Richard Henderson <rth@twiddle.net>
32102 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32103 with #ifndef NOT_IN_libc.
32105 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32106 marked to avoid plt entry.
32108 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32111 * Makeconfig (default-abi): New macro.
32112 (abi-includes): Likewise.
32113 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32114 $(abi-$(default-abi)-lib-soname) for soname if defined.
32115 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32117 * Makefile (installed-stubs): Likewise.
32118 * include/stubs-biarch.h: Removed.
32119 * scripts/lib-names.awk: Only handle one library at a time.
32120 * scripts/soversions.awk: Remove WORDSIZE support.
32121 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32123 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32125 (syscall-list-default-condition): Likewise.
32126 (syscall-list-default-condition): Likewise.
32127 (syscall-list-includes): Likewise.
32128 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32129 syscall-list-* with abi-*. Handle undefined abi-variants.
32130 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32131 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32132 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32133 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32134 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32135 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32137 (syscall-list-32-options): Likewise.
32138 (syscall-list-32-condition): Likewise.
32139 (syscall-list-64-options): Likewise.
32140 (syscall-list-64-condition): Likewise.
32141 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32143 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32146 (abi-64-ld-soname): New macro.
32147 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32148 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32151 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32152 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32154 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32156 * sysdeps/unix/sysv/linux/kernel-features.h
32157 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32158 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32159 include <kernel-features.h>.
32160 [!__NR_ftruncate64]: Remove conditional code.
32161 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32162 [__NR_ftruncate64]: Make code unconditional.
32163 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32164 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32165 include <kernel-features.h>.
32166 [!__NR_ftruncate64]: Remove conditional code.
32167 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32168 [__NR_ftruncate64]: Make code unconditional.
32169 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32171 include <kernel-features.h>.
32172 [!__NR_ftruncate64]: Remove conditional code.
32173 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32174 [__NR_ftruncate64]: Make code unconditional.
32175 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32177 include <kernel-features.h>.
32178 [!__NR_ftruncate64]: Remove conditional code.
32179 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32180 [__NR_ftruncate64]: Make code unconditional.
32181 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32183 * configure.in (libc_cv_fpie): Weaken to a compile test using
32184 LIBC_TRY_CC_OPTION.
32185 * configure: Regenerated.
32187 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32202 2012-05-27 David S. Miller <davem@davemloft.net>
32204 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32206 (__Q_simulate_exceptions): Return void. Change to simulate
32207 exceptions by writing into the %fsr.
32208 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32209 (__Qp_handle_exceptions): Likewise.
32211 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32212 __Qp_handle_exceptions.
32213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32214 __Qp_handle_exceptions.
32215 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32216 as unused and give dummy FP_RND_NEAREST initializer.
32217 (FP_INHIBIT_RESULTS): Define.
32218 (___Q_simulate_exceptions): Update declaration.
32219 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32221 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32222 as unused and give dummy FP_RND_NEAREST initializer.
32223 (__Qp_handle_exceptions): Update declaration.
32224 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32227 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32229 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32230 the temporary FPU control word.
32231 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32232 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32233 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32234 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32235 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32236 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32237 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32238 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32239 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32240 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32241 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32243 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32245 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32248 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32250 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32251 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32252 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32253 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32255 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32256 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32259 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32261 * po/h.po: Update from translation team.
32263 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32265 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32267 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32268 handling of denormals.
32269 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32270 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32271 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32272 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32273 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32274 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32275 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32278 2012-05-26 Marek Polacek <polacek@redhat.com>
32281 * math/libm-test.inc (fma_test): Don't always expect underflow
32284 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32287 * elf/tst-execstack.c: Include stackinfo.h.
32288 (do_test): Adjust test case to ensure that pthread_getattr_np
32289 behaviour remains the same after marking stack executable.
32291 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32293 * sysdeps/unix/sysv/linux/kernel-features.h
32294 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32295 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32297 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32298 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32299 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32301 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32302 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32304 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32306 * configure.in: Define the default includes to being none.
32307 * configure: Regenerated.
32309 2012-05-25 Roland McGrath <roland@hack.frob.com>
32311 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32312 * sysdeps/x86_64/setjmp.S: Likewise.
32313 * sysdeps/i386/bsd-setjmp.S: Likewise.
32314 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32315 * sysdeps/i386/setjmp.S: Likewise.
32316 * sysdeps/i386/__longjmp.S: Likewise.
32317 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32318 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32320 * include/stap-probe.h: New file.
32321 * configure.in: Handle --enable-systemtap.
32322 * configure: Regenerated.
32323 * config.h.in (USE_STAP_PROBE): New #undef.
32324 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32325 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32326 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32328 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32331 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32332 to 2.4.0 where earlier.
32333 * sysdeps/unix/sysv/linux/configure: Regenerated.
32334 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32335 <kernel-features.h>.
32336 [__ASSUME_32BITUIDS]: Make code unconditional.
32337 [!__ASSUME_32BITUIDS]: Remove conditional code.
32338 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32339 <kernel-features.h>.
32340 [__ASSUME_32BITUIDS]: Make code unconditional.
32341 [!__ASSUME_32BITUIDS]: Remove conditional code.
32342 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32343 [__ASSUME_32BITUIDS]: Make code unconditional.
32344 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32345 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32346 <kernel-features.h>.
32347 [__ASSUME_32BITUIDS]: Make code unconditional.
32348 [!__ASSUME_32BITUIDS]: Remove conditional code.
32349 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32350 <kernel-features.h>.
32351 [__ASSUME_32BITUIDS]: Make code unconditional.
32352 [!__ASSUME_32BITUIDS]: Remove conditional code.
32353 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32354 <kernel-features.h>.
32355 [__ASSUME_32BITUIDS]: Make code unconditional.
32356 [!__ASSUME_32BITUIDS]: Remove conditional code.
32357 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32358 <kernel-features.h>.
32359 [__ASSUME_32BITUIDS]: Make code unconditional.
32360 [!__ASSUME_32BITUIDS]: Remove conditional code.
32361 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32362 <kernel-features.h>.
32363 [__ASSUME_32BITUIDS]: Make code unconditional.
32364 [!__ASSUME_32BITUIDS]: Remove conditional code.
32365 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32366 <kernel-features.h>.
32367 [__ASSUME_32BITUIDS]: Make code unconditional.
32368 [!__ASSUME_32BITUIDS]: Remove conditional code.
32369 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32370 <kernel-features.h>.
32371 [__ASSUME_32BITUIDS]: Make code unconditional.
32372 [!__ASSUME_32BITUIDS]: Remove conditional code.
32373 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32374 <kernel-features.h>.
32375 [__ASSUME_32BITUIDS]: Make code unconditional.
32376 [!__ASSUME_32BITUIDS]: Remove conditional code.
32377 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32378 <kernel-features.h>.
32379 [__ASSUME_32BITUIDS]: Make code unconditional.
32380 [!__ASSUME_32BITUIDS]: Remove conditional code.
32381 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32382 <kernel-features.h>.
32383 [__ASSUME_32BITUIDS]: Make code unconditional.
32384 [!__ASSUME_32BITUIDS]: Remove conditional code.
32385 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32386 <kernel-features.h>.
32387 [__NR_setresgid] (__setresgid): Do not declare.
32388 [__ASSUME_32BITUIDS]: Make code unconditional.
32389 [!__ASSUME_32BITUIDS]: Remove conditional code.
32390 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32391 <kernel-features.h>.
32392 [__NR_setresuid] (__setresuid): Do not declare.
32393 [__ASSUME_32BITUIDS]: Make code unconditional.
32394 [!__ASSUME_32BITUIDS]: Remove conditional code.
32395 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32396 <kernel-features.h>.
32397 [__ASSUME_32BITUIDS]: Make code unconditional.
32398 [!__ASSUME_32BITUIDS]: Remove conditional code.
32399 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32400 <kernel-features.h>.
32401 [__ASSUME_32BITUIDS]: Make code unconditional.
32402 [!__ASSUME_32BITUIDS]: Remove conditional code.
32403 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32404 <kernel-features.h>.
32405 [__ASSUME_32BITUIDS]: Make code unconditional.
32406 [!__ASSUME_32BITUIDS]: Remove conditional code.
32407 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32408 <kernel-features.h>.
32409 [__ASSUME_32BITUIDS]: Make code unconditional.
32410 [!__ASSUME_32BITUIDS]: Remove conditional code.
32411 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32412 <kernel-features.h>.
32413 [__ASSUME_32BITUIDS]: Make code unconditional.
32414 [!__ASSUME_32BITUIDS]: Remove conditional code.
32415 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32416 <kernel-features.h>.
32417 [__ASSUME_32BITUIDS]: Make code unconditional.
32418 [!__ASSUME_32BITUIDS]: Remove conditional code.
32419 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32420 <kernel-features.h>.
32421 [__ASSUME_32BITUIDS]: Make code unconditional.
32422 [!__ASSUME_32BITUIDS]: Remove conditional code.
32423 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32424 <kernel-features.h>.
32425 [__ASSUME_32BITUIDS]: Make code unconditional.
32426 [!__ASSUME_32BITUIDS]: Remove conditional code.
32427 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32428 <kernel-features.h>.
32429 [__ASSUME_32BITUIDS]: Make code unconditional.
32430 [!__ASSUME_32BITUIDS]: Remove conditional code.
32431 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32432 <kernel-features.h>.
32433 [__ASSUME_32BITUIDS]: Make code unconditional.
32434 [!__ASSUME_32BITUIDS]: Remove conditional code.
32435 * sysdeps/unix/sysv/linux/kernel-features.h
32436 (__ASSUME_SETRESUID_SYSCALL): Remove.
32437 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32438 (__ASSUME_32BITUIDS): Likewise.
32439 (__ASSUME_LDT_WORKS): Likewise.
32440 (__ASSUME_O_DIRECTORY): Likewise.
32441 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32442 architecture but not kernel version.
32443 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32444 (__ASSUME_MMAP2_SYSCALL): Likewise.
32445 (__ASSUME_STAT64_SYSCALL): Likewise.
32446 (__ASSUME_IPC64): Likewise.
32447 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32448 <kernel-features.h>.
32449 [__ASSUME_32BITUIDS]: Make code unconditional.
32450 [!__ASSUME_32BITUIDS]: Remove conditional code.
32451 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32452 <kernel-features.h>.
32453 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32454 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32455 132096]: Remove conditional code.
32456 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32457 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32458 <kernel-features.h>.
32459 [__ASSUME_32BITUIDS]: Make code unconditional.
32460 [!__ASSUME_32BITUIDS]: Remove conditional code.
32461 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32462 <kernel-features.h>.
32463 [__ASSUME_32BITUIDS]: Make code unconditional.
32464 [!__ASSUME_32BITUIDS]: Remove conditional code.
32465 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32466 <kernel-features.h>.
32467 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32469 (__setresgid): Do not declare.
32470 [__ASSUME_32BITUIDS]: Make code unconditional.
32471 [!__ASSUME_32BITUIDS]: Remove conditional code.
32472 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32473 <kernel-features.h>.
32474 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32476 (__setresuid): Do not declare.
32477 [__ASSUME_32BITUIDS]: Make code unconditional.
32478 [!__ASSUME_32BITUIDS]: Remove conditional code.
32479 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32480 <kernel-features.h>.
32481 [__ASSUME_32BITUIDS]: Make code unconditional.
32482 [!__ASSUME_32BITUIDS]: Remove conditional code.
32483 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32484 <kernel-features.h>.
32485 [__ASSUME_32BITUIDS]: Make code unconditional.
32486 [!__ASSUME_32BITUIDS]: Remove conditional code.
32488 2012-05-25 Richard Henderson <rth@twiddle.net>
32490 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32491 dl_hwcap to ifunc resolver.
32492 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32494 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32495 dl_hwcap to ifunc resolver.
32496 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32498 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32501 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32502 for |x| <= 2**-26, not 2**-57.
32503 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32506 2012-05-24 Jeff Law <law@redhat.com>
32508 * stdio-common/Makefile (tests): Add bug25.
32509 * stdio-common/bug25.c: New test.
32511 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32514 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32515 multiple of MALLOC_ALIGNMENT in size.
32516 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32518 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32520 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32522 (FILENAME_MAX): Use macro-int-constant.
32523 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32524 (_IOFBF): Use macro-int-constant.
32525 (_IOLBF): Likewise.
32526 (_IONBF): Likewise.
32527 (SEEK_CUR): Likewise.
32528 (SEEK_END): Likewise.
32529 (SEEK_SET): Likewise.
32530 (TMP_MAX): Likewise.
32531 (EOF): Use macro-int-constant. Require < 0.
32532 (NULL): Use macro-constant. Require == 0.
32533 (stdin): Require type to be FILE *.
32534 (stdout): Likewise.
32535 (stderr): Likewise.
32536 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32537 macro-int-constant.
32538 (EXIT_SUCCESS): Likewise.
32539 (NULL): Use macro-constant. Require == 0.
32540 (RAND_MAX): Use macro-int-constant.
32541 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32542 [C99-based standards] (strtof): Require function.
32543 [C99-based standards] (strtold): Likewise.
32544 [C99-based standards] (strtoll): Likewise.
32545 [C99-based standards] (strtoull): Likewise.
32546 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32547 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32548 [ISO || ISO99 || ISO11] (math.h): Likewise.
32549 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32550 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32551 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32553 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32556 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32557 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32558 * intl/dgettext.c (DCGETTEXT): Likewise.
32559 * intl/gettext.c (DCGETTEXT): Likewise.
32560 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32561 * posix/regex_internal.h (gettext): Likewise.
32562 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32563 Remove declaration.
32564 * include/argz.h (__argz_count_internal)
32565 (__argz_stringify_internal): Remove declaration.
32566 (__argz_count, __argz_stringify): Declare hidden proto.
32567 * intl/dcgettext.c: Remove use of INTDEF.
32568 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32569 * string/argz-stringify.c: Likewise.
32570 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32571 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32572 Declare hidden proto.
32573 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32574 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32575 Declare hidden proto.
32576 * include/stdio.h (__asprintf_internal): Don't declare.
32577 (__asprintf): Don't define as macro. Declare hidden proto.
32578 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32579 (__fsetlocking): Declare hidden proto.
32580 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32581 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32583 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32584 (_IO_setlinebuf): Remove use of INTUSE.
32585 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32586 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32587 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32588 Remove declaration.
32589 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32590 (_IO_do_flush): Remove use of INTUSE.
32591 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32592 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32593 (_IO_adjust_column, _IO_least_wmarker)
32594 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32595 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32596 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32597 (_IO_default_doallocate, _IO_wdefault_doallocate)
32598 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32599 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32600 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32601 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32602 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32603 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32604 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32605 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32606 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32607 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32608 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32609 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32610 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32612 (_IO_flush_all_internal, _IO_adjust_column_internal)
32613 (_IO_default_uflow_internal, _IO_default_finish_internal)
32614 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32615 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32616 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32617 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32618 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32619 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32620 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32621 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32622 (_IO_file_close_internal, _IO_file_close_it_internal)
32623 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32624 (_IO_file_init_internal, _IO_file_attach_internal)
32625 (_IO_file_fopen_internal, _IO_file_read_internal)
32626 (_IO_file_sync_internal, _IO_file_seek_internal)
32627 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32628 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32629 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32630 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32631 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32632 (_IO_list_all_internal, _IO_link_in_internal)
32633 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32634 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32635 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32636 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32637 (_IO_do_write_internal, _IO_padn_internal)
32638 (_IO_getline_info_internal, _IO_getline_internal)
32639 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32640 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32641 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32642 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32643 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32644 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32645 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32646 with libc_hidden_ver, remove use of INTUSE.
32647 * libio/genops.c: Likewise.
32648 * libio/freopen.c: Likewise.
32649 * libio/freopen64.c: Likewise.
32650 * libio/iofclose.c: Likewise.
32651 * libio/iofdopen.c: Likewise.
32652 * libio/iofflush.c: Likewise.
32653 * libio/iofflush_u.c: Likewise.
32654 * libio/iofgets.c: Likewise.
32655 * libio/iofgets_u.c: Likewise.
32656 * libio/iofopen.c: Likewise.
32657 * libio/iofopncook.c: Likewise.
32658 * libio/iofread.c: Likewise.
32659 * libio/iofread_u.c: Likewise.
32660 * libio/ioftell.c: Likewise.
32661 * libio/iofwrite.c: Likewise.
32662 * libio/iogetline.c: Likewise.
32663 * libio/iogets.c: Likewise.
32664 * libio/iogetwline.c: Likewise.
32665 * libio/iopadn.c: Likewise.
32666 * libio/iopopen.c: Likewise.
32667 * libio/ioseekoff.c: Likewise.
32668 * libio/ioseekpos.c: Likewise.
32669 * libio/iosetbuffer.c: Likewise.
32670 * libio/iosetvbuf.c: Likewise.
32671 * libio/ioungetc.c: Likewise.
32672 * libio/ioungetwc.c: Likewise.
32673 * libio/iovdprintf.c: Likewise.
32674 * libio/iovsprintf.c: Likewise.
32675 * libio/iovsscanf.c: Likewise.
32676 * libio/memstream.c: Likewise.
32677 * libio/obprintf.c: Likewise.
32678 * libio/oldfileops.c: Likewise.
32679 * libio/oldiofclose.c: Likewise.
32680 * libio/oldiofdopen.c: Likewise.
32681 * libio/oldiofopen.c: Likewise.
32682 * libio/oldiopopen.c: Likewise.
32683 * libio/oldstdfiles.c: Likewise.
32684 * libio/putc.c: Likewise.
32685 * libio/setbuf.c: Likewise.
32686 * libio/setlinebuf.c: Likewise.
32687 * libio/stdfiles.c: Likewise.
32688 * libio/strops.c: Likewise.
32689 * libio/vasprintf.c: Likewise.
32690 * libio/vscanf.c: Likewise.
32691 * libio/vsnprintf.c: Likewise.
32692 * libio/vswprintf.c: Likewise.
32693 * libio/wfiledoalloc.c: Likewise.
32694 * libio/wfileops.c: Likewise.
32695 * libio/wgenops.c: Likewise.
32696 * libio/wmemstream.c: Likewise.
32697 * libio/wstrops.c: Likewise.
32698 * libio/__fpurge.c: Likewise.
32699 * libio/__fsetlocking.c: Likewise.
32700 * assert/assert.c: Likewise.
32701 * debug/fgets_chk.c: Likewise.
32702 * debug/fgets_u_chk.c: Likewise.
32703 * debug/fread_chk.c: Likewise.
32704 * debug/fread_u_chk.c: Likewise.
32705 * debug/gets_chk.c: Likewise.
32706 * debug/obprintf_chk.c: Likewise.
32707 * debug/vasprintf_chk.c: Likewise.
32708 * debug/vdprintf_chk.c: Likewise.
32709 * debug/vsnprintf_chk.c: Likewise.
32710 * debug/vsprintf_chk.c: Likewise.
32711 * malloc/mtrace.c: Likewise.
32712 * misc/error.c: Likewise.
32713 * misc/syslog.c: Likewise.
32714 * stdio-common/asprintf.c: Likewise.
32715 * stdio-common/fxprintf.c: Likewise.
32716 * stdio-common/getw.c: Likewise.
32717 * stdio-common/isoc99_fscanf.c: Likewise.
32718 * stdio-common/isoc99_scanf.c: Likewise.
32719 * stdio-common/isoc99_vfscanf.c: Likewise.
32720 * stdio-common/isoc99_vscanf.c: Likewise.
32721 * stdio-common/isoc99_vsscanf.c: Likewise.
32722 * stdio-common/printf-prs.c: Likewise.
32723 * stdio-common/printf_fp.c: Likewise.
32724 * stdio-common/printf_fphex.c: Likewise.
32725 * stdio-common/printf_size.c: Likewise.
32726 * stdio-common/putw.c: Likewise.
32727 * stdio-common/scanf.c: Likewise.
32728 * stdio-common/sprintf.c: Likewise.
32729 * stdio-common/tmpfile.c: Likewise.
32730 * stdio-common/vfprintf.c: Likewise.
32731 * stdio-common/vfscanf.c: Likewise.
32732 * stdlib/strfmon_l.c: Likewise.
32733 * sunrpc/openchild.c: Likewise.
32734 * sunrpc/xdr_stdio.c: Likewise.
32735 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32736 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32738 2012-05-24 Roland McGrath <roland@hack.frob.com>
32740 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32742 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32743 in the third column, to generate for the shared library an IFUNC
32744 that uses _dl_vdso_vsym.
32745 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32746 * Makeconfig (object-suffixes-noshared): New variable.
32748 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32749 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32750 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32751 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32754 * include/sys/time.h (__gettimeofday): Remove macro.
32755 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32756 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32758 (__gettimeofday): Add libc_hidden_def.
32759 (gettimeofday): Add libc_hidden_weak.
32760 * sysdeps/mach/gettimeofday.c: Likewise.
32761 * sysdeps/posix/gettimeofday.c: Likewise.
32762 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32763 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32764 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32765 (__gettimeofday_internal): Remove strong_alias.
32766 (__gettimeofday): Add libc_hidden_def.
32767 (gettimeofday): Add libc_hidden_weak.
32768 * sysdeps/unix/syscalls.list (gettimeofday):
32769 Remove __gettimeofday_internal alias.
32771 2012-05-24 Daniel Jacobowitz <drow@false.org>
32772 H.J. Lu <hongjiu.lu@intel.com>
32775 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32776 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32777 (largebin_index_32_big): New.
32778 (largebin_index): Use it for 16-byte alignment.
32779 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32780 correction with front_misalign.
32782 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32793 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32797 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32801 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32810 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32811 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32813 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32817 * math/libm-test.inc (exp_test): Add test from bug 14036.
32818 (pow_test): Add test from bug 10846.
32820 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32822 (special_function): Do not include flags in test name.
32823 (parse_args): Likewise.
32824 * sysdeps/i386/fpu/libm-test-ulps: Update.
32825 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32826 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32827 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32830 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32832 * math/libm-test.inc ("Philosophy"): Update comment about
32834 (UNDERFLOW_EXCEPTION): New macro.
32835 (UNDERFLOW_EXCEPTION_OK): Likewise.
32836 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32837 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32838 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32839 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32840 (INVALID_EXCEPTION_OK): Update value.
32841 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32842 (OVERFLOW_EXCEPTION_OK): Likewise.
32843 (IGNORE_ZERO_INF_SIGN): Likewise.
32844 (test_exceptions): Handle underflow exceptions.
32845 (acos_test): Update for underflow exception expectations.
32846 (cexp_test): Likewise.
32847 (clog_test): Likewise.
32848 (clog10_test): Likewise.
32849 (csqrt_test): Likewise.
32850 (ctan_test): Likewise.
32851 (ctanh_test): Likewise.
32852 (exp_test): Likewise.
32853 (exp10_test): Likewise.
32854 (exp2_test): Likewise.
32855 (expm1_test): Likewise.
32856 (fma_test): Likewise.
32857 (j0_test): Likewise.
32858 (jn_test): Likewise.
32859 (nexttoward_test): Likewise.
32860 (pow_test): Likewise.
32861 (scalbn_test): Likewise.
32862 (scalbln_test): Likewise.
32863 (tan_test): Likewise.
32864 (y1_test): Likewise.
32865 * sysdeps/i386/fpu/libm-test-ulps: Update.
32866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32868 2012-05-23 David S. Miller <davem@davemloft.net>
32870 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32871 (__libc_sigaction): Remove unused local variables.
32873 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32875 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32877 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32879 mktime: avoid signed integer overflow
32880 * time/mktime.c (__mktime_internal): Do not mishandle the case
32881 where diff == INT_MIN.
32883 mktime: simplify computation of average
32884 * time/mktime.c (ranged_convert): Use new time_t_avg function
32885 instead of rolling our own (probably-slower) code.
32887 mktime: do not assume signed right shift propagates sign bit
32888 * time/mktime.c (isdst_differ): New static function.
32889 (__mktime_internal): No need to normalize tm_isdst now.
32890 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32893 mktime: merge another wrapv change from gnulib
32894 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32895 from some compilers.
32897 mktime: remove incorrect attempt at unusual arithmetics
32898 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32899 The code didn't really work on such machines anyway.
32900 (TYPE_MINIMUM): Assume two's complement.
32901 (twos_complement_arithmetic): Verify that long_int and time_t
32902 are two's complement (or unsigned, in the latter case).
32904 mktime: check signed shifts on long_int and time_t, too
32905 * time/mktime.c (SHR): Check that shifts work as desired
32906 on the types long_int and time_t too, as SHR is used on
32909 mktime: do not assume 'long' is wide enough
32910 * time/mktime.c (verify): Move decl up.
32911 (long_int): New type.
32912 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32913 to remove assumption in the code that 'long' is wide enough to
32914 store year values. This assumption is not true on x32 and on
32915 some non-glibc platforms.
32917 mktime: merge wrapv change from gnulib
32918 * time/mktime.c (WRAPV): New macro.
32919 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32920 (guess_time_tm, __mktime_internal): Do not assume that signed
32921 integer overflow wraps around; modern compilers generate code
32922 where this assumption is no longer valid.
32924 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32926 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32927 Replace "jmp L(pseudo_end)" with "ret".
32928 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32931 2012-05-23 Andreas Jaeger <aj@suse.de>
32933 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32934 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32936 2012-05-23 Andreas Jaeger <aj@suse.de>
32937 Maximilian Attems <max@stro.at>
32939 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32942 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32944 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32945 code so that pseudo_end is just ret and the stack pointer is
32946 correct also for static library in error case.
32948 2012-05-23 Joseph Myers <joseph@codesourcery.com>
32950 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32951 move to syscalls.list.
32952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32957 * manual/install.texi (Running make install): Do not mention Linux
32958 kernel version for which pt_chown is not needed.
32959 (Linux): Do not mention problems with nscd with 2.0 kernels.
32960 * INSTALL: Regenerated.
32962 2012-05-23 Andreas Jaeger <aj@suse.de>
32964 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32965 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32967 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32968 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32969 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32970 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32971 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32972 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32973 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32974 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32975 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32976 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32977 * sysdeps/unix/sysv/linux/bits/in.h
32978 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32980 2012-05-22 Roland McGrath <roland@hack.frob.com>
32982 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32983 (PREPARE_VERSION): Just use assert instead, it will be elided
32984 under [NDEBUG] anyway.
32986 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32988 * sysdeps/unix/sysv/linux/Makefile: Include
32989 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32990 (sysdep_routines): Remove sysctl.
32991 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32992 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32993 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32994 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32995 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32997 2012-05-22 Andreas Jaeger <aj@suse.de>
32999 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33000 that pseudo_end is just ret and the stack pointer is correct also
33001 for static library in error case.
33003 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33006 * nss/nsswitch.c (defconfig_entries): New variable.
33007 (__nss_database_lookup): Don't leak defconfig entries.
33008 (nss_parse_service_list): Don't leak on error paths.
33009 (free_database_entries): New function.
33010 (free_defconfig): New function.
33011 (free_mem): Move common code to free_database_entries.
33013 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33015 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33017 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33019 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33020 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33021 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33023 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33024 (INTERNAL_SYSCALL_TYPES): Likewise.
33025 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33026 (LOAD_REGS_TYPES_[1-6]): Likewise.
33027 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33028 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33030 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33032 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33033 copysignl for GLIBC_2_0.
33034 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33035 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33036 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33037 logbl for GLIBC_2_0.
33038 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33039 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33041 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33043 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33044 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33046 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33049 * time/mktime.c: Update copyright years.
33051 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33053 mktime: merge comment-quoting-style change from gnulib
33054 * time/mktime.c: Quote 'like this' in comments.
33055 The GNU coding standards suggest that we no longer quote `like this',
33056 as "`" and "'" are typically rendered asymmetrically nowadays.
33057 The typical gnulib style is to quote 'like this' when quoting
33058 code, and "like this" when quoting English.
33060 * time/mktime.c (compile-command): Add "-I.".
33062 mktime: merge mktime-internal.h change from gnulib
33063 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33065 mktime: merge time_r change from gnulib
33066 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33068 mktime: merge DEBUG change from gnulib
33069 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33070 case system <time.h> has a #define.
33072 mktime: merge <sys/types.h> change from gnulib
33073 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33074 since <time.t> is now guaranteed to define time_t.
33076 mktime: merge HAVE_CONFIG_H change from gnulib
33077 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33079 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33081 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33084 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33086 (struct rusage): Use anonymous union to pad each field to
33089 2012-05-21 David S. Miller <davem@davemloft.net>
33091 * Makefules (o-iterator): Remove .s cases.
33092 (compile-command.s): Delete.
33093 (COMPILE.s): Delete.
33094 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33096 2012-05-21 Joseph Myers <joseph@codesourcery.com>
33098 * configure.in (libc_cv_predef_stack_protector): Only consider
33099 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33100 * configure: Regenerated.
33102 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33104 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33105 New macro. Use R*LP on int and pointer.
33106 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33107 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33108 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33109 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33111 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33112 [__WORDSIZE_TIME64_COMPAT32] instead of
33113 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33114 (struct utmp): Likewise.
33115 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33116 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33118 (__WORDSIZE_TIME64_COMPAT32): This.
33119 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33120 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33121 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33122 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33123 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33124 (__WORDSIZE_TIME64_COMPAT32): New macro.
33126 2012-05-21 Andreas Jaeger <aj@suse.de>
33128 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33129 only if [SHARED]. Add prototype for __wcschr_ia32.
33131 2012-05-21 Roland McGrath <roland@hack.frob.com>
33133 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33134 of %rbp unmolested in the jmp_buf while mangling the low bits.
33135 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33136 unmolested high bits of %rbp while demangling the low bits.
33137 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33139 2012-05-21 Andreas Jaeger <aj@suse.de>
33141 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33142 * sunrpc/svc_simple.c: Use it for registerrpc.
33143 * sunrpc/xcrypt.c: Use it for passwd2des.
33145 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33147 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33149 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33150 Don't define if [__SYSCALL_WORDSIZE != 32].
33151 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33154 2012-05-21 Bruno Haible <bruno@clisp.org>
33155 Andreas Jaeger <aj@suse.de>
33157 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33158 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33159 inptr and inend for must_buffer_ch.
33160 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33161 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33162 * stdio-common/Makefile (tests): Remove bug15.
33163 (bug15-ENV): Remove macro.
33164 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33167 2012-05-19 Andreas Jaeger <aj@suse.de>
33168 Roland McGrath <roland@hack.frob.com>
33170 * manual/contrib.texi: Completely rewritten. It contains now an
33171 alphabetical list of contributors and their contributions.
33173 2012-05-21 Richard Henderson <rth@twiddle.net>
33175 * misc/getauxval.c (__getauxval): Use unsigned long int.
33176 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33177 (getauxval): Use unsigned long int.
33179 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33181 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33183 2012-05-21 Roland McGrath <roland@hack.frob.com>
33185 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33186 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33187 __alignof__ (long double).
33189 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33193 2012-05-20 Richard Henderson <rth@twiddle.net>
33195 * misc/getauxval.c: New file.
33196 * misc/sys/auxv.h: New file.
33197 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33198 (routines): Add getauxval.
33199 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33200 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33201 * elf/dl-sysdep.c (_dl_auxv): Remove.
33202 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33203 * elf/dl-support.c (_dl_auxv): New variable.
33204 (_dl_aux_init): Initialize it.
33205 * manual/startup.texi (Auxiliary Vector): New node.
33206 * sysdeps/generic/bits/hwcap.h: New file.
33207 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33208 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33209 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33210 * sysdeps/sparc/sysdep.h: ... here. Include it.
33211 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33212 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33218 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33224 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33228 2012-05-19 David S. Miller <davem@davemloft.net>
33230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33232 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33235 * math/s_ccosh.c: Include <float.h>
33236 (__ccosh): Avoid internal overflow calculating sinh and cosh
33237 values before multiplying by sin and cos values.
33238 * math/s_ccoshf.c: Likewise.
33239 * math/s_ccoshl.c: Likewise.
33240 * math/s_csin.c: Likewise.
33241 * math/s_csinf.c: Likewise.
33242 * math/s_csinl.c: Likewise.
33243 * math/s_csinh.c: Likewise.
33244 * math/s_csinhf.c: Likewise.
33245 * math/s_csinhl.c: Likewise.
33246 * math/libm-test.inc (ccos_test): Add more tests.
33247 (ccosh_test): Likewise.
33248 (csin_test): Likewise.
33249 (csinh_test): Likewise.
33250 * sysdeps/i386/fpu/libm-test-ulps: Update.
33251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33253 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33255 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33256 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33258 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33260 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33262 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33263 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33264 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33265 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33266 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33267 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33268 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33269 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33270 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33271 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33272 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33273 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33274 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33275 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33276 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33277 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33278 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33279 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33280 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33281 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33282 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33283 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33284 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33285 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33286 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33287 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33288 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33289 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33290 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33291 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33292 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33294 2012-05-18 Andreas Jaeger <aj@suse.de>
33296 * csu/.gitignore: Delete.
33298 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33300 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33301 (timex): Use __syscall_slong_t.
33303 2012-05-18 Andreas Jaeger <aj@suse.de>
33304 Carlos O'Donell <carlos_odonell@mentor.com>
33306 * manual/install.texi (Configuring and compiling): Update
33307 description about files modified in the source directory.
33308 * INSTALL: Regenerated.
33310 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33312 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33313 value. Use "or" to set return value to -1.
33314 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33315 negate return value.
33317 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33319 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33320 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33321 failure if the compiler has Graphite support disabled.
33322 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33324 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33325 (CFLAGS-memmove.c): Likewise.
33326 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33329 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33331 * sysdeps/x86_64/x32/_itoa.h: New file.
33333 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33334 getdents system call only if kernel and user dirents have the
33335 same d_ino and d_off.
33337 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33338 LLONG_MAX != LONG_MAX.
33339 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33340 (_fitoa_word): Likewise.
33342 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33344 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33345 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33346 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33348 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33349 include <bits/wordsize.h>. Check __x86_64__ instead of
33351 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33352 if __x86_64__ is defined. Use anonymous union on fpstate.
33354 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33357 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33359 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33360 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33361 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33362 Refer to _rtld_local_ro instead of _rtld_global_ro.
33363 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33365 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33367 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33369 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33370 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33371 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33373 * sysdeps/powerpc/powerpc32/dl-machine.c
33374 (__elf_machine_runtime_setup) [PROF]: Don't reference
33377 2012-05-18 Andreas Jaeger <aj@suse.de>
33379 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33380 function only available for GCCs before 3.4 since GCC 3.4
33381 introduced a builtin.
33383 (llrintf): Likewise.
33384 (llrint): Likewise.
33391 (nearbyint): Likewise.
33392 (nearbyintf): Likewise.
33396 (floorf): Likewise.
33398 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33400 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33401 on both fields and cast pointer to __syscall_ulong_t.
33403 * bits/types.h (__fsword_t): New type.
33404 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33405 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33406 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33407 (__FSWORD_T_TYPE): Likewise.
33408 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33409 (__FSWORD_T_TYPE): Likewise.
33410 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33411 (__FSWORD_T_TYPE): Likewise.
33412 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33413 (__FSWORD_T_TYPE): Likewise.
33414 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33415 __SWORD_TYPE with __fsword_t.
33416 (statfs64): Likewise.
33418 2012-05-17 David S. Miller <davem@davemloft.net>
33420 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33422 2012-05-17 Andreas Jaeger <aj@suse.de>
33424 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33427 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33429 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33431 2012-05-17 Andreas Jaeger <aj@suse.de>
33433 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33436 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33438 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33440 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33442 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33443 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33445 2012-05-17 Andreas Jaeger <aj@suse.de>
33446 Carlos O'Donell <carlos_odonell@mentor.com>
33449 * sysdeps/x86_64/multiarch/init-arch.h
33450 (bit_YMM_Usable): Rename to...
33451 (bit_AVX_Usable): ... this.
33452 (bit_FMA4_Usable): New macro.
33453 (bit_XMM_state): New macro.
33454 (bit_YMM_state): New macro.
33455 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33456 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33457 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33458 (CPUID_OSXSAVE): New macro.
33459 (CPUID_AVX): New macro.
33460 (CPUID_FMA4): New macro.
33461 (index_YMM_Usable): Rename to...
33462 (index_AVX_Usable): ... this.
33463 (HAS_AVX): Use HAS_ARCH_FEATURE.
33464 (HAS_FMA4): Likewise.
33465 (HAS_YMM_USABLE): Remove.
33466 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33467 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33469 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33470 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33471 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33472 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33473 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33475 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33477 * math/libm-test.c: Support platforms without multiple rounding modes.
33478 * math/bug-nextafter.c: Support platforms without FP exceptions.
33479 * math/bug-nexttoward.c: Likewise.
33480 * math/test-fenv.c: Likewise.
33481 * math/test-misc.c: Likewise.
33482 * stdlib/bug-getcontext.c: Likewise.
33484 2012-05-17 Andreas Jaeger <aj@suse.de>
33486 * manual/examples/search.c (critter_cmp): Change signature to
33488 * manual/string.texi (Collation Functions): Likewise.
33490 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33492 * bits/types.h: Fold copyright years.
33493 * bits/typesizes.h: Likewise.
33494 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33495 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33496 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33497 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33498 * time/time.h: Likewise.
33500 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33503 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33504 in instead of returning them. Return void.
33505 (__libc_mallinfo): Accumulate over all arenas.
33506 (__malloc_stats): Adjust for change in int_mallinfo interface.
33508 2012-05-16 Roland McGrath <roland@hack.frob.com>
33511 * configure.in (NM): Add AC_CHECK_TOOL for it.
33512 (libc_extra_cflags): New substituted variable.
33513 Check for -fstack-protector being used implicitly.
33514 * configure: Regenerated.
33515 * config.make.in (config-extra-cflags): New variable,
33516 gets @libc_extra_cflags@.
33517 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33520 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33521 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33522 * configure: Regenerated.
33523 * config.make.in (CPPUNDEFS): New substituted variable.
33524 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33525 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33526 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33528 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33530 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33531 (mq_attr): Use __syscall_slong_t.
33533 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33535 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33536 Check __x86_64__ instead of __WORDSIZE.
33537 (_STAT_VER_LINUX): Likewise.
33538 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33539 __syscall_ulong_t and __syscall_slong_t.
33540 (stat64): Likewise.
33542 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33544 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33546 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33548 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33550 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33552 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33555 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33556 include <bits/wordsize.h>. Check __x86_64__ instead of
33558 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33560 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33562 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33563 include <bits/wordsize.h>. Check __x86_64__ instead of
33565 (user_regs_struct): Use "__extension__ unsigned long long"
33566 instead of "unsigned long" if __x86_64__ is defined.
33567 (user): Likewise. Pad after pointer field if __ILP32__ is
33570 2012-05-16 Joseph Myers <joseph@codesourcery.com>
33572 * configure.in (makeinfo): Require version 4.5 or later. Allow
33574 * configure: Regenerated.
33575 * manual/install.texi (texinfo): Increase version requirement to
33577 * INSTALL: Regenerated.
33579 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33581 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33583 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33585 * sysdeps/x86_64/x32/ffs.c: New file.
33587 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33589 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33590 defined. Use __syscall_ulong_t.
33591 (shminfo): Use __syscall_ulong_t.
33592 (shm_info): Likewise.
33594 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33597 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33599 (msgqnum_t): Use __syscall_ulong_t.
33600 (msglen_t): Likewise.
33601 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33604 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33605 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33607 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33609 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33610 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33612 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33615 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33616 include <bits/wordsize.h>. Check __x86_64__ instead of
33619 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33620 "unsigned long long int" if __x86_64__ is defined.
33621 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33623 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33624 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33625 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33627 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33629 (GET_PC): Cast to uintptr_t first.
33630 (GET_FRAME): Likewise.
33631 (GET_STACK): Likewise.
33633 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33634 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33635 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33636 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33637 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33638 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33639 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33640 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33641 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33642 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33643 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33644 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33645 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33646 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33647 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33648 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33649 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33650 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33651 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33652 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33653 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33654 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33655 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33656 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33657 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33658 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33659 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33660 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33661 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33663 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33665 * Makerules (+depfiles): Also collect depfiles from .oS in
33667 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33668 .oS, $(libnldbl-routines)).
33670 * Makerules (native-compile-mkdep-flags): Define.
33671 * sunrpc/Makefile (extra-objs): Add $(addprefix
33672 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33673 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33674 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33675 calling $(make-target-directory).
33677 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33679 * bits/types.h (__snseconds_t): Removed.
33680 * time/time.h (struct timespec): Replace __snseconds_t with
33682 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33683 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33685 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33686 (__SNSECONDS_T_TYPE): Likewise.
33687 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33688 (__SNSECONDS_T_TYPE): Likewise.
33689 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33690 (__SNSECONDS_T_TYPE): Likewise.
33692 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33694 * sysdeps/mach/hurd/bits/typesizes.h
33695 (__SYSCALL_SLONG_TYPE): New macro.
33696 (__SYSCALL_ULONG_TYPE): Likewise.
33698 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33700 * bits/types.h (__syscall_slong_t): New type.
33701 (__syscall_ulong_t): Likewise.
33703 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33704 (__SYSCALL_ULONG_TYPE): Likewise.
33705 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33706 (__SYSCALL_SLONG_TYPE): Likewise.
33707 (__SYSCALL_ULONG_TYPE): Likewise.
33708 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33709 (__SYSCALL_SLONG_TYPE): Likewise.
33710 (__SYSCALL_ULONG_TYPE): Likewise.
33711 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33712 (__SYSCALL_SLONG_TYPE): Likewise.
33713 (__SYSCALL_ULONG_TYPE): Likewise.
33715 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33717 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33718 Add sigaltstack-offsets.sym.
33719 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33720 <sigaltstack-offsets.h>.
33721 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33722 longjmp_msg pointer.
33723 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33724 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33726 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33728 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33730 * elf/stackguard-macros.h: Remove file.
33731 * sysdeps/generic/stackguard-macros.h: New file.
33732 * sysdeps/i386/stackguard-macros.h: Likewise.
33733 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33734 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33735 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33736 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33737 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33738 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33739 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33740 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33741 <elf/stackguard-macros.h>.
33744 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33745 __aligned__ in attribute.
33746 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33747 (gregset_t): Likewise.
33749 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33751 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33752 * sysdeps/x86_64/64/Implies-after: Here. New file.
33753 * sysdeps/x86_64/x32/Implies-after: New file.
33755 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33757 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33758 and access return value for _dl_profile_fixup. Use R10_LP to
33761 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33763 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33765 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33767 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33768 * sysdeps/x86_64/x32/sysdep.h: New file.
33770 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33772 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33773 * sysdeps/x86_64/setjmp.S: Likewise.
33775 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33777 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33778 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33779 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33780 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33781 remove unused global constant.
33783 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33785 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33786 include of <not-cancel.h>.
33788 2012-05-15 Roland McGrath <roland@hack.frob.com>
33790 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33792 2012-05-15 Jeff Law <law@redhat.com>
33793 Andreas Jaeger <aj@suse.de>
33796 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33798 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33799 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33800 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33801 code changing __hst_map_handle.map.
33803 2012-05-15 Roland McGrath <roland@hack.frob.com>
33805 * configure.in (sysnames): Look for Implies-before and Implies-after
33807 * configure: Regenerated.
33809 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33811 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33812 8-byte data alignment with LP_SIZE alignment.
33814 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33816 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33819 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33821 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33823 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33825 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33826 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33827 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33829 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33831 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33833 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33834 (stackinfo_sub_sp): Likewise.
33836 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33838 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33841 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33843 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33846 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33848 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33851 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33853 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33855 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33857 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33858 into R11_LP and load __x86_64_shared_cache_size_half into
33861 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33863 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33866 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33868 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33870 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33872 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33874 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33875 powerpc32/power7/fpu/s_logb.c via #include.
33876 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33877 powerpc32/power7/fpu/s_logbf.c via #include.
33878 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33879 powerpc32/power7/fpu/s_logbl.c via #include.
33881 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33883 * README.libm: Remove file.
33885 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33887 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33888 count for x32. Use R*_LP and omit operand-size suffix.
33890 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33892 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33893 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33894 * sysdeps/x86_64/x32/shlib-versions: New file.
33896 2012-05-14 Roland McGrath <roland@hack.frob.com>
33898 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33899 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33900 Use _dl_fatal_printf instead.
33902 2012-05-14 Joseph Myers <joseph@codesourcery.com>
33904 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33905 set if not set by the user. Do not allow for being unset.
33906 * sysdeps/unix/sysv/linux/configure: Regenerated.
33908 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33910 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33911 the `q' suffix from lea and replace .quad with ASM_ADDR.
33913 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33915 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33916 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33918 (PTR_DEMANGLE): Likewise.
33920 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33922 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33924 (ASM_ADDR): Likewise.
33925 (RAX_LP): Likewise.
33926 (RBP_LP): Likewise.
33927 (RBX_LP): Likewise.
33928 (RCX_LP): Likewise.
33929 (RDI_LP): Likewise.
33930 (RSI_LP): Likewise.
33931 (RSP_LP): Likewise.
33934 (R10_LP): Likewise.
33935 (R10_LP): Likewise.
33936 (R11_LP): Likewise.
33937 (R12_LP): Likewise.
33938 (R13_LP): Likewise.
33939 (R14_LP): Likewise.
33940 (R15_LP): Likewise.
33942 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33944 * sysdeps/x86_64/x32/dl-machine.h: New file.
33946 2012-05-14 Andreas Jaeger <aj@suse.de>
33948 * manual/Makefile (subdir): Remove export of subdir.
33949 (all): Remove target.
33950 (.PHONY): Remove all from list.
33951 (mkinstalldirs): Remove.
33952 (.PHONY): Remove installdirs from list.
33953 ($(inst_infodir)/libc.info): Use make-target-directory.
33954 (installdirs): Remove.
33955 (subdir_%): Remove.
33956 (glibc-targets): Remove.
33959 ($(objpfx)stubs ../po/manual.pot): Remove.
33960 ($(objpfx)stamp%): Remove.
33961 (make-target-directory): Remove.
33962 (subdir_install): Remove.
33963 (routines): Remove.
33970 * manual/.gitignore: Remove, it's not needed anymore.
33971 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33973 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33975 (texis): Renamed to $(objpfx)texis.
33976 (texis-path): New, contains path to generated files.
33977 (chapters.%): Use texis-path for complete path, add extra argument
33979 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33980 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33981 (summary,texi, stamp-summary): Use complete path of
33982 files. Generate files in build dir.
33983 (dir-add.texi): Build in build dir.
33984 (libm-err.texi,stamp-libm-err): Likewise.
33985 (version.texi, stamp-version): Likewise.
33986 (.%c.texi): Likewise.
33987 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33988 (mostlyclean): Remove target.
33989 (realclean): Remove target.
33990 (generated): Add new variable with contents from mostlyclean and
33991 realclean, remove entries duplicated in common-mostlyclean, add
33992 stamp-libm-err and stamp-version.
33993 (generated-dirs): Add libc directory.
33994 ($(inst_infodir)/libc.info): Install files from build dir.
33996 * manual/install.texi (Configuring and compiling): Adjust since
33997 the info files are not part of the tar ball anymore.
33999 2012-05-14 Andreas Jaeger <aj@suse.de>
34001 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34004 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34007 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34008 to 2.2.0 where earlier.
34009 * sysdeps/unix/sysv/linux/configure: Regenerated.
34010 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34011 Remove conditional code.
34012 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34013 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34014 Remove conditional code.
34015 [!__NR_lchown]: Likewise.
34016 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34017 [__NR_lchown]: Likewise.
34018 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34019 comment referencing __ASSUME_LCHOWN_SYSCALL.
34020 * sysdeps/unix/sysv/linux/i386/sigaction.c
34021 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34022 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34023 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34024 Remove conditional code.
34025 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34026 (__protocol_available): Remove #if 0 code.
34027 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34029 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34030 * sysdeps/unix/sysv/linux/kernel-features.h
34031 (__ASSUME_GETCWD_SYSCALL): Don't define.
34032 (__ASSUME_REALTIME_SIGNALS): Likewise.
34033 (__ASSUME_PREAD_SYSCALL): Likewise.
34034 (__ASSUME_PWRITE_SYSCALL): Likewise.
34035 (__ASSUME_POLL_SYSCALL): Likewise.
34036 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34037 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34039 (__ASSUME_SIOCGIFNAME): Don't define.
34040 (__ASSUME_MSG_NOSIGNAL): Likewise.
34041 (__ASSUME_SENDFILE): Define unconditionally.
34042 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34043 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34045 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34046 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34047 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34048 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34049 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34050 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34051 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34053 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34054 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34056 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34057 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34059 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34060 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34062 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34063 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34065 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34066 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34068 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34069 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34071 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34072 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34074 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34075 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34076 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34077 Remove conditional code.
34078 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34079 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34080 Remove conditional code.
34081 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34082 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34083 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34084 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34085 Remove conditional code.
34086 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34087 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34088 Remove conditional code.
34089 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34090 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34091 Remove conditional code.
34092 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34093 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34094 Remove conditional code.
34095 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34096 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34097 Remove conditional code.
34098 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34099 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34100 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34101 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34102 * sysdeps/unix/sysv/linux/sigaction.c
34103 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34104 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34105 * sysdeps/unix/sysv/linux/sigpending.c
34106 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34107 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34108 * sysdeps/unix/sysv/linux/sigprocmask.c
34109 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34110 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34111 * sysdeps/unix/sysv/linux/sigsuspend.c
34112 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34113 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34114 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34115 (__libc_missing_rt_sigs): Remove.
34116 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34117 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34118 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34119 Remove conditional code.
34120 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34121 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34123 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34124 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34125 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34126 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34128 2012-05-14 Andreas Jaeger <aj@suse.de>
34130 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34131 it's not used in glibc.
34132 (__coshm1): Likewise.
34133 (__acosh1p): Likewise.
34136 * manual/string.texi (Copying and Concatenation): Add missing
34137 variable in concat example.
34138 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34140 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34143 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34144 __builtin_clzl with __builtin_clzll.
34146 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34149 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34152 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34154 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34155 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34156 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34157 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34159 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34161 * NEWS: Update ia64 info.
34163 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34165 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34168 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34170 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34171 * sysdeps/unix/syscalls.list (dup3): Likewise.
34172 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34173 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34175 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34177 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34178 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34180 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34182 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34184 (TLS_IE): Use mov/add instead of movq/addq to load thread
34186 (TLS_GD_PREFIX): New.
34189 2012-05-11 David S. Miller <davem@davemloft.net>
34191 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34192 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34193 (_FPU_SETCW): Likewise.
34195 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34197 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34198 is 32-byte aligned.
34200 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34203 * iconvdata/gb18030.c: Update tables.
34204 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34205 characters specially.
34206 (BODY for TO_LOOP): Add encoding of missing ranges.
34208 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34211 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34212 * sysdeps/mach/hurd/dup3.c: Likewise.
34213 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34214 * sysdeps/powerpc/memmove.c:: Likewise.
34216 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34218 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34219 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34221 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34223 * elf/elf.h (R_X86_64_RELATIVE64): New.
34224 (R_X86_64_NUM): Updated.
34225 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34226 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34227 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34228 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34229 tst-quad1pie tst-quad2pie
34230 (modules-names): Add tst-quadmod1 tst-quadmod2.
34231 ($(objpfx)tst-quad1): New dependency.
34232 ($(objpfx)tst-quad2): Likewise.
34233 ($(objpfx)tst-quad1pie): Likewise.
34234 ($(objpfx)tst-quad2pie): Likewise.
34235 * sysdeps/x86_64/tst-quad1.c: New file.
34236 * sysdeps/x86_64/tst-quad1pie.c: New file.
34237 * sysdeps/x86_64/tst-quad2.c: Likewise.
34238 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34239 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34240 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34241 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34242 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34244 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34246 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34247 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34248 * streams/stropts.h (t_scalar_t): Define type.
34250 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34251 (_PATH_PRESERVE): Set to "/var/lib".
34252 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34254 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34257 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34258 if __dir_mkfile succeeded.
34260 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34261 checking for _hurd_dtablesize. Unlock it right after having
34262 finished _hurd_dtable allocation.
34264 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34266 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34267 * sysdeps/mach/hurd/configure: Regenerated.
34268 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34269 special-casing to...
34270 * sysdeps/gnu/configure.in: ... this new file.
34271 * sysdeps/unix/sysv/linux/configure: Regenerated.
34272 * sysdeps/gnu/configure: New generated file.
34274 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34275 for Linux: use nsec instead of usec, as well as:
34276 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34277 members of type struct timespec.
34278 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34280 (struct stat64): Likewise.
34281 (_STATBUF_ST_NSEC): New macro.
34282 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34284 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34285 __strtoul_internal rather than strtoul.
34287 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34289 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34292 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34294 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34295 which preserves existing values.
34296 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34298 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34300 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34301 TIMEOUT values. Return EINVAL for NFDS values either negative or
34302 greater than FD_SETSIZE.
34304 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34306 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34307 allocated, call __vm_protect to finish enabling the existing space, and
34308 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34309 allocate the remainder.
34311 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34313 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34314 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34316 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34318 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34319 sysdeps/mach/hurd/readlink.c.
34321 * posix/tst-sysconf.c (posix_options): Only use
34322 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34323 _POSIX_SYNCHRONIZED_IO when they are defined
34324 * sysdeps/mach/hurd/bits/posix_opt.h:
34325 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34326 (_XOPEN_REALTIME): Undefine macro.
34327 (_XOPEN_REALTIME_THREADS): Undefine macro.
34328 (_XOPEN_SHM): Undefine macro.
34329 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34331 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34333 (_POSIX_ASYNC_IO): Undefine macro.
34334 (_POSIX_PRIORITIZED_IO): Undefine macro.
34335 (_POSIX_SPIN_LOCKS): Define macro to -1.
34337 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34338 SA_NODEFER, SA_RESETHAND.
34339 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34340 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34343 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34345 * elf/Makefile (pldd-modules): Define unconditionally.
34347 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34349 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34351 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34353 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34354 Return ENOENT when name is empty.
34355 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34357 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34359 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34361 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34363 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34365 Fix mlock in all cases except non-readable pages.
34366 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34367 instead of VM_PROT_ALL as parameter to __vm_wire function.
34369 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34370 (__mkdir): When path is `/', just fail with EEXIST.
34371 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34373 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34375 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34376 <sys/uio.h> (for writev).
34377 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34378 and <sys/param.h> (for MIN).
34380 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34382 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34383 REQUESTED_TIME. Properly set the remaining time and return EINTR
34386 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34388 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34389 Depend on against $(link-rpcuserlibs).
34391 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34393 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34394 (__libc_stack_end): Do not use attribute_relro.
34395 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34396 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34397 to libthread-provided value.
34398 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34401 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34404 * bits/libc-lock.h (__libc_once_get): New macro.
34405 * sysdeps/mach/bits/libc-lock.h: Likewise.
34406 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34407 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34408 instead of using implementation details.
34410 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34411 * libio/freopen.c: Likewise.
34412 * libio/freopen64.c: Likewise.
34413 * misc/syslog.c: Likewise.
34414 * nscd/connections.c: Likewise.
34415 * nscd/netgroupcache.c: Likewise.
34416 * sysdeps/posix/getcwd.c: Likewise.
34418 2012-05-10 Roland McGrath <roland@hack.frob.com>
34420 * math/w_ilogbf.c: Add #include <limits.h>.
34422 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34424 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34425 path instead of returning without unlocking.
34427 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34428 immediate-write ioctls.
34429 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34431 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34433 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34434 __builtin_frame_address instead of making assumptions about the
34435 location of the return address relative to DATA. Force early load of
34436 the return address.
34437 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34438 __builtin_frame_address.
34441 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34442 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34443 implement dup3 and do some further code clean-ups.
34444 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34445 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34447 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34449 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34451 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34452 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34453 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34454 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34455 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34458 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34459 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34460 when handler == SIG_ERR, not when handler != SIG_ERR.
34462 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34464 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34465 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34468 accept4 for GNU Hurd.
34469 * include/sys/socket.h (__libc_accept4): New prototype.
34470 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34471 to implement __libc_accept4.
34472 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34474 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34476 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34477 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34478 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34479 signal-defines.sym.
34481 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34483 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34485 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34487 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34488 assertion on O_CLOEXEC flag.
34489 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34490 * hurd/intern-fd.c: Likewise.
34491 * hurd/port2fd.c: Likewise.
34493 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34496 * bits/in.h (IPV6_PKTINFO): Define new macro.
34497 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34499 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34504 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34505 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34506 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34507 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34508 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34509 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34510 * math/libm-test.inc (logb_test) : Additional logb tests.
34512 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34513 Andreas Jaeger <aj@suse.de>
34515 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34516 * configure: Regenerated.
34517 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34518 * config.make.in (link-obsolete-rpc): New substituted variable.
34519 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34520 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34521 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34522 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34523 so that libc.a contains the symbols.
34524 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34525 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34526 * sunrpc/auth_none.c: Likewise.
34527 * sunrpc/auth_unix.c: Likewise.
34528 * sunrpc/authdes_prot.c: Likewise.
34529 * sunrpc/authuxprot.c: Likewise.
34530 * sunrpc/clnt_gen.c: Likewise.
34531 * sunrpc/clnt_perr.c: Likewise.
34532 * sunrpc/clnt_raw.c: Likewise.
34533 * sunrpc/clnt_simp.c: Likewise.
34534 * sunrpc/clnt_tcp.c: Likewise.
34535 * sunrpc/clnt_udp.c: Likewise.
34536 * sunrpc/clnt_unix.c: Likewise.
34537 * sunrpc/des_crypt.c: Likewise.
34538 * sunrpc/des_soft.c: Likewise.
34539 * sunrpc/get_myaddr.c: Likewise.
34540 * sunrpc/key_call.c: Likewise.
34541 * sunrpc/key_prot.c: Likewise.
34542 * sunrpc/netname.c: Likewise.
34543 * sunrpc/pm_getmaps.c: Likewise.
34544 * sunrpc/pm_getport.c: Likewise.
34545 * sunrpc/pmap_clnt.c: Likewise.
34546 * sunrpc/pmap_prot.c: Likewise.
34547 * sunrpc/pmap_prot2.c: Likewise.
34548 * sunrpc/pmap_rmt.c: Likewise.
34549 * sunrpc/publickey.c: Likewise.
34550 * sunrpc/rpc_cmsg.c: Likewise.
34551 * sunrpc/rpc_common.c: Likewise.
34552 * sunrpc/rpc_dtable.c: Likewise.
34553 * sunrpc/rpc_prot.c: Likewise.
34554 * sunrpc/rpc_thread.c: Likewise.
34555 * sunrpc/rtime.c: Likewise.
34556 * sunrpc/svc.c: Likewise.
34557 * sunrpc/svc_auth.c: Likewise.
34558 * sunrpc/svc_raw.c: Likewise.
34559 * sunrpc/svc_run.c: Likewise.
34560 * sunrpc/svc_tcp.c: Likewise.
34561 * sunrpc/svc_udp.c: Likewise.
34562 * sunrpc/svc_unix.c: Likewise.
34563 * sunrpc/svcauth_des.c: Likewise.
34564 * sunrpc/xcrypt.c: Likewise.
34565 * sunrpc/xdr.c: Likewise.
34566 * sunrpc/xdr_array.c: Likewise.
34567 * sunrpc/xdr_float.c: Likewise.
34568 * sunrpc/xdr_intXX_t.c: Likewise.
34569 * sunrpc/xdr_mem.c: Likewise.
34570 * sunrpc/xdr_rec.c: Likewise.
34571 * sunrpc/xdr_ref.c: Likewise.
34572 * sunrpc/xdr_sizeof.c: Likewise.
34573 * sunrpc/xdr_stdio.c: Likewise.
34575 2012-05-10 Roland McGrath <roland@hack.frob.com>
34577 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34578 change. Update copyright years.
34580 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34582 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34584 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34585 Joseph Myers <joseph@codesourcery.com>
34586 Paul Pluzhnikov <ppluzhnikov@google.com>
34589 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34591 [cross-compiling] (extra-libs): Likewise.
34592 [cross-compiling] (extra-libs-others): Likewise.
34593 [cross-compiling] (librpcsvc-routines): Likewise.
34594 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34595 [cross-compiling] (omit-deps): Likewise.
34596 (sunrpc-CPPFLAGS): New variable.
34597 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34598 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34599 (cross-rpcgen-objs): New variable.
34600 (extra-objs): Append $(cross-rpcgen-objs).
34601 ($(cross-rpcgen-objs)): New rule.
34602 ($(objpfx)cross-rpcgen): Likewise.
34603 (rpcgen-cmd): Define to use $(built-program-file). Expand
34605 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34606 ($(objpfx)x%.stmp): Likewise.
34607 * sunrpc/proto.h [IS_IN_build] (_): Define.
34608 [IS_IN_build] (_libc_intl_domainname): Likewise.
34610 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34612 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34613 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34614 and R_X86_64_TPOFF64.
34616 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34618 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34619 sysdeps/unix/sysv/syscalls.list.
34622 * sysdeps/unix/sysv/syscalls.list: Remove file.
34624 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34627 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34628 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34629 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34630 (__LC_IDENTIFICATION): Make these macros useful in #if
34631 expressions, as required by C99.
34633 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34635 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34636 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34639 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34641 * stdlib/longlong.h: Updated from GCC.
34643 2012-05-09 Andreas Jaeger <aj@suse.de>
34645 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34646 default is first entry.
34647 (run_mode): Set type.
34648 (main): Remove informal message about syslog.
34649 (options): Fix typo.
34652 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34655 (llrintf): Likewise.
34656 (llrint): Likewise.
34659 (nearbyint): Likewise.
34660 (nearbyintf): Likewise.
34662 2012-05-09 Andreas Jaeger <aj@suse.de>
34663 Pedro Alves <palves@redhat.com>
34665 * nscd/nscd.c (run_mode): Use enum.
34666 (main): Cleanup coding style issue.
34668 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
34669 Andreas Jaeger <aj@suse.de>
34671 * nscd/nscd.c (go_background): Replaced with...
34672 (run_mode): ... this.
34673 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34674 (options): Add -F --foreground.
34675 (main): Implement it.
34676 (parse_opt): Parse it.
34678 2012-05-09 Andreas Jaeger <aj@suse.de>
34681 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34682 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34683 -Wconversion warning.
34684 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34687 2012-05-09 Joseph Myers <joseph@codesourcery.com>
34689 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34691 (LC_ALL): Use macro-int-constant.
34692 (LC_COLLATE): Likewise.
34693 (LC_CTYPE): Likewise.
34694 (LC_MESSAGES): Likewise.
34695 (LC_MONETARY): Likewise.
34696 (LC_NUMERIC): Likewise.
34697 (LC_TIME): Likewise.
34698 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34699 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34700 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34701 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34703 [C99-based standards] (float_t): Expect type.
34704 [C99-based standards] (double_t): Expect type.
34705 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34707 [C99-based standards] (HUGE_VALL): Likewise.
34708 [C99-based standards] (INFINITY): Likewise.
34709 [C99-based standards] (NAN): Likewise.
34710 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34711 [C99-based standards] (FP_NAN): Likewise.
34712 [C99-based standards] (FP_NORMAL): Likewise.
34713 [C99-based standards] (FP_SUBNORMAL): Likewise.
34714 [C99-based standards] (FP_ZERO): Likewise.
34715 [C99-based standards] (FP_FAST_FMA): Use
34716 optional-macro-int-constant. Specify type. Require == 1.
34717 [C99-based standards] (FP_FAST_FMAF): Likewise.
34718 [C99-based standards] (FP_FAST_FMAL): Likewise.
34719 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34720 [C99-based standards] (FP_ILOGBNAN): Likewise.
34721 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34723 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34724 [C99-based standards] (math_errhandling): Specify type.
34725 [ISO99 || ISO11] (signgam): Do not allow.
34726 [non-C99-based standards] (copysignf): Do not allow.
34727 [non-C99-based standards] (exp2f): Likewise.
34728 [non-C99-based standards] (log2f): Likewise.
34729 [non-C99-based standards] (modff): Allow.
34730 [non-C99-based standards] (erff): Do not allow.
34731 [non-C99-based standards] (erfcf): Likewise.
34732 [non-C99-based standards] (gammaf): Likewise.
34733 [non-C99-based standards] (hypotf): Likewise.
34734 [non-C99-based standards] (j0f): Likewise.
34735 [non-C99-based standards] (j1f): Likewise.
34736 [non-C99-based standards] (jnf): Likewise.
34737 [non-C99-based standards] (lgammaf): Likewise.
34738 [non-C99-based standards] (tgammaf): Likewise.
34739 [non-C99-based standards] (y0f): Likewise.
34740 [non-C99-based standards] (y1f): Likewise.
34741 [non-C99-based standards] (ynf): Likewise.
34742 [non-C99-based standards] (isnanf): Likewise.
34743 [non-C99-based standards] (acoshf): Likewise.
34744 [non-C99-based standards] (asinhf): Likewise.
34745 [non-C99-based standards] (atanhf): Likewise.
34746 [non-C99-based standards] (cbrtf): Likewise.
34747 [non-C99-based standards] (expm1f): Likewise.
34748 [non-C99-based standards] (ilogbf): Likewise.
34749 [non-C99-based standards] (log1pf): Likewise.
34750 [non-C99-based standards] (logbf): Likewise.
34751 [non-C99-based standards] (nextafterf): Likewise.
34752 [non-C99-based standards] (remainderf): Likewise.
34753 [non-C99-based standards] (rintf): Likewise.
34754 [non-C99-based standards] (scalbf): Likewise.
34755 [non-C99-based standards] (copysignl): Likewise.
34756 [non-C99-based standards] (exp2l): Likewise.
34757 [non-C99-based standards] (log2l): Likewise.
34758 [non-C99-based standards] (modfl): Allow.
34759 [non-C99-based standards] (erfl): Do not allow.
34760 [non-C99-based standards] (erfcl): Likewise.
34761 [non-C99-based standards] (gammal): Likewise.
34762 [non-C99-based standards] (hypotl): Likewise.
34763 [non-C99-based standards] (j0l): Likewise.
34764 [non-C99-based standards] (j1l): Likewise.
34765 [non-C99-based standards] (jnl): Likewise.
34766 [non-C99-based standards] (lgammal): Likewise.
34767 [non-C99-based standards] (tgammal): Likewise.
34768 [non-C99-based standards] (y0l): Likewise.
34769 [non-C99-based standards] (y1l): Likewise.
34770 [non-C99-based standards] (ynl): Likewise.
34771 [non-C99-based standards] (isnanl): Likewise.
34772 [non-C99-based standards] (acoshl): Likewise.
34773 [non-C99-based standards] (asinhl): Likewise.
34774 [non-C99-based standards] (atanhl): Likewise.
34775 [non-C99-based standards] (cbrtl): Likewise.
34776 [non-C99-based standards] (expm1l): Likewise.
34777 [non-C99-based standards] (ilogbl): Likewise.
34778 [non-C99-based standards] (log1pl): Likewise.
34779 [non-C99-based standards] (logbl): Likewise.
34780 [non-C99-based standards] (nextafterl): Likewise.
34781 [non-C99-based standards] (remainderl): Likewise.
34782 [non-C99-based standards] (rintl): Likewise.
34783 [non-C99-based standards] (scalbl): Likewise.
34784 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34785 [non-C99-based standards] (FP_*): Do not allow.
34786 [C99-based standards] (FP_*): Change to
34787 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34788 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34790 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34791 (SIG_ERR): Likewise.
34792 [X/Open-based standards] (SIG_HOLD): Likewise.
34793 (SIG_IGN): Likewise.
34794 (SIGABRT): Use macro-int-constant. Specify type. Require
34796 (SIGFPE): Likewise.
34797 (SIGILL): Likewise.
34798 (SIGINT): Likewise.
34799 (SIGSEGV): Likewise.
34800 (SIGTER): Likewise.
34801 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34802 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34803 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34804 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34805 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34806 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34807 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34808 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34809 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34810 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34811 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34812 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34813 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34814 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34815 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34816 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34817 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34818 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34819 [X/Open-based standards] (SIGTRAP): Likewise.
34820 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34821 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34822 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34823 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34824 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34827 2012-05-08 Ian Wienand <ianw@vmware.com>
34830 * time/tzset.c (__tzset_parse_tz): Update default rules for
34831 daylight time changes in the Energy Policy Act of 2005.
34833 2012-05-09 Andreas Jaeger <aj@suse.de>
34836 * elf/ldconfig.c (parse_conf): Change string to make clear that
34837 ldconfig only issued a warning if ld.so.conf does not exist.
34839 2012-05-08 David S. Miller <davem@davemloft.net>
34841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34842 movxtod instead of popping the value on the stack.
34844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34846 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34848 * config.h.in: Add HAVE_ARM_PCS_VFP.
34850 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
34853 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34854 checking but the checks are disabled for any reason.
34856 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34858 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34859 and ELF64_R_TYPE with ELFW(R_TYPE).
34861 2012-05-08 Joseph Myers <joseph@codesourcery.com>
34863 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34864 (ulimit): Likewise.
34866 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34867 (settimeofday): Likewise.
34869 2012-05-08 Mike Frysinger <vapier@gentoo.org>
34871 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34872 a struct th_u2 inside the union, and move tu_block/tu_code into
34873 a new th_u3 union of tu_block/tu_code inside of that. Move
34874 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34875 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34876 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34877 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34878 (th_stuff): Change to th_u1.tu_stuff.
34880 (th_msg): Change to th_u1.th_u2.tu_data.
34882 2012-05-07 David S. Miller <davem@davemloft.net>
34884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34887 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34888 (SETUP_PIC_REG): Use it.
34889 (SETUP_PIC_REG_LEAF): Use it.
34891 2012-05-07 Joseph Myers <joseph@codesourcery.com>
34895 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34897 (EXPL_FINITE): Likewise.
34898 (FLDLOG): Likewise.
34899 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34900 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34902 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34904 (EXPL_FINITE): Likewise.
34905 (FLDLOG): Likewise.
34906 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34907 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34909 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34910 test of -max_value argument for long double.
34911 * sysdeps/i386/fpu/libm-test-ulps: Update.
34912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34914 2012-05-06 David S. Miller <davem@davemloft.net>
34916 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34917 quad soft-float symbols whose references which are compiler
34919 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34921 2012-05-06 Joseph Myers <joseph@codesourcery.com>
34925 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34927 (EXPL_FINITE): Likewise.
34928 (FLDLOG): Likewise.
34931 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34932 Adjust comments for base varying.
34933 (__expl_finite): Change alias to EXPL_FINITE.
34934 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34936 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34937 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34938 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34939 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34940 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34942 (EXPL_FINITE): Likewise.
34943 (FLDLOG): Likewise.
34946 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34947 Adjust comments for base varying.
34948 (__expl_finite): Change alias to EXPL_FINITE.
34949 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34951 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34954 * math/libm-test.inc (check_float_internal): Correct ulp
34955 calculation for subnormal expected results.
34957 2012-05-06 Andreas Jaeger <aj@suse.de>
34959 * Makeconfig (+math-flags): New, set to -frounding-math.
34960 (+cflags): Add +math-flags so that all of glibc gets compiled with
34963 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34965 2012-05-05 Joseph Myers <joseph@codesourcery.com>
34967 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34973 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34974 (__ieee754_expl): Allow for and saturate large arguments.
34975 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34976 (u_threshold): Likewise.
34977 (__exp): Call __ieee754_exp before checking for overflow and
34979 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34980 (u_threshold): Likewise.
34981 (__expf): Call __ieee754_expf before checking for overflow and
34983 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34984 (u_threshold): Likewise.
34985 (__expl): Call __ieee754_expl before checking for overflow and
34987 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34988 (__ieee754_expl): Allow for and saturate large arguments.
34989 * math/libm-test.inc (exp_test): Add another test. Do not allow
34990 missing overflow exception on overflow.
34991 (expm1_test): Do not allow missing overflow exception on overflow.
34993 * sysdeps/i386/fpu/e_expl.c: Move to ...
34994 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34995 rather than using inline asm.
34996 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34997 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34998 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35000 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35003 (signal): Likewise.
35007 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35009 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35010 sysdeps/unix/common/syscalls.list.
35011 (fchmod): Likewise.
35012 (fchown): Likewise.
35013 (ftruncate): Likewise.
35014 (getrusage): Likewise.
35015 (gettimeofday): Likewise.
35016 (setpgid): Likewise.
35017 (setregid): Likewise.
35018 (setreuid): Likewise.
35019 (sigaction): Likewise.
35020 (truncate): Likewise.
35021 (vhangup): Likewise.
35022 * sysdeps/unix/common/syscalls.list: Remove file.
35023 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35024 * sysdeps/unix/sysv/linux/Implies: Likewise.
35026 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35028 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35030 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35032 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35034 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35037 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35040 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35043 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35046 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35049 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35052 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35056 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35060 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35063 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35067 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35071 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35073 * sysdeps/unix/common/bits/dirent.h: Remove file.
35074 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35076 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35077 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35078 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35079 * sysdeps/unix/bsd/isatty.c: Likewise.
35080 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35081 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35082 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35084 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35087 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35088 long double comparison inaccuracies.
35089 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35092 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35094 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35095 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35097 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35100 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35101 nonzero digits before rounding a hex value.
35102 * stdlib/tst-strtod.c (tests): Add another test.
35104 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35106 * sysdeps/s390/fpu/libm-test-ulps: Update.
35108 2012-05-03 Andreas Jaeger <aj@suse.de>
35110 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35111 does not get optimized out.
35112 (malloc_opt_barrier): New.
35114 2012-05-03 Andreas Jaeger <aj@suse.de>
35115 Roland McGrath <roland@hack.frob.com>
35117 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35118 intermediate file deletion.
35119 (generated): Add .symlist files.
35121 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35124 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35125 Redirect under this condition.
35126 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35127 [__USE_GNU] (__dprintf_chk): Not under this condition.
35128 [__USE_GNU] (__vdprintf_chk): Likewise.
35129 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35130 under this condition.
35131 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35132 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35133 [__USE_XOPEN2K8] (vdprintf): Likewise.
35134 [__USE_GNU] (__dprintf_chk): Not under this condition.
35135 [__USE_GNU] (__vdprintf_chk): Likewise.
35136 [__USE_GNU] (dprintf): Likewise.
35137 [__USE_GNU] (vdprintf): Likewise.
35139 2012-05-03 Roland McGrath <roland@hack.frob.com>
35141 * elf/Makefile (common-generated): Set this instead of generated for
35142 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35143 $(all-built-dso)-derived lists.
35145 2012-05-03 Andreas Jaeger <aj@suse.de>
35147 * sysdeps/i386/fpu/libm-test-ulps: Update.
35150 * FAQ.in: Likewise.
35151 * scripts/gen-FAQ.pl: Likewise.
35152 * manual/install.texi (Installation): Point to online location of
35154 * Makefile (files-for-dist): Remove FAQ.
35157 2012-05-02 Allan McRae <allan@archlinux.org>
35159 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35160 (LDFLAGS-reldepmod5.so): Likewise.
35161 (LDFLAGS-reldep6mod1.so): Likewise.
35162 (LDFLAGS-reldep6mod4.so): Likewise.
35163 (LDFLAGS-reldep8mod3.so): Likewise.
35164 (LDFLAGS-unload4mod1.so): Likewise.
35165 (LDFLAGS-unload4mod2.so): Likewise.
35166 (LDFLAGS-tst-initorder): Likewise.
35167 (LDFLAGS-tst-initordera2.so): Likewise.
35168 (LDFLAGS-tst-initordera3.so): Likewise.
35169 (LDFLAGS-tst-initordera4.so): Likewise.
35170 (LDFLAGS-tst-initorderb2.so): Likewise.
35171 (LDFLAGS-noload): Likewise.
35172 (LDFLAGS-next): Likewise.
35173 (LDFLAGS-order2mod1.so): Likewise.
35174 (LDFLAGS-order2mod2.so): Likewise.
35175 (LDFLAGS-tst-initorder2): Likewise.
35176 (LDFLAGS-tst-initorder2a.so): Likewise.
35177 (LDFLAGS-tst-initorder2b.so): Likewise.
35178 (LDFLAGS-tst-initorder2c.so): Likewise.
35179 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35181 2012-05-02 David S. Miller <davem@davemloft.net>
35183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35185 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35188 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35190 2012-05-02 Andreas Jaeger <aj@suse.de>
35192 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35193 since we manipulate rounding mode.
35194 (CPPFLAGS-test-idouble.c): Likewise.
35195 (CPPFLAGS-test-ifloat.c): Likewise.
35196 (CFLAGS-test-ldouble.c): Likewise.
35197 (CFLAGS-test-double.c): Likewise.
35198 (CFLAGS-test-float.c): Likewise.
35199 (CFLAGS-test-misc.c): Likewise.
35200 (CFLAGS-test-test-fenv.c): Likewise.
35202 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35206 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35207 comparisons to determine direction to adjust input.
35209 2012-05-01 Roland McGrath <roland@hack.frob.com>
35211 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35212 output to the target.
35214 * scripts/localplt.awk: New file.
35215 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35216 (check-localplt-CFLAGS): Variable removed.
35217 ($(all-built-dso:=.jmprel)): New static pattern rule.
35218 (generated): Add those targets.
35219 (localplt-built-dso): New variable.
35220 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35222 * elf/check-localplt.c: File removed.
35224 * scripts/check-execstack.awk: New file.
35225 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35226 (check-execstack-CFLAGS): Variable removed.
35227 ($(objpfx)check-execstack.h): Target removed.
35228 ($(objpfx)execstack-default): New target.
35229 (generated): Add that instead of check-execstack.h.
35230 ($(all-built-dso:=.phdr)): New static pattern rule.
35231 (generated): Add those targets.
35232 * elf/check-execstack.c: File removed.
35234 * scripts/check-textrel.awk: New file.
35235 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35236 (check-textrel-CFLAGS): Variable removed.
35237 (all-built-dso): Use := to define.o
35238 ($(all-built-dso:=.dyn)): New static pattern rule.
35239 (generated): Add those targets.
35240 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35241 * config.make.in (READELF): New substituted variable.
35242 * elf/check-textrel.c: File removed.
35244 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35246 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35248 * conform/data/ctype.h-data [C99-based standards] (isblank):
35250 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35251 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35252 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35253 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35254 Specify type. Require positive value.
35255 (EILSEQ): Likewise.
35256 (ERANGE): Likewise.
35257 [ISO || POSIX] (EILSEQ): Do not expect.
35258 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35259 Specify type. Require positive value.
35260 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35261 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35262 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35263 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35264 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35265 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35266 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35267 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35268 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35269 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35270 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35271 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35272 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35273 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35274 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35275 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35276 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35277 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35278 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35279 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35280 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35281 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35282 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35283 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35284 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35285 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35286 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35287 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35288 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35289 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35290 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35291 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35292 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35293 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35294 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35295 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35296 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35297 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35298 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35299 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35300 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35301 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35302 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35303 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35304 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35305 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35306 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35307 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35308 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35309 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35310 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35311 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35312 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35313 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35314 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35315 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35316 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35317 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35318 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35319 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35320 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35321 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35322 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35323 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35324 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35325 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35326 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35327 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35328 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35329 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35330 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35331 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35332 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35333 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35334 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35335 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35336 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35338 (FLT_ROUNDS): Expect as macro, not constant.
35339 (FLT_MANT_DIG): Use macro-int-constant.
35340 (DBL_MANT_DIG): Likewise.
35341 (LDBL_MANT_DIG): Likewise.
35342 (FLT_DIG): Likewise.
35343 (DBL_DIG): Likewise.
35344 (LDBL_DIG): Likewise.
35345 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35346 (DBL_MIN_EXP): Likewise.
35347 (LDBL_MIN_EXP): Likewise.
35348 (FLT_MAX_EXP): Use macro-int-constant.
35349 (DBL_MAX_EXP): Likewise.
35350 (LDBL_MAX_EXP): Likewise.
35351 (FLT_MAX_10_EXP): Likewise.
35352 (DBL_MAX_10_EXP): Likewise.
35353 (LDBL_MAX_10_EXP): Likewise.
35354 (FLT_MAX): Use macro-constant.
35355 (DBL_MAX): Likewise.
35356 (LDBL_MAX): Likewise.
35357 (FLT_EPSILON): Use macro-constant. Give upper bound.
35358 (DBL_EPSILON): Likewise.
35359 (LDBL_EPSILON): Likewise.
35360 (FLT_MIN): Likewise.
35361 (DBL_MIN): Likewise.
35362 (LDBL_MIN): Likewise.
35363 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35364 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35365 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35366 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35367 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35368 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35369 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35370 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35371 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35372 [ISO11] (FLT_TRUE_MIN): Likewise.
35373 [ISO11] (LDBL_TRUE_MIN): Likewise.
35374 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35375 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35376 (SCHAR_MIN): Use macro-int-constant. Specify type.
35377 (SCHAR_MAX): Likewise.
35378 (UCHAR_MAX): Likewise.
35379 (CHAR_MIN): Likewise.
35380 (CHAR_MAX): Likewise.
35381 (MB_LEN_MAX): Use macro-int-constant.
35382 (SHRT_MIN): Use macro-int-constant. Specify type.
35383 (SHRT_MAX): Likewise.
35384 (USHRT_MAX): Likewise.
35385 (INT_MAX): Likewise.
35386 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35388 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35390 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35392 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35393 bound negative. Suffix upper bound with "L".
35394 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35396 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35398 [C99-based standards] (LLONG_MAX): Likewise.
35399 [C99-based standards] (ULLONG_MAX): Likewise.
35400 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35402 [ISO11] (max_align_t): Require type.
35403 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35405 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35406 from $CFLAGS, without defining away __attribute__ calls.
35407 (checknamespace): Use $CFLAGS_namespace.
35409 * conform/conformtest.pl (@keywords): Only include C99 keywords
35410 for standards based on C99 or C11.
35412 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35414 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35417 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35418 usability of symbols in #if.
35420 * conform/conformtest.pl: If macro or constant types start
35421 "promoted:", expect the symbol to be of the following type
35422 promoted by the integer promotions.
35424 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35425 in one place. Also handle "macro-constant".
35427 * conform/conformtest.pl: Only accept expected macro values with
35428 "==". Parse all "macro" lines in one place.
35429 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35431 * conform/conformtest.pl: Handle braced types on "constant" lines
35432 instead of handling "typed-constant".
35433 * conform/data/signal.h-data: Use "constant" instead of
35436 * conform/conformtest.pl: Handle "optional-" at start of lines in
35437 one place rather than duplicating several cases. Handle each
35438 format of "macro" line with initial "optional-".
35440 * conform/conformtest.pl: Only accept expected constant or
35441 optional-constant values with "==". Parse all "constant" lines in
35442 one place. Parse all "optional-constant" lines in one place.
35443 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35444 * conform/data/fmtmsg.h-data: Likewise.
35445 * conform/data/netinet/in.h-data: Likewise.
35446 * conform/data/tar.h-data: Likewise.
35447 * conform/data/limits.h-data: Use "==" form on "constant" and
35448 "optional-constant" lines.
35450 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35451 Use -std=c99 for XOPEN2K.
35452 (@knownproblems): Remove.
35453 (newtoken): Don't check %isknown.
35455 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35456 Do not expect macro.
35457 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35458 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35459 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35460 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35461 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35462 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35463 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35464 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35465 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35466 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35467 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35468 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35469 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35470 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35471 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35472 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35473 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35474 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35475 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35476 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35477 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35478 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35479 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35480 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35481 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35482 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35483 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35484 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35485 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35486 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35487 [XPG3] (acosh): Likewise.
35488 [XPG3] (asinh): Likewise.
35489 [XPG3] (atanh): Likewise.
35490 [XPG3] (cbrt): Likewise.
35491 [XPG3] (expm1): Likewise.
35492 [XPG3] (ilogb): Likewise.
35493 [XPG3] (log1p): Likewise.
35494 [XPG3] (logb): Likewise.
35495 [XPG3] (nextafter): Likewise.
35496 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35497 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35498 [XPG3] (remainder): Likewise.
35499 [XPG3] (rint): Likewise.
35500 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35501 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35502 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35503 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35504 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35505 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35506 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35507 [UNIX98 || XOPEN2K] (scalb): Expect.
35508 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35509 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35510 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35511 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35512 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35513 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35514 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35515 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35516 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35517 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35518 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35519 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35520 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35521 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35522 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35523 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35524 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35525 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35526 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35527 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35528 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35529 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35530 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35531 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35532 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35533 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35534 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35535 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35536 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35537 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35538 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35539 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35540 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35541 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35542 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35543 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35544 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35545 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35546 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35547 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35548 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35549 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35550 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35551 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35552 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35553 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35554 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35555 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35556 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35557 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35558 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35559 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35560 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35561 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35562 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35563 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35564 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35565 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35566 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35567 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35568 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35569 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35570 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35571 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35572 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35573 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35574 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35575 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35576 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35577 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35578 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35579 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35580 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35581 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35582 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35583 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35584 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35585 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35586 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35587 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35588 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35589 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35590 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35591 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35592 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35593 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35594 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35595 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35596 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35597 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35598 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35599 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35600 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35601 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35602 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35603 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35604 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35605 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35606 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35607 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35608 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35609 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35610 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35611 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35612 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35613 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35614 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35615 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35616 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35617 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35618 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35619 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35620 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35621 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35622 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35623 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35624 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35625 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35626 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35627 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35628 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35629 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35630 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35631 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35632 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35633 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35634 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35635 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35636 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35637 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35638 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35639 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35640 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35641 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35642 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35643 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35644 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35646 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35647 _XOPEN_SOURCE_EXTENDED for XPG4.
35649 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35651 * Makeconfig (localtime): Remove variable.
35652 (inst_localtime-file): Likewise.
35654 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35675 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35679 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35680 comparisons to determine direction to adjust input.
35681 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35682 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35683 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35685 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35687 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35689 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35690 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35692 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35694 * math/libm-test.inc (nexttoward_test): Add more tests.
35696 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35699 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35700 in version GLIBC_2.1, not GLIBC_2.0.
35701 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35704 2012-04-30 Joseph Myers <joseph@codesourcery.com>
35707 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35709 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35710 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35711 * math/libm-test.inc (acos_test): Add more tests.
35712 (asin_test): Likewise.
35713 * sysdeps/i386/fpu/libm-test-ulps: Update.
35714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35717 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35719 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35720 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35721 * math/libm-test.inc (acos_test_tonearest): New function.
35722 (acos_test_towardzero): Likewise.
35723 (acos_test_downward): Likewise.
35724 (acos_test_upward): Likewise.
35725 (asin_test_tonearest): Likewise.
35726 (asin_test_towardzero): Likewise.
35727 (asin_test_downward): Likewise.
35728 (asin_test_upward): Likewise.
35729 (main): Call the new functions.
35730 * sysdeps/i386/fpu/libm-test-ulps: Update.
35731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35735 * math/e_exp10.c: Include <float.h>.
35736 (__ieee754_exp10): Handle underflow here rather than multiplying
35737 large negative argument by M_LN10.
35738 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35740 * math/e_exp10l.c: Include <float.h>.
35741 (__ieee754_exp10l): Handle underflow here rather than multiplying
35742 large negative argument by M_LN10l.
35743 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35744 spurious overflow exception on underflow.
35746 2012-04-29 Marek Polacek <polacek@redhat.com>
35748 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35749 (__fortify_function): New macro.
35750 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35751 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35752 __extern_always_inline.
35753 * libio/bits/stdio2.h: Likewise.
35754 * libio/bits/stdio.h: Likewise.
35755 * string/string.h: Likewise.
35756 * string/bits/string3.h: Likewise.
35757 * include/stdio.h: Likewise.
35758 * stdlib/bits/stdlib.h: Likewise.
35759 * stdlib/stdlib.h: Likewise.
35760 * rt/bits/mqueue2.h: Likewise.
35761 * rt/mqueue.h: Likewise.
35762 * posix/bits/unistd.h: Likewise.
35763 * posix/unistd.h: Likewise.
35764 * io/bits/poll2.h: Likewise.
35765 * io/bits/fcntl2.h: Likewise.
35766 * io/fcntl.h: Likewise.
35767 * io/sys/poll.h: Likewise.
35768 * misc/bits/syslog.h: Likewise.
35769 * misc/bits/syslog-ldbl.h: Likewise.
35770 * misc/sys/syslog.h: Likewise.
35771 * socket/bits/socket2.h: Likewise.
35772 * socket/sys/socket.h: Likewise.
35773 * debug/tst-chk1.c: Likewise.
35774 * wcsmbs/bits/wchar2.h: Likewise.
35775 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35776 * wcsmbs/wchar.h: Likewise.
35778 2012-04-29 Andreas Jaeger <aj@suse.de>
35780 * Makerules (tests): Remove enable-check-abi protection.
35781 (check-abi-warn): Remove.
35782 (check-abi-%): Remove check-abi-warn usage.
35784 * configure.in: Remove check-abi configure option.
35785 * configure: Regenerated.
35786 * config.make.in (enable-check-abi): Remove.
35788 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35791 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35792 double functions to double *_finite functions.
35795 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35796 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35798 * stdio-common/Makefile (tests): Add tst-sprintf3.
35799 * stdio-common/tst-sprintf3.c: New file.
35801 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35802 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35804 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35806 * conform/conformtest.pl: Remove duplicate typed-constant
35809 2012-04-28 David S. Miller <davem@davemloft.net>
35811 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35812 (check-abi-%): Remove AWK script prerequisite and explicit
35814 (check-abi): Rewrite to just diff the symlist with the abilist.
35815 (config-tls, config-abi-config): Delete, no longer used.
35816 (update-abi-%): Remove AWK script and explicit abilist directory.
35817 (update-abi): Rewrite to simply compare and conditionally copy the
35818 symlist and the sysdep abilist file. Remove update-abi-config
35820 * abilist/ld.abilist: Remove.
35821 * abilist/libBrokenLocale.abilist: Remove.
35822 * abilist/libanl.abilist: Remove.
35823 * abilist/libcrypt.abilist: Remove.
35824 * abilist/libdl.abilist: Remove.
35825 * abilist/librt.abilist: Remove.
35826 * abilist/libthread_db.abilist: Remove.
35827 * abilist/libutil.abilist: Remove.
35828 * scripts/extract-abilist.awk: Remove.
35829 * scripts/merge-abilist.awk: Remove.
35830 * sysdeps/generic/libcidn.abilist: New file.
35831 * sysdeps/generic/libnss_compat.abilist: New file.
35832 * sysdeps/generic/libnss_db.abilist: New file.
35833 * sysdeps/generic/libnss_dns.abilist: New file.
35834 * sysdeps/generic/libnss_files.abilist: New file.
35835 * sysdeps/generic/libnss_hesiod.abilist: New file.
35836 * sysdeps/generic/libnss_nis.abilist: New file.
35837 * sysdeps/generic/libnss_nisplus.abilist: New file.
35838 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35839 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35840 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35842 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35843 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35844 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35845 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35846 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35847 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35848 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35849 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35850 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35852 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35853 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35854 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35855 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35857 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35858 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35859 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35860 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35861 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35862 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35864 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35865 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35866 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35868 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35869 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35871 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35873 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35875 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35877 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35879 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35881 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35883 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35885 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35887 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35889 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35891 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35893 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35971 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35972 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35973 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35975 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35976 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35977 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35978 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35979 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35980 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35981 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35982 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35983 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35984 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36036 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36038 * conform/conformtest.pl: Fix typo in handling typed-constant from
36041 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36043 * README: Cut down references to pre-2.6 Linux kernels and
36044 Linuxthreads. Update lists of configurations in libc and ports
36045 and sort alphabetically. Say "or newer" with Linux kernel version
36048 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36050 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36053 * math/libm-test.inc (logb_test_downward): New test to expose
36054 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36057 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36060 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36062 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36063 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36065 2012-04-26 Joseph Myers <joseph@codesourcery.com>
36067 * sysdeps/unix/i386/brk.S: Remove file.
36068 * sysdeps/unix/i386/dl-brk.S: Likewise.
36069 * sysdeps/unix/i386/pipe.S: Likewise.
36070 * sysdeps/unix/i386/sigreturn.S: Likewise.
36071 * sysdeps/unix/i386/syscall.S: Likewise.
36072 * sysdeps/unix/i386/vfork.S: Likewise.
36073 * sysdeps/unix/i386/wait.S: Likewise.
36075 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36076 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36078 * configure.in (arm*-none*): Do not allow without
36079 --enable-hacker-mode.
36080 (netbsd*): Remove case setting base_os.
36081 (386bsd*): Likewise.
36082 (freebsd*): Likewise.
36085 (sunos*): Likewise.
36086 (ultrix*): Likewise.
36087 (newsos*): Likewise.
36088 (dynix*): Likewise.
36094 (minix*): Likewise.
36095 (irix4*): Likewise.
36096 (irix6*): Likewise.
36097 (solaris[2-9]*): Likewise.
36099 * configure: Regenerated.
36101 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36104 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36105 overflow or cancellation in calculating denominator.
36106 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36107 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36108 down expression to avoid unexpected rounding in newer GCCs.
36109 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36111 2012-04-26 David S. Miller <davem@davemloft.net>
36113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36114 long-double compat symbols.
36115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36129 2012-04-25 David S. Miller <davem@davemloft.net>
36131 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36132 HWCAP_* values only after the memory barriers have been defined.
36133 (atomic_full_barrier): Define.
36134 (atomic_read_barrier): Define.
36135 (atomic_write_barrier): Define.
36137 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36139 * shlib-versions: Add libgcc_s version information.
36140 * sysdeps/generic/libgcc_s.h: Remove.
36141 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36143 * sysdeps/gnu/unwind-resume.c: Likewise.
36144 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36146 2012-04-25 David S. Miller <davem@davemloft.net>
36148 * sysdeps/unix/sparc/brk.S: Delete.
36149 * sysdeps/unix/sparc/dl-brk.S: Delete.
36150 * sysdeps/unix/sparc/pipe.S: Delete.
36151 * sysdeps/unix/sparc/sysdep.S: Delete.
36152 * sysdeps/unix/sparc/sysdep.h: Delete.
36153 * sysdeps/unix/sparc/vfork.S: Delete.
36154 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36155 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36156 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36157 (ret_ERRVAL, r0, r1, MOVE): Define.
36158 (JUMPTARGET): Remove.
36159 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36160 sysdeps/unix/sparc/sysdep.h
36161 (ENTRY, END): Remove.
36162 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36164 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36166 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36167 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36170 * timezone/README: Update upstream location and email address for
36172 * timezone/zdump.c: Update from tzcode 2012b.
36173 * timezone/zic.c: Likewise.
36175 * configure.in (libc_cv_as_needed): Remove test.
36176 * configure: Regenerated.
36177 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36178 conditional definition.
36179 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36180 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36181 * config.make.in (have-as-needed): Remove variable.
36183 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36184 Paul Pluzhnikov <ppluzhnikov@google.com>
36186 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36189 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36191 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36192 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36193 * sysdeps/sh/strlen.S: Likewise.
36195 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36197 * sysdeps/unix/fork.S: Remove file.
36198 * sysdeps/unix/i386/fork.S: Likewise.
36199 * sysdeps/unix/sparc/fork.S: Likewise.
36201 * sysdeps/unix/system.c: Remove file.
36202 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36204 * sysdeps/unix/getegid.S: Remove file.
36205 * sysdeps/unix/geteuid.S: Likewise.
36207 2012-04-24 Roland McGrath <roland@hack.frob.com>
36209 * scripts/check-localplt.awk: New file.
36210 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36212 * scripts/data/localplt-generic.data: Add a comment.
36214 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36215 NODE when __dir_mkfile failed.
36216 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36217 Reported by Ludovic Courtès <ludo@gnu.org>.
36219 2012-04-24 Andreas Jaeger <aj@suse.de>
36221 * Makerules (common-clean): Also remove gen-as-const-headers
36224 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36226 * Makerules (native-compile): Do not change working directory for
36227 build. Use $(OUTPUT_OPTION) in command.
36228 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36230 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36233 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36234 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36235 * math/libm-test.inc (floor_test): Add more tests.
36236 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36238 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36240 * sysdeps/unix/getdents.c: Remove file.
36241 * sysdeps/unix/sysv/getdents.c: Likewise.
36242 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36244 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36245 sysdeps/unix/mman/syscalls.list.
36247 (mprotect): Likewise.
36249 (munmap): Likewise.
36250 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36251 * sysdeps/unix/mman/syscalls.list: Remove.
36252 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36254 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36255 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36256 * configure: Regenerated.
36257 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36258 $(libgcc_s_suffix).
36259 * config.make.in (libgcc_s_suffix): Remove variable.
36261 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36263 * sysdeps/unix/sysv/gethostname.c: Move to ...
36264 * sysdeps/posix/gethostname.c: ... here.
36266 * sysdeps/unix/execve.S: Remove file.
36268 * sysdeps/unix/_exit.S: Remove file.
36270 2012-04-23 Andreas Jaeger <aj@suse.de>
36273 * manual/Makefile: Remove make dist support, there's no
36274 need for a stand-alone documentation tar ball.
36275 (TEXI2DVI): Define always, it's not in Makeconfig.
36278 (edition): Removed.
36279 (glibc-doc-$(edition).tar): Removed
36283 (ETAGS): Remove, it's in Makeconfig.
36284 (move-if-change): Remove, it's in Makeconfig.
36286 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36289 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36290 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36291 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36292 (strtod_l, strtof_l, strtold_l): Remove __wur.
36293 It is not necessarily an error to ignore strtol's return value.
36294 One can reliably look at the stored endptr to decide whether
36295 the number had valid syntax.
36297 2012-04-21 Andreas Jaeger <aj@suse.de>
36300 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36302 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36304 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36305 * sysdeps/unix/sysv/Versions: Remove file.
36307 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36310 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36312 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36315 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36316 version from __vm86.
36318 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36320 * sysdeps/unix/common/lxstat.c: Remove file.
36321 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36323 * sysdeps/unix/sysv/Makefile: Remove file.
36325 * sysdeps/unix/sysv/direct.h: Remove file.
36327 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36328 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36329 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36330 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36331 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36332 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36333 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36335 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36337 * sysdeps/unix/xmknod.c: Remove file.
36338 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36340 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36342 * sysdeps/unix/sysv/i386/time.S: Remove file.
36344 * sysdeps/unix/fxstat.c: Remove file.
36345 * sysdeps/unix/xstat.c: Likewise.
36346 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36348 * sysdeps/unix/sysv/sigaction.c: Remove file.
36350 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36351 (sysdep_headers): Remove variable.
36352 [termio.h not in sysdep_headers] (generated): Likewise.
36353 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36354 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36355 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36356 * sysdeps/unix/sysv/tcflow.c: Likewise.
36357 * sysdeps/unix/sysv/tcflush.c: Likewise.
36358 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36359 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36360 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36361 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36362 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36364 * sysdeps/unix/siglist.c: Remove file.
36366 * sysdeps/unix/getppid.S: Remove file.
36368 * sysdeps/unix/mkdir.c: Remove file.
36369 * sysdeps/unix/rmdir.c: Likewise.
36371 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36373 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36375 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36376 errlist-compat value.
36378 2012-04-18 David S. Miller <davem@davemloft.net>
36380 * sysdeps/generic/memcopy.h (reg_char): Delete.
36381 * debug/strcat_chk.c: Use char, not reg_char.
36382 * debug/strcpy_chk.c: Likewise.
36383 * debug/strncat_chk.c: Likewise.
36384 * debug/strncpy_chk.c: Likewise.
36385 * string/memchr.c: Likewise.
36386 * string/memrchr.c: Likewise.
36387 * string/rawmemchr.c: Likewise.
36388 * string/strcat.c: Likewise.
36389 * string/strchr.c: Likewise.
36390 * string/strchrnul.c: Likewise.
36391 * string/strcmp.c: Likewise.
36392 * string/strcpy.c: Likewise.
36393 * string/strncat.c: Likewise.
36394 * string/strncmp.c: Likewise.
36395 * string/strncpy.c: Likewise.
36397 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36399 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36400 __builtin_memcopy is called when src and dest ranges are known to not
36403 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36405 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36406 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36407 fwd_align_merge macro call.
36408 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36409 bwd_align_merge macro call.
36410 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36412 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36414 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36415 bwd_align_merge macros.
36416 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36417 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36418 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36420 2012-04-18 David S. Miller <davem@davemloft.net>
36422 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36424 2012-04-18 Andreas Jaeger <aj@suse.de>
36427 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36428 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36429 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36431 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36432 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36433 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36435 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36436 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36437 Adjust for changed ldbl-128 files.
36439 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36440 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36441 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36443 2012-04-17 David S. Miller <davem@davemloft.net>
36445 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36447 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36449 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36450 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36451 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36452 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36453 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36454 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36456 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36459 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36460 * math/libm-test.inc: Add ilogb errno and exception tests.
36461 * math/w_ilogb.c: New file: ilogb wrapper.
36462 * math/w_ilogbf.c: New file: ilogbf wrapper.
36463 * math/w_ilogbl.c: New file: ilogbl wrapper.
36464 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36465 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36466 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36467 exception being thrown with 0.0 as argument.
36468 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36469 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36470 exception being thrown with 0.0 as argument.
36471 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36472 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36473 exception being thrown with 0.0 as argument.
36474 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36475 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36476 exception being thrown with 0.0 as argument.
36477 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36478 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36479 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36480 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36481 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36482 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36483 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36484 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36485 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36487 2012-04-17 Petr Baudis <pasky@ucw.cz>
36489 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36492 2012-04-16 Marek Polacek <polacek@redhat.com>
36494 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36496 2012-04-16 Marek Polacek <polacek@redhat.com>
36498 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36499 operands of fdivp instruction.
36501 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36503 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36504 * elf/tst-auditmod3b.c: Likewise.
36505 * elf/tst-auditmod4b.c: Likewise.
36506 * elf/tst-auditmod5b.c: Likewise.
36507 * elf/tst-auditmod6b.c: Likewise.
36508 * elf/tst-auditmod6c.c: Likewise.
36509 * elf/tst-auditmod7b.c: Likewise.
36510 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36511 * sysdeps/x86_64/preconfigure.in: Likewise.
36512 * sysdeps/x86_64/preconfigure: Regenerated.
36514 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36516 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36519 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36521 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36522 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36524 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36527 * locale/iso-639.def: Fix gl language name. Spotted by
36530 2012-04-12 Roland McGrath <roland@hack.frob.com>
36533 * libio/libio.h (__io_write_fn): Update comment.
36535 2012-04-12 Petr Baudis <pasky@ucw.cz>
36538 * stdio.texi (Hook Functions): The user provided writer function
36539 is not allowed to return -1.
36541 2012-04-11 David S. Miller <davem@davemloft.net>
36543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36545 2012-04-11 Mike Frysinger <vapier@gentoo.org>
36547 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36548 Add a leading slash to rtkaio.
36550 2012-04-11 Jim Meyering <meyering@redhat.com>
36553 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36554 It is not necessarily an error to ignore fwrite's return
36555 value. One can reliably use ferror to test for errors after
36558 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36560 * bits/types.h (__snseconds_t): New type.
36561 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36563 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36564 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36565 (__SNSECONDS_T_TYPE): Likewise.
36566 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36567 (__SNSECONDS_T_TYPE): Likewise.
36568 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36569 (__SNSECONDS_T_TYPE): Likewise.
36571 2012-04-10 Andreas Jaeger <aj@suse.de>
36574 * manual/time.texi (Processor Time): Return type of times is
36575 elapsed real time since an arbitrary point in the past.
36576 (CPU Time): Move CLK_TCK from here...
36577 (Processor Time): ...to here. Correct description.
36578 * manual/conf.texi (Constants for Sysconf): Correct description of
36581 2012-04-10 David S. Miller <davem@davemloft.net>
36584 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36585 where the is a gap between DT_REL(A) and DT_JMPREL.
36587 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36589 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36590 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36591 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36593 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36595 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36596 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36597 (dl_main): Handle --inhibit-cache.
36598 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36600 * elf/dl-load.c (_dl_map_object): Use it.
36601 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36603 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36606 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36607 (__ieee754_powl): Saturate large exponents rather than testing for
36608 overflow of y*log2(x).
36609 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36610 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36614 * math/s_ctan.c: Include <float.h>.
36615 (__ctan): Avoid internal overflow or cancellation in calculating
36617 * math/s_ctanf.c: Likewise.
36618 * math/s_ctanl.c: Likewise.
36619 * math/s_ctanh.c: Likewise.
36620 * math/s_ctanhf.c: Likewise.
36621 * math/s_ctanhl.c: Likewise.
36622 * math/libm-test.inc (ctan_test): Add more tests.
36623 (ctanh_test): Likewise.
36624 * sysdeps/i386/fpu/libm-test-ulps: Update.
36625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36627 2012-04-09 Andreas Jaeger <aj@suse.de>
36630 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36631 is an optional BSD extension.
36634 * manual/stdio.texi (Opening Streams): Document additional fopen
36637 2012-04-09 Roland McGrath <roland@hack.frob.com>
36639 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36640 %eax without telling the compiler.
36642 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36645 * manual/install.texi: Use sourceware.org.
36647 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36650 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36651 (__ieee754_pow): Generate overflow and underflow using huge*huge
36652 and tiny*tiny rather than just returning constant infinity or zero
36653 for large exponents.
36654 * math/libm-test.inc (pow_test): Require overflow exceptions for
36655 applicable cases of large exponents.
36658 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36659 (__ieee754_pow): Use iterative multiplication algorithm only for
36660 integer exponents with absolute value below 1024. Check for odd
36661 integer exponents when using algorithm for real exponents.
36662 * math/libm-test.inc (pow_test): Add more tests.
36663 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36665 2012-04-08 Joseph Myers <joseph@codesourcery.com>
36668 * math/libm-test.inc (exp_test): Do not allow overflow exception
36671 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36674 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36675 instead of __kernel_standard_f.
36677 2012-04-08 Mike Frysinger <vapier@gentoo.org>
36679 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36680 * sysdeps/x86_64/memset_chk.S: Likewise.
36682 2012-04-08 Andreas Jaeger <aj@suse.de>
36685 * manual/startup.texi (Environment Access): Describe return value
36686 for putenv and setenv.
36689 * manual/filesys.texi (Directory Entries): Add description for
36693 * manual/filesys.texi (Directory Entries): Clarify that it's file
36694 system not operating system in the description of DT_UNKNOWN.
36697 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36699 2012-04-08 Stephen Compall <s11@member.fsf.org>
36702 * manual/llio.texi (Opening and Closing Files): Add cross
36703 reference to explain mode argument.
36705 2012-04-07 Mike Frysinger <vapier@gentoo.org>
36707 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36708 * sysdeps/x86_64/memset_chk.S: Likewise.
36710 2012-04-07 David S. Miller <davem@davemloft.net>
36712 * elf/elf.h (R_SPARC_WDISP10): Define.
36713 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36715 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36716 R_SPARC_SIZE64 and R_SPARC_H34.
36718 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36720 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36721 conditions and remove no longer applicable assertion.
36723 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36725 * bits/byteswap.h: Include <features.h>.
36726 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36727 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36729 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36731 * bits/byteswap.h (__bswap_16): Removed.
36732 Include <bits/byteswap-16.h> to get __bswap_16.
36733 * sysdeps/i386/bits/byteswap.h: Likewise.
36734 * sysdeps/s390/bits/byteswap.h: Likewise.
36735 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36736 * bits/byteswap-16.h: New file.
36737 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36738 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36739 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36740 * string/Makefile (headers): Add bits/byteswap-16.h.
36742 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36745 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36747 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36748 * nss/tst-nss-static.c: New.
36750 2012-04-06 Robert Millan <rmh@gnu.org>
36753 * manual/llio.texi (File Position Primitive): lseek
36754 refers to WHENCE when it really means OFFSET.
36756 2012-04-06 Andreas Jaeger <aj@suse.de>
36758 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36759 strncmp declarations.
36761 * abilist/libc.abilist: Add __poll and __ppoll.
36763 2012-04-05 David S. Miller <davem@davemloft.net>
36765 * scripts/check-local-headers.sh: Accept a host triplet in the
36766 path matched by the exclude regexp.
36768 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36770 * sysdeps/powerpc/powerpc32/dl-machine.h
36771 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36772 * sysdeps/s390/s390-32/dl-machine.h
36773 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36774 * sysdeps/sparc/sparc32/dl-machine.h
36775 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36776 * sysdeps/sparc/sparc64/dl-machine.h
36777 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36779 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36781 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36782 undefined symbol errors.
36784 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36787 2012-04-05 Michael Matz <matz@suse.de>
36790 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36792 2012-04-05 Andreas Jaeger <aj@suse.de>
36795 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36798 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36800 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36801 which ROUND is no valid rounding mode.
36803 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36805 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36807 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36809 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36811 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36812 an exception using FPU order intentionally.
36814 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36816 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36817 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36818 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36819 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36821 2012-04-05 Simon Josefsson <simon@josefsson.org>
36824 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36825 EINVAL when BUFLEN is too smal.
36827 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36830 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36831 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36833 2012-04-03 Andreas Jaeger <aj@suse.de>
36836 * manual/setjmp.texi (System V contexts): Fix sentence.
36839 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36840 New macro for this case.
36841 [!__GNUC__] (__bswap_64): New inline function for this case.
36842 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36843 * bits/byteswap.h: Likewise.
36844 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36845 ull, guard with __GLIBC_HAVE_LONG_LONG.
36847 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36848 __GLIBC_HAVE_LONG_LONG.
36850 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36851 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36853 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36856 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36857 inptr and inend, rather than using last_ch.
36859 2012-04-02 David S. Miller <davem@davemloft.net>
36861 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36862 * stdio-common/printf-parse.h (read_int): Change return type to
36863 'int', return -1 on INT_MAX overflow.
36864 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36865 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36866 overflows INT_MAX. Check for overflow of in-format-string precision
36867 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36868 SIZE_MAX not INT_MAX for integer overflow test.
36869 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36870 skip the construct in the format string but do not record anything.
36871 * stdio-common/bug22.c: Adjust to test both width/prevision
36872 INT_MAX overflow as well as total length INT_MAX overflow. Check
36873 explicitly for proper errno values.
36875 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36877 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36879 * string/test-strcmp.c [! WIDE]: Likewise.
36880 * time/tst-mktime2.c: Likewise for INT_MAX.
36881 * string/test-string.h: #include <sys/param.h> for MIN.
36883 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36884 * sysdeps/i386/init-first.c (init): Likewise.
36885 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36886 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36887 * sysdeps/sh/init-first.c (init): Likewise.
36889 2012-04-01 Ulrich Drepper <drepper@gmail.com>
36891 * po/ru.po: Update from translation team.
36892 * po/vi.po: Likewise.
36894 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36896 * resolv/nss_dns/dns-host.c: Merge copyright years.
36898 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36900 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36901 Optimize memcpy with prefetch if
36902 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36903 src, dst pointers have unequal 16 byte alignments.
36905 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36908 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36909 from a CNAME entry and return the minimum ttl for the query.
36910 (gaih_getanswer_slice): Likewise.
36912 2012-03-30 Jeff Law <law@redhat.com>
36914 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36916 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36917 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36919 * resolv/nss_dns/dns-host.c: Update copyright year.
36921 2012-03-30 Ulrich Drepper <drepper@gmail.com>
36923 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36924 requests to save a system call. Fix check that all bytes are sent.
36926 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36927 comments for sendmmsg.
36929 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36932 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36933 with only 1 character between 0x0041 and 0x01b0.
36934 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36935 * wcsmbs/tst-mbsnrtowcs.c: New file.
36937 2012-03-29 David S. Miller <davem@davemloft.net>
36939 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36940 small copies by hand.
36942 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36945 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36946 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36949 2012-03-28 David S. Miller <davem@davemloft.net>
36951 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36952 that branches into memcpy.
36953 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36954 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36955 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36956 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36957 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36959 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36960 implementation too.
36961 * sysdeps/sparc/mempcpy.S: New file.
36963 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36964 the IFUNC routine in the libc case.
36965 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36967 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36968 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36969 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36970 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36971 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36972 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36973 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36974 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36976 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36977 loop to 256 bytes instead of 64 bytes and fix test signedness.
36979 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36980 * sysdeps/sparc/sparc32/Makefile: rather than here...
36981 * sysdeps/sparc/sparc64/Makefile: and here.
36983 2012-03-28 Ulrich Drepper <drepper@gmail.com>
36985 * malloc/mallocbug.c: Avoid warnings about unused variables.
36987 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36990 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36991 in the right place. Discard and retry query if response is
36992 larger than input buffer size.
36994 2012-03-28 Joseph Myers <joseph@codesourcery.com>
36999 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37000 x for large integer exponent.
37001 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37002 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37003 sign of result as needed afterwards.
37004 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37005 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37006 result for underflowing pow the same as for overflow.
37007 (__kernel_standard_l): Handle powl overflow and underflow here
37008 rather than calling __kernel_standard.
37009 * math/libm-test.inc (pow_test): Add more tests.
37024 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37025 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37026 (__kernel_standard_l): New function.
37027 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37029 * math/w_acosl.c (__acosl): Likewise.
37030 * math/w_asinl.c (__asinl): Likewise.
37031 * math/w_atan2l.c (__atan2l): Likewise.
37032 * math/w_atanhl.c (__atanhl): Likewise.
37033 * math/w_coshl.c (__coshl): Likewise.
37034 * math/w_exp10l.c (__exp10l): Likewise.
37035 * math/w_exp2l.c (__exp2l): Likewise.
37036 * math/w_fmodl.c (__fmodl): Likewise.
37037 * math/w_hypotl.c (__hypotl): Likewise.
37038 * math/w_j0l.c (__j0l, __y0l): Likewise.
37039 * math/w_j1l.c (__j1l, __y1l): Likewise.
37040 * math/w_jnl.c (__jnl, __ynl): Likewise.
37041 * math/w_lgammal.c (__lgammal): Likewise.
37042 * math/w_log10l.c (__log10l): Likewise.
37043 * math/w_log2l.c (__log2l): Likewise.
37044 * math/w_logl.c (__logl): Likewise.
37045 * math/w_powl.c (__powl): Likewise.
37046 * math/w_remainderl.c (__remainderl): Likewise.
37047 * math/w_scalbl.c (sysv_scalbl): Likewise.
37048 * math/w_sinhl.c (__sinhl): Likewise.
37049 * math/w_sqrtl.c (__sqrtl): Likewise.
37050 * math/w_tgammal.c (__tgammal): Likewise.
37051 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37052 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37053 * math/libm-test.inc (acos_test): Add more tests.
37054 (acosh_test): Likewise.
37055 (asin_test): Likewise.
37056 (atanh_test): Likewise.
37057 (exp_test): Likewise.
37058 (exp10_test): Likewise.
37059 (exp2_test): Likewise.
37060 (expm1_test): Likewise.
37061 (lgamma_test): Likewise.
37062 (log_test): Likewise.
37063 (log10_test): Likewise.
37064 (log1p_test): Likewise.
37065 (log2_test): Likewise.
37066 (pow_test): Do not allow some spurious overflow exceptions.
37067 (sqrt_test): Add more tests.
37068 (tgamma_test): Likewise.
37069 (y0_test): Likewise.
37070 (y1_test): Likewise.
37071 (yn_test): Likewise.
37073 2012-03-27 Anton Blanchard <anton@samba.org>
37075 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37077 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37078 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37079 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37081 2012-03-27 David S. Miller <davem@davemloft.net>
37083 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37085 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37086 have-as-vis3 check.
37088 2012-03-27 Andreas Jaeger <aj@suse.de>
37090 * sysdeps/x86_64/elf/configure.in: Moved to ...
37091 * sysdeps/x86_64/configure.in: ... here.
37092 * sysdeps/x86_64/elf/start.S: Moved to ...
37093 * sysdeps/x86_64/start.S: ... here.
37094 * sysdeps/x86_64/elf/configure: Delete.
37096 * sysdeps/x86_64/configure.in: Merge contents from
37097 sysdeps/i386/configure.in (without i686 check).
37099 * sysdeps/i386/elf/Versions: Merge into ...
37100 * sysdeps/i386/Versions: ... this.
37101 * sysdeps/i386/elf/Versions: Delete file.
37102 * sysdeps/i386/elf/start.S: Moved to ...
37103 * sysdeps/i386/start.S: ...here.
37104 * sysdeps/i386/elf/configure.in: Merge into...
37105 * sysdeps/i386/configure.in: ...here.
37106 * sysdeps/i386/elf/configure.in: Delete file.
37107 * sysdeps/i386/elf/configure: Delete file.
37109 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37110 * debug/backtracesyms.c: ... here.
37111 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37112 * debug/backtracesymsfd.c: ... here.
37113 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37114 * sysdeps/generic/ifunc-sel.h: ... here.
37116 * sysdeps/unix/i386/start.c: Delete file.
37117 * sysdeps/unix/sparc/start.c: Delete file.
37118 * sysdeps/unix/start.c: Delete file.
37120 * sysdeps/sh/elf/configure.in: Moved to ...
37121 * sysdeps/sh/configure.in: ... here.
37122 * sysdeps/sh/elf/start.S: Moved to ...
37123 * sysdeps/sh/start.S: ... here.
37124 * sysdeps/sh/elf/configure: Delete file.
37126 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37127 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37128 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37129 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37130 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37131 * sysdeps/powerpc/powerpc64/start.S: here.
37132 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37133 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37134 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37135 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37136 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37138 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37139 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37140 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37141 * sysdeps/powerpc/powerpc32/start.S: ... here.
37142 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37143 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37144 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37146 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37147 * sysdeps/powerpc/ifunc-sel.h: ... here.
37148 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37149 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37151 * sysdeps/sparc/elf/configure.in: Moved to ...
37152 * sysdeps/sparc/configure.in: ... here.
37153 * sysdeps/sparc/elf/configure: Delete file.
37154 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37155 * sysdeps/sparc/sparc32/start.S: ... here.
37156 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37157 * sysdeps/sparc/sparc64/start.S: ... here.
37158 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37159 * sysdeps/sparc/sparc32/Makefile: ... this.
37160 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37161 * sysdeps/sparc/sparc64/Makefile: ... this.
37163 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37164 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37165 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37166 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37167 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37168 * sysdeps/s390/s390-32/setjmp.S: ... here.
37169 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37170 * sysdeps/s390/s390-32/configure.in: ... here.
37171 * sysdeps/s390/s390-32/elf/configure: Delete file.
37172 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37173 * sysdeps/s390/s390-32/start.S: ... here.
37175 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37176 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37177 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37178 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37179 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37180 * sysdeps/s390/s390-64/setjmp.S: ... here.
37181 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37182 * sysdeps/s390/s390-64/configure.in: ... here
37183 * sysdeps/s390/s390-64/elf/configure: Delete file.
37184 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37185 * sysdeps/s390/s390-64/start.S: ... here.
37186 * sysdeps/s390/s390-64/elf/configure: Delete.
37188 * configure.in: Remove support for elf directories in sysdeps.
37190 * configure: Regenerated.
37191 * sysdeps/i386/configure: Regenerated.
37192 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37193 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37194 * sysdeps/s390/s390-32/configure: Regenerated.
37195 * sysdeps/s390/s390-64/configure: Regenerated.
37196 * sysdeps/sh/configure: Regenerated.
37197 * sysdeps/sparc/configure: Regenerated.
37198 * sysdeps/x86_64/configure: Regenerated.
37200 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37204 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37205 denormal result into account.
37207 2012-03-25 Roland McGrath <roland@hack.frob.com>
37209 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37210 Reported by Allan McRae <allan@archlinux.org>.
37212 2012-03-23 Jeff Law <law@redhat.com>
37214 * nss/getnssent.c (__nss_getent): Fix typo.
37216 2012-03-23 David S. Miller <davem@davemloft.net>
37218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37220 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37222 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37223 to pad to uint64_t for each field.
37224 (dl_tls_index): Replace unsigned long with uint64_t.
37226 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37227 Paul Pluzhnikov <ppluzhnikov@google.com>
37230 * grp/Makefile (otherlibs): Don't set it.
37231 * inet/Makefile (otherlibs): Likewise.
37232 * login/Makefile (otherlibs): Likewise.
37233 * nscd/Makefile (otherlibs): Likewise.
37234 * posix/Makefile (otherlibs): Likewise.
37235 * pwd/Makefile (otherlibs): Likewise.
37236 * rt/Makefile (otherlibs): Likewise.
37237 * sunrpc/Makefile (otherlibs): Likewise.
37238 * nss/Makefile (otherlibs): Likewise.
37239 Add libnss_files to routines and static-only-routines.
37240 ($(objpfx)getent): Remove rule.
37241 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37242 static-only-routines.
37244 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37247 * math/s_cexp.c: Include <float.h>.
37248 (__cexp): Handle exp result overflowing not necessarily
37249 overflowing both real and imaginary parts of result.
37250 * math/s_cexpf.c: Likewise.
37251 * math/s_cexpl.c: Likewise.
37252 * math/libm-test.inc (cexp_test): Add more tests.
37253 * sysdeps/i386/fpu/libm-test-ulps: Update.
37254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37256 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37258 * include/link.h (ELFW): New macro.
37259 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37260 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37262 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37264 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37267 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37269 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37271 (struct La_x32_retval): Likewise.
37273 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37275 * sysdeps/x86_64/preconfigure.in: New file.
37276 * sysdeps/x86_64/preconfigure: New generated file.
37278 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37281 * math/e_exp2l.c: Include <float.h>.
37282 (__ieee754_exp2l): Handle overflow and underflow cases
37283 separately. Only pass fractional part of argument to
37285 * math/libm-test.inc (exp2_test): Add more tests.
37287 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37288 negating x to take absolute value.
37289 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37291 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37292 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37294 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37295 computing low part if x was negated.
37296 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37298 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37300 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37301 la_x32_gnu_pltexit.
37302 (pltexit): Cast int_retval to ptrdiff_t.
37303 * elf/tst-auditmod3b.c: Likewise.
37304 * elf/tst-auditmod4b.c: Likewise.
37305 * elf/tst-auditmod5b.c: Likewise.
37306 * elf/tst-auditmod6b.c: Likewise.
37307 * elf/tst-auditmod6c.c: Likewise.
37308 * elf/tst-auditmod7b.c: Likewise.
37310 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37311 and x32_gnu_pltexit.
37313 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37314 __ELF_NATIVE_CLASS.
37315 (La_x32_regs): New macro.
37316 (La_x32_retval): Likewise.
37317 (la_x32_gnu_pltenter): New function prototype.
37318 (la_x32_gnu_pltexit): Likewise.
37320 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37322 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37327 * configure.in (libc_cv_cc_nofma): Check for option to disable
37328 generation of FMA instructions.
37329 * configure: Regenerate.
37330 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37331 * sysdeps/ieee754/dbl-64/Makefile: New file.
37332 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37333 Remove brandred-fma4.
37334 (CFLAGS-brandred-fma4.c): Remove.
37335 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37336 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37338 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37341 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37343 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37344 LLONG_MAX != LONG_MAX.
37345 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37346 (_fitoa_word): Likewise.
37347 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37348 LLONG_MAX != LONG_MAX.
37349 * stdio-common/_itowa.h: Include <_itoa.h>.
37350 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37351 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37352 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37353 only if not defined.
37354 (_ITOA_WORD_TYPE): Likewise.
37355 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37356 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37358 2012-03-21 David S. Miller <davem@davemloft.net>
37360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37362 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37364 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37365 of x86_64 when setting libc_cv_slibdir, libdir and
37367 * sysdeps/unix/sysv/linux/configure: Regenerated.
37369 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37371 * manual/lang.texi (Old Varargs): Remove section.
37372 (How Variadic): Update menu.
37373 (va_start): Do not mention varargs.h.
37375 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37376 Joseph Myers <joseph@codesourcery.com>
37378 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37380 * configure: Regenerated.
37382 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37384 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37385 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37388 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37391 * Makefile (files-for-dist): Remove NOTES.
37392 (NOTES): Remove rule.
37393 * README: Don't refer to NOTES.
37394 * manual/creature.texi: Don't include macros.texi.
37395 * manual/intro.texi (creature.texi): Remove comment referring to
37398 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37399 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37400 * configure: Regenerated.
37401 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37402 LIBC_TRY_CC_OPTION.
37403 (libc_cv_as_i686): Likewise.
37404 (libc_cv_cc_avx): Likewise.
37405 (libc_cv_cc_sse2avx): Likewise.
37406 (libc_cv_cc_fma4): Likewise.
37407 (libc_cv_cc_novzeroupper): Likewise.
37408 * sysdeps/i386/configure: Regenerated.
37411 * sysdeps/i386/fpu/s_cexp.S: Remove.
37412 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37413 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37414 * math/libm-test.inc (cexp_test): Add more tests.
37415 * sysdeps/i386/fpu/libm-test-ulps: Update.
37416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37418 2012-03-21 Allan McRae <allan@archlinux.org>
37420 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37422 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37425 * math/w_exp2.c: Do not include <float.h>.
37426 (o_threshold, u_threshold): Remove.
37427 (__exp2): Calculate result before checking finiteness and calling
37429 * math/w_exp2f.c: Likewise.
37430 * math/w_exp2l.c: Likewise.
37431 * math/libm-test.inc (exp2_test): Require overflow exception for
37435 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37436 range of signed 64-bit integers before using fistpll. Remove
37437 checks for whether integers fit in mantissa bits.
37438 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37439 the range of signed 32-bit integers before using fistpl. Remove
37440 checks for whether integers fit in mantissa bits.
37441 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37442 (__ieee754_powl): Test for y outside the range of signed 64-bit
37443 integers before using fistpll. Reduce 64-bit values to 63-bit
37445 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37446 divide-by-zero is raised for zero to large negative powers.
37447 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37448 (__ieee754_powl): Test for y outside the range of signed 64-bit
37449 integers before using fistpll. Reduce 64-bit values to 63-bit
37451 * math/libm-test.inc (pow_test): Add more tests.
37453 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37455 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37456 <stdio-common/_itoa.h>.
37457 * debug/segfault.c: Likewise.
37458 * elf/dl-cache.c: Likewise.
37459 * elf/dl-minimal.c: Likewise.
37460 * elf/dl-misc.c: Likewise.
37461 * elf/dl-sysdep.c: Likewise.
37462 * elf/dl-version.c: Likewise.
37463 * elf/rtld.c: Likewise.
37464 * hurd/hurdsock.c: Likewise.
37465 * hurd/lookup-retry.c: Likewise.
37466 * malloc/malloc.c: Likewise.
37467 * malloc/mtrace.c: Likewise.
37468 * nscd/nscd_getgr_r.c: Likewise.
37469 * nscd/nscd_getpw_r.c: Likewise.
37470 * nscd/nscd_getserv_r.c: Likewise.
37471 * posix/getopt_init.c: Likewise.
37472 * posix/wordexp.c: Likewise.
37473 * stdio-common/_itoa.c: Likewise.
37474 * stdio-common/printf_fphex.c: Likewise.
37475 * stdio-common/vfprintf.c: Likewise.
37476 * string/_strerror.c: Likewise.
37477 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37478 * sysdeps/i386/i686/hp-timing.h: Likewise.
37479 * sysdeps/mach/_strerror.c: Likewise.
37480 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37481 * sysdeps/mach/hurd/sethostid.c: Likewise.
37482 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37483 * sysdeps/mach/xpg-strerror.c: Likewise.
37484 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37485 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37486 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37487 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37488 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37489 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37490 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37491 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37492 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37493 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37494 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37495 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37496 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37497 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37498 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37499 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37500 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37501 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37502 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37503 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37504 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37506 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37508 * stdio-common/_itoa.h: Moved to ...
37509 * sysdeps/generic/_itoa.h: Here.
37511 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37513 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37514 instead of "_itoa.h" and "_itowa.h".
37515 * stdio-common/vfprintf.: Likewise.
37517 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37519 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37521 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37522 (__signbit): Likwise.
37523 (llrintf): Likwise.
37526 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37528 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37531 2012-03-20 Joseph Myers <joseph@codesourcery.com>
37533 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37534 OVERFLOW_EXCEPTION_OK.
37535 * math/libm-test.inc ("Philosophy"): Update comment about
37537 (OVERFLOW_EXCEPTION): Define.
37538 (OVERFLOW_EXCEPTION_OK): Likewise.
37539 (INVALID_EXCEPTION_OK): Renumber.
37540 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37541 (IGNORE_ZERO_INF_SIGN): Likewise.
37542 (test_exceptions): Handle FE_OVERFLOW.
37543 (exp10_test): Expect overflow exceptions.
37544 (exp2_test): Likewise.
37545 (expm1_test): Likewise.
37546 (nextafter_test): Likewise.
37547 (pow_test): Likewise.
37548 (scalbn_test): Likewise.
37549 (scalbln_test): Likewise.
37551 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37553 * sysdeps/x86_64/bits/atomic.h
37554 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37556 (atomic_exchange_acq): Likewise.
37557 (__arch_exchange_and_add_body): Likewise.
37558 (__arch_add_body): Likewise.
37559 (atomic_add_negative): Likewise.
37560 (atomic_add_zero): Likewise.
37562 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37564 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37565 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37567 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37569 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37570 Check __x86_64__ instead of __WORDSIZE.
37572 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37574 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37576 2012-03-19 David S. Miller <davem@davemloft.net>
37578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37580 * sysdeps/sparc/fpu/fenv_private.h: New file.
37581 * sysdeps/sparc/fpu/math_private.h: Use it.
37582 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37584 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37585 (libc_feholdexcept_setroundl): Remove.
37586 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37588 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37589 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37591 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37593 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37594 int64_t instead of long int.
37595 (INSERT_WORDS64): Likwise.
37597 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37599 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37600 _Unwind_GetCFA return to _Unwind_Ptr first.
37602 2012-03-19 Joseph Myers <joseph@codesourcery.com>
37605 * math/s_clog.c: Include <float.h>.
37606 (__clog): Scale large or subnormal inputs.
37607 * math/s_clogf.c: Likewise.
37608 * math/s_clogl.c: Likewise.
37609 * math/s_clog10.c: Include <float.h>.
37610 (M_LOG10_2): Define.
37611 (__clog10): Scale large or subnormal inputs.
37612 * math/s_clog10f.c: Likewise.
37613 * math/s_clog10l.c: Likewise.
37614 * math/libm-test.inc (clog_test): Add more tests.
37615 (clog10_test): Likewise.
37616 * sysdeps/i386/fpu/libm-test-ulps: Update.
37617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37620 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37622 * math/libm-test.inc (atan2_test): Add another test.
37624 * Makerules (common-objdir-compile): Remove.
37625 * sysdeps/unix/Makefile (config-generated): Do not add
37626 $(unix-generated) to variable.
37627 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37628 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37630 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37632 [generic bits/local_lim.h] (before-compile): Do not append to
37634 [generic bits/local_lim.h] (common-generated): Likewise.
37635 [generic sys/param.h] (before-compile): Do not append to variable.
37636 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37637 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37638 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37639 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37641 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37642 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37643 [generic sys/param.h] ($(addprefix
37644 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37645 [generic sys/param.h] (common-generated): Do not append to
37647 [generic sys/param.h] (sysdep_headers): Likewise.
37648 [generic bits/errno.h] (before-compile): Do not append to
37650 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37652 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37653 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37654 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37655 [generic bits/errno.h] (common-generated): Do not append to
37657 [generic bits/ioctls.h] (before-compile): Do not append to
37659 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37661 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37662 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37663 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37665 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37666 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37667 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37668 [generic bits/ioctls.h] (common-generated): Do not append to
37670 [generic sys/syscall.h] (syscall.h): Remove variable.
37671 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37673 [generic sys/syscall.h] (before-compile): Do not append to
37675 [generic sys/syscall.h] (common-generated): Likewise.
37676 * sysdeps/unix/errnos-tmpl.c: Remove file.
37677 * sysdeps/unix/errnos.awk: Likewise.
37678 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37679 * sysdeps/unix/ioctls.awk: Likewise.
37680 * sysdeps/unix/mk-local_lim.c: Likewise.
37681 * sysdeps/unix/snarf-ioctls: Likewise.
37683 2012-03-19 Richard Henderson <rth@twiddle.net>
37685 * sysdeps/i386/fpu/fenv_private.h: New file.
37686 * sysdeps/i386/fpu/math_private.h: Use it.
37687 (math_opt_barrier, math_force_eval): Remove.
37688 (libc_feholdexcept_setround_53bit): Remove.
37689 (libc_feupdateenv_53bit): Remove.
37690 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37691 (math_opt_barrier, math_force_eval): Remove.
37692 (libc_feholdexcept): Remove.
37693 (libc_feholdexcept_setround): Remove.
37694 (libc_fetestexcept, libc_fesetenv): Remove.
37695 (libc_feupdateenv_test): Remove.
37696 (libc_feupdateenv, libc_feholdsetround): Remove.
37697 (libc_feresetround): Remove.
37699 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37700 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37702 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37703 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37704 (libc_feupdateenv_testl): New.
37705 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37706 (libc_feupdateenv_testf): New.
37707 (libc_feupdateenv): Use libc_feupdateenv_test.
37708 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37709 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37711 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37712 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37713 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37714 (libc_feresetround_noex): New.
37715 (libc_feresetround_noexf): New.
37716 (libc_feresetround_noexl): New.
37717 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37718 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37719 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37720 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37722 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37723 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37725 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37726 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37727 SET_RESTORE_ROUND_NOEX.
37728 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37729 SET_RESTORE_ROUND_NOEXF.
37730 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37731 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37732 (libc_feholdsetroundf): New.
37733 (libc_feresetround, libc_feresetroundf): New.
37735 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37736 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37737 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37739 * sysdeps/generic/math_private.h: Include <fenv.h>.
37740 (default_libc_feholdexcept): New.
37741 (default_libc_feholdexcept_setround): New.
37742 (default_libc_fesetenv, default_libc_feupdateenv): New.
37743 (libc_feholdexcept): Only define if undefined.
37744 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37745 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37746 (libc_feholdexcept_setroundl): Likewise.
37747 (libc_feholdexcept_setround_53bit): Likewise.
37748 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37749 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37750 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37751 (libc_feupdateenv_53bit): Likewise.
37752 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37753 (libc_feholdexcept): Convert from macro to inline function.
37754 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37755 (libc_fesetenv, libc_feupdateenv): Likewise.
37757 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37758 not previously defined.
37759 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37760 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37761 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37762 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37763 * sysdeps/ieee754/flt-32/math_private.h: New file.
37764 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37765 math_private.h below SET_FLOAT_WORD.
37766 (__isnan, __isinf_ns, __finite): Remove.
37767 (__isnanf, __isinf_nsf, __finitef): Remove.
37769 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37773 2012-03-17 David S. Miller <davem@davemloft.net>
37776 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37779 2012-03-16 David S. Miller <davem@davemloft.net>
37781 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37785 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37787 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37788 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37789 sysdep_routines when subdir is sysvipc.
37790 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37791 __getshmlba helper.
37793 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37795 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37797 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37800 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37802 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37803 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37804 (__lround): Renamed to ...
37805 (__llround): This. Replace long int with long long int.
37806 Define lround functions as aliases of llround functions.
37807 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37809 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37811 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37812 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37813 adresses to uintptr_t. Replace "long int" and "unsigned long
37814 int" with "greg_t" on va_arg.
37816 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37818 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37819 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37821 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37822 Move e_machine check before EI_CLASS check. Handle x32
37823 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37824 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37825 SKIP_EM_IA_64 and include
37826 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37828 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37829 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37830 (add_system_dir): New macro.
37832 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37833 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37835 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37846 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37848 * math/w_j0f.c (j0f): Likewise.
37850 * math/w_j0l.c (__j0l): Likewise.
37852 * math/w_j1.c (j1): Likewise.
37854 * math/w_j1f.c (j1f): Likewise.
37856 * math/w_j1l.c (__j1l): Likewise.
37858 * math/w_jn.c (jn): Likewise.
37860 * math/w_jnf.c (jnf): Likewise.
37862 * math/w_jnl.c (__jnl): Likewise.
37864 * math/libm-test.inc (j0_test): Add more tests.
37865 (j1_test): Likewise.
37866 (jn_test): Likewise. Add trailing semicolon to existing test.
37867 (y0_test): Likewise.
37868 (y1_test): Likewise.
37869 * sysdeps/i386/fpu/libm-test-ulps: Update.
37870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37874 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37875 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37876 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37877 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37878 (__tanl): Set errno for infinite argument.
37879 * sysdeps/i386/fpu/mptan.c: Remove.
37880 * sysdeps/i386/fpu/s_tan.S: Likewise.
37881 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37882 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37883 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37884 * math/libm-test.inc (tan_test): Add more tests and enable more
37885 tests for double and long double.
37886 * sysdeps/i386/fpu/libm-test-ulps: Update.
37887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37889 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37891 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37892 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37894 2012-03-16 Roland McGrath <roland@hack.frob.com>
37896 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37897 * configure.in: Use it for both main tree and add-ons.
37898 * configure: Regenerated.
37900 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37902 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37904 2012-03-16 Joseph Myers <joseph@codesourcery.com>
37906 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37910 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37911 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37912 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37913 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37914 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37916 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37917 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37918 != 0 for prec == 2.
37919 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37920 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37921 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37922 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37923 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37924 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37925 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37926 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37927 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37928 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37929 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37930 * math/libm-test.inc (cos_test): Add more tests and enable more
37931 tests for long double.
37932 (sin_test): Likewise.
37933 (sincos_test): Likewise.
37934 * sysdeps/i386/fpu/libm-test-ulps: Update.
37935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37937 2012-03-16 David S. Miller <davem@davemloft.net>
37939 * sysdeps/sparc/fpu/math_private.h: New file.
37941 2012-03-15 David S. Miller <davem@davemloft.net>
37943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37949 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37950 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37952 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37953 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37957 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37958 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37960 * sysdeps/sparc/sparc-ifunc.h: New file.
37961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37985 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37986 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37987 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37988 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37989 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37995 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37996 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37997 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37998 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37999 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38000 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38001 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38002 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38003 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38004 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38006 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38008 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38012 2012-03-15 Andreas Jaeger <aj@suse.de>
38015 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38016 ieee754/flt-32 implementation for sin, cos and sincos.
38017 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38018 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38019 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38020 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38021 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38022 ieee754/flt-32 implementation for tan.
38024 * math/libm-test.inc (cos_test): Enable some large input tests for
38026 (sin_test): Likewise.
38027 (sincos_test): Likewise.
38028 (tan_test): Add tests for large input.
38030 * sysdeps/i386/fpu/libm-test-ulps: Update.
38032 2012-03-15 Andreas Jaeger <aj@suse.de>
38035 * math/libm-test.inc (cos_test): Add more test cases.
38036 (sin_test): Likewise.
38037 (sincos_test): Likewise.
38039 2012-03-15 Andreas Jaeger <aj@suse.de>
38042 * math/libm-test.inc (cos_test): Add a test case for large input
38044 (sin_test): Likewise.
38045 (sincos_test): Likewise.
38047 2012-03-15 Andreas Jaeger <aj@suse.de>
38048 Joseph Myers <joseph@codesourcery.com>
38051 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38052 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38053 * sysdeps/i386/fpu/branred.c: Likewise.
38054 * sysdeps/i386/fpu/dosincos.c: Likewise.
38055 * sysdeps/i386/fpu/mpa.c: Likewise.
38056 * sysdeps/i386/fpu/s_cos.S: Likewise.
38057 * sysdeps/i386/fpu/s_sin.S: Likewise.
38058 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38059 * sysdeps/i386/fpu/sincos32.c: Likewise.
38061 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38063 (libc_feupdateenv_53bit): Define.
38064 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38066 (libc_feupdateenv_53bit): Define.
38068 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38069 53 bit (without extend i386 double precision).
38071 * math/libm-test.inc (sincos_test): Add tests for large input.
38075 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38077 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38081 2012-03-15 David S. Miller <davem@davemloft.net>
38083 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38084 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38085 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38086 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38091 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38093 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38094 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38095 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38096 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38110 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38111 fmin/fmax sysdep routines.
38112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38114 2012-03-14 David S. Miller <davem@davemloft.net>
38116 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38117 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38118 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38119 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38120 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38121 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38122 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38123 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38124 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38125 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38126 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38127 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38128 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38129 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38130 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38133 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38134 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38135 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38136 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38137 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38138 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38139 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38140 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38141 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38142 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38143 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38144 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38188 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38193 * sysdeps/sparc/configure.in: New file.
38194 * sysdeps/sparc/configure: Generate.
38195 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38196 * configure: Regenerate.
38197 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38198 * config.make.in (have-as-vis3): New.
38199 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38200 available use -Av9d instead of -Av9a.
38201 * sysdeps/sparc/sparc64/Makefile: Likewise.
38202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38211 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38212 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38213 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38214 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38215 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38217 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38218 fzeros/fnegs to load 0x80000000 into a float register instead of
38220 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38222 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38224 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38226 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38227 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38228 ($(inst_includedir)/bits/syscall.h): Remove rule.
38229 ($(objpfx)bits/syscall.d): Include instead of
38230 $(objpfx)syscall-list.d.
38231 (generated): Change syscall-list.h and syscall-list.d to
38232 bits/syscall.h and bits/syscall.d.
38234 2012-03-14 Roland McGrath <roland@hack.frob.com>
38237 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38239 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38242 * math/s_csqrt.c: Include <float.h>.
38243 (__csqrt): Scale large or subnormal inputs.
38244 * math/s_csqrtf.c: Likewise.
38245 * math/s_csqrtl.c: Likewise.
38246 * math/libm-test.inc (csqrt_test): Add more tests.
38247 * sysdeps/i386/fpu/libm-test-ulps: Update.
38248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38251 * math/libm-test.inc (hypot_test): Add more tests.
38253 2012-03-13 David S. Miller <davem@davemloft.net>
38256 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38257 double-precision for the calculation instead of scaling.
38259 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38261 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38262 manipulate bits before adding and subtracting TWO52[sx].
38263 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38264 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38266 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38268 2012-03-13 David S. Miller <davem@davemloft.net>
38270 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38271 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38272 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38273 rtld-global-offsets.h
38274 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38276 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38279 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38281 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38282 'err' in the ifdef scope in which it is actually used.
38284 * nss/nss_db/db-init.c: Include string.h
38286 2012-03-12 David S. Miller <davem@davemloft.net>
38288 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38289 masking out of the most significant byte of random value used.
38290 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38291 Fix coding style in previous change.
38293 * sysdeps/unix/sysv/linux/kernel-features.h
38294 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38295 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38297 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38300 2012-03-11 David S. Miller <davem@davemloft.net>
38302 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38303 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38304 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38305 for 'resultvar' otherwise things get truncated on 64-bit.
38307 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38308 Fix masking out of the most significant byte of random value used.
38310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38312 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38316 2012-03-09 David S. Miller <davem@davemloft.net>
38318 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38319 variables with appropriate CPP guards.
38320 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38321 from the frame pointer, not the stack pointer. Correct layout
38322 comments. Fix test on resulting framesize and the management of
38323 the outregs buffer for pltexit. Preserve floating point return
38324 values across _dl_call_pltexit call.
38325 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38326 framesize and the management of the outregs buffer for pltexit.
38327 Preserve floating point return values across _dl_call_pltexit
38329 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38330 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38331 (la_sparc64_gnu_pltexit): New functions.
38332 (print_exit): Fix format string for return register value.
38334 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38336 * sunrpc/Makefile (others): Add rpcgen.
38337 ($(objpfx)rpcgen): Remove special build rule and dependency on
38339 * sunrpc/rpcgen.c: New file.
38341 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38344 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38345 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38346 * sysdeps/i386/crti.S: Likewise.
38347 * sysdeps/i386/crtn.S: Likewise.
38348 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38349 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38350 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38351 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38352 * sysdeps/sh/crti.S: Likewise.
38353 * sysdeps/sh/crtn.S: Likewise.
38354 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38357 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38359 * locale/programs/locfile-kw.gperf: Likewise.
38360 * locale/programs/charmap-kw.h: Regenerated.
38361 * locale/programs/locfile-kw.h: Likewise.
38364 * intl/plural.y: Replace FSF snail mail address with URL.
38365 * intl/plural.c: Regenerated.
38367 2012-03-09 Richard Henderson <rth@twiddle.net>
38369 * include/math_private.h: Remove file.
38370 * math/math_private.h: Move file ...
38371 * sysdeps/generic/math_private.h: ... here.
38373 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38374 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38375 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38377 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38378 and <math_private.h>.
38379 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38380 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38381 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38382 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38383 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38384 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38385 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38386 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38387 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38388 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38389 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38390 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38391 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38392 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38393 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38394 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38395 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38396 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38397 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38398 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38399 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38400 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38401 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38402 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38403 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38404 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38405 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38406 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38407 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38408 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38409 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38410 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38411 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38412 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38413 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38414 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38415 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38416 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38417 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38418 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38419 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38420 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38421 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38422 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38423 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38424 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38425 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38426 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38427 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38428 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38429 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38430 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38431 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38432 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38433 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38434 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38435 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38436 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38437 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38438 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38439 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38440 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38441 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38442 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38443 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38444 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38445 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38446 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38447 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38448 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38449 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38450 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38451 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38452 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38453 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38454 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38455 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38456 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38457 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38458 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38459 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38460 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38461 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38462 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38463 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38464 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38465 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38466 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38467 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38468 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38469 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38470 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38471 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38472 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38473 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38474 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38475 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38476 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38477 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38478 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38479 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38480 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38481 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38482 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38483 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38484 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38485 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38486 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38487 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38488 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38489 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38490 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38491 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38492 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38493 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38494 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38495 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38496 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38497 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38498 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38499 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38500 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38501 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38502 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38503 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38504 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38505 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38506 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38507 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38508 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38509 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38510 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38511 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38512 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38513 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38514 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38515 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38516 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38517 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38518 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38519 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38520 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38521 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38522 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38523 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38524 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38525 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38526 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38527 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38528 * sysdeps/ieee754/k_standard.c: Likewise.
38529 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38530 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38531 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38532 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38533 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38534 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38535 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38536 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38537 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38538 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38539 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38540 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38541 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38542 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38543 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38544 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38545 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38546 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38547 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38548 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38549 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38550 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38551 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38552 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38553 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38554 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38555 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38556 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38557 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38558 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38559 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38560 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38561 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38562 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38563 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38564 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38565 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38566 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38567 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38568 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38569 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38570 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38571 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38572 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38573 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38574 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38575 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38576 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38577 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38578 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38579 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38580 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38581 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38582 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38583 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38584 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38585 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38586 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38587 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38588 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38589 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38590 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38591 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38592 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38593 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38594 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38595 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38596 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38597 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38598 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38599 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38600 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38601 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38602 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38603 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38604 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38605 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38606 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38607 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38608 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38609 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38610 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38611 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38612 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38613 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38614 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38615 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38616 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38617 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38618 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38619 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38620 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38621 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38622 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38623 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38624 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38625 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38626 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38627 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38628 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38629 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38630 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38631 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38632 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38633 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38634 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38635 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38636 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38637 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38638 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38639 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38640 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38641 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38642 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38643 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38644 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38645 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38646 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38647 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38648 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38649 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38650 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38651 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38652 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38653 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38654 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38655 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38656 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38657 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38658 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38659 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38660 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38661 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38662 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38663 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38664 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38665 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38666 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38667 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38668 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38669 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38670 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38671 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38672 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38673 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38674 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38675 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38676 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38677 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38678 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38679 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38680 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38681 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38682 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38683 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38684 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38685 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38686 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38687 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38688 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38689 * sysdeps/ieee754/s_lib_version.c: Likewise.
38690 * sysdeps/ieee754/s_matherr.c: Likewise.
38691 * sysdeps/ieee754/s_signgam.c: Likewise.
38692 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38693 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38694 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38695 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38696 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38697 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38698 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38699 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38700 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38701 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38702 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38703 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38704 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38705 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38706 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38707 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38708 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38709 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38710 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38711 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38712 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38714 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38716 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38717 * sunrpc/rpc_main.c: Likewise.
38718 * sunrpc/rpc_svcout.c: Likewise.
38720 2012-03-09 David S. Miller <davem@davemloft.net>
38722 * include/math_private.h: New file.
38724 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38726 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38727 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38728 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38729 from <bits/socket_type.h>.
38730 (enum __socket_type): Don't define here.
38731 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38732 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38733 bits/socket_type.h.
38736 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38737 checking __USE_GNU.
38739 * Makerules ($(inst_includedir)/%.h): New rule.
38740 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38741 (install-others): Remove variable setting.
38742 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38744 2012-03-08 Richard Henderson <rth@twiddle.net>
38746 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38747 from macro to inline function; merge with the
38748 !__LIBC_INTERNAL_MATH_INLINES version.
38749 (__ieee754_sqrtf): Likewise.
38751 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38752 to inline function.
38753 (__rintf, __floor, __floorf): Likewise.
38755 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38756 macro to inline function.
38757 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38759 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38760 not <math/math_private.h>.
38762 2012-03-08 David S. Miller <davem@davemloft.net>
38764 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38766 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38768 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38770 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38772 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38773 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38775 2012-03-08 Ulrich Drepper <drepper@gmail.com>
38777 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38778 be defined individually, they must be defined as a block. Define
38779 S for printing a string instead of hidint the different by using a
38780 macro for adding the 'l'.
38781 * stdio-common/tst-fphex-wide.c: Adjust.
38783 2012-03-07 Marek Polacek <polacek@redhat.com>
38785 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38787 2012-03-08 Marek Polacek <polacek@redhat.com>
38790 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38791 * stdio-common/tst-fphex.c: Define a few macros to make the
38792 test reusable. Use them.
38793 * stdio-common/tst-fphex-wide.c: New file.
38795 2012-03-08 Joseph Myers <joseph@codesourcery.com>
38798 * manual/macros.texi (gnusystems): New macro.
38799 (nongnusystems): Likewise.
38800 (gnulinuxhurdsystems): Likewise.
38801 (gnuhurdsystems): Likewise..
38802 (gnulinuxsystems): Likewise.
38803 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38804 variants of the GNU system, not "GNU system".
38805 * manual/conf.texi: Likewise.
38806 * manual/errno.texi: Likewise. Update example of errno macro
38808 * manual/filesys.texi: Likewise.
38809 (getumask): Document as specific to GNU/Hurd.
38810 * manual/install.texi: Likewise. Reword some references to
38812 * manual/intro.texi: Likewise.
38813 * manual/io.texi: Likewise.
38814 (File Name Portability): Detail which constraints are inapplicable
38815 to all GNU systems and which are only inapplicable to GNU/Hurd.
38816 * manual/job.texi: Likewise.
38817 * manual/llio.texi: Likewise.
38818 (O_NOCTTY): Document as present on GNU/Linux.
38819 * manual/maint.texi: Likewise.
38820 * manual/memory.texi: Likewise.
38821 * manual/pattern.texi: Likewise.
38822 * manual/pipe.texi: Likewise.
38823 * manual/process.texi: Likewise.
38824 * manual/resource.texi: Likewise.
38825 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38827 * manual/setjmp.texi: Likewise.
38828 * manual/signal.texi: Likewise.
38829 * manual/startup.texi: Likewise.
38830 * manual/stdio.texi: Likewise.
38831 * manual/terminal.texi: Likewise.
38832 (ONLCR): Document as POSIX.
38833 (OXTABS): Document availability on GNU/Linux as XTABS.
38834 (ONOEOT): Document availability separately from other bits.
38835 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38836 * manual/time.texi: Likewise.
38837 * manual/users.texi: Likewise.
38838 * INSTALL: Regenerated.
38839 * sysdeps/gnu/errlist.c: Regenerated.
38841 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38842 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38843 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38845 * configure: Regenerated.
38847 2012-03-07 Joseph Myers <joseph@codesourcery.com>
38849 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38850 default includes instead of AC_HEADER_CHECK.
38851 * sysdeps/i386/configure: Regenerated.
38854 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38855 * math/s_cacoshf.c (__cacoshf): Likewise.
38856 * math/s_cacoshl.c (__cacoshl): Likewise.
38857 * math/s_casinh.c (__casinh): Set signs of result from argument.
38858 * math/s_casinhf.c (__casinhf): Likewise.
38859 * math/s_casinhl.c (__casinhl): Likewise.
38860 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38861 (casinh_test): Add more tests.
38862 * sysdeps/i386/fpu/libm-test-ulps: Update.
38863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38865 2012-03-07 Ulrich Drepper <drepper@gmail.com>
38867 * po/zh_TW.po: Update from translation team.
38869 * login/Makefile (distribute): Remove variable.
38870 * catgets/Makefile: Likewise.
38871 * mach/Makefile: Likewise.
38872 * malloc/Makefile: Likewise.
38873 * misc/Makefile: Likewise.
38874 * iconv/Makefile: Likewise.
38875 * nscd/Makefile: Likewise.
38876 * hurd/Makefile: Likewise.
38877 * manual/Makefile: Likewise.
38878 * locale/Makefile: Likewise.
38879 * intl/Makefile: Likewise.
38880 * conform/Makefile: Likewise.
38881 * nss/Makefile: Likewise.
38882 * time/Makefile: Likewise.
38883 * soft-fp/Makefile: Likewise.
38884 * dirent/Makefile: Likewise.
38885 * gmon/Makefile: Likewise.
38886 * po/Makefile: Likewise.
38887 * rt/Makefile: Likewise.
38888 * socket/Makefile: Likewise.
38889 * math/Makefile: Likewise.
38890 * signal/Makefile: Likewise.
38891 * debug/Makefile: Likewise.
38892 * elf/Makefile: Likewise.
38893 * timezone/Makefile: Likewise.
38894 * stdlib/Makefile: Likewise.
38895 * iconvdata/Makefile: Likewise.
38896 * sunrpc/Makefile: Likewise.
38897 * io/Makefile: Likewise.
38898 * argp/Makefile: Likewise.
38899 * inet/Makefile: Likewise.
38900 * hesiod/Makefile: Likewise.
38901 * grp/Makefile: Likewise.
38902 * csu/Makefile: Likewise.
38903 * wctype/Makefile: Likewise.
38904 * crypt/Makefile: Likewise.
38905 * libio/Makefile: Likewise.
38906 * string/Makefile: Likewise.
38907 * nis/Makefile: Likewise.
38908 * resolv/Makefile: Likewise.
38909 * stdio-common/Makefile: Likewise.
38910 * wcsmbs/Makefile: Likewise.
38911 * dlfcn/Makefile: Likewise.
38912 * posix/Makefile: Likewise.
38915 * timezone/Makefile: Don't install timezone files, just the programs
38918 2012-03-06 Ulrich Drepper <drepper@gmail.com>
38920 * nss/databases.def: Add missing gshadow entry.
38922 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38924 2012-03-06 Marek Polacek <polacek@redhat.com>
38927 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38928 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38929 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38930 * stdio-common/tst-long-dbl-fphex.c: New file.
38932 2012-03-06 David S. Miller <davem@davemloft.net>
38934 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38935 (set_obp_int): New function.
38936 (get_obp_int): New function.
38937 (__get_clockfreq_via_dev_openprom): Likewise.
38938 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38939 Avoid unused variable warnings on 'val' and use builtin_expect.
38940 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38942 (INLINE_CLONE_SYSCALL): Likewise.
38944 2012-03-05 David S. Miller <davem@davemloft.net>
38946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38948 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38952 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38953 only for |x| >= 40.
38954 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38956 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
38958 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38959 Replace gettimeofday with __vdso_gettimeofday.
38961 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38962 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38963 __vdso_clock_gettime and __vdso_getcpu.
38965 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38966 time with __vdso_time.
38968 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38970 * manual/lang.texi (size_t): Note types to which size_t may be
38971 equivalent with the GNU C Library, but do not describe when
38972 differences between them are significant.
38974 2012-03-05 Andreas Jaeger <aj@suse.de>
38976 * sysdeps/i386/fpu/libm-test-ulps: Update.
38978 2012-03-05 Joseph Myers <joseph@codesourcery.com>
38981 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38982 (__ieee754_pow): Save and restore rounding mode and use
38983 round-to-nearest for main computations.
38984 * math/libm-test.inc (pow_test_tonearest): New function.
38985 (pow_test_towardzero): Likewise.
38986 (pow_test_downward): Likewise.
38987 (pow_test_upward): Likewise.
38988 (main): Call the new functions.
38989 * sysdeps/i386/fpu/libm-test-ulps: Update.
38990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38993 * math/libm-test.inc (cosh_test_tonearest): New function.
38994 (cosh_test_towardzero): Likewise.
38995 (cosh_test_downward): Likewise.
38996 (cosh_test_upward): Likewise.
38997 (sinh_test_tonearest): Likewise.
38998 (sinh_test_towardzero): Likewise.
38999 (sinh_test_downward): Likewise.
39000 (sinh_test_upward): Likewise.
39001 (main): Call the new functions.
39002 * sysdeps/i386/fpu/libm-test-ulps: Update.
39003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39005 2012-03-05 Tom de Vries <tom@codesourcery.com>
39007 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39008 default stack guard is set in last bytes.
39009 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39011 2012-03-05 Kees Cook <keescook@chromium.org>
39013 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39016 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39017 possibly allocate from heap instead of stack.
39018 * stdio-common/bug-vfprintf-nargs.c: New file.
39019 * stdio-common/Makefile (tests): Add nargs overflow test.
39021 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39025 2012-03-03 Marek Polacek <polacek@redhat.com>
39027 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39028 * math/math_private.h: Likewise.
39029 * stdlib/tst-strtod.c: Likewise.
39030 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39031 * sysdeps/x86_64/bits/atomic.h: Likewise.
39033 2012-03-02 David S. Miller <davem@davemloft.net>
39035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39039 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39040 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39041 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39042 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39044 2012-03-02 Roland McGrath <roland@hack.frob.com>
39047 * manual/examples/README: New file, says the example source files
39048 can be used under GPL>=2.
39049 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39050 line containing just "*/".
39051 * manual/examples/add.c: Add copyright header (GPL>=2).
39052 * manual/examples/argp-ex1.c: Likewise.
39053 * manual/examples/argp-ex2.c: Likewise.
39054 * manual/examples/argp-ex3.c: Likewise.
39055 * manual/examples/argp-ex4.c: Likewise.
39056 * manual/examples/atexit.c: Likewise.
39057 * manual/examples/db.c: Likewise.
39058 * manual/examples/dir.c: Likewise.
39059 * manual/examples/dir2.c: Likewise.
39060 * manual/examples/execinfo.c: Likewise.
39061 * manual/examples/filecli.c: Likewise.
39062 * manual/examples/filesrv.c: Likewise.
39063 * manual/examples/fmtmsgexpl.c: Likewise.
39064 * manual/examples/genpass.c: Likewise.
39065 * manual/examples/inetcli.c: Likewise.
39066 * manual/examples/inetsrv.c: Likewise.
39067 * manual/examples/isockad.c: Likewise.
39068 * manual/examples/longopt.c: Likewise.
39069 * manual/examples/memopen.c: Likewise.
39070 * manual/examples/memstrm.c: Likewise.
39071 * manual/examples/mkfsock.c: Likewise.
39072 * manual/examples/mkisock.c: Likewise.
39073 * manual/examples/mygetpass.c: Likewise.
39074 * manual/examples/pipe.c: Likewise.
39075 * manual/examples/popen.c: Likewise.
39076 * manual/examples/rprintf.c: Likewise.
39077 * manual/examples/search.c: Likewise.
39078 * manual/examples/select.c: Likewise.
39079 * manual/examples/setjmp.c: Likewise.
39080 * manual/examples/sigh1.c: Likewise.
39081 * manual/examples/sigusr.c: Likewise.
39082 * manual/examples/stpcpy.c: Likewise.
39083 * manual/examples/strdupa.c: Likewise.
39084 * manual/examples/strftim.c: Likewise.
39085 * manual/examples/strncat.c: Likewise.
39086 * manual/examples/subopt.c: Likewise.
39087 * manual/examples/swapcontext.c: Likewise.
39088 * manual/examples/termios.c: Likewise.
39089 * manual/examples/testopt.c: Likewise.
39090 * manual/examples/testpass.c: Likewise.
39091 * manual/examples/timeval_subtract.c: Likewise.
39094 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39096 * manual/timeval_subtract.c.texi: ... here, new file.
39098 2012-03-02 David S. Miller <davem@davemloft.net>
39100 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39102 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39105 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39106 (__sin): Save and restore rounding mode and use round-to-nearest
39107 for all computations.
39108 (__cos): Save and restore rounding mode and use round-to-nearest
39109 for all computations.
39110 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39112 (tan): Save and restore rounding mode and use round-to-nearest for
39114 * math/libm-test.inc (cos_test_tonearest): New function.
39115 (cos_test_towardzero): Likewise.
39116 (cos_test_downward): Likewise.
39117 (cos_test_upward): Likewise.
39118 (sin_test_tonearest): Likewise.
39119 (sin_test_towardzero): Likewise.
39120 (sin_test_downward): Likewise.
39121 (sin_test_upward): Likewise.
39122 (tan_test_tonearest): Likewise.
39123 (tan_test_towardzero): Likewise.
39124 (tan_test_downward): Likewise.
39125 (tan_test_upward): Likewise.
39126 (main): Call the new functions.
39127 * sysdeps/i386/fpu/libm-test-ulps: Update.
39128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39131 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39132 small n, then large n, before computing and testing k+n.
39133 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39134 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39136 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39138 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39139 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39140 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39141 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39142 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39143 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39144 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39145 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39146 * math/libm-test.inc (scalbn_test): Add more tests.
39147 (scalbln_test): Likewise.
39149 * manual/filesys.texi (mode_t): Describe constraints on size and
39150 signedness, not exact equivalence to a particular type.
39152 (ino64_t): Likewise.
39154 (nlink_t): Likewise.
39155 (blkcnt_t): Likewise.
39156 (blkcnt64_t): Likewise.
39157 * manual/llio.texi (off_t): Likewise.
39160 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39161 (__ieee754_exp): Save and restore rounding mode and use
39162 round-to-nearest for all computations.
39163 * math/libm-test.inc (exp_test_tonearest): New function.
39164 (exp_test_towardzero): Likewise.
39165 (exp_test_downward): Likewise.
39166 (exp_test_upward): Likewise.
39167 (main): Call the new functions.
39168 * sysdeps/i386/fpu/libm-test-ulps: Update.
39169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39171 2012-03-01 Chris Demetriou <cgd@google.com>
39173 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39174 have predictable order.
39176 2012-03-01 David S. Miller <davem@davemloft.net>
39178 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39180 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39181 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39182 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39183 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39185 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39186 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39187 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39189 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39190 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39191 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39192 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39193 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39197 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39198 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39199 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39201 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39202 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39203 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39204 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39205 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39206 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39207 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39208 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39209 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39210 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39211 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39212 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39213 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39214 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39215 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39216 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39217 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39218 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39219 * sysdeps/sparc/elf/configure: Regenerated.
39221 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39223 * configure.in (AS, LD): Require binutils 2.20 or later.
39224 * configure: Regenerated.
39225 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39226 as required minimum version.
39227 * INSTALL: Regenerated.
39231 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39232 before squaring exponent.
39233 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39234 bottom long double and 27 bits of top long double before squaring
39236 * math/libm-test.inc (erfc_test): Add more tests.
39237 * sysdeps/i386/fpu/libm-test-ulps: Update.
39238 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39241 2012-03-01 Kai Tietz <ktietz@redhat.com>
39243 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39244 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39245 containing bit-fields.
39246 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39247 * soft-fp/single.h (_FP_UNION_S): Likewise.
39248 * soft-fp/double.h (_FP_UNION_D): Likewise.
39250 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39253 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39254 not include ../strcmp.S.
39255 [USE_AS_STRNCASECMP_L]: Likewise.
39256 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39257 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39258 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39259 (__strncasecmp_l_ia32): Define as alias to
39260 __strncasecmp_l_nonascii.
39263 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39264 * sysdeps/i386/fpu/libm-test-ulps: Update.
39265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39267 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39270 2012-02-29 Jeff Law <law@redhat.com>
39272 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39273 out of bounds read.
39275 2012-02-29 Marek Polacek <polacek@redhat.com>
39278 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39279 * elf/Makefile: Add rules to run tst-unused-dep.out.
39281 2012-02-28 David S. Miller <davem@davemloft.net>
39283 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39284 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39285 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39286 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39287 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39288 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39290 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39292 * math/libm-test.inc (llround_test): Move one test from
39293 lround_test. Use TEST_f_L in moved test.
39294 (lround_test): Move misplaced test to llround_test. Add testcase
39297 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39299 * sysdeps/x86_64/fpu/e_expf.S: New file.
39300 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39302 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39305 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39306 of remain_len that may cause incomplete multi-byte character and
39308 * posix/bug-regex33.c: New file.
39309 * posix/Makefile (tests): Add bug-regex33.
39311 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39313 * manual/macros.texi: New file.
39314 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39315 * manual/libc.texinfo: Include macros.texi.
39316 * manual/creatute.texi: Likewise.
39317 * manual/install.texi: Likewise.
39318 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39319 @glibcadj{} in references to the GNU C Library.
39320 * manual/charset.texi: Likewise.
39321 * manual/conf.texi: Likewise.
39322 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39323 when not using those macros.
39324 * manual/creature.texi: Likewise.
39325 * manual/crypt.texi: Likewise.
39326 * manual/errno.texi: Likewise.
39327 * manual/filesys.texi: Likewise.
39328 * manual/header.texi: Likewise.
39329 * manual/install.texi: Likewise.
39330 * manual/intro.texi: Likewise.
39331 * manual/io.texi: Likewise.
39332 * manual/job.texi: Likewise.
39333 * manual/lang.texi: Likewise.
39334 * manual/libc.texiinfo: Likewise.
39335 * manual/llio.texi: Likewise.
39336 * manual/locale.texi: Likewise.
39337 * manual/maint.texi: Likewise.
39338 * manual/math.texi: Likewise.
39339 * manual/memory.texi: Likewise.
39340 * manual/message.texi: Likewise.
39341 * manual/nss.texi: Likewise.
39342 * manual/pattern.texi: Likewise.
39343 * manual/process.texi: Likewise.
39344 * manual/resource.texi: Likewise.
39345 * manual/search.texi: Likewise.
39346 * manual/setjmp.texi: Likewise.
39347 * manual/signal.texi: Likewise.
39348 * manual/socket.texi: Likewise.
39349 * manual/startup.texi: Likewise.
39350 * manual/stdio.texi: Likewise.
39351 * manual/string.texi: Likewise.
39352 * manual/sysinfo.texi: Likewise.
39353 * manual/syslog.texi: Likewise.
39354 * manual/terminal.texi: Likewise.
39355 * manual/time.texi: Likewise.
39356 * manual/users.texi: Likewise.
39357 * INSTALL: Regenerated.
39358 * NOTES: Regenerated.
39359 * sysdeps/gnu/errlist.c: Regenerated.
39361 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39363 * include/dirent.h: Include <dirstream.h> before
39366 2012-02-28 David S. Miller <davem@davemloft.net>
39368 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39369 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39370 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39371 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39373 2012-02-27 David S. Miller <davem@davemloft.net>
39375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39377 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39378 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39381 frame pointer instead of stack pointer relative arg slot.
39382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39383 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39384 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39386 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39389 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39391 2012-02-27 David S. Miller <davem@davemloft.net>
39393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39397 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39398 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39399 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39400 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39402 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39404 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39405 later. Allow versions 5-9.
39406 * configure: Regenerated.
39407 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39408 required minimum version and 4.6 as recommended version. Do not
39409 mention bugs in GCC 2.7 and 2.8.
39410 * INSTALL: Regenerated.
39412 2012-02-27 David S. Miller <davem@davemloft.net>
39414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39418 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39419 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39420 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39421 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39423 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39424 manipulate bits before adding and subtracting TWO112[sx].
39425 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39427 2012-02-27 Roland McGrath <roland@hack.frob.com>
39430 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39431 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39432 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39433 being in POSIX, because they are in 1003.1-2008.
39435 * rt/tst-aio.c: Include <fcntl.h>.
39436 * rt/tst-aio7.c: Likewise.
39437 * rt/tst-aio64.c: Likewise.
39439 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39441 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39443 * manual/install.texi (--with-headers): Describe headers as
39444 interface headers, not private headers.
39445 (Specific advice for GNU/Linux systems): Describe use of headers
39446 from "make headers_install", not private headers from older
39448 * INSTALL: Regenerated.
39449 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39451 * sysdeps/unix/sysv/linux/configure: Regenerated.
39453 * manual/llio.texi (fclean): Remove documentation.
39455 * manual/Makefile (libc-texi-generated): New variable. Include
39457 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39458 $(libc-texi-generated), not duplicated list of files.
39459 (version.texi, stamp-version): New rules.
39460 (realclean): Remove $(libc-texi-generated), not individual files
39461 from that list. Do not remove dir-add.texinfo.
39462 * manual/libc.texinfo: Comment out uses of edition numbers and
39463 references to printed manual. Remove last-updated dates.
39464 (EDITION): Comment out.
39466 (VERSION, UPDATED): Remove.
39467 (version.texi): Include.
39469 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39471 * sysdeps/posix/spawni.c: Include <signal.h>.
39472 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39473 * sysdeps/pthread/aio_fsync.c: Likewise.
39475 2012-02-26 Ulrich Drepper <drepper@gmail.com>
39477 * conform/Makefile (tests): Run only when not cross-compiling and
39478 when fast-check is not defined.
39480 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39481 * conform/data/limits.h-data: Fixes for POSIX2008.
39482 * conform/run-conformtest.sh: Run all tests.
39483 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39485 * include/bits/dlfcn.h: Likewise.
39486 * include/langinfo.h: Likewise.
39487 * include/monetary.h: Likewise.
39488 * include/sys/poll.h: Likewise.
39490 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39492 * posix/spawn.h: Define __need_sigset_t.
39493 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39494 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39495 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39496 to get sigevent_t only.
39497 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39498 only for __USE_GNU.
39499 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39500 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39501 process_vm_writev only for __USE_GNU.
39502 * termios/termios.h: Declare tcgetsid also for POSIX2008.
39504 * conform/Makefile: For now ignore errors from run-conformtest.
39505 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39506 POSIX to avoid namespace pollution. Don't prepend headers.
39507 * conform/data/aio.h-data: Fixes for POSIX testing.
39508 * conform/data/fcntl.h-data: Likewise.
39509 * conform/data/glob.h-data: Likewise.
39510 * conform/data/grp.h-data: Likewise.
39511 * conform/data/pthread.h-data: Likewise.
39512 * conform/data/pwd.h-data: Likewise.
39513 * conform/data/signal.h-data: Likewise.
39514 * conform/data/spawn.h-data: Likewise.
39515 * conform/data/stdio.h-data: Likewise.
39516 * conform/data/stdlib.h-data: Likewise.
39517 * conform/data/stropts.h-data: Likewise.
39518 * conform/data/sys/mman.h-data: Likewise.
39519 * conform/data/sys/stat.h-data: Likewise.
39520 * conform/data/sys/types.h-data: Likewise.
39521 * conform/data/sys/wait.h-data: Likewise.
39522 * conform/data/time.h-data: Likewise.
39523 * conform/data/unistd.h-data: Likewise.
39524 * conform/data/utime.h-data: Likewise.
39526 * io/sys/stat.h: fchmod was always in POSIX.
39527 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39528 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39529 * rt/aio.h: Define __need_timespec before including <time.h>.
39530 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39531 struct. Add forward declaration of pthread_attr_t and use it in
39533 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39534 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39535 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39536 always remove CLK_TCK definition.
39538 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39540 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39542 2012-02-25 Ulrich Drepper <drepper@gmail.com>
39544 * conform/run-conformtest.sh: New file.
39545 * conform/Makefile: Run run-conformtest for tests.
39546 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39549 * conform/data/uchar.h-data: New file.
39550 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39551 * conform/data/arpa/inet.h-data: Likewise.
39552 * conform/data/assert.h-data: Likewise.
39553 * conform/data/complex.h-data: Likewise.
39554 * conform/data/cpio.h-data: Likewise.
39555 * conform/data/ctype.h-data: Likewise.
39556 * conform/data/dirent.h-data: Likewise.
39557 * conform/data/dlfcn.h-data: Likewise.
39558 * conform/data/errno.h-data: Likewise.
39559 * conform/data/fcntl.h-data: Likewise.
39560 * conform/data/float.h-data: Likewise.
39561 * conform/data/fmtmsg.h-data: Likewise.
39562 * conform/data/fnmatch.h-data: Likewise.
39563 * conform/data/ftw.h-data: Likewise.
39564 * conform/data/glob.h-data: Likewise.
39565 * conform/data/grp.h-data: Likewise.
39566 * conform/data/iconv.h-data: Likewise.
39567 * conform/data/inttypes.h-data: Likewise.
39568 * conform/data/langinfo.h-data: Likewise.
39569 * conform/data/libgen.h-data: Likewise.
39570 * conform/data/limits.h-data: Likewise.
39571 * conform/data/locale.h-data: Likewise.
39572 * conform/data/math.h-data: Likewise.
39573 * conform/data/monetary.h-data: Likewise.
39574 * conform/data/mqueue.h-data: Likewise.
39575 * conform/data/ndbm.h-data: Likewise.
39576 * conform/data/net/if.h-data: Likewise.
39577 * conform/data/netdb.h-data: Likewise.
39578 * conform/data/netinet/in.h-data: Likewise.
39579 * conform/data/nl_types.h-data: Likewise.
39580 * conform/data/poll.h-data: Likewise.
39581 * conform/data/pthread.h-data: Likewise.
39582 * conform/data/pwd.h-data: Likewise.
39583 * conform/data/regex.h-data: Likewise.
39584 * conform/data/sched.h-data: Likewise.
39585 * conform/data/search.h-data: Likewise.
39586 * conform/data/semaphore.h-data: Likewise.
39587 * conform/data/setjmp.h-data: Likewise.
39588 * conform/data/signal.h-data: Likewise.
39589 * conform/data/spawn.h-data: Likewise.
39590 * conform/data/stdarg.h-data: Likewise.
39591 * conform/data/stdio.h-data: Likewise.
39592 * conform/data/stdlib.h-data: Likewise.
39593 * conform/data/string.h-data: Likewise.
39594 * conform/data/strings.h-data: Likewise.
39595 * conform/data/stropts.h-data: Likewise.
39596 * conform/data/sys/ipc.h-data: Likewise.
39597 * conform/data/sys/mman.h-data: Likewise.
39598 * conform/data/sys/msg.h-data: Likewise.
39599 * conform/data/sys/resource.h-data: Likewise.
39600 * conform/data/sys/select.h-data: Likewise.
39601 * conform/data/sys/sem.h-data: Likewise.
39602 * conform/data/sys/shm.h-data: Likewise.
39603 * conform/data/sys/socket.h-data: Likewise.
39604 * conform/data/sys/stat.h-data: Likewise.
39605 * conform/data/sys/statvfs.h-data: Likewise.
39606 * conform/data/sys/time.h-data: Likewise.
39607 * conform/data/sys/timeb.h-data: Likewise.
39608 * conform/data/sys/times.h-data: Likewise.
39609 * conform/data/sys/types.h-data: Likewise.
39610 * conform/data/sys/uio.h-data: Likewise.
39611 * conform/data/sys/un.h-data: Likewise.
39612 * conform/data/sys/utsname.h-data: Likewise.
39613 * conform/data/sys/wait.h-data: Likewise.
39614 * conform/data/syslog.h-data: Likewise.
39615 * conform/data/tar.h-data: Likewise.
39616 * conform/data/termios.h-data: Likewise.
39617 * conform/data/utime.h-data: Likewise.
39618 * conform/data/utmpx.h-data: Likewise.
39619 * conform/data/varargs.h-data: Likewise.
39620 * conform/data/wchar.h-data: Likewise.
39621 * conform/data/wctype.h-data: Likewise.
39622 * conform/data/wordexp.h-data: Likewise.
39624 * include/stropts.h: New file.
39625 * include/uchar.h: New file.
39626 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39627 * include/assert.h: Likewise.
39628 * include/ctype.h: Likewise.
39629 * include/dirent.h: Likewise.
39630 * include/dlfcn.h: Likewise.
39631 * include/fcntl.h: Likewise.
39632 * include/fnmatch.h: Likewise.
39633 * include/glob.h: Likewise.
39634 * include/grp.h: Likewise.
39635 * include/libio.h: Likewise.
39636 * include/locale.h: Likewise.
39637 * include/math.h: Likewise.
39638 * include/net/if.h: Likewise.
39639 * include/netdb.h: Likewise.
39640 * include/netinet/in.h: Likewise.
39641 * include/pthread.h: Likewise.
39642 * include/pwd.h: Likewise.
39643 * include/regex.h: Likewise.
39644 * include/sched.h: Likewise.
39645 * include/search.h: Likewise.
39646 * include/setjmp.h: Likewise.
39647 * include/signal.h: Likewise.
39648 * include/stdio.h: Likewise.
39649 * include/stdlib.h: Likewise.
39650 * include/string.h: Likewise.
39651 * include/sys/cdefs.h: Likewise.
39652 * include/sys/mman.h: Likewise.
39653 * include/sys/msg.h: Likewise.
39654 * include/sys/resource.h: Likewise.
39655 * include/sys/select.h: Likewise.
39656 * include/sys/socket.h: Likewise.
39657 * include/sys/stat.h: Likewise.
39658 * include/sys/statvfs.h: Likewise.
39659 * include/sys/time.h: Likewise.
39660 * include/sys/times.h: Likewise.
39661 * include/sys/uio.h: Likewise.
39662 * include/sys/utsname.h: Likewise.
39663 * include/sys/wait.h: Likewise.
39664 * include/termios.h: Likewise.
39665 * include/time.h: Likewise.
39666 * include/ulimit.h: Likewise.
39667 * include/unistd.h: Likewise.
39668 * include/utime.h: Likewise.
39669 * include/wchar.h: Likewise.
39670 * include/wctype.h: Likewise.
39671 * include/wordexp.h: Likewise.
39673 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39675 * time/time.h: TIME_UTC must be a macro.
39676 Make timespec_get available for ISO C11 only as well.
39678 2012-02-24 Ulrich Drepper <drepper@gmail.com>
39680 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39681 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39683 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39685 * configure.in: Use -o not -a in test for unsupported multi-arch.
39687 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39689 * manual/texinfo.tex: Update to version 2012-01-19.16.
39691 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39693 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39695 2012-02-24 Roland McGrath <roland@hack.frob.com>
39698 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39699 * manual/fdl-1.3.texi: New file.
39700 * manual/fdl-1.1.texi: File removed.
39703 * manual/libc.texinfo (FDL_VERSION): New @set.
39704 Use it for mention of FDL in cover text.
39705 (Documentation License): Use it in @include file name.
39707 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39708 Roland McGrath <roland@hack.frob.com>
39711 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39712 (not LONG_LONG_MAX and LONG_LONG_MIN.
39713 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39714 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39716 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39718 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39722 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39723 manipulate bits before adding and subtracting TWO23[sx].
39724 * math/libm-test.inc (nearbyint_test): Add more tests.
39726 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39729 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39730 bits before adding and subtracting TWO23[sx].
39731 * math/libm-test.inc (rint_test): Add more tests.
39732 (rint_test_tonearest): Likewise.
39733 (rint_test_towardzero): Likewise.
39734 (rint_test_downward): Likewise.
39735 (rint_test_upward: Likewise.
39737 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39740 * include/stdc-predef.h: New file. Extracted from features.h.
39741 * include/features.h: Include stdc-predef.h.
39742 * Makefile (headers): Add stdc-predef.h.
39743 * CONFORMANCE (Compiler limitations): Update.
39745 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39747 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39749 2012-02-21 David S. Miller <davem@davemloft.net>
39751 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39752 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39754 2012-02-20 David S. Miller <davem@davemloft.net>
39756 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39757 using a normal save/restore sequence, rather than allocating a
39758 dummy stack frame just to store a frame pointer and restore.
39759 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39761 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39763 * manual/install.texi: Fix stray word in line-wrapped comment.
39765 2012-02-20 David S. Miller <davem@davemloft.net>
39767 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39768 both binutils and gcc support GOTDATA.
39770 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39771 "rd %pc" in the PIC register setup sequences.
39773 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39774 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39775 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39776 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39777 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39778 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39779 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39780 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39781 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39782 (SYSCALL_ERROR_HANDLER): Likewise.
39783 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39784 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39785 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39786 (SYSCALL_ERROR_HANDLER): Likewise.
39788 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39789 (HAVE_GCC_GOTDATA): New.
39790 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39791 relocation support in both binutils and gcc.
39792 * sysdeps/sparc/elf/configure: Regenerate.
39794 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39795 * sysdeps/sparc/sparc32/elf/configure: Delete.
39796 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39797 * sysdeps/sparc/sparc64/elf/configure: Delete.
39798 * sysdeps/sparc/elf/configure.in: New file.
39799 * sysdeps/sparc/elf/configure: Generate.
39801 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39802 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39803 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39804 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39805 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39807 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39809 * manual/install.texi: Do not mention specific glibc version
39811 * manual/libc.texinfo (VERSION, UPDATED): Update.
39812 (@copying): Use @copyright{} and range of years.
39814 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39817 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39818 [crti.S not in sysdirs] (generated): Do not append.
39819 [crti.S not in sysdirs] (omit-deps): Likewise.
39820 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39821 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39822 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39823 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39824 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39826 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39827 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39828 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39829 * csu/defs.awk: Remove file.
39830 * sysdeps/generic/initfini.c: Likewise.
39831 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39833 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39836 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39838 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39839 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39840 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39841 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39842 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39843 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39845 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39846 (__EPOLL_PACKED): Define to empty if not defined by
39848 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39852 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39854 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39855 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39856 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39857 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39859 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39860 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39863 2012-02-20 Joseph Myers <joseph@codesourcery.com>
39865 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39867 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39868 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39869 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39872 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39874 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39875 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39877 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39879 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39880 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39882 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39884 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39887 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39889 * math/w_acos.c: Use non-signaling floating-point comparisons.
39890 * math/w_acosf.c: Likewise.
39891 * math/w_acosh.c: Likewise.
39892 * math/w_acoshf.c: Likewise.
39893 * math/w_acoshl.c: Likewise.
39894 * math/w_acosl.c: Likewise.
39895 * math/w_asin.c: Likewise.
39896 * math/w_asinf.c: Likewise.
39897 * math/w_asinl.c: Likewise.
39898 * math/w_atanh.c: Likewise.
39899 * math/w_atanhf.c: Likewise.
39900 * math/w_atanhl.c: Likewise.
39901 * math/w_exp2.c: Likewise.
39902 * math/w_exp2f.c: Likewise.
39903 * math/w_exp2l.c: Likewise.
39904 * math/w_j0.c: Likewise.
39905 * math/w_j0f.c: Likewise.
39906 * math/w_j0l.c: Likewise.
39907 * math/w_j1.c: Likewise.
39908 * math/w_j1f.c: Likewise.
39909 * math/w_j1l.c: Likewise.
39910 * math/w_jn.c: Likewise.
39911 * math/w_jnf.c: Likewise.
39912 * math/w_log.c: Likewise.
39913 * math/w_log10.c: Likewise.
39914 * math/w_log10f.c: Likewise.
39915 * math/w_log10l.c: Likewise.
39916 * math/w_log2.c: Likewise.
39917 * math/w_log2f.c: Likewise.
39918 * math/w_log2l.c: Likewise.
39919 * math/w_logf.c: Likewise.
39920 * math/w_logl.c: Likewise.
39921 * math/w_sqrt.c: Likewise.
39922 * math/w_sqrtf.c: Likewise.
39923 * math/w_sqrtl.c: Likewise.
39924 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39925 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39926 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39927 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39928 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39930 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39933 * manual/string.texi (strnlen): Use correct parameter name in
39934 equivalent expression.
39936 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39939 * manual/users.texi (seteuid): Consistently use neweuid for
39942 2012-02-19 Joseph Myers <joseph@codesourcery.com>
39945 * manual/nss.texi (Services in the NSS configuration): Correct
39946 list of services in example configuration file.
39948 2012-02-19 Nick Bowler <nbowler@draconx.ca>
39951 * manual/arith.texi: Remove statements about negative zero
39952 behaving identically to zero.
39954 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39957 * manual/install.texi: Do not document upgrading from libc5.
39959 2012-02-18 Joseph Myers <joseph@codesourcery.com>
39962 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39964 2012-02-18 David S. Miller <davem@davemloft.net>
39966 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39967 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39968 %o7 across the call.
39969 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39971 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39972 SETUP_PIC_REG_LEAF.
39973 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39974 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39975 * sysdeps/sparc/crtn.S: Likewise.
39977 2012-02-17 Ulrich Drepper <drepper@gmail.com>
39979 * aout/Makefile: Remove.
39981 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39984 * manual/examples/argp-ex1.c (main): Format definition in GNU
39986 * manual/examples/argp-ex2.c (main): Likewise.
39987 * manual/examples/argp-ex3.c (main): Likewise.
39988 * manual/examples/argp-ex4.c (main): Likewise.
39989 * manual/examples/longopt.c (main): Use new-style prototype
39991 * manual/examples/strncat.c (main): Specify return type and use
39992 (void) for arguments.
39993 * manual/examples/subopt.c (main): Use char **argv argument.
39995 2012-02-17 Joseph Myers <joseph@codesourcery.com>
39998 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40001 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40004 * manual/string.texi (strchr): Change when strchrnul is
40007 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40010 * manual/locale.texi (setlocale): Document LOCPATH.
40012 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40015 * manual/process.texi (execle): Move @dots{} before last argument.
40017 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
40020 * manual/charset.texi (Generic Charset Conversion): Fix typo
40021 (LC_TYPE -> LC_CTYPE).
40023 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40026 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40027 (scalbnf): Likewise.
40028 (scalbnl): Likewise.
40029 (scalbln): Likewise.
40030 (scalblnf): Likewise.
40031 (scalblnl): Likewise.
40032 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40033 (vwarnx): Likewise.
40036 * manual/filesys.texi (telldir): Use braces around return type.
40037 * manual/llio.texi (mmap): Add space after comma.
40038 (mmap64): Likewise.
40039 * manual/math.texi (jn): Use @var{} on parameter names.
40045 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40047 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40049 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40050 (sched_get_priority_max): Likewise.
40051 * manual/signal.texi (sigvec): Add space after comma.
40052 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40054 (if_indextoname): Likewise.
40055 (if_freenameindex): Likewise.
40056 (sendto): Use ',' instead of '.' in prototype.
40057 * manual/startup.texi (syscall): Use @dots{} instead of literal
40059 * manual/stdio.texi (__fpending): Separate initial words of
40060 paragraph from @deftypefun line.
40061 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40063 (vsyslog): Use @var{} on parameter names.
40064 * manual/terminal.texi (stty): Use @var{} on parameter names.
40065 * manual/users.texi (getutmp): Use @var{} on parameter names.
40066 (getutmpx): Likewise.
40068 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40071 * manual/stdio.texi (fopen): Fix typos in description of
40074 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40077 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40078 get clock_id definition.
40080 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
40083 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40084 (madvise): Cast every argument to void on its own.
40086 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40089 * manual/startup.texi (Exit Status): Fix typo.
40091 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40094 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40095 * manual/examples/argp-ex2.c: Likewise.
40096 * manual/examples/argp-ex3.c: Likewise.
40098 2012-02-16 Richard Henderson <rth@redhat.com>
40100 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40101 * sysdeps/s390/s390-32/initfini.c: Remove.
40102 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40103 * sysdeps/s390/s390-64/initfini.c: Remove.
40105 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40107 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40108 compiler output for sysdeps/generic/initfini.c.
40109 * sysdeps/sh/elf/initfini.c: Remove file.
40111 2012-02-16 David S. Miller <davem@davemloft.net>
40114 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40116 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40117 * sysdeps/sparc/crti.S: New file.
40118 * sysdeps/sparc/crtn.S: New file.
40119 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40120 * sysdeps/sparc/sparc64/Makefile: Likewise.
40122 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40125 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40127 2012-02-15 Roland McGrath <roland@hack.frob.com>
40130 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40132 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40133 (write, read, close): Likewise.
40134 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40136 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40138 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40139 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40140 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40141 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40143 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40147 2012-02-14 Marek Polacek <polacek@redhat.com>
40149 * sysdeps/x86_64/crti.S: New file.
40150 * sysdeps/x86_64/crtn.S: New file.
40151 * sysdeps/x86_64/elf/initfini.c: Remove file.
40153 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40155 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40156 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40157 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40158 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40160 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40161 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40164 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40166 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40167 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40168 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40169 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40171 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40175 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40177 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40178 __feraiseexcept instead of feraiseexcept.
40180 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40181 nanosleep invocations.
40182 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40183 strings, and add error checking for a nanosleep invocations.
40185 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40187 Replace FSF snail mail address with URLs, as per GNU coding standards.
40188 Most of the snail mail addresses were wrong anyway, and omitting
40189 them makes the source code easier to maintain. Almost all of the
40190 changes are to license notices and to locale LC_IDENTIFICATION
40191 addresses, except for this one:
40192 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40193 not its snail mail address.
40195 2012-02-09 Richard Henderson <rth@twiddle.net>
40197 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40198 of kernel-features.h.
40200 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40202 2012-02-08 Marek Polacek <polacek@redhat.com>
40204 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40205 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40206 * sysdeps/gnu/_G_config.h: Likewise.
40207 * sysdeps/generic/_G_config.h: Likewise.
40209 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40211 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40215 * sysdeps/powerpc/powerpc32/crti.S: New file.
40216 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40217 * sysdeps/powerpc/powerpc64/crti.S: New file.
40218 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40220 * Makeconfig (have-initfini): Don't set.
40221 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40222 * configure.in (nopic_initfini): Don't substitute.
40223 * config.h.in (HAVE_INITFINI): Don't #undef.
40224 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40225 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40227 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40229 Support crti.S and crtn.S provided directly by architectures.
40230 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40231 [crti.S in sysdirs] (omit-deps): Likewise.
40232 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40233 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40234 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40235 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40236 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40237 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40238 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40239 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40240 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40241 compiler output for sysdeps/generic/initfini.c.
40242 * sysdeps/i386/elf/Makefile: Remove file.
40243 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40245 2012-02-07 Marek Polacek <polacek@redhat.com>
40247 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40248 * sysdeps/gnu/_G_config.h: Likewise.
40249 * sysdeps/mach/hurd/_G_config.h: Likewise.
40251 2012-02-07 Marek Polacek <polacek@redhat.com>
40253 * math/Makefile (tests): Add tst-CMPLX2.
40254 * math/tst-CMPLX2.c: New file.
40256 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40258 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40260 * math/libm-test.inc (jn_test): Add missing L suffix.
40262 2012-02-06 Marek Polacek <polacek@redhat.com>
40264 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40265 * sysdeps/i386/fpu/e_powf.S: Likewise.
40266 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40267 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40268 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40269 * sysdeps/i386/fpu/e_pow.S: Likewise.
40270 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40271 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40272 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40273 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40274 * sysdeps/i386/fpu/e_log2.S: Likewise.
40275 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40276 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40277 * sysdeps/i386/fpu/e_powl.S: Likewise.
40278 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40279 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40280 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40281 * sysdeps/i386/fpu/e_logl.S: Likewise.
40282 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40283 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40284 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40285 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40286 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40287 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40288 * sysdeps/i386/fpu/e_log.S: Likewise.
40289 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40290 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40291 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40292 * sysdeps/i386/fpu/e_logf.S: Likewise.
40293 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40294 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40295 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40296 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40297 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40298 * sysdeps/i386/fpu/e_log10.S: Likewise.
40299 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40300 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40301 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40302 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40303 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40304 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40305 * sysdeps/i386/asm-syntax.h: Likewise.
40306 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40307 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40308 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40309 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40310 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40311 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40312 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40313 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40314 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40315 * sysdeps/powerpc/sysdep.h: Likewise.
40316 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40317 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40319 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40322 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40324 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40326 * sysdeps/i386/sysdep.h: Include <features.h>.
40327 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40330 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40332 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40334 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40337 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40339 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40340 (SETUP_PIC_REG): Use GET_PC_THUNK.
40341 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40344 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40346 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40347 for non-PIC compilation.
40348 (SETUP_PIC_REG): Add .p2align directive.
40349 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40350 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40351 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40352 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40353 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40354 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40355 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40356 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40357 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40358 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40359 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40360 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40361 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40362 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40363 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40364 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40365 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40366 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40367 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40368 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40369 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40370 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40371 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40372 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40373 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40374 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40375 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40376 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40377 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40378 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40379 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40380 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40381 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40382 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40383 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40384 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40385 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40386 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40387 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40388 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40389 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40391 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40393 * math/tst-CMPLX.c: Include <stdio.h>.
40395 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40397 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40399 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40400 * sysdeps/sparc/bits/mathdef.h: Likewise.
40402 2012-01-31 Marek Polacek <polacek@redhat.com>
40404 * libio/libio.h: Don't define _PARAMS.
40405 * locale/programs/config.h: Don't define PARAMS.
40406 * stdlib/strtol_l.c: Likewise.
40407 (__strtol_l): Remove PARAMS from the prototype.
40409 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40411 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40412 names. Just use the correct names. Remove unnecessary wrapper
40414 * malloc/arena.c: Likewise.
40415 * malloc/hooks.c: Likewise.
40417 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40418 ARENA_TEST says not to. Simplify test for creation of a new arena.
40419 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40421 2012-01-30 Ulrich Drepper <drepper@gmail.com>
40423 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40425 (update_get_addr): New function.
40426 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40427 GET_ADDR_MODULE parameter.
40429 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40431 * crypt/cert.c: Remove __STDC__ conditionals.
40432 * crypt/crypt-entry.c: Likewise.
40433 * crypt/crypt_util.c: Likewise.
40434 * libio/filedoalloc.c: Likewise.
40435 * libio/fileops.c: Likewise.
40436 * libio/genops.c: Likewise.
40437 * libio/iofclose.c: Likewise.
40438 * libio/iofdopen.c: Likewise.
40439 * libio/iofopen.c: Likewise.
40440 * libio/iofopen64.c: Likewise.
40441 * libio/iogetdelim.c: Likewise.
40442 * libio/iopopen.c: Likewise.
40443 * libio/obprintf.c: Likewise.
40444 * libio/oldfileops.c: Likewise.
40445 * libio/oldiofclose.c: Likewise.
40446 * libio/oldiofdopen.c: Likewise.
40447 * libio/oldiofopen.c: Likewise.
40448 * libio/oldiopopen.c: Likewise.
40449 * libio/wfiledoalloc.c: Likewise.
40450 * libio/wgenops.c: Likewise.
40451 * locale/programs/xmalloc.c: Likewise.
40452 * misc/syslog.c: Likewise.
40453 * stdio-common/xbug.c: Likewise.
40454 * string/memchr.c: Likewise.
40455 * string/memcmp.c: Likewise.
40456 * string/memrchr.c: Likewise.
40457 * string/rawmemchr.c: Likewise.
40458 * sysdeps/posix/getcwd.c: Likewise.
40459 * time/strftime_l.c: Likewise.
40461 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40463 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40464 * config.make.in (config-cflags-sse2avx): Define.
40465 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40468 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40470 * scripts/config.guess: Update from upstream config git repository.
40471 * scripts/config.sub: Likewise.
40473 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40475 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40477 (R_TILEPRO_*, R_TILEGX_*): New macros.
40479 * scripts/firstversions.awk: Fix bug in version range handling.
40481 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40483 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40485 * include/sys/epoll.h: New file.
40486 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40489 2012-01-28 Ulrich Drepper <drepper@gmail.com>
40491 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40492 Avoid unnecessary __WORDSIZE == 64 test.
40493 (fmaxf): Use VEX format if possible.
40498 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40499 * math/math_private.h: Remove libc_fegetround* and
40501 * sysdeps/i386/configure.in: Check for -msse2avx.
40502 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40503 also if SSE2AVX is defined.
40504 Remove libc_fegetround* and libc_fesetround*.
40505 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40506 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40507 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40509 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40510 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40511 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40512 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40513 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40515 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40517 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40519 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40521 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40523 2012-01-27 Ulrich Drepper <drepper@gmail.com>
40526 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40528 * Makeconfig (libm): Define.
40529 * elf/Makefile: Add rules to build and run tst-relsort1.
40530 * elf/tst-relsort1.c: New file.
40531 * elf/tst-relsort1mod1.c: New file.
40532 * elf/tst-relsort1mod2.c: New file.
40534 2012-01-27 Joseph Myers <joseph@codesourcery.com>
40536 * math/s_ldexp.c: Remove __STDC__ conditionals.
40537 * math/s_ldexpf.c: Likewise.
40538 * math/s_ldexpl.c: Likewise.
40539 * math/s_nextafter.c: Likewise.
40540 * math/s_nexttowardf.c: Likewise.
40541 * math/s_significand.c: Likewise.
40542 * math/s_significandf.c: Likewise.
40543 * math/s_significandl.c: Likewise.
40544 * math/w_jnl.c: Likewise.
40545 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40546 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40547 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40548 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40549 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40550 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40551 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40552 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40553 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40554 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40555 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40556 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40557 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40558 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40559 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40560 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40561 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40562 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40563 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40564 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40565 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40566 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40567 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40568 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40569 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40570 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40571 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40572 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40573 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40574 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40575 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40576 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40577 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40578 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40579 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40580 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40581 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40582 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40583 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40584 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40585 * sysdeps/ieee754/k_standard.c: Likewise.
40586 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40587 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40588 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40589 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40590 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40591 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40592 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40593 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40594 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40595 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40596 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40597 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40598 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40599 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40600 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40601 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40602 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40603 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40604 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40605 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40606 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40607 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40608 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40609 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40610 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40611 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40612 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40613 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40614 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40615 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40616 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40617 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40618 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40619 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40620 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40621 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40622 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40623 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40624 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40625 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40626 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40627 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40628 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40629 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40630 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40631 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40632 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40633 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40634 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40635 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40636 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40637 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40638 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40639 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40640 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40641 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40642 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40643 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40644 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40645 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40646 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40647 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40648 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40649 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40650 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40651 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40652 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40653 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40654 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40655 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40656 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40657 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40658 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40659 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40660 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40661 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40662 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40663 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40664 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40665 * sysdeps/ieee754/s_matherr.c: Likewise.
40666 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40667 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40668 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40669 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40671 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40673 * crypt/md5.h: Remove __STDC__ conditionals.
40674 * libio/libioP.h: Likewise.
40675 * locale/programs/config.h: Likewise.
40676 * sysdeps/generic/sysdep.h: Likewise.
40677 * sysdeps/i386/asm-syntax.h: Likewise.
40678 * sysdeps/s390/asm-syntax.h: Likewise.
40679 * sysdeps/unix/sysdep.h: Likewise.
40680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40683 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40685 * libio/libio.h: Remove __STDC__ conditionals.
40686 * malloc/obstack.h: Likewise.
40687 * math/complex.h: Likewise.
40688 * math/math.h: Likewise.
40689 * sysdeps/generic/_G_config.h: Likewise.
40690 * sysdeps/gnu/_G_config.h: Likewise.
40691 * sysdeps/mach/hurd/_G_config.h: Likewise.
40692 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40693 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40694 * sysdeps/sparc/bits/mathdef.h: Likewise.
40696 2012-01-26 Ulrich Drepper <drepper@gmail.com>
40699 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40700 Clean up HAS_* macros.
40701 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40702 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40704 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40706 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40707 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40708 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40709 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40710 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40712 2012-01-25 Joseph Myers <joseph@codesourcery.com>
40714 * elf/tst-unique3.cc (gets): Remove declaration.
40715 * elf/tst-unique3lib.cc (gets): Likewise.
40716 * elf/tst-unique3lib2.cc (gets): Likewise.
40717 * elf/tst-unique4.cc (gets): Likewise.
40719 2012-01-24 Ulrich Drepper <drepper@gmail.com>
40721 * include/stdio.h: Add C++ protection. Add gets declarations and
40723 * debug/tst-chk1.c: Don't declare gets here.
40724 * stdio-common/tst-gets.c: Likewise.
40726 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40728 * posix/glob: Remove directory.
40730 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40732 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40734 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40736 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40737 of the non-standard EPFNOSUPPORT.
40739 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40741 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40742 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40743 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40745 2012-01-21 Ulrich Drepper <drepper@gmail.com>
40747 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40749 2012-01-20 Ulrich Drepper <drepper@gmail.com>
40751 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40753 * nscd/grpcache.c (cache_addgr): Likewise.
40754 * nscd/hstcache.c (cache_addhst): Likewise.
40755 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40756 * nscd/pwdcache.c (cache_addpw): Likewise.
40757 * nscd/servicescache.c (cache_addserv): Likewise.
40759 2012-01-16 Ulrich Drepper <drepper@gmail.com>
40761 * malloc/malloc.c: Various cleanups.
40762 * malloc/hooks.c: Likewise.
40764 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40765 * stdlib/bug-fmtmsg1.c: New file.
40767 * stdlib/fmtmsg.c (init): Add missing unlock.
40768 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40770 2012-01-12 Marek Polacek <polacek@redhat.com>
40772 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40775 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40777 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40778 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40779 macro to ensure uniqueness of label name.
40780 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40781 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40783 2012-01-11 Ulrich Drepper <drepper@gmail.com>
40785 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40787 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40788 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40789 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40790 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40792 2012-01-10 Ulrich Drepper <drepper@gmail.com>
40794 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40796 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40797 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40798 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40800 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40802 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40803 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40804 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40805 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40807 * math/bits/math-finite.h: Add ldexp support.
40809 2012-01-10 Marek Polacek <polacek@redhat.com>
40811 * locale/programs/localedef.h (show_archive_content): Add noreturn
40814 2012-01-09 Ulrich Drepper <drepper@gmail.com>
40816 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40818 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40820 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40822 * io/Makefile (headers): Add bits/poll2.h.
40824 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40827 typo #include statement.
40829 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40831 * include/sys/cdefs.h: Define __attribute_alloc_size.
40832 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40833 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40834 * elf/pldd.c: Likewise.
40835 * iconv/iconv_charmap.c: Likewise.
40836 * iconv/iconvconfig.c: Likewise.
40837 * iconv/strtab.c: Likewise.
40838 * locale/programs/locale.c: Likewise.
40839 * locale/programs/localedef.h: Likewise.
40840 * locale/programs/simple-hash.c: Likewise.
40841 * nscd/nscd.h: Likewise.
40842 * nss/makedb.c: Likewise.
40843 * sysdeps/generic/ldconfig.h: Likewise.
40844 * locale/programs/localedef.c: Remove xmalloc prototype.
40845 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40847 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40849 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40852 2012-01-08 Ulrich Drepper <drepper@gmail.com>
40854 * math/Makefile (tests): Add tst-CMPLX.
40855 * math/tst-CMPLX.c: New file.
40857 * math/complex.h (CMPLXL): Fix typo.
40859 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40860 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40862 * debug/tst-chk1.c: Add poll and ppoll tests.
40863 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40864 * include/sys/poll.h: Add hidden proto for ppoll.
40865 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40866 * sysdeps/mach/hurd/ppoll.c: Likewise.
40867 * io/ppoll.c: Likewise.
40868 * debug/poll_chk.c: New file.
40869 * debug/ppoll_chk.c: New file.
40870 * include/bits/poll2.h: New file.
40871 * io/bits/poll2.h: New file.
40874 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40876 * configure.in: static is always set to yes. Remove.
40877 * config.make.in: Don't set build-static.
40878 * Makeconfig: Remove use of build-static.
40879 * dlfcn/Makefile: Likewise.
40880 * elf/Makefile: Likewise.
40881 * math/Makefile: Likewise.
40882 * misc/Makefile: Likewise.
40883 * nptl/Makefile: Likewise.
40884 * sysdeps/mach/hurd/Makefile: Likewise.
40886 * configure.in: PWD_P is not used anymore.
40887 * config.make.in: Remove PWD_P entry.
40889 * configure.in: Remove last remnants of RANLIB.
40890 No need to check for signed size_t anymore.
40891 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40893 Remove __builtin_expect test because we require at least gcc 3.4.
40894 * aclocal.m4: Likewise.
40896 * wcsmbs/mbrtoc16.c: Implement using towc function.
40897 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40898 * wcsmbs/wcsmbsload.c: Likewise.
40899 * iconv/gconv_simple.c: Likewise.
40900 * iconv/gconv_int.h: Likewise.
40901 * iconv/gconv_builtin.h: Likewise.
40902 * iconv/iconv_prog.c: Remove CHAR16 handling.
40904 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40906 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40908 * configure.in: Remove --with-elf and --enable-bounded options.
40909 Dont set base_machine for ia64. More non-ELF conditions removed.
40910 Remove testing and setting of leading underscore information.
40911 * config.make.in (build-bounded): Set to no.
40912 * config.h.in: Remove NO_UNDERSCORES entry.
40913 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40915 * csu/start.c: Remove !NO_UNDERSCORE code.
40916 * locale/localeinfo.h: Likewise.
40917 * sysdeps/generic/machine-gmon.h: Likewise.
40918 * sysdeps/generic/sysdep.h: Likewise.
40919 * sysdeps/i386/sysdep.h: Likewise.
40920 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40921 * sysdeps/mach/sysdep.h: Likewise.
40922 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40923 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40924 * sysdeps/sh/sysdep.h: Likewise.
40925 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40926 * sysdeps/unix/i386/sysdep.S: Likewise.
40927 * sysdeps/unix/sparc/start.c: Likewise.
40928 * sysdeps/unix/sparc/sysdep.S: Likewise.
40929 * sysdeps/unix/sparc/sysdep.h: Likewise.
40930 * sysdeps/unix/start.c: Likewise.
40931 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40932 * sysdeps/x86_64/sysdep.h: Likewise.
40934 2012-01-07 Ulrich Drepper <drepper@gmail.com>
40937 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40939 * argp/argp-fmtstream.h: Use const instead __const.
40940 * argp/argp.h: Likewise.
40941 * assert/assert.h: Likewise.
40942 * bits/fenv.h: Likewise.
40943 * bits/sched.h: Likewise.
40944 * bits/sigset.h: Likewise.
40945 * bits/sigthread.h: Likewise.
40946 * catgets/nl_types.h: Likewise.
40947 * conform/data/pthread.h-data: Likewise.
40948 * crypt/crypt-private.h: Likewise.
40949 * crypt/crypt.h: Likewise.
40950 * crypt/crypt_util.c: Likewise.
40951 * ctype/ctype.h: Likewise.
40952 * debug/execinfo.h: Likewise.
40953 * debug/mbsnrtowcs_chk.c: Likewise.
40954 * debug/mbsrtowcs_chk.c: Likewise.
40955 * debug/wcsnrtombs_chk.c: Likewise.
40956 * debug/wcsrtombs_chk.c: Likewise.
40957 * debug/wcstombs_chk.c: Likewise.
40958 * dirent/dirent.h: Likewise.
40959 * dlfcn/dlfcn.h: Likewise.
40960 * elf/neededtest4.c: Likewise.
40961 * grp/grp.h: Likewise.
40962 * gshadow/gshadow.h: Likewise.
40963 * iconv/gconv.h: Likewise.
40964 * iconv/gconv_int.h: Likewise.
40965 * iconv/gconv_simple.c: Likewise.
40966 * iconv/iconv.h: Likewise.
40967 * iconv/loop.c: Likewise.
40968 * iconv/skeleton.c: Likewise.
40969 * include/aio.h: Likewise.
40970 * include/aliases.h: Likewise.
40971 * include/argz.h: Likewise.
40972 * include/arpa/inet.h: Likewise.
40973 * include/assert.h: Likewise.
40974 * include/dirent.h: Likewise.
40975 * include/dlfcn.h: Likewise.
40976 * include/execinfo.h: Likewise.
40977 * include/fcntl.h: Likewise.
40978 * include/fenv.h: Likewise.
40979 * include/glob.h: Likewise.
40980 * include/grp.h: Likewise.
40981 * include/libintl.h: Likewise.
40982 * include/mntent.h: Likewise.
40983 * include/netdb.h: Likewise.
40984 * include/pwd.h: Likewise.
40985 * include/rpc/netdb.h: Likewise.
40986 * include/sched.h: Likewise.
40987 * include/search.h: Likewise.
40988 * include/shadow.h: Likewise.
40989 * include/signal.h: Likewise.
40990 * include/stdio.h: Likewise.
40991 * include/stdlib.h: Likewise.
40992 * include/string.h: Likewise.
40993 * include/sys/socket.h: Likewise.
40994 * include/sys/stat.h: Likewise.
40995 * include/sys/statfs.h: Likewise.
40996 * include/sys/statvfs.h: Likewise.
40997 * include/sys/syslog.h: Likewise.
40998 * include/sys/time.h: Likewise.
40999 * include/sys/uio.h: Likewise.
41000 * include/time.h: Likewise.
41001 * include/unistd.h: Likewise.
41002 * include/utmp.h: Likewise.
41003 * include/wchar.h: Likewise.
41004 * include/wctype.h: Likewise.
41005 * inet/aliases.h: Likewise.
41006 * inet/arpa/inet.h: Likewise.
41007 * inet/netinet/ether.h: Likewise.
41008 * inet/netinet/in.h: Likewise.
41009 * intl/libintl.h: Likewise.
41010 * io/bits/fcntl2.h: Likewise.
41011 * io/fcntl.h: Likewise.
41012 * io/ftw.h: Likewise.
41013 * io/sys/poll.h: Likewise.
41014 * io/sys/stat.h: Likewise.
41015 * io/sys/statfs.h: Likewise.
41016 * io/sys/statvfs.h: Likewise.
41017 * io/utime.h: Likewise.
41018 * libio/bits/stdio.h: Likewise.
41019 * libio/bits/stdio2.h: Likewise.
41020 * libio/libio.h: Likewise.
41021 * libio/libioP.h: Likewise.
41022 * libio/stdio.h: Likewise.
41023 * locale/lc-ctype.c: Likewise.
41024 * locale/locale.h: Likewise.
41025 * login/utmp.h: Likewise.
41026 * malloc/arena.c: Likewise.
41027 * malloc/malloc.c: Likewise.
41028 * malloc/malloc.h: Likewise.
41029 * malloc/mcheck.c: Likewise.
41030 * malloc/mtrace.c: Likewise.
41031 * math/bits/mathcalls.h: Likewise.
41032 * math/fenv.h: Likewise.
41033 * math/math_private.h: Likewise.
41034 * misc/bits/error.h: Likewise.
41035 * misc/bits/syslog.h: Likewise.
41036 * misc/err.h: Likewise.
41037 * misc/error.h: Likewise.
41038 * misc/fstab.h: Likewise.
41039 * misc/mntent.h: Likewise.
41040 * misc/regexp.h: Likewise.
41041 * misc/search.h: Likewise.
41042 * misc/sgtty.h: Likewise.
41043 * misc/sys/mman.h: Likewise.
41044 * misc/sys/syslog.h: Likewise.
41045 * misc/sys/uio.h: Likewise.
41046 * misc/sys/xattr.h: Likewise.
41047 * misc/ttyent.h: Likewise.
41048 * nis/rpcsvc/ypclnt.h: Likewise.
41049 * nss/nss.h: Likewise.
41050 * posix/bits/unistd.h: Likewise.
41051 * posix/fnmatch.h: Likewise.
41052 * posix/glob.h: Likewise.
41053 * posix/sched.h: Likewise.
41054 * posix/spawn.h: Likewise.
41055 * posix/sys/wait.h: Likewise.
41056 * posix/unistd.h: Likewise.
41057 * posix/wordexp.h: Likewise.
41058 * pwd/pwd.h: Likewise.
41059 * resolv/netdb.h: Likewise.
41060 * resource/sys/resource.h: Likewise.
41061 * rt/aio.h: Likewise.
41062 * rt/bits/mqueue2.h: Likewise.
41063 * rt/mqueue.h: Likewise.
41064 * shadow/shadow.h: Likewise.
41065 * signal/signal.h: Likewise.
41066 * socket/send.c: Likewise.
41067 * socket/sendto.c: Likewise.
41068 * socket/sys/socket.h: Likewise.
41069 * stdio-common/printf.h: Likewise.
41070 * stdlib/bits/stdlib.h: Likewise.
41071 * stdlib/fmtmsg.h: Likewise.
41072 * stdlib/monetary.h: Likewise.
41073 * stdlib/stdlib.h: Likewise.
41074 * stdlib/ucontext.h: Likewise.
41075 * streams/stropts.h: Likewise.
41076 * string/argz.h: Likewise.
41077 * string/bits/string2.h: Likewise.
41078 * string/string.h: Likewise.
41079 * string/strings.h: Likewise.
41080 * sunrpc/rpc/auth.h: Likewise.
41081 * sunrpc/rpc/auth_des.h: Likewise.
41082 * sunrpc/rpc/clnt.h: Likewise.
41083 * sunrpc/rpc/netdb.h: Likewise.
41084 * sunrpc/rpc/pmap_clnt.h: Likewise.
41085 * sunrpc/rpc/xdr.h: Likewise.
41086 * sysdeps/generic/inttypes.h: Likewise.
41087 * sysdeps/generic/net/if.h: Likewise.
41088 * sysdeps/generic/sys/swap.h: Likewise.
41089 * sysdeps/gnu/net/if.h: Likewise.
41090 * sysdeps/gnu/utmpx.h: Likewise.
41091 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41092 * sysdeps/i386/i486/bits/string.h: Likewise.
41093 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41094 * sysdeps/s390/bits/string.h: Likewise.
41095 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41096 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41097 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41098 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41099 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41100 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41101 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41102 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41103 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41104 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41105 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41106 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41107 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41108 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41109 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41110 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41111 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41112 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41113 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41114 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41115 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41116 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41117 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41118 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41119 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41120 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41121 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41122 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41123 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41124 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41125 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41126 * sysvipc/sys/ipc.h: Likewise.
41127 * sysvipc/sys/msg.h: Likewise.
41128 * sysvipc/sys/sem.h: Likewise.
41129 * sysvipc/sys/shm.h: Likewise.
41130 * termios/termios.h: Likewise.
41131 * time/sys/time.h: Likewise.
41132 * time/time.h: Likewise.
41133 * wcsmbs/bits/wchar2.h: Likewise.
41134 * wcsmbs/uchar.h: Likewise.
41135 * wcsmbs/wchar.h: Likewise.
41136 * wctype/wctype.h: Likewise.
41139 * Makeconfig: Remove all but ELF support including AIX support.
41140 * Makerules: Likewise.
41141 * config.h.in: Likewise.
41142 * config.make.in: Likewise.
41143 * configure: Likewise.
41144 * configure.in: Likewise.
41145 * csu/Makefile: Likewise.
41146 * csu/version.c: Likewise.
41147 * debug/Makefile: Likewise.
41148 * dlfcn/Makefile: Likewise.
41149 * elf/Makefile: Likewise.
41150 * extra-lib.mk: Likewise.
41151 * iconv/Makefile: Likewise.
41152 * include/libc-symbols.h: Likewise.
41153 * include/shlib-compat.h: Likewise.
41154 * resolv/Makefile: Likewise.
41155 * resolv/res_libc.c: Likewise.
41156 * rt/Makefile: Likewise.
41157 * sysdeps/i386/asm-syntax.h: Likewise.
41158 * sysdeps/i386/sysdep.h: Likewise.
41159 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41160 * sysdeps/mach/sysdep.h: Likewise.
41161 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41162 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41163 * sysdeps/s390/asm-syntax.h: Likewise.
41164 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41165 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41166 * sysdeps/sh/sysdep.h: Likewise.
41167 * sysdeps/unix/sparc/sysdep.h: Likewise.
41168 * sysdeps/wordsize-32/divdi3.c: Likewise.
41169 * sysdeps/x86_64/sysdep.h: Likewise.
41171 * argp/Versions: Remove _argp_unlock_xxx.
41174 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41175 * abilist/libBrokenLocale.abilist: Likewise.
41176 * abilist/libanl.abilist: Likewise.
41177 * abilist/libc.abilist: Likewise.
41178 * abilist/libcrypt.abilist: Likewise.
41179 * abilist/libdl.abilist: Likewise.
41180 * abilist/libm.abilist: Likewise.
41181 * abilist/libnsl.abilist: Likewise.
41182 * abilist/libpthread.abilist: Likewise.
41183 * abilist/libresolv.abilist: Likewise.
41184 * abilist/librt.abilist: Likewise.
41185 * abilist/libthread_db.abilist: Likewise.
41186 * abilist/libutil.abilist: Likewise.
41187 * abilist/libnss_db.abilist: New file.
41189 * scripts/abilist.awk: Add support for indirect functions.
41191 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41193 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41195 * shlib-versions: Remove entries for ports architectures.
41197 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41199 * elf/stackguard-macros.h: Remove support for IA-64.
41200 * elf/tst-auditmod1.c: Likewise.
41201 * sysdeps/generic/ldsodefs.h: Likewise.
41203 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41204 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41208 * configure.in: Remove --enable-omitfp support.
41210 * config.make.in: Likewise.
41211 * Makeconfig: Likewise.
41212 * manual/install.texi: Likewise.
41214 In case anyone cares, the IA-64 architecture could move to ports.
41215 * sysdeps/ia64/*: Removed.
41216 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41217 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41220 * configure.in: Remove entries for unsupported architectures.
41223 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41224 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41226 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41227 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41228 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41229 fall back to using wcrtomb.
41230 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41231 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41233 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41234 * wcsmbs/tst-c16c32-1.c: New file.
41236 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41239 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41241 * elf/tst-unique3.cc: Add explicit declaration of gets.
41242 * elf/tst-unique3lib.cc: Likewise.
41243 * elf/tst-unique3lib2.cc: Likewise.
41244 * elf/tst-unique4.cc: Likewise.
41246 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41248 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41251 * assert/assert.h (static_assert): Don't define for C++.
41252 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41253 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41255 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41257 * iconv/loop.c (single loop): Fix assertion in storing of
41260 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41262 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41264 * posix/getconf.c: Update copyright year.
41265 * nss/getent.c: Likewise.
41266 * nss/makedb.c: Likewise.
41267 * iconv/iconvconfig.c: Likewise.
41268 * iconv/iconv_prog.c: Likewise.
41269 * elf/ldconfig.c: Likewise.
41270 * elf/pldd.c: Likewise.
41271 * elf/sotruss.ksh: Likewise.
41272 * catgets/gencat.c: Likewise.
41273 * csu/version.c: Likewise.
41274 * elf/ldd.bash.in: Likewise.
41275 * elf/sprof.c (print_version): Likewise.
41276 * locale/programs/locale.c: Likewise.
41277 * locale/programs/localedef.c: Likewise.
41278 * login/programs/pt_chown.c: Likewise.
41279 * nscd/nscd.c (print_version): Likewise.
41280 * debug/xtrace.sh: Likewise.
41281 * malloc/memusage.sh: Likewise.
41282 * malloc/mtrace.pl: Likewise.
41283 * debug/catchsegv.sh: Likewise.
41285 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41287 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41290 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41293 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41294 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41296 * iconv/gconv_int.h: Likewise.
41297 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41298 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41299 from libc for GLIBC_2.16.
41300 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41301 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41302 * wcsmbs/uchar.h: Really define mbstate_t.
41303 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41304 * wcsmbs/c16rtomb.c: New file.
41305 * wcsmbs/mbrtoc16.c: New file.
41306 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41307 for C/POSIX locale.
41308 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41309 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41311 * wcsmbs/wchar.h: Add missing __restrict.
41313 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41316 * time/Makefile (routines): Add timespec_get.
41317 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41318 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41319 timespec for ISO C11.
41320 * time/timespec_get.c: New file.
41321 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41322 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41325 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41326 * stdlib/stdlib.h: Declare aligned_alloc.
41327 * Versions.def: Add GLIBC_2.16 for libc.
41328 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41331 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41334 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41338 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41341 * assert/assert.h (static_assert): Define.
41343 * version.h: Update for 2.16 development version.
41346 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41349 * version.h (RELEASE): Bump for 2.15 release.
41350 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41352 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41353 Patch by Marek Polacek <mpolacek@redhat.com>.
41355 * bits/byteswap.h: Protect long long constants with __extension__.
41356 * sysdeps/i386/bits/byteswap.h: Likewise.
41357 * sysdeps/ia64/bits/byteswap.h: Likewise.
41358 * sysdeps/s390/bits/byteswap.h: Likewise.
41359 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41361 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41364 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41365 destination buffer.
41366 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41368 2011-12-23 Marek Polacek <polacek@redhat.com>
41370 * elf/dl-addr.c (determine_info): Add inline keyword.
41371 * elf/tst-auditmod4b.c (check_avx): Likewise.
41372 * elf/tst-auditmod6b.c (check_avx): Likewise.
41373 * elf/tst-auditmod6c.c (check_avx): Likewise.
41374 * elf/tst-auditmod7b.c (check_avx): Likewise.
41376 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41378 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41381 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41384 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41385 processing for last bytes.
41387 2011-08-06 Bruno Haible <bruno@clisp.org>
41390 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41391 U+0385, not to U+1FEE.
41394 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41395 entry for U+00A5 U+0301.
41397 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41400 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41401 buffer for the output is too small.
41403 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41407 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41408 SSE flags if possible.
41410 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41413 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41414 processing for last bytes.
41416 2011-12-22 Joseph Myers <joseph@codesourcery.com>
41418 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41419 (syscall-list-default-options, syscall-list-default-condition)
41420 (syscall-list-includes): Define.
41421 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41422 list of ABIs and options and #if conditions for each ABI. Do not
41423 handle common syscalls between ABIs specially.
41424 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41426 (syscall-list-variants, syscall-list-32bit-options)
41427 (syscall-list-32bit-condition, syscall-list-64bit-options)
41428 (syscall-list-64bit-condition): Define.
41429 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41430 (syscall-list-variants, syscall-list-32bit-options)
41431 (syscall-list-32bit-condition, syscall-list-64bit-options)
41432 (syscall-list-64bit-condition): Define.
41433 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41435 (syscall-list-variants, syscall-list-32bit-options)
41436 (syscall-list-32bit-condition, syscall-list-64bit-options)
41437 (syscall-list-64bit-condition): Define.
41438 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41440 (syscall-list-variants, syscall-list-32bit-options)
41441 (syscall-list-32bit-condition, syscall-list-64bit-options)
41442 (syscall-list-64bit-condition): Define.
41444 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41446 * locale/iso-639.def: Add brx entry.
41449 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41450 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41452 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41453 __feraiseexcept_renamed.
41455 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41458 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41459 EPOLLET with unsigned values.
41460 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41461 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41463 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41464 to large cancellation.
41465 * math/s_cacoshf.c: Likewise.
41466 * math/s_cacoshl.c: Likewise.
41468 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41472 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41473 * math/s_cacoshf.c: Likewise.
41474 * math/s_cacoshl.c: Likewise.
41476 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41479 * iconv/gconv.h: Define __GCONV_SWAP.
41480 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41481 * iconvdata/utf-16.c: Likewise.
41482 * iconvdata/utf-32.c: Likewise.
41484 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41487 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41488 numerator after shifting it by one limb.
41490 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41492 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41493 under [__USE_EXTERN_INLINES].
41495 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41498 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41500 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41502 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41503 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41505 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41506 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41507 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41508 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41509 for strncasecmp/strncasecmp_l compilation.
41510 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41511 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41513 2011-12-08 Marek Polacek <mpolacek@redhat.com>
41516 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41519 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41522 * time/tzfile.c (__tzfile_read): Check values from file header.
41524 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41526 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41527 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41528 * powerpc/powerpc32/dl-start.S: Likewise.
41529 * powerpc/powerpc32/elf/start.S: Likewise.
41530 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41531 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41532 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41533 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41534 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41535 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41536 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41537 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41538 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41539 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41540 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41541 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41542 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41543 * powerpc/powerpc32/memset.S: Likewise.
41544 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41545 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41546 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41547 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41548 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41549 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41550 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41551 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41552 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41553 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41554 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41555 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41556 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41558 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41560 * math/libm-test.inc: Added more nearbyint tests.
41561 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41562 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41563 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41564 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41566 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41568 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41571 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41573 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41574 Add wcscpy-ssse3 wcscpy-c.
41575 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41576 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41577 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41578 * sysdeps/x86_64/wcschr.S: New file.
41579 * sysdeps/x86_64/wcsrchr.S: New file.
41580 * string/test-strcmp.c: Remove checking of wcscmp function for
41582 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41583 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41584 wcsrchr-sse2 wcsrchr-c.
41585 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41586 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41587 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41588 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41589 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41590 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41591 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41592 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41593 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41594 * wcsmbc/wcschr.c (WCSCHR): New macro.
41596 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41598 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41599 * wcsmbs/test-wcsrchr.c: New file.
41600 * string/test-strrchr.c: Add wcsrchr support.
41602 * wcsmbs/test-wcscpy.c: New file.
41603 * string/test-strcpy.c: Add wcscpy support.
41606 2011-12-10 Ulrich Drepper <drepper@gmail.com>
41608 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41611 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41614 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41616 2011-12-04 Ulrich Drepper <drepper@gmail.com>
41618 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41619 Minor optimizations.
41621 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41622 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41623 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41625 2011-12-03 Ulrich Drepper <drepper@gmail.com>
41627 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41628 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41629 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41630 for gcc to avoid warnings.
41631 * inet/Makefile (tests): Add tst-checks.
41632 * inet/tst-checks.c: New file.
41634 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41637 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41640 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41641 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41643 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41645 2011-12-02 Ulrich Drepper <drepper@gmail.com>
41647 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41650 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41652 2011-11-29 Joseph Myers <joseph@codesourcery.com>
41654 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41655 conditional on GCC version.
41656 (__arch_compare_and_exchange_val_8_acq)
41657 (__arch_compare_and_exchange_val_16_acq)
41658 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41659 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41660 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41662 2011-12-02 Joseph Myers <joseph@codesourcery.com>
41664 * sysdeps/sh/backtrace.c: New file.
41666 2011-12-02 Andreas Schwab <schwab@redhat.com>
41668 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41671 2011-12-01 Andreas Schwab <schwab@redhat.com>
41673 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41674 falling back to utime.
41676 2011-11-30 Andreas Schwab <schwab@redhat.com>
41678 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41679 expectations for float.
41681 2011-11-29 Andreas Schwab <schwab@redhat.com>
41683 * locale/weight.h (findidx): Add parameter len.
41684 * locale/weightwc.h (findidx): Likewise.
41685 * posix/fnmatch_loop.c (FCT): Adjust caller.
41686 * posix/regcomp.c (build_equiv_class): Likewise.
41687 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41688 * posix/regexec.c (check_node_accept_bytes): Likewise.
41689 * string/strcoll_l.c (STRCOLL): Likewise.
41690 * string/strxfrm_l.c (STRXFRM): Likewise.
41692 2011-11-17 Ulrich Drepper <drepper@gmail.com>
41694 * Makefile.in: Remove CVSOPT handling.
41695 * configure.in: Remove use of AC_REVISION.
41696 * iconvdata/Makefile (distribute): No need to filter out CVS.
41697 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41700 2011-11-16 Andreas Schwab <schwab@redhat.com>
41702 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41703 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41704 [USE_AS_STRNCASECMP_L]: Likewise.
41705 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41706 NO_TLS_DIRECT_SEG_REFS.
41707 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41708 Fix argument offsets for non-PIC.
41709 [USE_AS_STRNCASECMP_L]: Likewise.
41710 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41711 NO_TLS_DIRECT_SEG_REFS.
41713 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41715 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41717 * locale/loadlocale.c (_nl_load_locale): Likewise.
41719 2011-11-15 Andreas Schwab <schwab@redhat.com>
41721 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41722 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41723 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41724 (SYSCALL_GETTIME): Set errno on error.
41726 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41727 count references to noai6ai_cached.
41729 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41731 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41733 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41734 FD_CLOEXEC for /proc/self/maps.
41736 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41737 FD_CLOEXEC for /proc/meminfo.
41739 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41742 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41743 FD_CLOEXEC for given file.
41745 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41747 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41748 FD_CLOEXEC for /etc/hosts.
41749 (_gethtent): Likewise.
41751 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41753 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41754 cancellation and set FD_CLOEXEC for /etc/netgroup.
41756 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41757 reading /etc/publickey.
41759 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41760 allow cancellation when reading /etc/group.
41762 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41764 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41766 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41767 when using data file.
41769 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41771 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41772 (write_nis_obj): Use "c" and "e" in fopen.
41774 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41776 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41778 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41780 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41782 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41785 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41787 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41789 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41791 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41792 file parsing and set FD_CLOEXEC.
41794 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41796 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41798 2011-11-14 Andreas Schwab <schwab@redhat.com>
41800 * malloc/arena.c (arena_get2): Don't call reused_arena when
41801 _int_new_arena failed.
41803 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41805 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41806 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41807 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41808 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41809 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41810 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41811 to compile strcasecmp and strncasecmp.
41812 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41813 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41815 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41817 2011-11-13 Ulrich Drepper <drepper@gmail.com>
41819 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41820 locale-defines.sym to gen-as-const-headers.
41821 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41822 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41823 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41824 to compile strcasecmp and strncasecmp.
41825 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41826 strcasecmp_l and strncasecmp_l.
41827 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41828 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41829 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41830 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41831 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41832 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41833 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41834 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41835 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41836 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41837 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41839 2011-11-12 Ulrich Drepper <drepper@gmail.com>
41841 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41842 result of SYSDEP_GETTIME_CPU to retval.
41843 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41844 parameter list to macro. Remove trailing semicolon. Adjust users.
41846 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41849 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41851 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41853 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41854 from unused variable.
41856 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41858 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41861 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41864 * sunrpc/rpc_prot.c (rejected): Fix case value.
41866 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41867 unsigned long long int to avoid warnings in shift.
41869 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41871 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41874 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41875 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41876 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41878 * nis/nis_table.c (nis_list): Use variable of correct type for
41879 result of __follow_path call.
41881 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41883 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41884 of math functions ceil, trunc, floor, round, and sqrt, when
41885 avaliable on the platform.
41886 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41888 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41889 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41890 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41892 2011-10-30 Marek Polacek <mpolacek@redhat.com>
41894 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41895 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41897 2011-11-11 Roland McGrath <roland@hack.frob.com>
41899 * include/unistd.h: Fix __readlink return type.
41900 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41902 2011-11-11 Ulrich Drepper <drepper@gmail.com>
41904 * stdlib/ucontext.h: Undo last change for makecontext.
41906 2011-11-11 Andreas Schwab <schwab@redhat.com>
41908 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41910 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41911 * setjmp/setjmp.h: Mark functions as non-leaf.
41912 * setjmp/bits/setjmp2.h: Likewise.
41913 * stdlib/ucontext.h: Likewise.
41915 2011-11-10 Andreas Schwab <schwab@redhat.com>
41917 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41918 (reused_arena): Don't check arena limit.
41919 (arena_get2): Atomically check arena limit.
41921 2011-11-08 Ulrich Drepper <drepper@gmail.com>
41923 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41924 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41926 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41929 2011-11-07 Andreas Schwab <schwab@redhat.com>
41931 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41932 handler when locking.
41934 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41935 Fix size of allocated buffer.
41937 2011-11-04 Andreas Schwab <schwab@redhat.com>
41940 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41941 declarations for long double functions.
41942 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41944 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41946 2011-11-03 Andreas Schwab <schwab@redhat.com>
41948 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41951 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41954 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41956 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41958 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41960 * include/alloca.h (stackinfo_alloca_round): Define.
41961 (extend_alloca): Use it.
41962 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41963 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41966 * scripts/check-local-headers.sh: Ignore libaudit.h.
41968 * nscd/Makefile (extra-objs): Make recursively expanded.
41970 2011-11-01 Ulrich Drepper <drepper@gmail.com>
41972 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41973 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41975 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41976 * posix/tst-rfc3484-2.c: Likewise.
41977 * posix/tst-rfc3484-3.c: Likewise.
41979 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41981 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41983 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41984 process_vm_writev from libc using GLIBC_2.15 version.
41986 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41988 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41990 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41993 2011-10-31 Ulrich Drepper <drepper@gmail.com>
41996 * nss/getent.c (initgroups_keys): Show error message in case no group
41999 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42000 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42001 __bump_nl_timestamp.
42002 * nscd/connections (nscd_init): When host database is served open
42003 netlink socket and request notification about configuration changes.
42004 (main_loop_poll): Track netlink file descriptor and bump timestamp
42005 in case data becomes available.
42006 (main_loop_epoll): Likewise.
42007 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42008 (database_pers_head): Add extra_data fileds.
42009 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42010 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42011 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42013 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42014 in6ai data, call __free_in6ai.
42015 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42016 Add -DHAVE_NETLINK.
42017 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42018 interface information. Reuse previous data if netlink timestamp
42020 (__bump_nl_timestamp): New function.
42021 (__free_in6ai): New function.
42023 2011-10-30 Ulrich Drepper <drepper@gmail.com>
42025 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42026 close_not_cancel_no_status here.
42027 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42029 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42032 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42035 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42036 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42037 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42039 2011-07-03 Andreas Jaeger <aj@suse.de>
42042 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42043 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42044 * math/libm-test.inc (sin_test): Add test case.
42046 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42049 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42050 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42052 * elf/chroot_canon.c (chroot_canon): Cleanups.
42054 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42057 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42058 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42060 * string/test-strchr.c: Make usable for strchrnul testing.
42061 * string/test-strchrnul.c: New file.
42062 * string/Makefile (strop-tests): Add strchrnul.
42064 * po/it.po: Update from translation team.
42065 * po/es.po: Likewise.
42067 2011-10-28 Ulrich Drepper <drepper@gmail.com>
42069 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42070 the three constants needed as parameters. Drop the others.
42071 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42072 __m128i_strloadu_tolower.
42073 Create and initialize variable zero and use it in all the places
42074 where _mm_setzero_si128 was used.
42076 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42077 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42078 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42079 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42081 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42082 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42083 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42084 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42085 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42086 __mpranred, __mptan.
42087 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42088 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42089 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42090 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42091 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42092 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42093 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42094 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42095 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42097 2011-10-28 Andreas Schwab <schwab@redhat.com>
42099 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42100 redefine if SHARED.
42101 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42103 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42104 wide char related routines to wcsmbs subdir.
42106 2011-10-27 Andreas Schwab <schwab@redhat.com>
42109 * misc/sys/cdefs.h (__THROWNL): Define.
42110 * posix/unistd.h: Use __THREADNL instead of __THREAD
42111 for memory synchronization functions.
42113 2011-10-26 Roland McGrath <roland@hack.frob.com>
42116 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42118 * manual/stdio.texi (Obstack Streams): Node removed.
42120 2011-10-26 Andreas Schwab <schwab@redhat.com>
42122 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42123 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42124 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42126 * math/math_private.h (math_force_eval): Allow non-addressable
42128 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42130 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42132 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42133 file is not needed.
42135 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42136 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42137 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42138 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42139 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42140 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42141 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42142 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42144 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42145 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42146 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42147 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42148 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42149 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42150 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42151 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42152 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42153 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42154 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42155 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42156 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42157 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42158 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42159 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42160 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42161 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42162 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42164 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42165 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42167 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42168 place. Use VEX encoding when compiling for AVX.
42170 2011-10-25 Andreas Schwab <schwab@redhat.com>
42172 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42173 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42175 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42177 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42179 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42180 useless if() expression.
42181 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42182 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42183 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42184 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42185 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42186 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42187 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42188 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42189 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42190 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42191 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42192 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42193 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42194 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42195 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42196 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42197 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42198 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42199 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42201 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42203 2011-10-25 Andreas Schwab <schwab@redhat.com>
42205 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42207 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42209 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42211 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42212 .text section. Avoid duplicate constants.
42213 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42214 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42215 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42216 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42217 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42218 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42219 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42220 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42221 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42222 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42223 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42224 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42225 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42226 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42227 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42228 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42229 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42230 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42231 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42232 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42233 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42234 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42235 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42236 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42237 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42238 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42239 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42240 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42241 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42242 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42243 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42244 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42245 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42246 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42247 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42248 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42249 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42250 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42251 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42252 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42253 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42254 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42255 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42256 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42257 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42259 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42261 * sysdeps/x86_64/dla.h: Move to ...
42262 * sysdeps/x86_64/fpu/dla.h: ...here.
42263 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42264 situations. Use __builtin_fma only for gcc 4.6 and up.
42266 * config.make.in: Add have-mfma4 entry.
42267 * configure.in: Substitute libc_cv_cc_fma4.
42268 * math/Makefile (dbl-only-routines): Add sincostab.
42269 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42270 Use __sincostab not sincos.
42271 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42273 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42274 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42275 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42276 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42278 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42279 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42280 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42281 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42283 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42284 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42286 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42287 define aliases when function name is a macro.
42288 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42289 sysdeps/ieee754/dbl-64/sincos.tbl.
42290 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42291 fma4-enabled routines.
42292 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42293 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42294 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42295 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42296 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42297 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42298 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42299 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42300 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42301 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42302 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42303 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42304 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42305 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42306 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42307 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42308 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42309 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42310 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42311 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42312 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42313 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42314 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42315 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42316 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42317 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42318 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42319 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42320 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42321 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42323 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42325 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42326 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42327 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42328 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42329 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42330 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42331 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42332 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42334 2011-10-24 Andreas Schwab <schwab@redhat.com>
42336 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42338 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42340 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42342 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42344 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42346 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42347 Remove unused variable magic_bits.
42348 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42350 * string/strnlen.c: Define and use STRNLEN macro.
42351 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42352 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42353 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42354 * wcsmbs/wcslen.c: Define and use WCSLEN.
42355 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42356 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42357 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42358 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42359 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42360 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42361 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42363 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42366 strnlen-sse2-no-bsf.
42367 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42368 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42369 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42370 Add strnlen support.
42371 (USE_AS_STRNLEN): New macro.
42372 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42373 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42374 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42375 * sysdeps/x86_64/wcslen.S: New file.
42377 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42379 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42380 XMM-moves are used for copying on small sizes.
42382 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42384 * wcsmbs/Makefile (strop-tests): Add wcschr.
42385 * wcsmbs/test-wcschr.c: New file.
42386 * string/test-strchr.c: Update.
42387 Add wcschr support.
42390 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42392 * wcsmbs/Makefile (strop-tests): Add wcslen.
42393 * wcsmbs/test-wcslen.c: New file.
42394 * string/test-strlen.c: Update.
42395 Add wcslen support.
42398 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42400 * po/it.po: Update from translation team.
42402 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42404 * sysdeps/x86_64/wcscmp.S: Update.
42405 Fix wrong comparison semantics.
42406 wcscmp shall use signed comparison not unsigned.
42407 Don't use substraction to avoid overflow bug.
42408 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42409 * wcsmbc/wcscmp.c: Likewise.
42410 * string/test-strcmp.c: Likewise.
42411 Add new tests to check cases with negative values.
42413 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42415 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42416 * sysdeps/x86_64/dla.h: ...here. New file.
42417 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42418 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42419 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42420 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42421 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42422 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42423 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42424 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42425 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42427 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42429 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42430 __ynl_finite aliases.
42432 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42434 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42436 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42438 [DLA_FMA] (EMULV): Use DLA_FMA.
42439 [DLA_FMA] (MUL12): Use EMULV.
42440 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42441 that are not needed.
42442 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42443 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42444 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42445 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42446 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42447 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42448 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42450 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42452 * math/s_nan.c: Undef __nan.
42453 * math/s_nanf.c: Undef __nanf.
42454 * math/s_nanl.c: Undef __nanl.
42455 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42458 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42460 * math/s_catan.c: Add branch predictions.
42461 * math/s_catanf.c: Likewise.
42462 * math/s_catanh.c: Likewise.
42463 * math/s_catanhf.c: Likewise.
42464 * math/s_catanhl.c: Likewise.
42465 * math/s_catanl.c: Likewise.
42466 * math/s_cexp.c: Likewise.
42467 * math/s_cexpf.c: Likewise.
42468 * math/s_cexpl.c: Likewise.
42469 * math/s_clog.c: Likewise.
42470 * math/s_clog10.c: Likewise.
42471 * math/s_clog10f.c: Likewise.
42472 * math/s_clog10l.c: Likewise.
42473 * math/s_clogf.c: Likewise.
42474 * math/s_clogl.c: Likewise.
42475 * math/s_csqrt.c: Likewise.
42476 * math/s_csqrtf.c: Likewise.
42477 * math/s_csqrtl.c: Likewise.
42478 * math/s_ctanf.c: Likewise.
42479 * math/s_ctanh.c: Likewise.
42480 * math/s_ctanhf.c: Likewise.
42481 * math/s_ctanhl.c: Likewise.
42482 * math/s_ctanl.c: Likewise.
42484 * math/math_private.h: Define __nan, __nanf, __nanl.
42485 * math/s_cacosh.c: Include <math_private.h>.
42486 * math/s_cacoshl.c: Likewise.
42487 * math/s_casinh.c: Likewise.
42488 * math/s_casinhf.c: Likewise.
42489 * math/s_casinhl.c: Likewise.
42490 * math/s_ccos.c: Rely entire on ccosh.
42491 * math/s_ccosf.c: Rely entire on ccoshf.
42492 * math/s_ccosl.c: Rely entirely on ccoshl.
42493 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42494 Remove tests for FE_INVALID.
42495 * math/s_ccoshf.c: Likewise.
42496 * math/s_ccoshl.c: Likewise.
42497 * math/s_csin.c: Likewise.
42498 * math/s_csinf.c: Likewise.
42499 * math/s_csinh.c Likewise.
42500 * math/s_csinhf.c: Likewise.
42501 * math/s_csinhl.c: Likewise.
42502 * math/s_csinl.c: Likewise.
42503 * math/s_ctan.c: Likewise.
42504 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42505 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42506 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42508 2011-10-21 Ulrich Drepper <drepper@gmail.com>
42510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42511 compilation problems.
42513 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42516 2011-10-20 Ulrich Drepper <drepper@gmail.com>
42518 * sysdeps/i386/configure.in: Test for -mfma4 option.
42519 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42520 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42521 COMMON_CPUID_INDEX_80000001.
42522 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42523 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42524 use it if FMA3 is not supported.
42525 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42527 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42528 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42530 2011-10-20 Andreas Schwab <schwab@redhat.com>
42533 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42534 it would create a cycle with a link time dependency.
42536 2011-10-19 Ulrich Drepper <drepper@gmail.com>
42538 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42540 * string/Makefile (strop-tests): Add rawmemchr.
42541 * string/test-rawmemchr.c: New file.
42543 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42544 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42545 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42546 when compiling str{,n}casecmp and when AVX is available. Hook up
42547 new optimized code in initializers.
42549 2011-10-19 Andreas Schwab <schwab@redhat.com>
42551 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42552 __feraiseexcept instead of feraiseexcept.
42554 2011-10-18 Ulrich Drepper <drepper@gmail.com>
42556 * math/math_private.h: Define defaults for libc_fetestexcept and
42558 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42559 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42560 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42561 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42562 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42563 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42564 libc_fetestexcept and libc_feupdateenv.
42566 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42567 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42568 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42569 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42570 libc_feholdexcept_setround.
42572 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42573 Add s_nearbyint-c and s_nearbyintf-c.
42574 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42575 nearbyintf inlines.
42576 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42577 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42578 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42579 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42581 * math/math_private.h: Define defaults for libc_fegetround,
42582 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42583 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42584 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42585 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42586 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42587 standard functions.
42588 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42589 Remove comments and hacks for old compiler versions.
42590 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42591 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42592 libc_feholdexceptl.
42594 2011-10-18 Andreas Schwab <schwab@redhat.com>
42596 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42597 (__feraiseexcept_renamed): Add __NTH.
42598 (feraiseexcept): Add __NTH. Rename local variables to fix
42599 namespace violations.
42601 2011-10-17 Ulrich Drepper <drepper@gmail.com>
42603 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42605 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42607 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42608 recently added interfaces.
42609 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42611 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42612 about macro parameter expansion.
42614 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42615 __NO_MATH_INLINES is defined. Cleanups.
42617 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42618 and __floorf is target has SSE4.1.
42619 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42620 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42621 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42622 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42624 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42626 (floorf): Likewise.
42628 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42630 2011-10-17 Andreas Schwab <schwab@redhat.com>
42632 * misc/sys/cdefs.h: Fix last change.
42634 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42637 2011-10-16 Ulrich Drepper <drepper@gmail.com>
42639 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42641 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42642 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42643 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42644 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42645 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42646 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42647 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42648 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42649 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42650 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42651 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42652 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42653 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42654 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42655 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42656 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42657 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42658 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42659 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42660 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42661 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42662 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42664 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42665 ceil, ceilf, floor, floorf.
42667 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42668 Perform IRELATIVE relocations last.
42670 * elf/do-rel.h: Add another parameter nrelative, replacing the
42671 local variable with the same name. Change name of the function
42672 to end in Rel or Rela (uppercase).
42673 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42674 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42675 elf_dynamic_do_##reloc function.
42677 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42679 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42680 is sufficient, at least on modern CPUs.
42682 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42684 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42685 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42687 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42689 * math/bits/math-finite.h: Add entries for exp.
42690 * math/e_expl.c: Add __*_finite alias.
42691 * sysdeps/i386/fpu/e_exp.S: Likewise.
42692 * sysdeps/i386/fpu/e_expf.S: Likewise.
42693 * sysdeps/i386/fpu/e_expl.c: Likewise.
42694 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42695 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42696 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42697 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42698 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42699 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42700 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42702 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42703 is sufficient, at least on modern CPUs.
42705 * ctype/ctype-info.c (__ctype_init): Define.
42706 * include/ctype.h (__ctype_init): Declare.
42707 (__ctype_b_loc): The variable is always initialized.
42708 (__ctype_toupper_loc): Likewise.
42709 (__ctype_tolower_loc): Likewise.
42710 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42711 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42713 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42715 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42717 * configure.in: Also look in $cxxmachine/include for C++ system
42720 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42722 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42723 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42724 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42725 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42726 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42727 (USE_AS_WMEMCMP): New macro.
42729 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42730 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42731 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42732 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42733 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42734 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42735 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42736 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42737 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42738 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42739 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42740 (USE_AS_WMEMCMP): New macro.
42741 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42742 * sysdeps/string/test-memcmp.c: Update.
42743 Fix simple_wmemcmp.
42745 * wcsmbs/wmemcmp.c: Update.
42746 (WMEMCMP): New macro.
42749 2011-10-12 Andreas Jaeger <aj@suse.de>
42752 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42754 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42756 * libio/iofwide.c (do_length): Avoid warning.
42758 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42760 2011-10-14 Ulrich Drepper <drepper@gmail.com>
42762 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42764 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42765 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42766 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42767 * sysdeps/i386/i686/fpu/e_log.S: New file.
42768 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42769 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42771 * ctype/ctype.h: Add support for inlined isXXX functions when
42772 compiling C++ code.
42774 2011-10-14 Andreas Schwab <schwab@redhat.com>
42776 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42778 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42780 2011-10-13 Roland McGrath <roland@hack.frob.com>
42783 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42785 2011-10-13 Andreas Schwab <schwab@redhat.com>
42787 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42788 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42791 * sysdeps/x86_64/memrchr.S: Check for zero size.
42793 * string/stratcliff.c: Add memrchr tests.
42795 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42797 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42798 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42799 rawmemchr-sse2 rawmemchr-sse2-bsf.
42800 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42801 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42802 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42803 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42804 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42805 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42806 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42807 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42808 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42809 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42810 * string/memrchr.c (MEMRCHR): New macro.
42812 2011-10-12 Ulrich Drepper <drepper@gmail.com>
42814 Add integration with gcc's -ffinite-math-only and optimize wrapper
42816 * Versions.def: Define GLIBC_2.15 version for libm.
42817 * math/Makefile (headers): Add bits/math-finite.h.
42818 * math/bits/math-finite.h: New file.
42819 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42820 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42821 * math/e_acoshl.c: Add __*_finite alias.
42822 * math/e_acosl.c: Likewise.
42823 * math/e_asinl.c: Likewise.
42824 * math/e_atan2l.c: Likewise.
42825 * math/e_atanhl.c: Likewise.
42826 * math/e_coshl.c: Likewise.
42827 * math/e_exp10.c: Likewise.
42828 * math/e_exp10f.c: Likewise.
42829 * math/e_exp10l.c: Likewise.
42830 * math/e_exp2l.c: Likewise.
42831 * math/e_fmodl.c: Likewise.
42832 * math/e_gammal_r.c: Likewise.
42833 * math/e_hypotl.c: Likewise.
42834 * math/e_j0l.c: Likewise.
42835 * math/e_j1l.c: Likewise.
42836 * math/e_jnl.c: Likewise.
42837 * math/e_lgammal_r.c: Likewise.
42838 * math/e_log10l.c: Likewise.
42839 * math/e_log2l.c: Likewise.
42840 * math/e_logl.c: Likewise.
42841 * math/e_powl.c: Likewise.
42842 * math/e_sinhl.c: Likewise.
42843 * math/e_sqrtl.c: Likewise.
42844 * math/e_scalb.c: Completely rewritten and optimized.
42845 * math/e_scalbf.c: Likewise.
42846 * math/e_scalbl.c: Likewise.
42847 * math/w_acos.c: Likewise.
42848 * math/w_acosf.c: Likewise.
42849 * math/w_acosl.c: Likewise.
42850 * math/w_acosh.c: Likewise.
42851 * math/w_acoshf.c: Likewise.
42852 * math/w_acoshl.c: Likewise.
42853 * math/w_asin.c: Likewise.
42854 * math/w_asinf.c: Likewise.
42855 * math/w_asinl.c: Likewise.
42856 * math/w_atan2.c: Likewise.
42857 * math/w_atan2f.c: Likewise.
42858 * math/w_atan2l.c: Likewise.
42859 * math/w_atanh.c: Likewise.
42860 * math/w_atanhf.c: Likewise.
42861 * math/w_atanhl.c: Likewise.
42862 * math/w_exp10.c: Likewise.
42863 * math/w_exp10f.c: Likewise.
42864 * math/w_exp10l.c: Likewise.
42865 * math/w_fmod.c: Likewise.
42866 * math/w_fmodf.c: Likewise.
42867 * math/w_fmodl.c: Likewise.
42868 * math/w_j0.c: Likewise.
42869 * math/w_j0f.c: Likewise.
42870 * math/w_j0l.c: Likewise.
42871 * math/w_j1.c: Likewise.
42872 * math/w_j1f.c: Likewise.
42873 * math/w_j1l.c: Likewise.
42874 * math/w_jn.c: Likewise.
42875 * math/w_jnf.c: Likewise.
42876 * math/w_log.c: Likewise.
42877 * math/w_logf.c: Likewise.
42878 * math/w_logl.c: Likewise.
42879 * math/w_log10.c: Likewise.
42880 * math/w_log10f.c: Likewise.
42881 * math/w_log10l.c: Likewise.
42882 * math/w_log2.c: Likewise.
42883 * math/w_log2f.c: Likewise.
42884 * math/w_log2l.c: Likewise.
42885 * math/w_pow.c: Likewise.
42886 * math/w_powf.c: Likewise.
42887 * math/w_powl.c: Likewise.
42888 * math/w_remainder.c: Likewise.
42889 * math/w_remainderf.c: Likewise.
42890 * math/w_remainderl.c: Likewise.
42891 * math/w_scalb.c: Likewise.
42892 * math/w_scalbf.c: Likewise.
42893 * math/w_scalbl.c: Likewise.
42894 * math/w_sqrt.c: Likewise.
42895 * math/w_sqrtf.c: Likewise.
42896 * math/w_sqrtl.c: Likewise.
42897 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42898 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42900 * math/math_private.h: Declare __kernel_standard_f.
42901 * math/w_cosh.c: Remove cruft and optimize a bit.
42902 * math/w_coshf.c: Likewise.
42903 * math/w_coshl.c: Likewise.
42904 * math/w_exp2.c: Likewise.
42905 * math/w_exp2f.c: Likewise.
42906 * math/w_exp2l.c: Likewise.
42907 * math/w_hypot.c: Likewise.
42908 * math/w_hypotf.c: Likewise.
42909 * math/w_hypotl.c: Likewise.
42910 * math/w_lgamma.c: Likewise.
42911 * math/w_lgamma_r.c: Likewise.
42912 * math/w_lgammaf.c: Likewise.
42913 * math/w_lgammaf_r.c: Likewise.
42914 * math/w_lgammal.c: Likewise.
42915 * math/w_lgammal_r.c: Likewise.
42916 * math/w_sinh.c: Likewise.
42917 * math/w_sinhf.c: Likewise.
42918 * math/w_sinhl.c: Likewise.
42919 * math/w_tgamma.c: Likewise.
42920 * math/w_tgammaf.c: Likewise.
42921 * math/w_tgammal.c: Likewise.
42922 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42923 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42924 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42925 Minor optimizations. Pretty printing. Remove cruft.
42926 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42927 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42928 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42929 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42930 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42931 * sysdeps/i386/fpu/e_asin.S: Likewise.
42932 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42933 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42934 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42935 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42936 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42937 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42938 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42939 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42940 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42941 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42942 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42943 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42944 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42945 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42946 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42947 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42948 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42949 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42950 * sysdeps/i386/fpu/e_log.S: Likewise.
42951 * sysdeps/i386/fpu/e_log10.S: Likewise.
42952 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42953 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42954 * sysdeps/i386/fpu/e_log2.S: Likewise.
42955 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42956 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42957 * sysdeps/i386/fpu/e_logf.S: Likewise.
42958 * sysdeps/i386/fpu/e_logl.S: Likewise.
42959 * sysdeps/i386/fpu/e_pow.S: Likewise.
42960 * sysdeps/i386/fpu/e_powf.S: Likewise.
42961 * sysdeps/i386/fpu/e_powl.S: Likewise.
42962 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42963 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42964 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42965 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42966 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42967 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42968 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42969 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42970 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42971 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42972 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42973 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42974 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42975 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42976 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42977 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42978 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42979 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42980 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42981 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42982 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42983 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42984 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42985 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42986 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42987 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42988 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42989 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42990 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42991 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42992 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42993 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42994 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42995 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42996 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42997 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42998 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42999 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43000 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43001 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43002 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43003 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43004 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43005 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43006 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43007 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43008 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43009 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43010 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43011 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43012 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43013 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43014 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43015 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43016 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43017 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43018 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43019 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43020 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43021 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43022 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43023 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43024 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43025 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43026 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43027 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43028 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43029 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43030 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43031 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43032 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43033 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43034 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43035 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43036 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43037 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43038 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43039 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43040 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43041 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43042 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43043 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43044 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43045 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43046 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43047 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43048 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43049 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43050 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43051 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43052 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43053 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43054 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43055 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43056 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43057 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43058 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43059 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43060 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43061 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43062 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43063 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43064 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43065 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43066 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43067 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43068 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43069 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43070 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43071 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43072 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43073 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43074 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43075 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43076 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43077 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43078 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43079 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43080 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43081 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43082 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43083 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43084 (__isnanf): Likewise.
43085 (__isinf_ns): Likewise.
43086 (__isinf_nsf): Likewise.
43087 (__finite): Likewise.
43088 (__finitef): Likewise.
43089 (__ieee754_sqrt): Define as macro.
43090 (__ieee754_sqrtf): Define as macro.
43091 (__ieee754_sqrtl): Define as macro.
43092 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43094 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43095 __FINITE_MATH_ONLY__ consistent.
43096 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43098 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43100 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43103 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43105 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43107 * po/ja.po: Update from translation team.
43109 2011-10-08 Roland McGrath <roland@hack.frob.com>
43111 * locale/programs/locarchive.c (prepare_address_space): New function.
43112 (create_archive, enlarge_archive, open_archive): Use it.
43114 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43115 inside [SHARED], where it is used.
43117 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43119 * nss/getent.c (netgroup_keys): Remove unused variable.
43120 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43122 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43124 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43125 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43126 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43127 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43128 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43129 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43130 * math/Makefile (libm-calls): Add s_isinf_ns.
43131 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43132 * math/multc3.c: Likewise.
43133 * math/s_casin.c: Likewise.
43134 * math/s_casinf.c: Likewise.
43135 * math/s_casinl.c: Likewise.
43136 * math/s_ccos.c: Likewise.
43137 * math/s_ccosf.c: Likewise.
43138 * math/s_ccosl.c: Likewise.
43139 * math/s_ctan.c: Likewise.
43140 * math/s_ctanf.c: Likewise.
43141 * math/s_ctanh.c: Likewise.
43142 * math/s_ctanhf.c: Likewise.
43143 * math/s_ctanhl.c: Likewise.
43144 * math/s_ctanl.c: Likewise.
43145 * math/w_fmod.c: Likewise.
43146 * math/w_fmodf.c: Likewise.
43147 * math/w_fmodl.c: Likewise.
43148 * math/w_remainder.c: Likewise.
43149 * math/w_remainderf.c: Likewise.
43150 * math/w_remainderl.c: Likewise.
43151 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43152 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43153 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43154 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43155 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43156 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43157 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43158 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43160 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43162 * stdio-common/printf_fphex.c: Likewise.
43163 * stdio-common/printf_size.c: Likewise.
43165 * math/e_exp10.c: Include math_private.h using <...> not "...".
43166 * math/e_exp10f.c: Likewise.
43167 * math/e_exp10l.c: Likewise.
43168 * math/e_exp2l.c: Likewise.
43169 * math/e_j0l.c: Likewise.
43170 * math/e_j1l.c: Likewise.
43171 * math/e_jnl.c: Likewise.
43172 * math/e_lgammal_r.c: Likewise.
43173 * math/e_rem_pio2l.c: Likewise.
43174 * math/e_scalb.c: Likewise.
43175 * math/e_scalbf.c: Likewise.
43176 * math/e_scalbl.c: Likewise.
43177 * math/k_cosl.c: Likewise.
43178 * math/k_sinl.c: Likewise.
43179 * math/k_tanl.c: Likewise.
43180 * math/s_cacoshf.c: Likewise.
43181 * math/s_catan.c: Likewise.
43182 * math/s_catanf.c: Likewise.
43183 * math/s_catanh.c: Likewise.
43184 * math/s_catanhf.c: Likewise.
43185 * math/s_catanhl.c: Likewise.
43186 * math/s_catanl.c: Likewise.
43187 * math/s_ccosh.c: Likewise.
43188 * math/s_ccoshf.c: Likewise.
43189 * math/s_ccoshl.c: Likewise.
43190 * math/s_cexp.c: Likewise.
43191 * math/s_cexpf.c: Likewise.
43192 * math/s_cexpl.c: Likewise.
43193 * math/s_clog.c: Likewise.
43194 * math/s_clog10.c: Likewise.
43195 * math/s_clog10f.c: Likewise.
43196 * math/s_clog10l.c: Likewise.
43197 * math/s_clogf.c: Likewise.
43198 * math/s_clogl.c: Likewise.
43199 * math/s_csin.c: Likewise.
43200 * math/s_csinf.c: Likewise.
43201 * math/s_csinh.c: Likewise.
43202 * math/s_csinhf.c: Likewise.
43203 * math/s_csinhl.c: Likewise.
43204 * math/s_csinl.c: Likewise.
43205 * math/s_csqrt.c: Likewise.
43206 * math/s_csqrtf.c: Likewise.
43207 * math/s_csqrtl.c: Likewise.
43208 * math/s_ctan.c: Likewise.
43209 * math/s_ctanf.c: Likewise.
43210 * math/s_ctanh.c: Likewise.
43211 * math/s_ctanhf.c: Likewise.
43212 * math/s_ctanhl.c: Likewise.
43213 * math/s_ctanl.c: Likewise.
43214 * math/s_ldexp.c: Likewise.
43215 * math/s_ldexpf.c: Likewise.
43216 * math/s_ldexpl.c: Likewise.
43217 * math/s_significand.c: Likewise.
43218 * math/s_significandf.c: Likewise.
43219 * math/s_significandl.c: Likewise.
43220 * math/w_acos.c: Likewise.
43221 * math/w_acosf.c: Likewise.
43222 * math/w_acosh.c: Likewise.
43223 * math/w_acoshf.c: Likewise.
43224 * math/w_acoshl.c: Likewise.
43225 * math/w_acosl.c: Likewise.
43226 * math/w_asin.c: Likewise.
43227 * math/w_asinf.c: Likewise.
43228 * math/w_asinl.c: Likewise.
43229 * math/w_atan2.c: Likewise.
43230 * math/w_atan2f.c: Likewise.
43231 * math/w_atan2l.c: Likewise.
43232 * math/w_atanh.c: Likewise.
43233 * math/w_atanhf.c: Likewise.
43234 * math/w_atanhl.c: Likewise.
43235 * math/w_cosh.c: Likewise.
43236 * math/w_coshf.c: Likewise.
43237 * math/w_coshl.c: Likewise.
43238 * math/w_dremf.c: Likewise.
43239 * math/w_exp10.c: Likewise.
43240 * math/w_exp10f.c: Likewise.
43241 * math/w_exp10l.c: Likewise.
43242 * math/w_exp2.c: Likewise.
43243 * math/w_exp2f.c: Likewise.
43244 * math/w_fmod.c: Likewise.
43245 * math/w_fmodf.c: Likewise.
43246 * math/w_fmodl.c: Likewise.
43247 * math/w_hypot.c: Likewise.
43248 * math/w_hypotf.c: Likewise.
43249 * math/w_hypotl.c: Likewise.
43250 * math/w_j0.c: Likewise.
43251 * math/w_j0f.c: Likewise.
43252 * math/w_j0l.c: Likewise.
43253 * math/w_j1.c: Likewise.
43254 * math/w_j1f.c: Likewise.
43255 * math/w_j1l.c: Likewise.
43256 * math/w_jn.c: Likewise.
43257 * math/w_jnf.c: Likewise.
43258 * math/w_jnl.c: Likewise.
43259 * math/w_lgamma.c: Likewise.
43260 * math/w_lgamma_r.c: Likewise.
43261 * math/w_lgammaf.c: Likewise.
43262 * math/w_lgammaf_r.c: Likewise.
43263 * math/w_lgammal.c: Likewise.
43264 * math/w_lgammal_r.c: Likewise.
43265 * math/w_log.c: Likewise.
43266 * math/w_log10.c: Likewise.
43267 * math/w_log10f.c: Likewise.
43268 * math/w_log10l.c: Likewise.
43269 * math/w_log2.c: Likewise.
43270 * math/w_log2f.c: Likewise.
43271 * math/w_log2l.c: Likewise.
43272 * math/w_logf.c: Likewise.
43273 * math/w_logl.c: Likewise.
43274 * math/w_pow.c: Likewise.
43275 * math/w_powf.c: Likewise.
43276 * math/w_powl.c: Likewise.
43277 * math/w_remainder.c: Likewise.
43278 * math/w_remainderf.c: Likewise.
43279 * math/w_remainderl.c: Likewise.
43280 * math/w_scalb.c: Likewise.
43281 * math/w_scalbf.c: Likewise.
43282 * math/w_scalbl.c: Likewise.
43283 * math/w_sinh.c: Likewise.
43284 * math/w_sinhf.c: Likewise.
43285 * math/w_sinhl.c: Likewise.
43286 * math/w_sqrt.c: Likewise.
43287 * math/w_sqrtf.c: Likewise.
43288 * math/w_sqrtl.c: Likewise.
43289 * math/w_tgamma.c: Likewise.
43290 * math/w_tgammaf.c: Likewise.
43291 * math/w_tgammal.c: Likewise.
43293 * po/ja.po: Update from translation team.
43295 2011-09-29 Andreas Jaeger <aj@suse.de>
43298 * sunrpc/netname.c (netname2host): Fix logic.
43302 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43304 * math/w_remainder.c (__remainder): Likewise.
43305 * math/w_remainderf.c (__remainderf): Likewise.
43306 * math/libm-test.inc (remainder_test): Add test cases.
43308 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43310 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43313 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43315 * string/test-memcmp.c: Avoid unncessary #defines.
43316 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43318 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43320 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43321 Use new sse2 version for core i3 - i7 as it's faster
43322 than sse42 version.
43323 (bit_Prefer_PMINUB_for_stringop): New.
43324 * sysdeps/x86_64/rawmemchr.S: Update.
43325 Replace with faster SSE2 version.
43326 * sysdeps/x86_64/memrchr.S: New file.
43327 * sysdeps/x86_64/memchr.S: Update.
43328 Replace with faster SSE2 version.
43330 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43332 * elf/dl-load.c (lose): Add cast to avoid warning.
43334 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43336 * po/ca.po: Update from translation team.
43338 * inet/getnetgrent_r.c: Hook up nscd.
43339 * nscd/Makefile (routines): Add nscd_netgroup.
43340 (nscd-modules): Add netgroupcache.
43341 (CFLAGS-netgroupcache.c): Define.
43342 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43343 (cache_search): Add const to second parameter.
43344 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43346 (dbs): Add netgrdb entry.
43347 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43348 (verify_persistent_db): Handle netgrdb.
43349 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43350 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43352 (netgroup_response_header): Define.
43353 (innetgroup_response_header): Define.
43354 (datahead): Add netgroup_response_header and innetgroup_response_header
43356 * nscd/nscd.conf: Add entries for netgroup cache.
43357 * nscd/nscd.h (dbtype): Add netgrdb.
43358 (_PATH_NSCD_NETGROUP_DB): Define.
43359 (netgroup_iov_disabled): Declare.
43360 (xmalloc, xcalloc, xrealloc): Move declarations here.
43361 (cache_search): Adjust prototype.
43362 Add netgroup-related prototypes.
43363 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43364 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43365 (__nscd_innetgr): Declare.
43366 * nscd/selinux.c (perms): Use access_vector_t as element type and
43367 add netgroup-related initializers.
43368 * nscd/netgroupcache.c: New file.
43369 * nscd/nscd_netgroup.c: New file.
43370 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43371 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43372 For four parameters use innetgr.
43373 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43374 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43375 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43376 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43378 * nscd/connections.c (register_traced_file): Don't register file
43379 for disabled databases.
43381 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43383 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43385 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43386 from tree and freeing node.
43388 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43390 * nss/nsswitch.c (__nss_database_lookup): Handle
43391 nss_parse_service_list out of memory case.
43393 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43395 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43396 out of memory case.
43398 2011-10-04 Andreas Schwab <schwab@redhat.com>
43400 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43401 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43403 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43404 elf_machine_rela, elf_machine_lazy_rel.
43405 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43406 (ELF_DYNAMIC_DO_REL): Likewise.
43407 (ELF_DYNAMIC_DO_RELA): Likewise.
43408 (ELF_DYNAMIC_RELOCATE): Likewise.
43409 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43410 to ELF_DYNAMIC_DO_REL.
43411 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43412 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43413 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43415 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43416 skip_ifunc, don't call ifunc function if non-zero.
43417 (elf_machine_rela): Likewise.
43418 (elf_machine_lazy_rel): Likewise.
43419 (elf_machine_lazy_rela): Likewise.
43420 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43421 (elf_machine_lazy_rel): Likewise.
43422 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43424 (elf_machine_lazy_rel): Likewise.
43425 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43427 (elf_machine_lazy_rel): Likewise.
43428 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43429 (elf_machine_lazy_rel): Likewise.
43430 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43431 (elf_machine_lazy_rel): Likewise.
43432 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43433 (elf_machine_lazy_rel): Likewise.
43434 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43435 (elf_machine_lazy_rel): Likewise.
43436 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43437 (elf_machine_lazy_rel): Likewise.
43438 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43439 (elf_machine_lazy_rel): Likewise.
43441 2011-09-28 Ulrich Drepper <drepper@gmail.com>
43443 * nss/nss_files/files-init.c (_nss_files_init): Use static
43444 initialization for all the *_traced_file variables.
43446 2011-09-28 Andreas Schwab <schwab@redhat.com>
43448 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43450 2011-09-27 Roland McGrath <roland@hack.frob.com>
43453 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43455 2011-09-27 Andreas Schwab <schwab@redhat.com>
43457 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43458 Reread the line before reparsing it.
43460 2011-09-26 Andreas Schwab <schwab@redhat.com>
43462 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43464 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43465 Maxim Kuvyrkov <maxim@codesourcery.com>
43466 Joseph Myers <joseph@codesourcery.com>
43468 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43469 if needed for __stack_chk_guard.
43471 2011-09-19 Roland McGrath <roland@hack.frob.com>
43473 * sysdeps/posix/spawni.c (script_execute): Always define it.
43474 It will be optimized away if unused.
43475 (maybe_script_execute): New function.
43476 (__spawni): Call it.
43478 * Makerules: Don't include tls.make.
43479 (config-tls): Always set to thread.
43480 * tls.make.c: File removed.
43482 2011-09-19 Mike Frysinger <vapier@gentoo.org>
43484 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43485 * config.make.in (CPPFLAGS-config): New substituted variable.
43487 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43489 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43492 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43493 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43495 2011-09-15 Roland McGrath <roland@hack.frob.com>
43497 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43498 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43499 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43500 (CALL_FAIL): Likewise.
43501 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43502 (CALL_FAIL): Macro removed.
43503 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43505 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43507 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43508 for __FINITE_MATH_ONLY__ == 1.
43510 2011-09-15 Andreas Schwab <schwab@redhat.com>
43512 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43513 __ieee754_sqrt instead of sqrt.
43514 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43515 __ieee754_sqrtf instead of sqrtf.
43516 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43517 __floorf instead of floorf.
43518 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43519 __floorf, __truncf instead of floorf, truncf.
43521 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43523 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43525 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43526 __extern_always_inline.
43527 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43530 2011-09-14 Andreas Schwab <schwab@redhat.com>
43532 * elf/rtld.c (dl_main): Also relocate in dependency order when
43533 doing symbol dependency testing.
43535 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43537 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43538 Always define `refsym'.
43540 2011-09-13 Andreas Schwab <schwab@redhat.com>
43542 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43543 (__FD_ELT): Renamed from __FDELT.
43544 * misc/bits/select2.h (__FD_ELT): Likewise.
43545 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43546 __FD_MASK instead of __FDELT, __FDMASK.
43547 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43549 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43552 * elf/Makefile (gen-ldd): Fix pattern.
43554 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43555 (init_tls): Likewise.
43557 2011-09-12 Ulrich Drepper <drepper@gmail.com>
43559 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43561 2011-09-12 Andreas Schwab <schwab@redhat.com>
43563 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43564 `struct cmsghdr *' instead of `void *'.
43565 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43568 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43570 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43572 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43573 ldd_rewrite_script.
43575 2011-09-11 Ulrich Drepper <drepper@gmail.com>
43577 * configure.in: Remove --with-tls option.
43578 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43579 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43580 out in case it is missing.
43581 * sysdeps/ia64/elf/configure.in: Likewise.
43582 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43583 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43584 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43585 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43586 * sysdeps/sh/elf/configure.in: Likewise.
43587 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43588 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43589 * sysdeps/x86_64/elf/configure.in: Likewise.
43590 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43591 * sysdeps/mach/hurd/tls.h: Likewise.
43594 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43597 * configure.in: Fix use of AC_INIT.
43599 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43601 2011-09-10 Ulrich Drepper <drepper@gmail.com>
43603 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43605 * malloc/hooks.c: Likewise.
43608 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43609 variables statically.
43610 (narenas): Initialize.
43611 (list_lock): Initialize.
43612 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43613 initializtion of main_arena and list_lock. Small cleanups.
43614 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43615 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43616 Add initializers to main_arena and mp_.
43617 (malloc_state): Remove pagesize member. Change all users to use
43620 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43621 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43622 is always initialized.
43624 * malloc/malloc.c: Removed unused configurations and dead code.
43625 * malloc/arena.c: Likewise.
43626 * malloc/hooks.c: Likewise.
43627 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43629 * include/tls.h: Removed. USE___THREAD must always be defined.
43630 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43631 * elf/dl-libc.c: Likewise.
43632 * elf/dl-tsd.c: Likewise.
43633 * include/errno.h: Likewise.
43634 * include/netdb.h: Likewise.
43635 * include/resolv.h: Likewise.
43636 * inet/herrno-loc.c: Likewise.
43637 * inet/herrno.c: Likewise.
43638 * malloc/arena.c: Likewise.
43639 * malloc/hooks.c: Likewise.
43640 * malloc/malloc.c: Likewise.
43641 * resolv/res-state.c: Likewise.
43642 * resolv/res_libc.c: Likewise.
43643 * sysdeps/i386/dl-machine.h: Likewise.
43644 * sysdeps/ia64/dl-machine.h: Likewise.
43645 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43646 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43647 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43648 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43649 * sysdeps/sh/dl-machine.h: Likewise.
43650 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43651 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43652 * sysdeps/unix/i386/sysdep.S: Likewise.
43653 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43654 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43655 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43656 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43657 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43658 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43659 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43660 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43661 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43662 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43663 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43664 * sysdeps/x86_64/dl-machine.h: Likewise.
43665 * tls.make.c: Likewise.
43667 * configure.in: Remove --with-__thread option. Make tests for
43668 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43669 tls_model attribute fail if no support is available. Remove
43671 * Makeconfig: Adjust for dropped configure option. All features are
43673 * Makerules: Likewise.
43674 * Versions.def: Likewise.
43675 * argp/argp-fmtstream.c: Likewise.
43676 * argp/argp-fmtstream.h: Likewise.
43677 * argp/argp-help.c: Likewise.
43678 * assert/assert.c: Likewise.
43679 * config.h.in: Likewise.
43680 * config.make.in: Likewise.
43681 * configure: Likewise.
43682 * configure.in: Likewise.
43683 * csu/Versions: Likewise.
43684 * csu/init.c: Likewise.
43685 * elf/tst-audit2.c: Likewise.
43686 * elf/tst-tls10.c: Likewise.
43687 * elf/tst-tls10.h: Likewise.
43688 * elf/tst-tls11.c: Likewise.
43689 * elf/tst-tls12.c: Likewise.
43690 * elf/tst-tls14.c: Likewise.
43691 * elf/tst-tlsmod11.c: Likewise.
43692 * elf/tst-tlsmod12.c: Likewise.
43693 * elf/tst-tlsmod13.c: Likewise.
43694 * elf/tst-tlsmod13a.c: Likewise.
43695 * elf/tst-tlsmod14a.c: Likewise.
43696 * elf/tst-tlsmod15b.c: Likewise.
43697 * elf/tst-tlsmod16a.c: Likewise.
43698 * elf/tst-tlsmod16b.c: Likewise.
43699 * elf/tst-tlsmod7.c: Likewise.
43700 * elf/tst-tlsmod8.c: Likewise.
43701 * elf/tst-tlsmod9.c: Likewise.
43702 * gmon/gmon.c: Likewise.
43703 * grp/fgetgrent_r.c: Likewise.
43704 * grp/putgrent.c: Likewise.
43705 * hurd/fopenport.c: Likewise.
43706 * include/libc-symbols.h: Likewise.
43707 * include/tls.h: Likewise.
43708 * intl/gettextP.h: Likewise.
43709 * intl/loadinfo.h: Likewise.
43710 * locale/global-locale.c: Likewise.
43711 * locale/localeinfo.h: Likewise.
43712 * mach/devstream.c: Likewise.
43713 * malloc/arena.c: Likewise.
43714 * malloc/set-freeres.c: Likewise.
43715 * misc/err.c: Likewise.
43716 * misc/getttyent.c: Likewise.
43717 * misc/mntent_r.c: Likewise.
43718 * posix/getopt.c: Likewise.
43719 * posix/wordexp.c: Likewise.
43720 * pwd/fgetpwent_r.c: Likewise.
43721 * resolv/Versions: Likewise.
43722 * resolv/res_hconf.c: Likewise.
43723 * shadow/fgetspent_r.c: Likewise.
43724 * shadow/putspent.c: Likewise.
43725 * stdio-common/printf_fphex.c: Likewise.
43726 * stdio-common/tmpfile.c: Likewise.
43727 * stdlib/abort.c: Likewise.
43728 * stdlib/fmtmsg.c: Likewise.
43729 * sunrpc/auth_unix.c: Likewise.
43730 * sunrpc/clnt_perr.c: Likewise.
43731 * sunrpc/clnt_tcp.c: Likewise.
43732 * sunrpc/clnt_udp.c: Likewise.
43733 * sunrpc/clnt_unix.c: Likewise.
43734 * sunrpc/openchild.c: Likewise.
43735 * sunrpc/svc_simple.c: Likewise.
43736 * sunrpc/svc_tcp.c: Likewise.
43737 * sunrpc/svc_udp.c: Likewise.
43738 * sunrpc/svc_unix.c: Likewise.
43739 * sunrpc/xdr.c: Likewise.
43740 * sunrpc/xdr_array.c: Likewise.
43741 * sunrpc/xdr_rec.c: Likewise.
43742 * sunrpc/xdr_ref.c: Likewise.
43743 * sunrpc/xdr_stdio.c: Likewise.
43745 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43747 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43749 2011-07-03 Andreas Jaeger <aj@suse.de>
43751 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43752 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43753 regenerate with gen-libm-tests.pl.
43755 2010-05-12 Petr Baudis <pasky@suse.cz>
43758 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43759 around j0() zero points by switching to j1().
43760 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43761 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43762 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43763 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43765 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43767 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43769 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43771 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43772 Patch in part by Pavel Roskin <proski@gnu.org>.
43775 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43777 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43778 Free memory block if necessary.
43781 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43782 be NULL. Don't lock in this case.
43784 2011-09-09 Roland McGrath <roland@hack.frob.com>
43786 * elf/elf.h (ELFOSABI_GNU): New macro.
43787 (ELFOSABI_LINUX): Define to that.
43789 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43791 * string/strncat.c (strncat): Undef the symbol in case it has been
43792 defined in bits/string.h.
43794 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43796 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43798 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43801 2011-08-17 Andreas Jaeger <aj@suse.de>
43803 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43805 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43806 Ian Lance Taylor <iant@google.com>
43808 * math/libm-test.inc (lround_test): New testcase.
43809 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43811 2011-09-08 Ulrich Drepper <drepper@gmail.com>
43813 * Makefile: Remove support for automatic cvs check-ins.
43814 * Makerules: Likewise.
43815 * config.make.in: Likewise.
43816 * configure.in: Likewise.
43817 * intl/Makefile: Likewise.
43818 * locale/Makefile: Likewise.
43819 * po/Makefile: Likewise.
43820 * posix/Makefile: Likewise.
43821 * sysdeps/gnu/Makefile: Likewise.
43822 * sysdeps/mach/hurd/Makefile: Likewise.
43823 * sysdeps/sparc/sparc32/Makefile: Likewise.
43826 * posix/Makefile (bug-regex32-ENV): Define.
43827 Patch by John Stanley <jpsinthemix@verizon.net>.
43829 * misc/Makefile (headers): Add bits/select2.h.
43830 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43831 * misc/bits/select2.h: New file.
43832 * include/bits/select2.h: New file.
43833 * debug/Makefile (routines): Add fdelt_chk.
43834 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43835 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43837 * debug/fdelt_chk.c: New file.
43839 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43840 * wcsmbs/test-wmemcmp.c: Likewise.
43841 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43842 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43844 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43846 * string/Makefile (strop-tests): Add memcmp.
43847 * string/test-wmemcmp.c: New file.
43848 * string/test-memcmp.c: Add wmemcmp support.
43850 2011-09-08 Roland McGrath <roland@hack.frob.com>
43853 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43856 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43857 garbage value in a __mach_port_mod_refs call in the cases of the
43858 task-self and thread-self ports.
43860 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43862 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43864 2011-09-08 Andreas Schwab <schwab@redhat.com>
43866 * elf/dl-load.c (lose): Check for non-null L.
43868 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43870 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43872 * elf/dl-libc.c (dlerror_run): Pass back error code from
43876 * elf/dl-load.c (lose): Free l_origin if it is valid.
43878 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43880 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43881 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43882 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43883 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43884 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43885 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43887 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43889 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43890 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43891 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43892 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43893 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43894 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43895 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43896 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43897 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43898 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43900 2011-08-15 Alan Modra <amodra@gmail.com>
43903 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43904 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43905 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43906 ppc_mcount to static-only-routines.
43907 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43909 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43910 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43912 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43914 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43915 for finite and infinity parameters.
43917 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43919 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43920 and add nop instructions for throughput optimization.
43921 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43923 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43925 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43926 aligned copy for power7 with vector-scalar instructions.
43927 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43929 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43931 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43934 2011-09-07 Andreas Schwab <schwab@redhat.com>
43937 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43940 2011-09-07 Ulrich Drepper <drepper@gmail.com>
43942 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43943 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43944 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43945 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43948 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43950 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43951 Forgot to demangle the pointer.
43953 * sysdeps/i386/sysdep.h: Define atom_text_section.
43954 * sysdeps/x86_64/sysdep.h: Likewise.
43955 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43956 section with atom_text_section.
43957 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43958 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43959 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43960 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43961 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43963 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43964 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43965 already be defined. Change to take two parameters and don't assign
43966 result to variable. Adjust all users.
43967 Define INTERNAL_GETTIME if not already defined.
43968 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43970 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43971 HAVE_CLOCK_GETTIME_VSYSCALL.
43972 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43974 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43975 gettimeofday vsyscall, just use time.
43977 2011-09-06 Andreas Schwab <schwab@redhat.com>
43979 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43982 2011-09-06 Ulrich Drepper <drepper@gmail.com>
43984 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43986 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43988 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43989 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43990 syscall if possible.
43992 2011-09-05 Ulrich Drepper <drepper@gmail.com>
43994 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43995 e_ident. Don't pass to find_mapsXX.
43996 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43998 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44000 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44001 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44002 * sysdeps/x86_64/multiarch/strchr.S: Update.
44003 Check bit_slow_BSF bit.
44004 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44005 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44006 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44008 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44011 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44013 (tryshell): Define.
44014 (__spawni): Change last parameter to be flag. Test
44015 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44016 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44017 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44018 * posix/spawni.c: Likewise.
44019 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44020 * posix/spawnp.c: Likewise. Change normal version to use
44021 SPAWN_XFLAGS_USE_PATH.
44022 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44023 SPAWN_XFLAGS_TRY_SHELL.
44026 * posix/glob.h: Remove gcc 1.x support.
44029 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44031 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44033 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44034 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44036 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44037 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44038 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44039 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44040 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44041 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44043 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44045 * sysdeps/x86_64/wcscmp.S: New file.
44047 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44048 wcscmp-c wcscmp-sse2
44049 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44050 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44051 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44052 * wcsmbs/wcscmp.c: Allow renaming.
44054 2011-09-05 David S. Miller <davem@davemloft.net>
44056 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44057 stack slot, rather than the struct return pointer slot.
44058 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44059 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44061 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44063 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44065 * po/ja.po: Update from translation team.
44068 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44069 kernel in 64-bit binaries.
44071 2011-09-01 David S. Miller <davem@davemloft.net>
44073 * elf/elf.h (HWCAP_SPARC_*): Move to..
44074 * sysdeps/sparc/sysdep.h: this new file and add new values.
44075 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44076 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44077 _DL_HWCAP_COUNT to 24.
44078 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44080 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44081 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44082 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44083 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44084 instead of magic constants.
44085 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44087 2011-08-31 David S. Miller <davem@davemloft.net>
44089 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44090 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44091 Reimplement to do errno handling inline.
44092 (SYSCALL_ERROR_HANDLER): New macro.
44093 (__SYSCALL_STRING): Do not do errno handling in asm.
44094 (__CLONE_SYSCALL_STRING): Delete.
44095 (__INTERNAL_SYSCALL_STRING): Delete.
44096 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44097 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44098 (PSEUDO): Reimplement to do errno handling inline.
44099 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44100 (SYSCALL_ERROR_HANDLER): New macro.
44101 (__SYSCALL_STRING): Do not do errno handling in asm.
44102 (__CLONE_SYSCALL_STRING): Delete.
44103 (__INTERNAL_SYSCALL_STRING): Delete.
44104 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44105 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44107 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44108 (inline_syscall*): Add 'err' argument.
44109 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44110 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44111 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44112 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44114 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44115 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44117 2011-08-30 Andreas Schwab <schwab@redhat.com>
44119 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44121 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44123 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44126 2011-08-24 David S. Miller <davem@davemloft.net>
44128 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44130 2011-08-24 Andreas Schwab <schwab@redhat.com>
44132 * elf/Makefile: Add rules to build and run unload8 test.
44133 * elf/unload8.c: New file.
44134 * elf/unload8mod1.c: New file.
44135 * elf/unload8mod1x.c: New file.
44136 * elf/unload8mod2.c: New file.
44137 * elf/unload8mod3.c: New file.
44139 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44142 2011-08-23 David S. Miller <davem@davemloft.net>
44144 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44145 subtract stack bias.
44146 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44147 %sp not %fp in calculations.
44148 (_JMPBUF_UNWINDS_ADJ): Likewise.
44150 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44151 (aio_suspend): Call it to force an exception region around the
44152 AIO_MISC_WAIT() invocation.
44154 2011-08-23 Andreas Schwab <schwab@redhat.com>
44156 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44159 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44161 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44163 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44164 and <dl-machine.h>.
44165 (Elf64_FuncDesc): Remove.
44167 2011-08-22 David S. Miller <davem@davemloft.net>
44169 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44170 sigaltstack check, add missing cfi directives.
44171 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44172 missing cfi directives, and sigaltstack handling.
44174 2011-08-16 Andreas Schwab <schwab@redhat.com>
44177 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44178 object is seen twice.
44179 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44181 * elf/Makefile (distribute): Add tst-initorder2.c.
44182 (tests): Add tst-initorder2.
44183 (modules-names): Add tst-initorder2a tst-initorder2b
44184 tst-initorder2c tst-initorder2d. Add rules to build them.
44185 ($(objpfx)tst-initorder2.out): New rule.
44186 * elf/tst-initorder2.c: New file.
44187 * elf/tst-initorder2.exp: New file.
44189 2011-08-22 Andreas Schwab <schwab@redhat.com>
44191 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44193 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44194 dependencies back to end of function.
44196 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44197 $(elfobjdir)/ld.so.
44199 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44201 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44202 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44203 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44204 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44205 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44206 of __vdso_gettimeofday.
44207 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44208 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44210 (_libc_vdso_platform_setup): Remove initialization of
44211 __vdso_gettimeofday and __vdso_time.
44213 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44215 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44216 and fgetc_unlocked.
44217 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44220 * elf/dl-open.c (add_to_global): Report additions to the global scope
44221 for LD_DEBUG=scopes.
44222 (dl_open_worker): Also print scope of newly loaded dependencies.
44223 (_dl_show_scope): Indicate if there is no scope.
44226 * stdio-common/Makefile (tests): Add bug24.
44227 * stdio-common/bug24.c: New file.
44229 2011-08-19 Andreas Jaeger <aj@suse.de>
44232 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44233 non-existant file when using close-on-exec mode.
44235 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44237 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44238 the very first instruction.
44240 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44241 the CFI state in the end.
44242 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44243 inclusion of dl-trampoline.h.
44244 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44246 2011-08-19 Andreas Schwab <schwab@redhat.com>
44248 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44249 expectations for long double.
44251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44252 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44254 2011-08-14 David S. Miller <davem@davemloft.net>
44256 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44257 artificual limit depends upon the system page size.
44259 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44261 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44262 * resolv/Makefile: Define CFLAGS-libresolv.
44264 2011-08-17 Andreas Schwab <schwab@redhat.com>
44266 * nss/makedb.c (compute_tables): Make variables used in nested
44269 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44271 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44272 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44273 if buffer was too small.
44275 * elf/pldd.c (main): Attach to all threads in the process.
44276 Rewrite /proc handling to use *at functions.
44278 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44280 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44281 specifies first scope to show.
44282 (dl_open_worker): Update callers. Move printing scope of new
44283 object to before the relocation.
44284 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44285 * sysdeps/generic/ldsodefs.h: Update declaration.
44287 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44288 string for the scope number.
44290 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44292 * nscd/servicescache.c (cache_addserv): Make sure written is always
44295 2011-08-14 Roland McGrath <roland@hack.frob.com>
44297 * sysdeps/i386/i486/bits/atomic.h
44298 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44299 statement expression, so as to suppress "set but not used" warning.
44300 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44302 * string/strncat.c (STRNCAT): Use prototype definition.
44304 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44305 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44307 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44308 (localedef-modules): Add localedef.
44309 (locale-modules): Add locale.
44311 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44312 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44313 to avoid a warning.
44315 2011-08-14 David S. Miller <davem@davemloft.net>
44317 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44318 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44320 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44322 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44323 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44324 * elf/rtld.c (dl_main): Set l_name of vDSO.
44325 Call _dl_show_scope when DL_DEBUG_SCOPES.
44326 (process_dl_debug): Recognize scopes flag and also set it for all.
44327 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44328 Declare _dl_show_scope.
44330 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44331 (do_dlopen): Pass caller_dlopen to dl_open.
44332 (__libc_dlopen_mode): Initialize caller_dlopen.
44334 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44335 of libc. Make tolower call locale-independent. Optimize a bit by
44336 using isdigit instead of isalnum.
44337 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44339 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44341 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44342 was a dependency or dynamically loaded.
44344 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44346 * intl/l10nflist.c: Allow architecture-specific pop function.
44347 * sysdeps/x86_64/l10nflist.c: New file.
44349 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44352 2011-08-10 Andreas Schwab <schwab@redhat.com>
44354 * include/dirent.h: Add libc_hidden_proto for scandirat and
44355 scandirat64. Don't declare __scandirat64.
44356 * dirent/scandirat.c: Add libc_hidden_def.
44357 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44358 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44360 2011-08-10 David S. Miller <davem@davemloft.net>
44362 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44364 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44365 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44366 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44368 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44370 * Versions.def [libc]: Add GLIBC_2.15.
44371 * dirent/Makefile (routines): Add scandirat and scandirat64.
44372 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44374 * dirent/dirent.h: Declare scandirat and scandirat64.
44375 * dirent/scandirat.c: New file.
44376 * dirent/scandirat64.c: New file.
44377 * sysdeps/wordsize-64/scandirat.c: New file.
44378 * sysdeps/wordsize-64/scandirat64.c: New file.
44379 * dirent/opendir.c: Define opendirat.
44380 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44382 * dirent/scandir64.c: Adjust for scandir.c change.
44383 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44384 __scandirat64, and __scandir_cancel_handler.
44385 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44386 additional parameter and use openat instead of open (outside of ld.so).
44387 Add new __opendir as wrapper around __opendirat.
44388 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44389 here without requiring old scandirat implementation.
44391 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44393 * dirent/scandir.c (cancel_handler): Renamed to
44394 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44395 defined. Adjust users.
44396 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44397 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44399 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44401 * string/test-string.h (IMPL): Use __STRING to expand name and then
44404 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44407 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44409 * string/Makefile: Update.
44410 (strop-tests): Append strncat.
44411 * string/test-wcscmp.c: New file.
44412 New comprehensive test for wcscmp.
44413 * string/test-strcmp.c: Update.
44414 (WIDE): New define.
44416 2011-07-22 Andreas Schwab <schwab@redhat.com>
44418 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44421 2011-07-26 Andreas Schwab <schwab@redhat.com>
44423 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44424 encoding to ACE if AI_IDN.
44426 2011-08-01 Jakub Jelinek <jakub@redhat.com>
44428 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44429 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44431 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44433 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44434 Fix overflow bug in strncat.
44435 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44437 * string/test-strncat.c: Update.
44438 Add new tests for checking overflow bugs.
44440 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44442 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44443 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44444 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44445 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44446 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44447 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44448 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44449 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44450 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44452 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44453 (USE_AS_STRCAT): Define.
44454 Add strcat and strncat support.
44455 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44457 2011-07-25 Andreas Schwab <schwab@redhat.com>
44459 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44460 __n bigger than INT_MAX+1.
44461 (__strncmp_g): Likewise.
44463 2011-07-23 Ulrich Drepper <drepper@gmail.com>
44465 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44466 * libio/stido.h: Likewise.
44468 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44470 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44473 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44474 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44475 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44476 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44477 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44480 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44483 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44485 (_dl_x86_64_save_sse): Likewise.
44487 2011-07-22 Ulrich Drepper <drepper@gmail.com>
44489 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44491 (_dl_x86_64_save_sse): Likewise.
44493 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44495 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44497 2011-07-21 Andreas Schwab <schwab@redhat.com>
44499 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44501 (_dl_x86_64_save_sse): Use correct AVX check.
44503 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44505 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44506 bug in strncpy/strncat.
44507 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44509 2011-07-21 Ulrich Drepper <drepper@gmail.com>
44511 * string/tester.c (test_strcat): Add tests for different alignments
44512 of source and destination.
44513 (test_strncat): Likewise.
44515 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44518 * posix/glob.c (glob): Check passed in values before using them in
44519 expressions to avoid some overflows.
44520 (glob_in_dir): Likewise.
44523 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44524 check for AVX enablement so that we don't crash with old kernels and
44526 * elf/tst-audit4.c: Add same checks here.
44527 * elf/tst-audit6.c: Likewise.
44529 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44531 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44533 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44535 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44537 * po/cs.po: Update from translation team.
44538 * po/bg.po: Likewise.
44540 2011-07-12 Marek Polacek <mpolacek@redhat.com>
44542 * misc/sys/cdefs.h: Add support for const attribute.
44543 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44544 to gnu_dev_{major,minor,makedev} functions.
44546 2011-07-20 Marek Polacek <mpolacek@redhat.com>
44548 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44550 2011-07-20 Andreas Schwab <schwab@redhat.com>
44552 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44555 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44557 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44558 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44559 register in order to avoid conflicts with the soft frame pointer
44560 being held in r11 when necessary.
44561 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44562 (INTERNAL_VSYSCALL_NCS): Likewise.
44564 2011-07-14 Marek Polacek <mpolacek@redhat.com>
44566 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44567 * elf/dl-fini.c (_dl_fini): Adjust caller.
44568 * elf/dl-close.c (_dl_close_worker): Likewise.
44569 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44571 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44573 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44574 "aux_cache->nlibs < 0".
44576 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44577 in the reload-count case.
44579 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44581 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44582 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44583 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44584 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44585 * sysdeps/x86_64/multiarch/strcat.S: New file.
44586 * sysdeps/x86_64/multiarch/strncat.S: New file.
44587 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44588 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44589 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44590 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44591 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44592 (USE_AS_STRCAT): Define.
44593 Add strcat and strncat support.
44594 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44595 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44596 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44597 * string/strncat.c: Update.
44598 (USE_AS_STRNCAT): Define.
44599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44600 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44602 * sysdeps/x86_64/multiarch/init-arch.h
44603 (bit_Prefer_PMINUB_for_stringop): New.
44604 (index_Prefer_PMINUB_for_stringop): Likewise.
44605 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44606 bit_Prefer_PMINUB_for_stringop.
44608 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44610 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44612 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44613 of casting of buffer.
44614 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44615 buffer32 and buffer64.
44616 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44617 writes instead of casting of buffer.
44618 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44620 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44623 2011-07-19 Andreas Schwab <schwab@redhat.com>
44625 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44627 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44629 * nscd/nscd.c (termination_handler): Don't do anything for a database
44630 if it has not yet been initialized.
44632 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44634 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44636 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44638 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44640 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44642 * po/nl.po: Update from translation team.
44643 * po/sv.po: Likewise.
44645 2011-07-16 Roland McGrath <roland@hack.frob.com>
44647 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44648 now disallowed by GCC.
44650 * configure.in (use-default-link): Default to yes if a test -shared
44651 link meets our qualifications.
44652 * configure: Regenerated.
44654 * config.make.in (output-format): New variable.
44655 * configure.in: Check for ld --print-output-format support.
44656 * configure: Regenerated.
44657 * Makerules ($(common-objpfx)format.lds)
44658 [$(output-format) != unknown]: Just use $(output-format),
44659 instead of the linker-script munging.
44661 2011-07-14 Roland McGrath <roland@hack.frob.com>
44663 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44664 of $(common-objpfx)shlib.lds.
44665 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44667 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44668 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44670 * configure.in (-z relro check): Adjust test code to add a large
44671 writable data section after it.
44672 * configure: Regenerated.
44674 2011-07-11 Roland McGrath <roland@hack.frob.com>
44676 * configure.in (-z relro check): Fix test code to make the variable
44678 * configure: Regenerated.
44680 2011-07-11 Ulrich Drepper <drepper@gmail.com>
44682 * nscd/nscd.h (struct traced_file): Define.
44683 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44684 elements. Add traced_files.
44685 (inotify_fd): Declare.
44686 (register_traced_file): Declare.
44687 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44688 (inotify_fd): Export.
44689 (resolv_conf_descr): Remove.
44690 (nscd_init): Move inotify descriptor creation to main.
44691 Don't register files for notification here.
44692 (register_traced_file): New function.
44693 (invalidate_cache): Don't use reset_res to determine whether to call
44694 res_init, go through the list of registered files.
44695 (main_loop_poll): The inotify descriptors are now stored in the
44696 structures for the traced files.
44697 (main_loop_epoll): Likewise
44698 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44699 to __nss_disable_nscd.
44700 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44701 for a database anymore. Check the records for all the registered
44703 * nss/Makefile (libnss_files-routines): Add files-init.
44704 (libnss_db-routines): Add db-init.
44705 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44706 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44707 * nss/nss_db/db-init.c: New file.
44708 * nss/nss_files/files-init.c: New file.
44709 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44710 __nss_lookup_function.
44711 (__nss_lookup_function): Call nss_load_library.
44712 (nss_load_all_libraries): New function.
44713 (__nss_disable_nscd): Take parameter with callback function for files
44714 to register. Set is_nscd. Load all the DSOs for the NSS modules
44715 used for the cached services.
44716 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44717 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44718 options for features to all the files in nscd.
44720 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44722 2011-07-10 Roland McGrath <roland@hack.frob.com>
44724 * csu/elf-init.c (__libc_csu_init): Comment typo.
44726 2011-07-09 Ulrich Drepper <drepper@gmail.com>
44728 * po/pl.po: Update from translation team.
44729 * po/ja.po: Likewise.
44730 * po/ru.po: Likewise.
44731 * po/ko.po: Likewise.
44732 * po/fr.po: Likewise.
44734 2011-07-09 Roland McGrath <roland@hack.frob.com>
44736 * configure.in (.ctors/.dtors header and trailer check):
44737 Use an empirical test on a built program.
44738 * configure: Regenerated.
44740 * configure.in (-z relro check): Use an empirical test on a built DSO.
44741 Detect, but do not require, on ia64.
44742 * configure: Regenerated.
44744 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44745 Update tests that use readelf to use $READELF instead.
44746 * configure: Regenerated.
44748 2011-07-08 Ulrich Drepper <drepper@gmail.com>
44750 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44751 if the result is not used.
44753 2011-07-05 Andreas Jaeger <aj@suse.de>
44756 * stdlib/tst-strtod.c: Add testcase.
44758 2011-07-07 Ulrich Drepper <drepper@gmail.com>
44760 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44761 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44762 The latter has a higher limit. Take additional parameter to pass to
44764 (__pathconf): Pass file to __statfs_link_max.
44765 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44767 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44771 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44772 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44774 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44775 (__statfs_filesize_max): Likewise.
44776 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44778 2011-07-05 Andreas Jaeger <aj@suse.de>
44780 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44782 2011-07-06 Marek Polacek <mpolacek@redhat.com>
44784 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44786 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44789 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44791 * Makefile (strop-tests): Add strncat.
44792 * string/test-strncat.c: New file.
44794 2011-06-30 Marek Polacek <mpolacek@redhat.com>
44796 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44798 2011-06-21 Andreas Jaeger <aj@suse.de>
44800 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44801 Copy rule from iconvdata/Makefile.
44803 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44806 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44807 but no long options are defined, just return 'W'.
44809 2011-06-22 Marek Polacek <mpolacek@redhat.com>
44812 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44814 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44816 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44818 (innetgr): Likewise.
44820 2011-07-05 Roland McGrath <roland@hack.frob.com>
44822 * config.make.in (install_root): Default to $(DESTDIR).
44824 2011-07-05 Ulrich Drepper <drepper@gmail.com>
44826 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44828 2011-07-02 Roland McGrath <roland@hack.frob.com>
44830 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44832 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44833 containing directory rather than embedding absolute directory names.
44835 * scripts/check-local-headers.sh: Rewritten using awk.
44836 Match by word, not by line. Print error messages for matches.
44837 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44839 * Makerules [shlib-lds-flags empty]:
44840 ($(common-objpfx)libc_pic.opts): New target.
44841 ($(common-objpfx)libc_pic.os.clean): New target.
44842 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44844 * config.make.in (OBJCOPY): New variable.
44845 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44846 * configure: Regenerated.
44848 * config.make.in (use-default-link): New variable.
44849 * configure.in (use_default_link): Grok --with-default-link to set it.
44850 * configure: Regenerated.
44851 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44852 (shlib-lds, shlib-lds-flags): Define to empty.
44854 * Makerules (shlib-lds): New variable.
44855 (shlib-lds-flags): New variable.
44856 (build-shlib, build-moduile, build-module-asneeded): Use it.
44857 ($(common-objpfx)libc.so): Use $(shlib-lds).
44858 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44859 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44861 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44862 DT_FLAGS/DT_FLAGS_1 with zero flags.
44864 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44865 linker script munging.
44867 2011-07-02 Ulrich Drepper <drepper@gmail.com>
44869 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44871 * crypt/sha512.c (sha512_process_block): Perform total addition using
44872 128-bit if possible.
44873 (__sha512_finish_ctx): Likewise.
44874 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44876 * crypt/sha256.c (SWAP64): Define.
44877 (sha256_process_block): Perform total addition using 64-bit if
44879 (__sha256_finish_ctx): Likewise.
44881 2011-07-01 Ulrich Drepper <drepper@gmail.com>
44883 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44884 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44885 * nscd/hstcache.c (cache_addhst): Likewise.
44886 * nscd/grpcache.c (cache_addgr): Likewise.
44887 * nscd/aicache.c (addhstaiX): Likewise
44888 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44890 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
44892 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44893 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44894 * nscd/hstcache.c (cache_addhst): Likewise.
44895 * nscd/grpcache.c (cache_addgr): Likewise.
44896 * nscd/aicache.c (addhstaiX): Likewise
44898 2011-07-01 Andreas Schwab <schwab@redhat.com>
44900 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44901 domain only when needed.
44903 2011-06-30 Andreas Schwab <schwab@redhat.com>
44905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44906 is always restored.
44908 2011-06-29 Ulrich Drepper <drepper@gmail.com>
44910 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44911 are re-adding the entry.
44912 * nscd/servicescache.c (cache_addserv): Likewise.
44914 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44916 * sysdeps/generic/dl-irel.h: fix protection against multiple
44918 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44920 2011-06-28 Ulrich Drepper <drepper@gmail.com>
44923 * malloc/memusage.sh: Fix quoting in message.
44924 * debug/xtrace.sh: Likewise.
44926 * configure.in: Remove support for --experimental-malloc option, make
44928 * config.make.in: Likewise.
44929 * malloc/Makefile: Likewise.
44931 2011-06-27 Andreas Schwab <schwab@redhat.com>
44933 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44934 two-byte characters.
44936 2011-06-27 Roland McGrath <roland@hack.frob.com>
44938 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44939 AC_CACHE_CHECK invocation.
44940 * configure: Regenerated.
44942 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44944 2011-06-27 Ulrich Drepper <drepper@gmail.com>
44947 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44948 bit from old_res_options.
44950 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44952 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44953 value type for setfct.
44955 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44957 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44958 __gettimeofday instead of gettimeofday.
44960 2011-06-26 Ulrich Drepper <drepper@gmail.com>
44962 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44964 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44966 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44968 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44971 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44973 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44974 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44975 strcpy-sse2-unaligned strncpy-sse2-unaligned
44976 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44977 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44978 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44979 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44980 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44981 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44982 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44983 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44984 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44985 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44986 (STRCPY): Support SSE2 and SSSE3 versions.
44988 2011-06-24 Ulrich Drepper <drepper@gmail.com>
44991 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44992 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44993 kernels which artificially limit size of requests.
44995 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44997 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44998 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44999 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45000 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45001 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45002 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45003 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45004 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45005 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45006 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45007 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45008 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45009 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45010 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45011 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45013 Enable unaligned load optimization for Intel Core i3, i5 and i7
45015 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45017 (index_Fast_Unaligned_Load): Define.
45018 (HAS_FAST_UNALIGNED_LOAD): Define.
45020 2011-06-23 Marek Polacek <mpolacek@redhat.com>
45022 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45024 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45027 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45028 until it is clear that the information is realy needed.
45029 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45031 2011-06-22 Andreas Schwab <schwab@redhat.com>
45033 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45035 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45037 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45038 /sys/devices/system/cpu/online if it is usable.
45040 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45041 reading the information from the /proc filesystem to once a second.
45043 2011-06-21 Andreas Jaeger <aj@suse.de>
45045 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45046 NULL after inclusion of kernel headers.
45048 2011-06-21 Ulrich Drepper <drepper@gmail.com>
45050 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45051 calls to internal_setent.
45054 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45055 addresses using gethostbyname4_r ignore IPv4 addresses.
45057 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45058 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45060 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45062 2011-06-20 David S. Miller <davem@davemloft.net>
45064 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45066 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45068 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45069 (elf_irel): Use it.
45070 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45071 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45072 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45073 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45074 * sysdeps/x86_64/dl-irel.h: Likewise.
45076 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45077 * elf/dl-sym.c: Likewise.
45079 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45081 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45082 need to dereference resplen2.
45084 2011-06-14 Andreas Schwab <schwab@redhat.com>
45086 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45088 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45090 * Makeconfig: Define vardbdir and inst_vardbdir.
45091 * nss/Makefile: Add rules to install db-Makefile.
45093 * nss/nss_db/db-XXX.c: Cleanup.
45095 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45096 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45098 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45099 * nss/makedb.c: Implement -g option to specify that value strings
45100 are generated and should not be added to table iterated over for
45102 * nss/nss_db/db-initgroups.c: New file.
45104 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45107 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45108 (internal_getgrouplist): Adjust to name change.
45109 Update use_initgroups_entry if this is not the first call.
45110 * nss/databases.def: Add initgroups entry.
45112 * nss/makedb.c (compute_tables): Check result of multiple hash table
45113 sizes to minimize maximum chain length.
45115 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45117 * Versions.def: Add entry for libnss_db.
45118 * shlib-versions: Likewise.
45119 * nss/Makefile: Add rules to build libnss_db.
45120 * nss/Versions: Add libnss_db information. Organize libnss_files
45122 * nss/db-Makefile: Add gshadow support. Change rules for the new
45123 makedb progra. Some minor improvements to generate smaller files.
45124 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45126 * nss/makedb.c: ...here.
45127 Improve database format to be smaller and require less memory at
45129 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45131 * nss/nss_db/db-netgrp.c: Likewise.
45132 * nss/nss_db/db-open.c: Likewise.
45133 * nss/nss_files/flies-XXX.x: Adjust comments.
45134 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45135 * nss/nss_files/files-grp.c: Likewise.
45136 * nss/nss_files/files-hosts.c: Likewise.
45137 * nss/nss_files/files-network.c: Likewise.
45138 * nss/nss_files/files-proto.c: Likewise.
45139 * nss/nss_files/files-pwd.c: Likewise.
45140 * nss/nss_files/files-rpc.c: Likewise.
45141 * nss/nss_files/files-service.c: Likewise.
45142 * nss/nss_files/files-sgrp.c: Likewise.
45143 * nss/nss_files/files-spwd.c: Likewise.
45144 * nss/nss_db/db-alias.c: Removed.
45145 * nss/nss_db/dummy-db.h: Removed.
45147 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45149 * nss/makedb.c: Rewritten to not use database library.
45150 * nss/Makefile: Update to build new makedb program.
45152 2011-06-14 Andreas Jaeger <aj@suse.de>
45154 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45155 memset declaration.
45157 2011-06-10 Andreas Schwab <schwab@redhat.com>
45159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45162 2011-06-10 Roland McGrath <roland@hack.frob.com>
45164 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45165 * elf/Makefile ($(objpfx)ld.so): Likewise.
45167 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45168 Don't list ld.so twice in dependencies.
45170 * posix/bug-regex31.c: Include <stdlib.h>.
45172 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45174 * nis/nss_compat/compat-spwd.c
45175 (getspent_next_nss_netgr): Remove unused variable.
45176 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45178 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45179 nonmembers" output to use the right array.
45181 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45183 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45185 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45186 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45187 * catgets/gencat.c (read_input_file): Likewise.
45188 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45190 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45191 variable definition inside #if's controlling its use.
45193 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45195 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45197 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45199 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45202 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45204 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45205 * configure: Regenerated.
45207 * Makerules: Revert last change.
45208 * elf/Makefile: Likewise.
45210 2011-06-09 Roland McGrath <roland@hack.frob.com>
45212 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45213 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45214 (reloc-link): Likewise.
45216 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45218 * elf/Makefile: Add rules to build pldd.
45219 * elf/pldd.c: New file.
45220 * elf/pldd-xx.c: New file.
45222 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45224 * version.h: Update for 2.15 development version.
45226 2011-06-07 David S. Miller <davem@davemloft.net>
45228 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45230 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45231 elf_machine_lazy_rel): Likewise.
45232 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45233 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45234 elf_machine_lazy_rel): Likewise.
45235 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45236 dl_hwcap via passed in argument.
45237 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45240 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45242 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45244 2011-06-06 Roland McGrath <roland@hack.frob.com>
45247 * manual/fdl-1.1.texi: New file, verbatim from:
45248 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45249 * manual/lgpl-2.1.texi: New file, verbatim from:
45250 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45251 * manual/Makefile (licenses): New variable, list those new file names.
45253 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45255 * manual/fdl.texi: File removed.
45256 * manual/lesser.texi: File removed.
45257 * manual/libc.texinfo (Copying, Documentation License):
45258 Use new @include file names, put @appendix directive before @include.
45260 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45263 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45264 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45265 (mq_open): Add __NTH.
45267 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45270 Assume Intel Core i3/i5/i7 processor if AVX is available.
45272 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45274 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45277 2011-05-31 Andreas Schwab <schwab@redhat.com>
45279 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45280 memory. Use alloca_account. Fix memory leak when retrying.
45282 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45284 * version.h (RELEASE): Bump for 2.14 release.
45285 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45287 * config.make.in (RANLIB): Remove entry.
45289 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45291 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45292 (libc.pot): Work around missing support for .ksh extension in xgettext.
45295 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45296 if both request failed.
45297 (send_dg): In case of server errors clear resplen or *resplen2.
45300 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45301 when there are multiple maps.
45302 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45303 (_dl_fini): Remove test here.
45305 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45307 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45310 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45311 bit from old_res_options.
45312 (gaih_inet): Likewise.
45315 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45318 * resolv/res_init.c (res_setoptions): Make the code more compact.
45321 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45325 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45327 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45330 * malloc/malloc.h: Declare malloc hook variables as volatile.
45332 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45336 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45337 raise in the comment.
45338 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45339 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45340 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45342 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45345 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45346 grow the buffers more if it already has to be sufficient.
45347 (build_wcs_upper_buffer): Likewise.
45348 * posix/regexec.c (check_matching): Likewise.
45349 (clean_state_log_if_needed): Likewise.
45350 (extend_buffers): Don't enlarge buffers beyond size of the input
45352 Patches mostly by Emil Wojak <emil@wojak.eu>.
45353 * posix/bug-regex32.c: New file.
45354 * posix/Makefile (tests): Add bug-regex32.
45356 * locale/findlocale.c (_nl_find_locale): Return right away if
45357 _nl_explode_name failed.
45358 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45360 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45362 * debug/xtrace.sh: Unify messages.
45363 * malloc/memusage.sh: Likewise.
45366 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45367 time symbol from vDSO. Substitute with vsyscall if not available.
45368 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45371 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45372 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45373 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45374 Add sendmmsg and internal_sendmmsg.
45375 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45376 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45377 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45379 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45380 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45381 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45383 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45386 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45387 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45389 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45393 * iconvdata/Makefile (tests): Add bug-iconv9.
45394 * iconvdata/bug-iconv9.c: New file.
45396 2011-05-27 Andreas Schwab <schwab@redhat.com>
45399 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45401 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45403 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45404 (struct user_regs_struct): Change intcs field back to cs.
45406 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45408 * po/ja.po: Update from translation team.
45410 2011-05-23 Ulrich Drepper <drepper@gmail.com>
45413 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45414 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45416 2011-05-20 Andreas Schwab <schwab@redhat.com>
45418 * stdlib/longlong.h: Update from GCC.
45420 2011-05-23 Andreas Schwab <schwab@redhat.com>
45422 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45424 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45425 Add parameter name.
45426 (__sysconf): Pass it down.
45428 2011-05-22 Ulrich Drepper <drepper@gmail.com>
45431 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45433 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45434 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45435 add in in __libc_use_alloca calls. Adjust callers.
45436 (glob): Use malloc in some situations.
45438 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45439 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45442 2011-05-21 Ulrich Drepper <drepper@gmail.com>
45444 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45445 and CLOCK_BOOTTIME_ALARM.
45448 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45451 * string/_strerror.c (__strerror_r): Print negative errors as signed
45455 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45456 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45457 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45459 * configure.in: Fix typo in redirection and correct removal of test
45460 files in two cases.
45463 * locale/setlocale.c (new_composite_name): Fix test to check for
45464 identical name of all categories.
45467 * libio/filedoalloc.c (local_isatty): New function.
45468 (_IO_file_doallocate): Use local_isatty.
45469 * stdio-common/perror.c (perror): In case a new stream is used
45470 forward the stream error.
45471 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45474 2011-05-20 Ulrich Drepper <drepper@gmail.com>
45477 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45479 * include/alloca.h (extend_alloca_account): Define.
45482 * posix/regex.h: Fix comments with documentation of user-accessible
45483 fields after compilation and describe correct free'ing of pattern
45484 after re_compile_pattern.
45485 Patch by Reuben Thomas <rrt@sc3d.org>.
45487 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45489 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45490 and -mno-altivec to prevent the compiler from using Altivec and/or
45491 VSX instructions when the corresponding registers are not available.
45493 2011-05-19 Andreas Schwab <schwab@redhat.com>
45495 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45497 2011-05-19 Ulrich Drepper <drepper@gmail.com>
45499 * libio/freopen.c (freopen): Use __dup2, not dup2.
45500 * libio/freopen64.c (freopen64): Likewise.
45502 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45505 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45506 * math/Makefile (tests): Add test-powl.
45507 (CFLAGS-test-powl.c): Define.
45508 * math/test-powl.c: New file.
45510 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45512 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45514 2011-05-17 Ulrich Drepper <drepper@gmail.com>
45517 * iconvdata/gb18030.c: Update to GB18020-2005.
45519 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45521 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45522 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45523 Patch by Aharon Robbins <arnold@skeeve.com>.
45526 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45530 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45531 through underflows.
45534 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45535 point to strings before performing equality test for error_one_per_line
45539 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45542 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45543 (struct user_fpregs_struct): Avoid __uint*_t types.
45546 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45547 symbol info. Use it instead of calling _dl_addr locally.
45548 (lock_and_info): New function.
45549 (tr_freehook): Call lock_and_info and pass symbol info as additional
45550 parameter to tr_where.
45551 (tr_mallochook): Likewise.
45552 (tr_reallochook): Likewise.
45553 (tr_memalignhook): Likewise.
45555 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45556 used and couldn't be at all thread-safe.
45558 2011-05-15 Ulrich Drepper <drepper@gmail.com>
45560 * libio/freopen.c (freopen): Don't close old file descriptor
45561 before the new one is opened. Instead dup the new file descriptor
45562 to the old one after the new stream is created.
45563 * libio/freopen64.c (freopen64): Likewise.
45564 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45565 * libio/fileops.c (_IO_new_file_close_it): Handle new
45566 _IO_FLAGS2_NOCLOSE flag.
45567 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45568 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45569 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45570 _IO_FLAGS2_NOCLOSE flag.
45571 * include/unistd.h: Add hidden_proto for dup3.
45572 Define __have_dup3.
45573 * io/dup3.c: Define hidden symbol.
45574 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45577 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45578 when an incomplete long option is used.
45579 * posix/tst-getopt_long1.c: New file.
45580 * posix/Makefile (tests): Add tst-getopt_long1.
45583 * scripts/config.guess: Update from autoconf-2.68.
45584 * scripts/config.sub: Likewise.
45587 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45589 (has_cpuclock): ...this. New function.
45590 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45591 macro here based on has_cpuclock code.
45594 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45595 First byte (not low byte) is now always NUL.
45596 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45598 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45599 Use non-cancelable interfaces.
45602 * locale/iso-639.def: Add entry for Sorani.
45605 * include/stdlib.h: Move include protection to the right place.
45606 Define abort_msg_s. Declare __abort_msg with it.
45607 * stdlib/abort.c (__abort_msg): Adjust type.
45608 * assert/assert.c (__assert_fail_base): New function. Majority
45609 of code from __assert_fail. Allocate memory for __abort_msg with
45611 (__assert_fail): Now call __assert_fail_base.
45612 * assert/assert-perr.c: Remove bulk of implementation. Use
45613 __assert_fail_base.
45614 * include/assert.hL Declare __assert_fail_base.
45615 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45617 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45619 2011-05-14 Ulrich Drepper <drepper@gmail.com>
45623 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45624 until all modules are registered in the DTV.
45625 * elf/Makefile: Add rules to build and run tst-tls19.
45626 * elf/tst-tls19.c: New file.
45627 * elf/tst-tls19mod1.c: New file.
45628 * elf/tst-tls19mod2.c: New file.
45629 * elf/tst-tls19mod3.c: New file.
45630 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45633 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45637 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45638 two-byte sequence errors.
45639 * iconvdata/Makefile (tests): Add bug-iconv8.
45640 * iconvdata/bug-iconv8.c: New file.
45643 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45646 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45649 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45650 (dummy_getcfa): New function.
45651 (init): Get _Unwind_GetCFA address, use dummy if not found.
45652 (backtrace_helper): In recursion check, also check whether CFA changes.
45653 (__backtrace): Completely initialize arg.
45655 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45656 storing incomplete byte sequence in state object. Avoid testing for
45657 guaranteed too small input if we know there is enough data available.
45659 2011-05-11 Andreas Schwab <schwab@redhat.com>
45661 * Makeconfig (+link-pie): Indent.
45662 * Rules (binaries-pie): Define if $(have-fpie) and
45664 (binaries-shared): Also filter out $(binaries-pie).
45665 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45666 * nscd/Makefile (others-pie): Add nscd.
45667 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45668 ($(objpfx)nscd): Remove command override.
45669 * login/Makefile (others-pie): Add pt_chown.
45670 ($(objpfx)pt_chown): Remove command override.
45671 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45672 remove command overrides.
45674 2011-05-13 Ulrich Drepper <drepper@gmail.com>
45676 * libio/tst_putwc.c: Fix error messages.
45679 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45680 currently writing and seek to current position when not.
45681 * libio/Makefile (tests): Add bug-fclose1.
45682 * libio/bug-fclose1.c: New file.
45684 2011-05-12 Ulrich Drepper <drepper@gmail.com>
45687 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45688 don't set DF_1_NODELETE here.
45689 (do_lookup_x): When entering new entry test for copy relocation
45690 and if necessary set DF_1_NODELETE flag.
45691 * elf/tst-unique4.cc: New file.
45692 * elf/tst-unique4.h: New file.
45693 * elf/tst-unique4lib.cc: New file.
45694 * elf/Makefile: Add rules to build and run tst-unique4.
45695 Patch by Piotr Bury <pbury@goahead.com>.
45697 2011-05-11 Ulrich Drepper <drepper@gmail.com>
45700 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45703 * misc/mntent_r.c (addmntent): Flush the stream after the output
45706 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45707 (is_trusted_path_normalize): Skip initial colon. Append slash
45708 to empty buffer. Duplicate is_trusted_path code but allow
45709 constructed patch to be prefix.
45710 (is_dst): Allow $ORIGIN followed by /.
45711 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45712 Correct testing of result of is_trusted_path_normalize
45713 (decompose_rpath): Fix warning.
45715 2011-05-10 Ulrich Drepper <drepper@gmail.com>
45718 * grp/initgroups.c (internal_getgrouplist): When we found the service
45719 list through the initgroups entry in nsswitch.conf do not always
45720 continue on a successful lookup. Don't always use the
45721 __nss_group_database value if it is set.
45722 * nss/nsswitch.conf (initgroups): Change action for successful db
45723 lookup to continue for compatibility.
45725 2011-05-09 Ulrich Drepper <drepper@gmail.com>
45728 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45730 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45732 * iconvdata/tst-tables.sh: Likewise.
45733 * iconvdata/cp770.c: New file.
45734 * iconvdata/cp771.c: New file.
45735 * iconvdata/cp772.c: New file.
45736 * iconvdata/cp773.c: New file.
45737 * iconvdata/cp774.c: New file.
45738 * iconvdata/testdata/CP770: New file.
45739 * iconvdata/testdata/CP770..UTF8: New file.
45740 * iconvdata/testdata/CP771: New file.
45741 * iconvdata/testdata/CP771..UTF8: New file.
45742 * iconvdata/testdata/CP772: New file.
45743 * iconvdata/testdata/CP772..UTF8: New file.
45744 * iconvdata/testdata/CP773: New file.
45745 * iconvdata/testdata/CP773..UTF8: New file.
45746 * iconvdata/testdata/CP774: New file.
45747 * iconvdata/testdata/CP774..UTF8: New file.
45749 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45751 * iconvdata/gen-8bit-gap.sh: Likewise.
45752 * iconvdata/gen-8bit.sh: Likewise.
45754 * locale/iso-639.def: Add ary entry.
45757 * locale/C-translit.h.in: Add U20A1 transliteration.
45760 * locale/iso-639.def: Add wae entry.
45761 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45764 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45768 * locale/C-translit.h.in: Add entry for U20B9.
45769 Patch by pravin.d.s@gmail.com.
45771 2011-05-08 Ulrich Drepper <drepper@gmail.com>
45774 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45775 ENAMETOOLONG use generic getcwd.
45776 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45777 in rtld. Use *stat64.
45778 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45779 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45780 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45781 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45782 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45783 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45784 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45785 __fstatat64 macros.
45786 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45787 * dirent/rewinddir.c: Add libc_hidden_def.
45788 * sysdeps/mach/hurd/rewinddir.c: Likewise.
45789 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
45791 * include/dirent.h (__alloc_dir): Add flags parameter.
45792 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45793 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45795 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45796 from fdopendir if O_CLOEXEC is already set.
45798 2011-03-15 Alan Modra <amodra@gmail.com>
45800 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45801 l_tls_firstbyte_offset non-zero. Save padding offset in
45802 l_tls_firstbyte_offset for later use.
45803 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45804 freeing static tls block.
45806 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45808 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45809 where #ifdef was intended. The intent is to prevent ARG_MAX from
45810 being defined by the kernel headers.
45812 2011-05-07 Ulrich Drepper <drepper@gmail.com>
45815 * resolv/resolv.h: Define RES_NOTLDQUERY.
45816 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45817 no-tld-query and set RES_NOTLDQUERY.
45818 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45819 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45820 modern BIND to search name as TLD unless forbidden.
45822 2011-05-07 Petr Baudis <pasky@suse.cz>
45823 Ulrich Drepper <drepper@gmail.com>
45826 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45827 (is_trusted_path): ...to here.
45828 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45829 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45830 using is_trusted_path_normalize() in setuid scripts.
45832 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45834 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45835 __BEGIN/__END_DECLS.
45837 2011-05-06 Ulrich Drepper <drepper@gmail.com>
45839 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45840 NSS_STATUS_NOTFOUND if no record was found.
45842 2011-05-05 Andreas Schwab <schwab@redhat.com>
45844 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45845 (headers-not-in-tirpc): Remove rpc/netdb.h
45846 * resolv/netdb.h: Revert last change.
45848 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45850 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45851 circular dependency between libgcc.a and libc.a.
45853 2011-05-05 Andreas Schwab <schwab@redhat.com>
45855 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45856 * nis/Makefile: Don't install rpcsvc/*.
45857 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45858 instead of <rpc/types.h>.
45859 (MAXHOSTNAMELEN): Define.
45861 2011-05-03 Andreas Schwab <schwab@redhat.com>
45863 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45865 2011-04-28 Maciej Babinski <mbabinski@google.com>
45868 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45869 gethostbyname4_r when IPv6 results are possible.
45871 2011-05-02 Ulrich Drepper <drepper@gmail.com>
45874 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45875 _PC_PIPE_BUF handling.
45877 2011-04-30 Bruno Haible <bruno@clisp.org>
45880 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45881 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45883 * inet/getnameinfo.c (getnameinfo): Likewise.
45885 2011-04-29 Ulrich Drepper <drepper@gmail.com>
45887 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45888 to groups setting in database lookup.
45889 * nss/nsswitch.conf: Add initgroups entry.
45891 2011-04-22 Ulrich Drepper <drepper@gmail.com>
45894 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45896 Patch by Eric Blake <eblake@redhat.com>.
45898 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45900 * sunrpc/Makefile (need-export-routines): Add svc_run.
45901 (routines): Remove svc_run.
45902 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45903 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45904 * sunrpc/svc_run.c (svc_run): Likewise.
45905 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45907 2011-04-21 Ulrich Drepper <drepper@gmail.com>
45909 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45910 problem in reallocation in last patch.
45912 2011-04-20 Ulrich Drepper <drepper@gmail.com>
45914 * sunrpc/Makefile: Move inclusion of Rules.
45916 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45918 * nss/nss_files/files-initgroups.c: New file.
45919 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45920 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45921 _nss_files_initgroups_dyn.
45923 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45925 * elf/elf.h (R_ARM_IRELATIVE): Define.
45927 2011-04-19 Ulrich Drepper <drepper@gmail.com>
45929 * po/ru.po: Update from translation team.
45931 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45933 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45936 2011-02-06 Mike Frysinger <vapier@gentoo.org>
45939 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45940 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45941 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45942 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45943 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45945 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45947 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45949 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45950 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45951 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45953 2011-04-17 Ulrich Drepper <drepper@gmail.com>
45956 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45958 * stdlib/bug-getcontext.c: New file.
45959 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45961 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45963 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45964 instructions into .machine "z9-109".
45965 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45966 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45968 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45970 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45971 between environment variables and auxiliary vector.
45973 2011-04-16 Ulrich Drepper <drepper@gmail.com>
45975 * Makefile: Add rules to build linkobj/libc.so.
45976 * include/libc-symbols.h: Define libc_hidden_nolink.
45977 * include/rpc/auth.h: Mark functions which are to be hidden.
45978 * include/rpc/auth_des.h: Likewise.
45979 * include/rpc/auth_unix.h: Likewise.
45980 * include/rpc/clnt.h: Likewise.
45981 * include/rpc/des_crypt.h: Likewise.
45982 * include/rpc/key_prot.h: Likewise.
45983 * include/rpc/pmap_clnt.h: Likewise.
45984 * include/rpc/pmap_prot.h: Likewise.
45985 * include/rpc/pmap_rmt.h: Likewise.
45986 * include/rpc/rpc_msg.h: Likewise.
45987 * include/rpc/svc.h: Likewise.
45988 * include/rpc/svc_auth.h: Likewise.
45989 * include/rpc/xdr.h: Likewise.
45990 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45991 * nss/Makefile: Likewise.
45992 * sunrpc/Makefile: Don't install headers. Build library with normal
45993 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45994 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45995 for the compat linking library. Remove use of INTDEF/INTUSE.
45996 * sunrpc/auth_none.c: Likewise.
45997 * sunrpc/auth_unix.c: Likewise.
45998 * sunrpc/authdes_prot.c: Likewise.
45999 * sunrpc/authuxprot.c: Likewise.
46000 * sunrpc/clnt_gen.c: Likewise.
46001 * sunrpc/clnt_perr.c: Likewise.
46002 * sunrpc/clnt_raw.c: Likewise.
46003 * sunrpc/clnt_simp.c: Likewise.
46004 * sunrpc/clnt_tcp.c: Likewise.
46005 * sunrpc/clnt_udp.c: Likewise.
46006 * sunrpc/clnt_unix.c: Likewise.
46007 * sunrpc/des_crypt.c: Likewise.
46008 * sunrpc/des_soft.c: Likewise.
46009 * sunrpc/get_myaddr.c: Likewise.
46010 * sunrpc/key_call.c: Likewise.
46011 * sunrpc/key_prot.c: Likewise.
46012 * sunrpc/netname.c: Likewise.
46013 * sunrpc/pm_getmaps.c: Likewise.
46014 * sunrpc/pm_getport.c: Likewise.
46015 * sunrpc/pmap_clnt.c: Likewise.
46016 * sunrpc/pmap_prot.c: Likewise.
46017 * sunrpc/pmap_prot2.c: Likewise.
46018 * sunrpc/pmap_rmt.c: Likewise.
46019 * sunrpc/publickey.c: Likewise.
46020 * sunrpc/rpc_cmsg.c: Likewise.
46021 * sunrpc/rpc_common.c: Likewise.
46022 * sunrpc/rpc_dtable.c: Likewise.
46023 * sunrpc/rpc_prot.c: Likewise.
46024 * sunrpc/rpc_thread.c: Likewise.
46025 * sunrpc/rtime.c: Likewise.
46026 * sunrpc/svc.c: Likewise.
46027 * sunrpc/svc_auth.c: Likewise.
46028 * sunrpc/svc_authux.c: Likewise.
46029 * sunrpc/svc_raw.c: Likewise.
46030 * sunrpc/svc_run.c: Likewise.
46031 * sunrpc/svc_simple.c: Likewise.
46032 * sunrpc/svc_tcp.c: Likewise.
46033 * sunrpc/svc_udp.c: Likewise.
46034 * sunrpc/svc_unix.c: Likewise.
46035 * sunrpc/svcauth_des.c: Likewise.
46036 * sunrpc/xcrypt.c: Likewise.
46037 * sunrpc/xdr.c: Likewise.
46038 * sunrpc/xdr_array.c: Likewise.
46039 * sunrpc/xdr_float.c: Likewise.
46040 * sunrpc/xdr_intXX_t.c: Likewise.
46041 * sunrpc/xdr_mem.c: Likewise.
46042 * sunrpc/xdr_rec.c: Likewise.
46043 * sunrpc/xdr_ref.c: Likewise.
46044 * sunrpc/xdr_sizeof.c: Likewise.
46045 * sunrpc/xdr_stdio.c: Likewise.
46047 2011-04-10 Ulrich Drepper <drepper@gmail.com>
46050 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46051 * sysdeps/ia64/dl-tls.h: Likewise.
46052 * sysdeps/powerpc/dl-tls.h: Likewise.
46053 * sysdeps/s390/dl-tls.h: Likewise.
46054 * sysdeps/sh/dl-tls.h: Likewise.
46055 * sysdeps/sparc/dl-tls.h: Likewise.
46056 * sysdeps/x86_64/dl-tls.h: Likewise.
46057 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46059 2011-03-14 Andreas Schwab <schwab@redhat.com>
46061 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46062 rpath element also skip the following colon.
46063 (expand_dynamic_string_token): Add is_path parameter and pass
46064 down to DL_DST_REQUIRED and _dl_dst_substitute.
46065 (decompose_rpath): Call expand_dynamic_string_token with
46066 non-zero is_path. Ignore empty rpaths.
46067 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46070 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46075 2011-04-09 Ulrich Drepper <drepper@gmail.com>
46078 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46079 Patch by Filipe David Manana <fdmanana@apache.org>.
46081 2011-04-07 Andreas Schwab <schwab@redhat.com>
46083 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46084 Maintain aligned stack.
46085 (CHECK_RSP): Remove unused macro.
46087 2011-04-03 Ulrich Drepper <drepper@gmail.com>
46089 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46090 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46092 2011-04-02 Ulrich Drepper <drepper@gmail.com>
46094 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46096 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46098 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46101 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46102 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46103 * sysdeps/x86_64/memmove.c: New file.
46104 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46105 (memcpy): Renamed to ...
46106 (__new_memcpy): This.
46107 (memcpy): Provide GLIBC_2_14 memcpy.
46108 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46109 (memcpy): Provide GLIBC_2_2_5 memcpy.
46111 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46114 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46116 2011-03-30 Andreas Schwab <schwab@redhat.com>
46118 * misc/syncfs.c: New file.
46119 * misc/Makefile (routines): Add syncfs.
46120 * posix/unistd.h: Declare syncfs.
46121 * sysdeps/unix/syscalls.list: Add syncfs.
46123 2011-04-01 Andreas Schwab <schwab@redhat.com>
46125 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46127 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46128 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46129 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46130 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46131 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46132 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46133 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46135 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46137 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46138 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46139 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46140 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46141 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46142 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46143 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46145 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46146 sync_file_range.c with -fexceptions.
46147 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46148 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46149 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46150 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46151 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46152 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46153 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46154 sync_file_range as cancellation point
46155 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46156 now a wrapper around __call_sync_file_range with cancellation handling.
46157 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46158 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46159 function name to __call_sync_file_range.
46160 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46161 Add call_sync_file_range.
46163 2011-04-01 Andreas Schwab <schwab@redhat.com>
46165 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46168 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46170 * iconv/iconv.h: Fix typo in comment.
46171 * io/fcntl.h: Likewise.
46172 * libio/stdio.h: Likewise.
46173 * posix/spawn.h: Likewise.
46174 * posix/unistd.h: Likewise.
46175 * stdlib/stdlib.h: Likewise.
46176 * time/time.h: Likewise.
46177 * wcsmbs/wchar.h: Likewise.
46179 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46180 open_by_handle): Add.
46181 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46182 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46183 Augment a few comments.
46184 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46185 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46186 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46187 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46188 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46189 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46192 * io/fcntl.h (AT_EMPTY_PATH): Define.
46194 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46196 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46197 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46198 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46200 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46201 * Versions.def: Add GLIBC_2.14.
46202 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46205 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46207 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46209 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46211 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46214 * string/test-strncmp.c (do_page_test): New function.
46215 (check2): Likewise.
46216 (test_main): Call check2.
46217 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46219 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46222 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46223 Handle cache information in CPU leaf 4.
46224 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46226 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46229 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46230 character representation.
46231 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46233 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46235 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46236 END(__isnan) to END(__isnanf) to match function entry point/label
46237 EALIGN(__isnanf,...).
46239 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46241 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46243 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46246 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46247 copy from the symbol referenced in the relocation to initialize the
46249 Patch by Piotr Bury <pbury@goahead.com>.
46250 * elf/Makefile: Add rules to build and tst-unique3.
46251 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46252 * elf/tst-unique3.cc: New file.
46253 * elf/tst-unique3.h: New file.
46254 * elf/tst-unique3lib.cc: New file.
46255 * elf/tst-unique3lib2.cc: New file.
46257 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46259 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46261 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46262 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46265 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46267 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46268 to-be-loaded object along a path to loader is ld.so.
46270 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46271 Ulrich Drepper <drepper@gmail.com>
46273 * sysdeps/x86_64/memset.S: After aligning destination, code
46274 branches to different locations depending on the value of
46275 misalignment, when multiarch is enabled. Fix this.
46277 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46279 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46280 Set _x86_64_preferred_memory_instruction for AMD processsors.
46281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46282 Set bit_Prefer_SSE_for_memop for AMD processors.
46284 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46286 * libio/fmemopen.c (fmemopen): Optimize a bit.
46288 2011-03-03 Andreas Schwab <schwab@redhat.com>
46290 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46292 2011-03-03 Roland McGrath <roland@redhat.com>
46294 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46296 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46298 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46299 __bzero_ultra1 instead of __memset_ultra1.
46301 2011-02-23 Andreas Schwab <schwab@redhat.com>
46302 Ulrich Drepper <drepper@gmail.com>
46305 * include/link.h (struct link_map): Add l_orig_initfini.
46306 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46307 returning unsuccessfully.
46308 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46309 close of a file loaded at startup, restore the original l_initfini
46311 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46312 list, store the pointer.
46313 * elf/Makefile ($(objpfx)noload-mem): New rule.
46314 (noload-ENV): Define.
46315 (tests): Add $(objpfx)noload-mem.
46316 * elf/noload.c: Include <memcheck.h>.
46317 (main): Call mtrace. Close all opened handles.
46319 2011-02-17 Andreas Schwab <schwab@redhat.com>
46322 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46323 dependencies are missing.
46325 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46327 Fix __if_freereq crash: Unlike the generic version which uses free,
46329 * sysdeps/mach/hurd/ifreq.h: New file.
46331 2011-01-27 Petr Baudis <pasky@suse.cz>
46332 Ulrich Drepper <drepper@gmail.com>
46335 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46336 to extend_alloca().
46337 * stdio-common/bug23.c: New file.
46338 * stdio-common/Makefile (tests): Add bug23.
46340 2010-09-28 Andreas Schwab <schwab@redhat.com>
46341 Ulrich Drepper <drepper@gmail.com>
46344 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46345 before performing relro protection. At old place add assertion
46346 to make sure nothing changed.
46348 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46349 Glauber de Oliveira Costa <glommer@gmail.com>
46351 * elf/elf.h: Add new ARM TLS relocs.
46353 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46356 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46358 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46360 * sysdeps/wordsize-64/tst-writev.c: New file.
46362 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46364 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46365 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46366 insns in _dl_start to prevent a TOC reference before relocs are
46369 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46372 * Makeconfig: Remove RANLIB definition.
46373 * Makerules: Don't use RANLIB.
46374 * aclocal.m4: Remove ranlib test.
46375 * configure.in: No need to check for ranlib.
46376 * elf/rtld-Rules: Don't use RANLIB.
46378 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46380 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46382 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46383 inclusion protection macro.
46385 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46386 SIGRTMIN and SIGRTMAX and print information in that case only when
46387 SIGRTMIN is defined.
46389 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46391 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46392 arginfo fn returning -1.
46394 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46395 and thousands string is zero terminated.
46397 2011-02-03 Andreas Schwab <schwab@redhat.com>
46399 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46400 sysdeps/unix/sysv/linux/bits/socket.h.
46402 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46404 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46405 (__CPU_COUNT): Remove old macros.
46406 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46407 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46408 (__CPU_ALLOC, __CPU_FREE): Add macros.
46409 (__sched_cpualloc, __sched_cpufree): Add declarations.
46411 2011-02-05 Ulrich Drepper <drepper@gmail.com>
46413 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46414 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46415 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46416 (readdhstai): Return value of addhstaiX call.
46417 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46418 (addgrbyX): Return value returned by cache_addgr.
46419 (readdgrbyname): Return value returned by addgrbyX.
46420 (readdgrbygid): Likewise.
46421 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46422 (addpwbyX): Return value returned by cache_addpw.
46423 (readdpwbyname): Return value returned by addhstbyX.
46424 (readdpwbyuid): Likewise.
46425 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46426 (addservbyX): Return value returned by cache_addserv.
46427 (readdservbyname): Return value returned by addservbyX:
46428 (readdservbyport): Likewise.
46429 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46430 (addhstbyX): Return value returned by cache_addhst.
46431 (readdhstbyname): Return value returned by addhstbyX.
46432 (readdhstbyaddr): Likewise.
46433 (readdhstbynamev6): Likewise.
46434 (readdhstbyaddrv6): Likewise.
46435 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46436 (readdinitgroups): Return value returned by addinitgroupsX.
46437 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46438 (prune_cache): Keep track of timeout value of re-added entries.
46439 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46440 * nscd/nscd.h: Adjust prototypes of readd* functions.
46442 2011-02-04 Roland McGrath <roland@redhat.com>
46444 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46445 (nis_stats): Likewise.
46446 * nis/nis_modify.c (nis_modify): Likewise.
46447 * nis/nis_remove.c (nis_remove): Likewise.
46448 * nis/nis_add.c (nis_add): Likewise.
46450 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46452 * posix/fnmatch_loop.c: Add some consts.
46454 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46456 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46459 * config.make.in (config-cflags-novzeroupper): Define.
46460 * configure.in: Substitute libc_cv_cc_novzeroupper.
46461 * elf/Makefile (AVX-CFLAGS): Define.
46462 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46463 (CFLAGS-tst-auditmod4a.c): Likewise.
46464 (CFLAGS-tst-auditmod4b.c): Likewise.
46465 (CFLAGS-tst-auditmod6b.c): Likewise.
46466 (CFLAGS-tst-auditmod6c.c): Likewise.
46467 (CFLAGS-tst-auditmod7b.c): Likewise.
46468 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46470 2011-02-02 Ulrich Drepper <drepper@gmail.com>
46472 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46473 function to the callback.
46474 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46476 2011-02-02 Andreas Schwab <schwab@redhat.com>
46478 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46481 2011-01-19 Ulrich Drepper <drepper@gmail.com>
46484 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46486 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46488 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46491 * elf/Makefile: Add rules to build and run new test.
46492 * elf/tst-initorder.c: New file.
46493 * elf/tst-initorder.exp: New file.
46494 * elf/tst-initordera1.c: New file.
46495 * elf/tst-initordera2.c: New file.
46496 * elf/tst-initordera3.c: New file.
46497 * elf/tst-initordera4.c: New file.
46498 * elf/tst-initorderb1.c: New file.
46499 * elf/tst-initorderb2.c: New file.
46500 * elf/tst-order-a1.c: New file.
46501 * elf/tst-order-a2.c: New file.
46502 * elf/tst-order-a3.c: New file.
46503 * elf/tst-order-a4.c: New file.
46504 * elf/tst-order-b1.c: New file.
46505 * elf/tst-order-b2.c: New file.
46506 * elf/tst-order-main.c: New file.
46507 New test case by George Gensure <werkt0@gmail.com>.
46509 2010-10-01 Andreas Schwab <schwab@redhat.com>
46511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46512 decoding ACE if AI_CANONIDN.
46514 2011-01-18 Ulrich Drepper <drepper@gmail.com>
46516 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46518 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46520 * version.h (RELEASE): Bump for 2.13 release.
46521 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46523 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46525 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46527 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46528 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46529 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46530 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46531 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46532 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46534 * posix/getconf.c: Update copyright year.
46535 * catgets/gencat.c: Likewise.
46536 * csu/version.c: Likewise.
46537 * debug/catchsegv.sh: Likewise.
46538 * debug/xtrace.sh: Likewise.
46539 * elf/ldconfig.c: Likewise.
46540 * elf/ldd.bash.in: Likewise.
46541 * elf/sprof.c (print_version): Likewise.
46542 * iconv/iconv_prog.c: Likewise.
46543 * iconv/iconvconfig.c: Likewise.
46544 * locale/programs/locale.c: Likewise.
46545 * locale/programs/localedef.c: Likewise.
46546 * malloc/memusage.sh: Likewise.
46547 * malloc/mtrace.pl: Likewise.
46548 * nscd/nscd.c (print_version): Likewise.
46549 * nss/getent.c: Likewise.
46551 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46552 PF_CAIF, and PF_ALG.
46553 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46555 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46557 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46558 (modules-names): Use them.
46559 (ifunc-test-modules, ifunc-pie-tests): Define.
46560 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46561 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46562 (test-extras): Likewise.
46563 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46564 $(compile-command.c).
46565 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46566 (all-built-dso): Define.
46567 (check-textrel.out, check-execstack.out): Depend on it.
46569 * configure.in: Don't override --enable-multi-arch.
46571 2011-01-15 Ulrich Drepper <drepper@gmail.com>
46574 * nscd/hstcache.c (tryagain): Define.
46575 (cache_addhst): Return tryagain not notfound for temporary errors.
46576 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46579 2011-01-14 Ulrich Drepper <drepper@gmail.com>
46582 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46583 to make the syscall.
46584 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46587 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46588 and fall back to matching as normal character if the string ends before
46589 the matching ']' is found. This is what POSIX requires.
46590 * posix/testfnm.c: Adjust test result.
46591 * posix/globtest.sh: Adjust test result. Add new test.
46592 * posix/tst-fnmatch.input: Likewise.
46593 * posix/tst-fnmatch2.c: Add new test.
46595 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46597 * elf/Makefile (check-execstack): Revert last change. Depend on
46599 (check-execstack.h): New target.
46600 (generated): Add check-execstack.h.
46601 * elf/check-execstack.c: Include "check-execstack.h".
46602 (main): Revert last change.
46603 (handle_file): Return zero if GNU_STACK is absent and
46604 DEFAULT_STACK_PERMS doesn't include PF_X.
46606 2011-01-13 Ulrich Drepper <drepper@gmail.com>
46608 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46609 in child fails because the descriptor is already closed.
46610 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46611 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46612 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46615 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46619 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46620 temporary buffer used to handle multi lookups locally.
46621 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46623 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46625 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46628 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46630 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46631 alignment for SSE2.
46633 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46636 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46637 characters. When rounding increased number of integer digits recompute
46639 * stdio-common/tst-grouping.c: New file.
46640 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46642 2011-01-09 Ulrich Drepper <drepper@gmail.com>
46644 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46645 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46647 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46649 * bits/select.h: Likewise.
46651 2011-01-08 Ulrich Drepper <drepper@gmail.com>
46653 * po/ja.po: Update from translation team.
46655 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
46658 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46659 implementation just like for lxstat, fxstatat, et al.
46661 2010-12-27 Jim Meyering <meyering@redhat.com>
46664 * posix/regexec.c (build_trtable): Return failure indication upon
46665 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46667 2010-12-25 Ulrich Drepper <drepper@gmail.com>
46670 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46671 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46672 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46673 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46676 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46679 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46680 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46682 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46684 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46685 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46686 script has SORT_BY_INIT_PRIORITY.
46687 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46688 NO_CTORS_DTORS_SECTIONS is defined.
46689 * elf/soinit.c: Likewise.
46690 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46691 NO_CTORS_DTORS_SECTIONS is defined.
46692 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46693 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46694 * sysdeps/sh/init-first.c: Likewise.
46695 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46697 2010-12-24 Ulrich Drepper <drepper@gmail.com>
46699 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46700 always use the slow path.
46702 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46704 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46705 similar rule which adds the sysdep directories to the header search in
46706 order to pick up the correct platform stackinfo.h.
46707 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46708 perform test if it is, otherwise return successfully without testing.
46709 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46710 DEFAULT_STACK_PERMS define in stackinfo.h.
46711 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46712 defined in stackinfo.h.
46713 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46714 DEFAULT_STACK_PERMS defined in stackinfo.h.
46715 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46716 * sysdeps/ia64/stackinfo.h: Likewise.
46717 * sysdeps/s390/stackinfo.h: Likewise.
46718 * sysdeps/sh/stackinfo.h: Likewise.
46719 * sysdeps/sparc/stackinfo.h: Likewise.
46720 * sysdeps/x86_64/stackinfo.h: Likewise.
46721 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46722 PF_X for powerpc64. Retain PF_X for powerpc32.
46724 2010-12-19 Ulrich Drepper <drepper@gmail.com>
46726 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46728 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46729 GETDENTS_64BIT_ALIGNED.
46731 2010-12-14 Ulrich Drepper <dreper@gmail.com>
46733 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46735 2010-12-10 Andreas Schwab <schwab@redhat.com>
46737 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46740 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46741 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46743 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46744 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46746 2010-12-09 Ulrich Drepper <drepper@gmail.com>
46749 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46752 2010-12-09 Jakub Jelinek <jakub@redhat.com>
46754 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46756 2010-12-03 Ulrich Drepper <drepper@gmail.com>
46758 * po/it.po: Update from translation team.
46760 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46762 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46765 2010-11-30 Ulrich Drepper <drepper@gmail.com>
46767 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46769 2010-11-24 Andreas Schwab <schwab@redhat.com>
46771 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46773 (gaih_getanswer_slice): Likewise.
46775 2010-10-20 Jakub Jelinek <jakub@redhat.com>
46777 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46779 2010-05-31 Petr Baudis <pasky@suse.cz>
46782 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46783 silently even in the chroot mode.
46785 2010-11-22 Ulrich Drepper <drepper@gmail.com>
46787 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46788 last patch a bit. Pretty printing
46790 2010-05-31 Petr Baudis <pasky@suse.cz>
46793 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46794 initialization of skip_initgroups_dyn.
46796 2010-11-19 Ulrich Drepper <drepper@gmail.com>
46798 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46799 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46801 2010-11-16 Ulrich Drepper <drepper@gmail.com>
46803 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46805 2010-11-11 Andreas Schwab <schwab@redhat.com>
46807 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46808 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46809 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46810 ($(objpfx)tst-fnmatch-mem): New rule.
46811 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46812 * posix/tst-fnmatch.c (main): Call mtrace.
46814 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46817 Support Intel processor model 6 and model 0x2c.
46819 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
46821 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46824 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46827 * string/test-strncasecmp.c (check_result): New function.
46828 (do_one_test): Use it.
46829 (check1): New function.
46830 (test_main): Use it.
46831 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46832 Support strcasecmp and strncasecmp.
46834 2010-11-08 Ulrich Drepper <drepper@gmail.com>
46837 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46838 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46840 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46842 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46844 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46846 * sysdeps/x86_64/multiarch/bzero.S: New file.
46847 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46848 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46849 * sysdeps/x86_64/multiarch/memset.S: New file.
46850 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46851 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46852 Set bit_Prefer_SSE_for_memop for Intel processors.
46853 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46855 (index_Prefer_SSE_for_memop): Define.
46856 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46858 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
46860 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46861 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46863 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46866 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46867 (__x86_64_raw_data_cache_size_half): Likewise.
46868 (__x86_64_raw_shared_cache_size): Likewise.
46869 (__x86_64_raw_shared_cache_size_half): Likewise.
46871 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46872 (__x86_64_raw_data_cache_size_half): Likewise.
46873 (__x86_64_raw_shared_cache_size): Likewise.
46874 (__x86_64_raw_shared_cache_size_half): Likewise.
46875 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46876 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46877 and __x86_64_raw_shared_cache_size_half. Round
46878 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46879 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46880 to multiple of 256 bytes.
46882 2010-11-03 Ulrich Drepper <drepper@gmail.com>
46885 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46886 of inacessible symlinks. Verify result of symlink before returning it.
46887 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46888 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46890 2010-10-28 Erich Ritz <erichritz@gmail.com>
46892 * math/math.h (isinf): Fix typo in comment.
46894 2010-11-01 Ulrich Drepper <drepper@gmail.com>
46896 * po/da.po: Update from translation team.
46898 2010-10-26 Ulrich Drepper <drepper@gmail.com>
46900 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46901 is added to the list.
46903 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46904 Ulrich Drepper <drepper@gmail.com>
46906 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46907 the global list here. Move code to...
46908 (_dl_add_to_namespace_list): ...here. New function.
46909 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46910 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46911 * elf/dl-load.c (lose): Don't remove the element from the list.
46912 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46913 (_dl_map_object): Likewise.
46915 2010-10-25 Ulrich Drepper <drepper@gmail.com>
46918 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46919 into all bytes of SSE register.
46920 Patch by Richard Li <richardpku@gmail.com>.
46922 2010-10-24 Ulrich Drepper <drepper@gmail.com>
46925 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46928 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46930 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46931 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46932 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46933 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46938 2010-10-22 Andreas Schwab <schwab@redhat.com>
46940 * include/dlfcn.h (__RTLD_SECURE): Define.
46941 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46942 mode & __RTLD_SECURE instead.
46943 (open_path): Rename preloaded parameter to secure.
46944 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46945 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46946 * elf/dl-deps.c (openaux): Likewise.
46947 * elf/rtld.c (struct map_args): Remove is_preloaded.
46948 (map_doit): Don't use it.
46949 (dl_main): Likewise.
46950 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46951 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46953 2010-09-09 Andreas Schwab <schwab@redhat.com>
46955 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46956 (sysd-rules-targets): Remove duplicates.
46957 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46958 rtld-%.$o dependency.
46960 2010-10-18 Andreas Schwab <schwab@redhat.com>
46962 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46963 _dl_map_object do it.
46965 2010-10-19 Ulrich Drepper <drepper@gmail.com>
46967 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46968 fast fma builtins, define the macros in the C99 standard.
46969 (FP_FAST_FMAF): Likewise.
46970 (FP_FAST_FMAL): Likewise.
46971 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46973 * bits/mathdef.h: Update copyright year.
46974 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46976 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46978 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46979 builtins, define the macros in the C99 standard.
46980 (FP_FAST_FMAF): Likewise.
46981 (FP_FAST_FMAL): Likewise.
46982 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46984 (FP_FAST_FMAF): Likewise.
46986 2010-10-15 Jakub Jelinek <jakub@redhat.com>
46989 * math/libm-test.inc (fma_test): Some new testcases.
46990 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46991 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46992 y and infinite z. Do multiplication by C already in long double.
46993 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46995 y and infinite z. Do bitwise or of inexact bit into u.d.
46996 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46997 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46998 * sysdeps/i386/fpu/s_fma.S: Removed.
46999 * sysdeps/i386/fpu/s_fmal.S: Removed.
47001 2010-10-16 Jakub Jelinek <jakub@redhat.com>
47004 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47005 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47006 computation is not scheduled after fetestexcept. Fix value
47007 of minimum denormal long double.
47009 2010-10-14 Jakub Jelinek <jakub@redhat.com>
47012 * math/libm-test.inc (fma_test): Add some more tests.
47013 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47016 2010-10-15 Andreas Schwab <schwab@redhat.com>
47018 * scripts/data/localplt-s390-linux-gnu.data: New file.
47019 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47021 2010-10-13 Jakub Jelinek <jakub@redhat.com>
47024 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47025 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47027 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47029 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47030 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47031 if one of x and y is very large and the other is subnormal.
47032 * sysdeps/s390/fpu/s_fmaf.c: New file.
47033 * sysdeps/s390/fpu/s_fma.c: New file.
47034 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47035 * sysdeps/powerpc/fpu/s_fma.S: New file.
47036 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47037 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47038 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47040 2010-10-12 Jakub Jelinek <jakub@redhat.com>
47043 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47045 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47046 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47047 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47048 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47049 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47050 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47051 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47053 2010-10-12 Ulrich Drepper <drepper@redhat.com>
47056 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47057 * posix/bug-regex31.input: Add test case.
47059 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47061 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47062 * posix/bug-regex31.input: New file.
47065 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47066 (parse_sub_exp): Fix last change, use postorder.
47068 * posix/bug-regex31.c: New file.
47069 * posix/Makefile: Add rules to build and run bug-regex31.
47071 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47074 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47077 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47078 to have entries in sys_siglist.
47081 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47084 2010-10-07 Jakub Jelinek <jakub@redhat.com>
47087 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47088 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47089 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47090 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47091 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47092 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47093 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47094 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47095 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47096 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47097 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47098 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47099 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47100 * math/ftestexcept.c (fetestexcept): Likewise.
47101 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47102 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47103 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47104 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47105 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47106 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47107 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47109 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47112 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47115 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47117 * string/bug-strstr1.c: New file.
47118 * string/Makefile: Add rules to build and run bug-strstr1.
47120 2010-10-05 Eric Blake <eblake@redhat.com>
47123 * string/str-two-way.h (two_way_long_needle): Always clear memory
47124 when skipping input due to the shift table.
47126 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47129 * malloc/mcheck.c: Handle large requests.
47132 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47133 for strncmp and strncasecmp.
47134 * string/stratcliff.c: Add tests for strcmp and strncmp.
47135 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47137 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47139 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47142 2010-09-30 Andreas Jaeger <aj@suse.de>
47144 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47145 (CGROUP_SUPER_MAGIC): Define.
47146 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47147 Handle btrfs and cgroup file systems.
47148 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47151 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47153 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47154 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47156 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47159 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47160 trying to locate the ELF header.
47162 2010-09-27 Andreas Schwab <schwab@redhat.com>
47165 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47166 Mask out sign-bit copies when constructing f_fsid.
47168 2010-09-24 Petr Baudis <pasky@suse.cz>
47170 * debug/stack_chk_fail_local.c: Add missing licence exception.
47171 * debug/warning-nop.c: Likewise.
47173 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47175 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47176 implementing getdents64 using getdents syscall, set d_type if
47177 __ASSUME_GETDENTS32_D_TYPE.
47179 2010-09-16 Andreas Schwab <schwab@redhat.com>
47181 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47182 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47184 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47187 * posix/unistd.h: Undo change of feature selection for ftruncate from
47190 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47192 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47195 2010-09-20 Andreas Schwab <schwab@redhat.com>
47197 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47199 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47201 2010-09-14 Andreas Schwab <schwab@redhat.com>
47203 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47204 variables after CHECK_SP call.
47205 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47207 2010-09-13 Andreas Schwab <schwab@redhat.com>
47208 Ulrich Drepper <drepper@redhat.com>
47210 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47211 re-relocationg ld.so.
47212 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47213 _dl_init_paths call.
47214 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47217 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47219 * resolv/res_init.c (__res_vinit): Count the default server we added.
47221 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47222 Ulrich Drepper <drepper@redhat.com>
47225 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47226 (____longjmp_chk): Use %ebx for saving value across system call.
47229 2010-09-06 Andreas Schwab <schwab@redhat.com>
47231 * manual/Makefile: Don't mix pattern rules with normal rules.
47233 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47235 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47237 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47238 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47239 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47240 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47241 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47244 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47247 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47248 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47250 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47252 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47253 * sysdeps/x86_64/addmul_1.S: Likewise.
47254 * sysdeps/x86_64/lshift.S: Likewise.
47255 * sysdeps/x86_64/mul_1.S: Likewise.
47256 * sysdeps/x86_64/rshift.S: Likewise.
47257 * sysdeps/x86_64/sub_n.S: Likewise.
47258 * sysdeps/x86_64/submul_1.S: Likewise.
47260 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47262 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47263 Define __sched_param instead of SCHED_* and sched_param when
47264 <bits/sched.h> is included with __need_schedparam defined.
47265 * bits/sched.h [__need_schedparam]
47266 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47267 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47268 (__defined_schedparam): Define to 1.
47269 (__sched_param): New structure, identical to sched_param.
47270 (__need_schedparam): Undefine.
47272 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47274 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47275 (epoll_create1): Declare.
47277 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47279 2010-08-31 Andreas Schwab <schwab@redhat.com>
47282 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47283 shifting retval into place.
47285 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47287 * nis/rpcsvc/nis.h: Update copyright notice.
47288 * nis/rpcsvc/nis.x: Likewise.
47289 * nis/rpcsvc/nis_callback.h: Likewise.
47290 * nis/rpcsvc/nis_callback.x: Likewise.
47291 * nis/rpcsvc/nis_object.x: Likewise.
47292 * nis/rpcsvc/nis_tags.h: Likewise.
47293 * nis/rpcsvc/yp.h: Likewise.
47294 * nis/rpcsvc/yp.x: Likewise.
47295 * nis/rpcsvc/ypupd.h: Likewise.
47296 * nis/yp_xdr.c: Likewise.
47297 * nis/ypupdate_xdr.c: Likewise.
47299 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47300 mainly the body of pmap_getport. Add parameters to specify timeouts.
47301 (pmap_getport): Use __libc_rpc_getport.
47302 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47303 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47304 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47306 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47311 2010-08-27 Roland McGrath <roland@redhat.com>
47313 * sysdeps/i386/i686/multiarch/Makefile
47314 (CFLAGS-varshift.c): New variable.
47316 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47318 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47319 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47321 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47323 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47325 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47327 * sysdeps/x86_64/strlen.S: Unroll the loop.
47328 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47329 strlen-sse2 strlen-sse2-bsf.
47330 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47331 __strlen_no_bsf if bit_Slow_BSF is set.
47332 (__strlen_sse42): Removed.
47333 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47334 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47336 2010-08-25 Roland McGrath <roland@redhat.com>
47338 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47339 * sysdeps/x86_64/multiarch/varshift.c: New file.
47340 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47341 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47342 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47343 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47345 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47347 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47348 strlen-sse2 strlen-sse2-bsf.
47349 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47350 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47351 (__strlen_sse2): Removed.
47352 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47353 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47355 bit_Slow_BSF for Atom.
47356 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47357 (index_Slow_BSF): Define.
47358 (HAS_SLOW_BSF): Define.
47360 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47363 * resolv/res_init.c (__res_vinit): When no server address at all
47364 is given default to loopback.
47366 2010-08-24 Roland McGrath <roland@redhat.com>
47368 * configure.in: Remove config-name.h generation.
47369 * configure: Regenerated.
47370 * config-name.in: File removed.
47371 * scripts/config-uname.sh: New file.
47372 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47373 ($(objdir)config-name.h): New target.
47375 * sunrpc/rpc_parse.h: Avoid nested comment.
47377 2010-08-24 Richard Henderson <rth@redhat.com>
47378 Ulrich Drepper <drepper@redhat.com>
47379 H.J. Lu <hongjiu.lu@intel.com>
47381 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47383 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47384 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47385 _mm_alignr_epi8 with _mm_loadu_si128.
47386 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47387 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47388 (__m128i_shift_right): Removed.
47389 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47390 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47391 * sysdeps/x86_64/multiarch/varshift.h: New file.
47392 * sysdeps/x86_64/multiarch/varshift.S: New file.
47394 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47396 * configure.in: Move assembler checks to before sysdep dir checking.
47398 2010-08-20 Petr Baudis <pasky@suse.cz>
47400 * LICENSES: Sync the sunrpc license.
47402 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47404 * sunrpc/auth_des.c: Update copyright notice once again.
47405 * sunrpc/auth_none.c: Likewise.
47406 * sunrpc/auth_unix.c: Likewise.
47407 * sunrpc/authdes_prot.c: Likewise.
47408 * sunrpc/authuxprot.c: Likewise.
47409 * sunrpc/bindrsvprt.c: Likewise.
47410 * sunrpc/clnt_gen.c: Likewise.
47411 * sunrpc/clnt_perr.c: Likewise.
47412 * sunrpc/clnt_raw.c: Likewise.
47413 * sunrpc/clnt_simp.c: Likewise.
47414 * sunrpc/clnt_tcp.c: Likewise.
47415 * sunrpc/clnt_udp.c: Likewise.
47416 * sunrpc/clnt_unix.c: Likewise.
47417 * sunrpc/des_crypt.c: Likewise.
47418 * sunrpc/des_soft.c: Likewise.
47419 * sunrpc/get_myaddr.c: Likewise.
47420 * sunrpc/getrpcport.c: Likewise.
47421 * sunrpc/key_call.c: Likewise.
47422 * sunrpc/key_prot.c: Likewise.
47423 * sunrpc/openchild.c: Likewise.
47424 * sunrpc/pm_getmaps.c: Likewise.
47425 * sunrpc/pm_getport.c: Likewise.
47426 * sunrpc/pmap_clnt.c: Likewise.
47427 * sunrpc/pmap_prot.c: Likewise.
47428 * sunrpc/pmap_prot2.c: Likewise.
47429 * sunrpc/pmap_rmt.c: Likewise.
47430 * sunrpc/rpc/auth.h: Likewise.
47431 * sunrpc/rpc/auth_unix.h: Likewise.
47432 * sunrpc/rpc/clnt.h: Likewise.
47433 * sunrpc/rpc/des_crypt.h: Likewise.
47434 * sunrpc/rpc/key_prot.h: Likewise.
47435 * sunrpc/rpc/netdb.h: Likewise.
47436 * sunrpc/rpc/pmap_clnt.h: Likewise.
47437 * sunrpc/rpc/pmap_prot.h: Likewise.
47438 * sunrpc/rpc/pmap_rmt.h: Likewise.
47439 * sunrpc/rpc/rpc.h: Likewise.
47440 * sunrpc/rpc/rpc_des.h: Likewise.
47441 * sunrpc/rpc/rpc_msg.h: Likewise.
47442 * sunrpc/rpc/svc.h: Likewise.
47443 * sunrpc/rpc/svc_auth.h: Likewise.
47444 * sunrpc/rpc/types.h: Likewise.
47445 * sunrpc/rpc/xdr.h: Likewise.
47446 * sunrpc/rpc_clntout.c: Likewise.
47447 * sunrpc/rpc_cmsg.c: Likewise.
47448 * sunrpc/rpc_common.c: Likewise.
47449 * sunrpc/rpc_cout.c: Likewise.
47450 * sunrpc/rpc_dtable.c: Likewise.
47451 * sunrpc/rpc_hout.c: Likewise.
47452 * sunrpc/rpc_main.c: Likewise.
47453 * sunrpc/rpc_parse.c: Likewise.
47454 * sunrpc/rpc_parse.h: Likewise.
47455 * sunrpc/rpc_prot.c: Likewise.
47456 * sunrpc/rpc_sample.c: Likewise.
47457 * sunrpc/rpc_scan.c: Likewise.
47458 * sunrpc/rpc_scan.h: Likewise.
47459 * sunrpc/rpc_svcout.c: Likewise.
47460 * sunrpc/rpc_tblout.c: Likewise.
47461 * sunrpc/rpc_util.c: Likewise.
47462 * sunrpc/rpc_util.h: Likewise.
47463 * sunrpc/rpcinfo.c: Likewise.
47464 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47465 * sunrpc/rpcsvc/key_prot.x: Likewise.
47466 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47467 * sunrpc/rpcsvc/mount.x: Likewise.
47468 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47469 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47470 * sunrpc/rpcsvc/rex.x: Likewise.
47471 * sunrpc/rpcsvc/rstat.x: Likewise.
47472 * sunrpc/rpcsvc/rusers.x: Likewise.
47473 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47474 * sunrpc/rpcsvc/spray.x: Likewise.
47475 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47476 * sunrpc/rtime.c: Likewise.
47477 * sunrpc/svc.c: Likewise.
47478 * sunrpc/svc_auth.c: Likewise.
47479 * sunrpc/svc_authux.c: Likewise.
47480 * sunrpc/svc_raw.c: Likewise.
47481 * sunrpc/svc_run.c: Likewise.
47482 * sunrpc/svc_simple.c: Likewise.
47483 * sunrpc/svc_tcp.c: Likewise.
47484 * sunrpc/svc_udp.c: Likewise.
47485 * sunrpc/svc_unix.c: Likewise.
47486 * sunrpc/svcauth_des.c: Likewise.
47487 * sunrpc/xcrypt.c: Likewise.
47488 * sunrpc/xdr.c: Likewise.
47489 * sunrpc/xdr_array.c: Likewise.
47490 * sunrpc/xdr_float.c: Likewise.
47491 * sunrpc/xdr_mem.c: Likewise.
47492 * sunrpc/xdr_rec.c: Likewise.
47493 * sunrpc/xdr_ref.c: Likewise.
47494 * sunrpc/xdr_sizeof.c: Likewise.
47495 * sunrpc/xdr_stdio.c: Likewise.
47497 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47500 2010-08-19 Andreas Schwab <schwab@redhat.com>
47502 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47504 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
47506 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47507 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47508 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47509 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47510 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47511 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47512 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47513 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47514 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47515 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47516 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47517 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47518 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47519 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47521 2010-07-26 Anton Blanchard <anton@samba.org>
47523 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47524 * malloc/arena.c (heap_trim): Likewise.
47526 2010-08-16 Ulrich Drepper <drepper@redhat.com>
47528 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47530 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47531 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47533 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47535 * sysdeps/i386/elf/Makefile: New file.
47537 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47539 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47540 from fanotify_init.
47541 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47542 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47544 2010-08-15 Ulrich Drepper <drepper@redhat.com>
47546 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47548 * sysdeps/multiarch/strcmp.S: Likewise.
47550 2010-08-14 Ulrich Drepper <drepper@redhat.com>
47552 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47553 strncase_l-nonascii.
47554 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47555 Add strncase_l-ssse3.
47556 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47557 * sysdeps/x86_64/strcmp.S: Likewise.
47558 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47559 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47560 * sysdeps/x86_64/strncase.S: New file.
47561 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47562 * sysdeps/x86_64/strncase_l.S: New file.
47563 * string/Makefile (strop-tests): Add strncasecmp.
47564 * string/test-strncasecmp.c: New file.
47566 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47569 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47570 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47572 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47574 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47576 2010-08-12 Ulrich Drepper <drepper@redhat.com>
47578 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47579 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47580 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47582 2010-05-01 Alan Modra <amodra@gmail.com>
47584 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47585 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47586 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47587 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47588 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47589 tidying. Don't tail-call __sigjmp_save for static lib.
47590 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47592 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47593 (CALL_MCOUNT): Add eh info, and nop after bl.
47594 (TAIL_CALL_SYSCALL_ERROR): New macro.
47595 (PSEUDO_RET): Use it.
47596 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47597 Correct save location of integer regs and cr.
47598 (_dl_profile_resolve): Correct cr save location. Delete nops
47599 after bl when SHARED. Reduce cfi size a little by better
47600 placement of cfi directives.
47601 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47602 make a stack frame. Instead use parm save area as a temp.
47603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47604 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47606 Don't make a stack frame for parent, use parm save area.
47607 Increase child stack frame to 112 bytes. Don't save unused reg,
47608 and adjust reg usage. Set up cfi on error recovery and
47609 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47611 (__makecontext): Add dummy nop after jump to exit.
47612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47613 Use correct parm save area and cr save, reduce stack frame.
47614 Correct cfi for possible PSEUDO_RET frame setup.
47615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47616 Branch to local label emitted by PSEUDO_RET rather than
47619 2010-08-12 Andreas Schwab <schwab@redhat.com>
47622 * locale/programs/locale.c (print_assignment): New function.
47623 (show_locale_vars): Use it.
47625 2010-08-11 Ulrich Drepper <drepper@redhat.com>
47627 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47629 (struct statfs64): Likewise.
47630 (_STATFS_F_FLAGS): Define.
47631 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47632 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47633 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47634 (ST_VALID): Define locally.
47635 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47636 __statvfs_getflags, use the provided value.
47637 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47638 __ASSUME_STATFS_F_FLAGS.
47640 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47642 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47643 Add sys/fanotify.h.
47644 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47645 fanotify_mask for GLIBC_2.13.
47646 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47647 fanotify_init and fanotify_mark.
47648 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47649 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47651 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47653 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47654 prlimit64 for GLIBC_2.13.
47655 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47657 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47660 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47661 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47662 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47663 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47665 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47668 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47669 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47671 * nss/Makefile: Add rules to build and run tst-nss-test1.
47672 * shlib-versions: Add entry for libnss_test1.
47673 * nss/nss_test1.c: New file.
47674 * nss/tst-nss-test1.c: New file.
47676 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47677 (__nss_configure_lookup): Set appropriate entry in
47678 __nss_configure_lookup to true.
47679 * nss/nsswitch.h: Define enum with indeces of databases in
47680 databases and __nss_database_custom arrays. Declare
47681 __nss_database_custom.
47682 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47683 to avoid using nscd when custom rules are installed.
47684 * nss/getXXbyYY_r.c: Likewise.
47685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47687 * nss/nss_files/files-parse.c: Whitespace fixes.
47689 2010-08-09 Ulrich Drepper <drepper@redhat.com>
47692 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47693 * posix/fnmatch_loop.c: Likewise.
47695 2010-07-17 Andi Kleen <ak@linux.intel.com>
47697 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47698 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47699 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47700 * Versions.def [GLIBC_2.13]: Add.
47702 2010-08-06 Ulrich Drepper <drepper@redhat.com>
47704 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47705 Also fail if tpwd after pwuid call is NULL.
47707 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47709 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47710 when converting to ms.
47712 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47714 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47715 EOPNOTSUPP errors with ENOTTY.
47716 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47717 EOPNOTSUPP errors with ENOTTY.
47719 2010-07-31 Ulrich Drepper <drepper@redhat.com>
47721 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47722 Add strcasecmp_l-ssse3.
47723 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47725 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47726 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47727 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47729 2010-07-30 Ulrich Drepper <drepper@redhat.com>
47731 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47733 * string/Makefile (strop-tests): Add strcasecmp.
47734 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47735 strcasecmp_l-nonascii.
47736 (gen-as-const-headers): Add locale-defines.sym.
47737 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47738 * sysdeps/x86_64/strcasecmp.S: New file.
47739 * sysdeps/x86_64/strcasecmp_l.S: New file.
47740 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47741 * sysdeps/x86_64/locale-defines.sym: New file.
47742 * string/test-strcasecmp.c: New file.
47744 * string/test-strcasestr.c: Test both ends of the range of characters.
47745 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47747 2010-07-29 Roland McGrath <roland@redhat.com>
47750 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47752 2010-07-27 Ulrich Drepper <drepper@redhat.com>
47754 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47757 2010-07-27 Andreas Schwab <schwab@redhat.com>
47759 * manual/memory.texi (Malloc Tunable Parameters): Document
47762 2010-07-26 Roland McGrath <roland@redhat.com>
47765 * configure.in (-fgnu89-inline check): Set and substitute
47766 gnu89_inline, not libc_cv_gnu89_inline.
47767 * configure: Regenerated.
47768 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47770 2010-07-26 Ulrich Drepper <drepper@redhat.com>
47772 * string/test-strnlen.c: New file.
47773 * string/Makefile (strop-tests): Add strnlen.
47774 * string/tester.c (test_strnlen): Add a few more test cases.
47775 * string/tst-strlen.c: Better error reporting.
47777 * sysdeps/x86_64/strnlen.S: New file.
47779 2010-07-24 Ulrich Drepper <drepper@redhat.com>
47781 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47782 lower-latency instructions.
47784 2010-07-23 Ulrich Drepper <drepper@redhat.com>
47786 * string/test-strcasestr.c: New file.
47787 * string/test-strstr.c: New file.
47788 * string/Makefile (strop-tests): Add strstr and strcasestr.
47789 * string/str-two-way.h: Don't undefine MAX.
47790 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47792 2010-07-21 Andreas Schwab <schwab@redhat.com>
47794 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47795 strcasestr-nonascii.
47796 (CFLAGS-strcasestr-nonascii.c): Define.
47797 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47798 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47799 Remove unused attribute.
47801 2010-07-20 Roland McGrath <roland@redhat.com>
47803 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47804 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47805 ld.so.cache was broken. With it, there is no way to disable dsocaps
47806 like LD_HWCAP_MASK can disable hwcaps.
47808 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47810 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47812 2010-07-16 Ulrich Drepper <drepper@redhat.com>
47814 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47815 call in strcasestr.
47816 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47817 __strcasestr_sse42_nonascii.
47818 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47819 strcasestr-nonascii.c.
47820 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47822 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
47824 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47825 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47826 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47827 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47829 2010-07-09 Ulrich Drepper <drepper@redhat.com>
47831 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47834 2010-07-06 Andreas Schwab <schwab@redhat.com>
47837 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47840 2010-07-06 Ulrich Drepper <drepper@redhat.com>
47842 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47843 _PC_PIPE_BUF using F_GETPIPE_SZ.
47845 2010-07-05 Roland McGrath <roland@redhat.com>
47847 * manual/arith.texi (Rounding Functions): Fix rint description
47848 implicit in round description.
47850 2010-07-02 Ulrich Drepper <drepper@redhat.com>
47852 * elf/Makefile: Fix linking for a few tests to make recent linker
47855 2010-06-30 Andreas Schwab <schwab@redhat.com>
47857 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47858 $(common-objpfx)libc_nonshared.a.
47860 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
47862 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47863 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47864 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47865 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47866 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47867 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47868 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47869 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47884 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47885 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47886 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47887 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47888 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47889 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47890 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47891 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47892 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47893 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47894 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47895 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47911 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47913 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47914 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47915 * string/memmove.c (memmove): Renamed to ...
47916 (MEMMOVE): ...this. Default to memmove.
47917 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47918 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47920 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47921 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47922 mempcpy-ssse3-back memmove-ssse3-back.
47923 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47924 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47925 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47926 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47927 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47928 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47929 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47930 * sysdeps/x86_64/multiarch/memmove.c: New file.
47931 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47932 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47933 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47934 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47935 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47936 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47938 (index_Fast_Copy_Backward): Define.
47939 (HAS_ARCH_FEATURE): Define.
47940 (HAS_FAST_REP_STRING): Define.
47941 (HAS_FAST_COPY_BACKWARD): Define.
47943 2010-06-21 Andreas Schwab <schwab@redhat.com>
47945 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47946 Restore proper fallback handling.
47948 2010-06-19 Ulrich Drepper <drepper@redhat.com>
47951 * posix/group_member.c (__group_member): Correct checking loop.
47953 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47954 OOM in getpwuid_r correctly. Return error number when the caller
47955 should return, otherwise -1.
47956 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47957 call returning > 0 value.
47958 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47960 2010-06-07 Andreas Schwab <schwab@redhat.com>
47962 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47963 libc_nonshared.a from targets in modules-names.
47965 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47967 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47970 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
47972 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47973 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47974 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47975 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47977 2010-06-02 Andreas Schwab <schwab@redhat.com>
47979 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47981 2010-06-14 Ulrich Drepper <drepper@redhat.com>
47983 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47985 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47986 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47987 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47988 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47989 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47990 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47992 2010-06-14 Roland McGrath <roland@redhat.com>
47994 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47996 2010-06-07 Jakub Jelinek <jakub@redhat.com>
47998 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47999 __REDIRECT followed by __THROW.
48000 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48001 * posix/getopt.h (getopt): Likewise.
48003 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48005 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48006 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48007 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48009 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48010 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48012 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
48014 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48016 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48020 Properly check family and model.
48022 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48024 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48026 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
48028 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48030 2010-05-21 Ulrich Drepper <drepper@redhat.com>
48032 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48035 2010-05-19 Andreas Schwab <schwab@redhat.com>
48037 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48040 2010-05-21 Andreas Schwab <schwab@redhat.com>
48042 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48043 and internal_recvmmsg.
48044 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48045 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48046 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48047 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48049 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48050 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48051 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48053 2010-05-20 Andreas Schwab <schwab@redhat.com>
48055 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48057 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
48059 POWER7 optimizations.
48060 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48061 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48063 2010-05-19 Ulrich Drepper <drepper@redhat.com>
48065 * version.h: Update for 2.13 development version.
48067 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
48069 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48070 exceptions. Return 0.
48072 2010-05-07 Roland McGrath <roland@redhat.com>
48074 * elf/ldconfig.c (main): Add a const.
48076 2010-05-06 Ulrich Drepper <drepper@redhat.com>
48078 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48079 (args_options): Add no-idn option.
48080 (ahosts_keys_int): Add idn_flags to ai_flags.
48081 (parse_option): Handle 'i' option to clear idn_flags.
48083 * malloc/malloc.c (_int_free): Possible race in the most recently
48084 added check. Only act on the data if no current modification
48087 See ChangeLog.17 for earlier changes.